From 76cd938a8f3d1f1cd88f9884faa8cdbd68bd7321 Mon Sep 17 00:00:00 2001 From: jy95 Date: Mon, 4 Nov 2024 20:57:19 +0000 Subject: [PATCH] deploy: c9f235df51d39e7de835b1c234068c24e847cd8c --- 404.html | 10 +- api.html | 10 +- api/class/FhirDosageUtils.html | 10 +- api/enum/DisplayOrderEnum.html | 10 +- api/interface/Config.html | 10 +- ...tyles.da69786d.css => styles.fb6108f5.css} | 2 +- assets/js/01aca802.a5f4bd20.js | 1 - assets/js/01aca802.c3510731.js | 1 + assets/js/026611d2.247b3c5d.js | 1 + assets/js/026611d2.e20062d4.js | 1 - assets/js/03620de3.c8cd830d.js | 1 - assets/js/03620de3.faf95e9a.js | 1 + assets/js/04716c54.190f052e.js | 1 + assets/js/04716c54.19162856.js | 1 - assets/js/0530b1c5.3d0b8d71.js | 1 + assets/js/0530b1c5.d11c977a.js | 1 - assets/js/06a006fb.8e15d9d2.js | 1 - assets/js/06a006fb.f306ec41.js | 1 + assets/js/118e00e5.70d9dfae.js | 1 - assets/js/118e00e5.bc24b584.js | 1 + assets/js/124c4f9d.a18f06b1.js | 1 + assets/js/124c4f9d.cef7e338.js | 1 - assets/js/12564d99.9ce5a198.js | 1 + assets/js/12564d99.f9810fd9.js | 1 - assets/js/133d1207.5d12d011.js | 1 + assets/js/133d1207.eb5f4dfd.js | 1 - assets/js/139f9fbc.6b2a0f29.js | 1 + assets/js/139f9fbc.e8bad372.js | 1 - assets/js/162bd28d.4e08c0b6.js | 1 - assets/js/162bd28d.e0bd6f8a.js | 1 + assets/js/1668a7c3.91f4d5e1.js | 1 - assets/js/1668a7c3.bb646fe4.js | 1 + assets/js/17baba0b.c5093434.js | 1 + assets/js/17baba0b.f2b5ba2e.js | 1 - assets/js/1a4e3797.edb30e07.js | 2 + ...E.txt => 1a4e3797.edb30e07.js.LICENSE.txt} | 0 assets/js/1a4e3797.f70ae51a.js | 2 - assets/js/1c1d0071.34dac78b.js | 1 - assets/js/1c1d0071.6c247cf0.js | 1 + assets/js/1cd656ab.53ec4478.js | 1 + assets/js/1cd656ab.eb36380f.js | 1 - assets/js/1f927e7e.08327c6f.js | 1 + assets/js/1f927e7e.5449a385.js | 1 - assets/js/201e0385.a9e82cdb.js | 1 - assets/js/201e0385.b9bedf49.js | 1 + assets/js/20a65861.0e530bab.js | 1 - assets/js/20a65861.b28a42e0.js | 1 + assets/js/20b5be5c.3004df61.js | 1 + assets/js/20b5be5c.e94a14c8.js | 1 - assets/js/21119077.6bab7c8e.js | 1 - assets/js/21119077.d4d8e538.js | 1 + assets/js/254404d2.52ead305.js | 1 - assets/js/254404d2.aaa69585.js | 1 + assets/js/265a61ea.8220344a.js | 1 - assets/js/265a61ea.dee958e4.js | 1 + assets/js/2a331aeb.f6fc2877.js | 1 - assets/js/2a331aeb.f74d7ec4.js | 1 + assets/js/2c4b321a.4aaeae55.js | 1 + assets/js/2c4b321a.e1ca4e0e.js | 1 - assets/js/3216d4c8.05180b8d.js | 1 - assets/js/3216d4c8.68a073f7.js | 1 + .../js/{3347.733c6bc3.js => 3347.5287bd59.js} | 2 +- assets/js/36cdde70.30885b75.js | 1 + assets/js/36cdde70.7448a3d2.js | 1 - assets/js/3766ff12.9e21b0fc.js | 1 + assets/js/3766ff12.f43a3516.js | 1 - assets/js/38ae24f3.08ea48d9.js | 1 - assets/js/38ae24f3.d68ed616.js | 1 + assets/js/3903b0d4.393da9c4.js | 1 - assets/js/3903b0d4.a57c0c3f.js | 1 + assets/js/3d23bc21.7594365f.js | 1 + assets/js/3d23bc21.e2fe4c5e.js | 1 - assets/js/3f237283.28e32e11.js | 1 + assets/js/3f237283.5fd31c18.js | 1 - assets/js/3fb26655.0519bb11.js | 1 + assets/js/3fb26655.b185812f.js | 1 - assets/js/40c0f713.0cc630f9.js | 1 - assets/js/40c0f713.2fba84f3.js | 1 + assets/js/430bd102.a748706c.js | 1 - assets/js/430bd102.c22e94d2.js | 1 + assets/js/460a5c5b.61c74f90.js | 1 + assets/js/460a5c5b.739c9bab.js | 1 - assets/js/4628893b.06151eda.js | 1 + assets/js/4628893b.ebf2049d.js | 1 - assets/js/49044b90.09dd9432.js | 1 + assets/js/49044b90.7e3ff0c0.js | 1 - assets/js/4cbe19c8.1f3d4924.js | 1 + assets/js/4cbe19c8.4cdcb2af.js | 1 - assets/js/4e847481.43a03ae7.js | 1 - assets/js/4e847481.d1f13cc5.js | 1 + assets/js/4eb59f15.0f52bdd4.js | 1 + assets/js/4eb59f15.b5d5e048.js | 1 - assets/js/4faaf014.6e1e5275.js | 1 - assets/js/4faaf014.b71d2278.js | 1 + assets/js/533a8e17.4aa6c23b.js | 1 + assets/js/533a8e17.f9eaccaf.js | 1 - assets/js/55373fd9.0f5baacd.js | 1 - assets/js/55373fd9.d9b4049f.js | 1 + assets/js/5c2c208f.47cc8d6f.js | 1 - assets/js/5c2c208f.f5db59d6.js | 1 + assets/js/5f46c019.58a2ecec.js | 1 + assets/js/5f46c019.6df3defc.js | 1 - assets/js/614.a9a61b3c.js | 160 - assets/js/628.498b4a10.js | 20 - assets/js/6a4d8b82.6cbcfa2b.js | 1 + assets/js/6a4d8b82.76b26a41.js | 1 - assets/js/6bccb6a0.039d3be6.js | 1 - assets/js/6bccb6a0.6f149253.js | 1 + assets/js/72a427b3.85d2da71.js | 1 - assets/js/72a427b3.c4735c70.js | 1 + assets/js/7614ce18.47f6181b.js | 1 - assets/js/7614ce18.b43cd9d7.js | 1 + assets/js/76aa043d.38408240.js | 1 - assets/js/76aa043d.dff7b834.js | 1 + assets/js/774b774e.0ba1486a.js | 1 - assets/js/774b774e.62004c09.js | 1 + assets/js/78f84b63.c5fffeec.js | 1 - assets/js/78f84b63.ec5d197f.js | 1 + assets/js/7ebf62b0.20f38d63.js | 1 - assets/js/7ebf62b0.54ae80af.js | 1 + assets/js/829c17da.64c4f7db.js | 1 - assets/js/829c17da.c2826dfc.js | 1 + assets/js/839.5dc2e14a.js | 2787 ----------------- assets/js/87294416.1c8fab42.js | 1 - assets/js/87294416.856a4cc6.js | 1 + assets/js/883bfc27.5732fd71.js | 1 - assets/js/883bfc27.e0f2109e.js | 1 + assets/js/915d2175.a93f3789.js | 1 - assets/js/915d2175.fa7feda1.js | 1 + assets/js/96e7b265.2e1a87e7.js | 1 + assets/js/96e7b265.6f8d42a9.js | 1 - assets/js/97031957.74a6f4a9.js | 1 + assets/js/97031957.ae455773.js | 1 - assets/js/9caecde7.3fdac415.js | 1 + assets/js/9caecde7.74f0d7a9.js | 1 - assets/js/a5e5ec5a.09a26d23.js | 1 + assets/js/a5e5ec5a.dfa3cf45.js | 1 - assets/js/aa77b6a8.56ca09ce.js | 1 + assets/js/aa77b6a8.5f77033a.js | 1 - assets/js/aa8d6d0b.3846c405.js | 1 + assets/js/aa8d6d0b.a3f58f5a.js | 1 - assets/js/ab10b176.a38e9884.js | 1 + assets/js/ab10b176.e1e3cdcc.js | 1 - assets/js/ad90b1c0.74762d54.js | 1 - assets/js/ad90b1c0.c1a1d37b.js | 1 + assets/js/afe92c27.d16e7e92.js | 1 + assets/js/afe92c27.e70abf98.js | 1 - assets/js/b30e43e1.3fcb3a66.js | 1 - assets/js/b30e43e1.a31d7816.js | 1 + assets/js/b52bbddc.7d564abb.js | 1 + assets/js/b52bbddc.f2c069f1.js | 1 - assets/js/bc0994c2.15fbeed5.js | 1 - assets/js/bc0994c2.8d7b205a.js | 1 + assets/js/c0086ef4.1ae27f60.js | 1 + assets/js/c0086ef4.e912ad3e.js | 1 - assets/js/c179f821.2dcdb50f.js | 1 + assets/js/c179f821.d6edce51.js | 1 - assets/js/c36217b7.0c863d6c.js | 1 + assets/js/c36217b7.b51cdfb6.js | 1 - assets/js/c9387e11.3687e058.js | 1 + assets/js/c9387e11.39c2de77.js | 1 - ...49370.58d903c5.js => ccc49370.4af249c4.js} | 2 +- assets/js/cd12752c.360e07a4.js | 1 - assets/js/cd12752c.dc6a2981.js | 1 + assets/js/d026f85a.53607b1b.js | 1 + assets/js/d026f85a.53d82ce8.js | 1 - assets/js/d0a7fa20.37976b23.js | 1 - assets/js/d0a7fa20.fa07e025.js | 1 + assets/js/d9a0709a.0d8913ab.js | 1 - assets/js/d9a0709a.4726d5fe.js | 1 + assets/js/e3948197.07b1f2b2.js | 1 + assets/js/e3948197.d1790ba7.js | 1 - assets/js/e8ce008f.2bd9d5ad.js | 1 - assets/js/e8ce008f.b1ec9e42.js | 1 + assets/js/e9832d3c.4c1bae01.js | 1 + assets/js/e9832d3c.56c837d9.js | 1 - assets/js/ea313555.9b1be162.js | 1 + assets/js/ea313555.de1e3167.js | 1 - assets/js/ebb1249f.50bc2a91.js | 1 - assets/js/ebb1249f.91e6aa88.js | 1 + assets/js/ec99730f.5adeb4e0.js | 1 + assets/js/ec99730f.6c306e25.js | 1 - assets/js/ece64983.0e7ba953.js | 1 + assets/js/ece64983.7edb4580.js | 1 - assets/js/ee929032.3144727c.js | 1 - assets/js/ee929032.34e75bc3.js | 1 + assets/js/ef54304a.081559c4.js | 1 - assets/js/ef54304a.e2bca2eb.js | 1 + assets/js/f58af7d8.a125777a.js | 1 + assets/js/f58af7d8.d2bb4249.js | 1 - assets/js/f71da0e1.7f60bf2c.js | 1 - assets/js/f71da0e1.aeeedc89.js | 1 + assets/js/f7adbe59.35b642e6.js | 1 - assets/js/f7adbe59.e37ce83f.js | 1 + assets/js/fa572d46.e23af566.js | 1 - assets/js/fa572d46.ffdc7af5.js | 1 + assets/js/fdba5499.1c0bcc54.js | 1 - assets/js/fdba5499.fd48d8c9.js | 1 + assets/js/main.8d7c9c87.js | 2 + ...CENSE.txt => main.8d7c9c87.js.LICENSE.txt} | 0 assets/js/main.8fb8a7a3.js | 2 - ...n.7f91fab5.js => runtime~main.cc9723fa.js} | 2 +- blog.html | 10 +- blog/archive.html | 10 +- blog/authors.html | 10 +- blog/empowerment.html | 10 +- blog/tags.html | 10 +- blog/tags/features.html | 10 +- blog/tags/welcome.html | 10 +- blog/welcome.html | 10 +- docs/category/-additionalinstruction.html | 10 +- docs/category/-asneeded.html | 10 +- docs/category/-boundsperiod.html | 10 +- docs/category/-boundsrange.html | 10 +- docs/category/-code.html | 10 +- docs/category/-count--countmax.html | 10 +- docs/category/-dayofweek.html | 10 +- docs/category/-dosequantity.html | 10 +- docs/category/-doserange.html | 10 +- docs/category/-durationdurationmax.html | 10 +- docs/category/-event.html | 10 +- docs/category/-frequencyfrequencymax.html | 10 +- docs/category/-maxdoseperadministration.html | 10 +- docs/category/-maxdoseperlifetime.html | 10 +- docs/category/-maxdoseperperiod.html | 10 +- docs/category/-offset-when.html | 10 +- docs/category/-offset.html | 10 +- docs/category/-patientinstruction.html | 10 +- docs/category/-rateratio.html | 10 +- docs/category/-site.html | 10 +- docs/category/-text.html | 10 +- docs/category/-timeofday.html | 10 +- docs/category/-when.html | 10 +- .../\357\270\217-boundsduration.html" | 10 +- "docs/category/\357\270\217-method.html" | 10 +- .../\357\270\217-periodperiodmax.html" | 10 +- .../category/\357\270\217-ratequantity.html" | 10 +- "docs/category/\357\270\217-raterange.html" | 10 +- "docs/category/\357\270\217-route.html" | 10 +- "docs/category/\357\270\217-sequence.html" | 10 +- docs/contributing.html | 10 +- docs/custom/dateTimeFormatOptions.html | 10 +- docs/custom/displayOrder.html | 10 +- docs/custom/displaySeparator.html | 10 +- docs/custom/fromCodeableConceptToString.html | 10 +- docs/custom/fromExtensionsToString.html | 10 +- docs/custom/fromFHIRQuantityUnitToString.html | 10 +- docs/custom/i18nConfig.html | 10 +- docs/demo.html | 10 +- docs/demo/custom.html | 10 +- docs/demo/examples.html | 10 +- docs/demo/examples/medicationrequest.html | 10 +- docs/demo/specs.html | 10 +- docs/examples/medicationrequest/medrx002.html | 10 +- docs/examples/medicationrequest/medrx003.html | 10 +- docs/examples/medicationrequest/medrx004.html | 10 +- .../examples/medicationrequest/medrx0301.html | 10 +- .../examples/medicationrequest/medrx0302.html | 10 +- .../examples/medicationrequest/medrx0303.html | 10 +- .../examples/medicationrequest/medrx0305.html | 10 +- .../examples/medicationrequest/medrx0307.html | 10 +- .../examples/medicationrequest/medrx0308.html | 10 +- .../examples/medicationrequest/medrx0310.html | 10 +- .../examples/medicationrequest/medrx0313.html | 10 +- .../examples/medicationrequest/medrx0314.html | 10 +- .../examples/medicationrequest/medrx0315.html | 10 +- .../examples/medicationrequest/medrx0317.html | 10 +- .../examples/medicationrequest/medrx0319.html | 10 +- .../examples/medicationrequest/medrx0321.html | 10 +- .../examples/medicationrequest/medrx0331.html | 10 +- .../examples/medicationrequest/medrx0339.html | 10 +- docs/faq.html | 10 +- docs/next-steps.html | 10 +- docs/quick-start.html | 10 +- .../additionalInstruction/multiple_items.html | 10 +- .../additionalInstruction/single_item.html | 10 +- docs/specs/asNeeded.html | 10 +- docs/specs/asNeeded/asNeededBoolean.html | 10 +- .../asNeeded/asNeededCodeableConcept.html | 10 +- docs/specs/asNeeded/asNeededFor.html | 10 +- docs/specs/boundsDuration.html | 10 +- docs/specs/boundsPeriod/end_only.html | 10 +- docs/specs/boundsPeriod/start_and_end.html | 10 +- docs/specs/boundsPeriod/start_only.html | 10 +- docs/specs/boundsRange/high_only.html | 10 +- docs/specs/boundsRange/low_and_high.html | 10 +- docs/specs/boundsRange/low_only.html | 10 +- docs/specs/code.html | 10 +- docs/specs/countCountMax/count.html | 10 +- docs/specs/countCountMax/countMax_only.html | 10 +- .../countCountMax/count_and_countMax.html | 10 +- docs/specs/dayOfWeek/multiple_items.html | 10 +- docs/specs/dayOfWeek/single_item.html | 10 +- docs/specs/doseQuantity.html | 10 +- docs/specs/doseRange/high_only.html | 10 +- docs/specs/doseRange/low_and_high.html | 10 +- docs/specs/doseRange/low_only.html | 10 +- .../durationDurationMax/durationMax_only.html | 10 +- .../duration_and_durationMax.html | 10 +- .../durationDurationMax/duration_only.html | 10 +- docs/specs/event/multiple_items.html | 10 +- docs/specs/event/single_item.html | 10 +- .../frequencyMax_only.html | 10 +- .../frequency_and_frequencyMax.html | 10 +- .../frequencyFrequencyMax/frequency_only.html | 10 +- docs/specs/maxDosePerAdministration.html | 10 +- docs/specs/maxDosePerLifetime.html | 10 +- docs/specs/maxDosePerPeriod/r4.html | 10 +- docs/specs/maxDosePerPeriod/r5.html | 10 +- docs/specs/method.html | 10 +- docs/specs/offsetWhen/offset/offset_days.html | 10 +- .../specs/offsetWhen/offset/offset_hours.html | 10 +- .../offsetWhen/offset/offset_minutes.html | 10 +- .../specs/offsetWhen/when/multiple_items.html | 10 +- docs/specs/offsetWhen/when/single_item.html | 10 +- docs/specs/offsetWhen/when_and_offset.html | 10 +- docs/specs/patientInstruction.html | 10 +- .../specs/periodPeriodMax/periodMax_only.html | 10 +- .../periodPeriodMax/period_and_periodMax.html | 10 +- docs/specs/periodPeriodMax/period_only.html | 10 +- docs/specs/rateQuantity.html | 10 +- docs/specs/rateRange/high_only.html | 10 +- docs/specs/rateRange/low_and_high.html | 10 +- docs/specs/rateRange/low_only.html | 10 +- docs/specs/rateRatio.html | 10 +- docs/specs/route.html | 10 +- .../sequence/concurrent_instructions.html | 10 +- .../sequence/sequential_instructions_1.html | 10 +- .../sequence/sequential_instructions_2.html | 10 +- docs/specs/site.html | 10 +- docs/specs/text.html | 10 +- docs/specs/timeOfDay/multiple_items.html | 10 +- docs/specs/timeOfDay/single_item.html | 10 +- examples/timing.html | 10 +- index.html | 10 +- playground.html | 10 +- search.html | 10 +- 337 files changed, 800 insertions(+), 3767 deletions(-) rename assets/css/{styles.da69786d.css => styles.fb6108f5.css} (98%) delete mode 100644 assets/js/01aca802.a5f4bd20.js create mode 100644 assets/js/01aca802.c3510731.js create mode 100644 assets/js/026611d2.247b3c5d.js delete mode 100644 assets/js/026611d2.e20062d4.js delete mode 100644 assets/js/03620de3.c8cd830d.js create mode 100644 assets/js/03620de3.faf95e9a.js create mode 100644 assets/js/04716c54.190f052e.js delete mode 100644 assets/js/04716c54.19162856.js create mode 100644 assets/js/0530b1c5.3d0b8d71.js delete mode 100644 assets/js/0530b1c5.d11c977a.js delete mode 100644 assets/js/06a006fb.8e15d9d2.js create mode 100644 assets/js/06a006fb.f306ec41.js delete mode 100644 assets/js/118e00e5.70d9dfae.js create mode 100644 assets/js/118e00e5.bc24b584.js create mode 100644 assets/js/124c4f9d.a18f06b1.js delete mode 100644 assets/js/124c4f9d.cef7e338.js create mode 100644 assets/js/12564d99.9ce5a198.js delete mode 100644 assets/js/12564d99.f9810fd9.js create mode 100644 assets/js/133d1207.5d12d011.js delete mode 100644 assets/js/133d1207.eb5f4dfd.js create mode 100644 assets/js/139f9fbc.6b2a0f29.js delete mode 100644 assets/js/139f9fbc.e8bad372.js delete mode 100644 assets/js/162bd28d.4e08c0b6.js create mode 100644 assets/js/162bd28d.e0bd6f8a.js delete mode 100644 assets/js/1668a7c3.91f4d5e1.js create mode 100644 assets/js/1668a7c3.bb646fe4.js create mode 100644 assets/js/17baba0b.c5093434.js delete mode 100644 assets/js/17baba0b.f2b5ba2e.js create mode 100644 assets/js/1a4e3797.edb30e07.js rename assets/js/{1a4e3797.f70ae51a.js.LICENSE.txt => 1a4e3797.edb30e07.js.LICENSE.txt} (100%) delete mode 100644 assets/js/1a4e3797.f70ae51a.js delete mode 100644 assets/js/1c1d0071.34dac78b.js create mode 100644 assets/js/1c1d0071.6c247cf0.js create mode 100644 assets/js/1cd656ab.53ec4478.js delete mode 100644 assets/js/1cd656ab.eb36380f.js create mode 100644 assets/js/1f927e7e.08327c6f.js delete mode 100644 assets/js/1f927e7e.5449a385.js delete mode 100644 assets/js/201e0385.a9e82cdb.js create mode 100644 assets/js/201e0385.b9bedf49.js delete mode 100644 assets/js/20a65861.0e530bab.js create mode 100644 assets/js/20a65861.b28a42e0.js create mode 100644 assets/js/20b5be5c.3004df61.js delete mode 100644 assets/js/20b5be5c.e94a14c8.js delete mode 100644 assets/js/21119077.6bab7c8e.js create mode 100644 assets/js/21119077.d4d8e538.js delete mode 100644 assets/js/254404d2.52ead305.js create mode 100644 assets/js/254404d2.aaa69585.js delete mode 100644 assets/js/265a61ea.8220344a.js create mode 100644 assets/js/265a61ea.dee958e4.js delete mode 100644 assets/js/2a331aeb.f6fc2877.js create mode 100644 assets/js/2a331aeb.f74d7ec4.js create mode 100644 assets/js/2c4b321a.4aaeae55.js delete mode 100644 assets/js/2c4b321a.e1ca4e0e.js delete mode 100644 assets/js/3216d4c8.05180b8d.js create mode 100644 assets/js/3216d4c8.68a073f7.js rename assets/js/{3347.733c6bc3.js => 3347.5287bd59.js} (74%) create mode 100644 assets/js/36cdde70.30885b75.js delete mode 100644 assets/js/36cdde70.7448a3d2.js create mode 100644 assets/js/3766ff12.9e21b0fc.js delete mode 100644 assets/js/3766ff12.f43a3516.js delete mode 100644 assets/js/38ae24f3.08ea48d9.js create mode 100644 assets/js/38ae24f3.d68ed616.js delete mode 100644 assets/js/3903b0d4.393da9c4.js create mode 100644 assets/js/3903b0d4.a57c0c3f.js create mode 100644 assets/js/3d23bc21.7594365f.js delete mode 100644 assets/js/3d23bc21.e2fe4c5e.js create mode 100644 assets/js/3f237283.28e32e11.js delete mode 100644 assets/js/3f237283.5fd31c18.js create mode 100644 assets/js/3fb26655.0519bb11.js delete mode 100644 assets/js/3fb26655.b185812f.js delete mode 100644 assets/js/40c0f713.0cc630f9.js create mode 100644 assets/js/40c0f713.2fba84f3.js delete mode 100644 assets/js/430bd102.a748706c.js create mode 100644 assets/js/430bd102.c22e94d2.js create mode 100644 assets/js/460a5c5b.61c74f90.js delete mode 100644 assets/js/460a5c5b.739c9bab.js create mode 100644 assets/js/4628893b.06151eda.js delete mode 100644 assets/js/4628893b.ebf2049d.js create mode 100644 assets/js/49044b90.09dd9432.js delete mode 100644 assets/js/49044b90.7e3ff0c0.js create mode 100644 assets/js/4cbe19c8.1f3d4924.js delete mode 100644 assets/js/4cbe19c8.4cdcb2af.js delete mode 100644 assets/js/4e847481.43a03ae7.js create mode 100644 assets/js/4e847481.d1f13cc5.js create mode 100644 assets/js/4eb59f15.0f52bdd4.js delete mode 100644 assets/js/4eb59f15.b5d5e048.js delete mode 100644 assets/js/4faaf014.6e1e5275.js create mode 100644 assets/js/4faaf014.b71d2278.js create mode 100644 assets/js/533a8e17.4aa6c23b.js delete mode 100644 assets/js/533a8e17.f9eaccaf.js delete mode 100644 assets/js/55373fd9.0f5baacd.js create mode 100644 assets/js/55373fd9.d9b4049f.js delete mode 100644 assets/js/5c2c208f.47cc8d6f.js create mode 100644 assets/js/5c2c208f.f5db59d6.js create mode 100644 assets/js/5f46c019.58a2ecec.js delete mode 100644 assets/js/5f46c019.6df3defc.js delete mode 100644 assets/js/614.a9a61b3c.js delete mode 100644 assets/js/628.498b4a10.js create mode 100644 assets/js/6a4d8b82.6cbcfa2b.js delete mode 100644 assets/js/6a4d8b82.76b26a41.js delete mode 100644 assets/js/6bccb6a0.039d3be6.js create mode 100644 assets/js/6bccb6a0.6f149253.js delete mode 100644 assets/js/72a427b3.85d2da71.js create mode 100644 assets/js/72a427b3.c4735c70.js delete mode 100644 assets/js/7614ce18.47f6181b.js create mode 100644 assets/js/7614ce18.b43cd9d7.js delete mode 100644 assets/js/76aa043d.38408240.js create mode 100644 assets/js/76aa043d.dff7b834.js delete mode 100644 assets/js/774b774e.0ba1486a.js create mode 100644 assets/js/774b774e.62004c09.js delete mode 100644 assets/js/78f84b63.c5fffeec.js create mode 100644 assets/js/78f84b63.ec5d197f.js delete mode 100644 assets/js/7ebf62b0.20f38d63.js create mode 100644 assets/js/7ebf62b0.54ae80af.js delete mode 100644 assets/js/829c17da.64c4f7db.js create mode 100644 assets/js/829c17da.c2826dfc.js delete mode 100644 assets/js/839.5dc2e14a.js delete mode 100644 assets/js/87294416.1c8fab42.js create mode 100644 assets/js/87294416.856a4cc6.js delete mode 100644 assets/js/883bfc27.5732fd71.js create mode 100644 assets/js/883bfc27.e0f2109e.js delete mode 100644 assets/js/915d2175.a93f3789.js create mode 100644 assets/js/915d2175.fa7feda1.js create mode 100644 assets/js/96e7b265.2e1a87e7.js delete mode 100644 assets/js/96e7b265.6f8d42a9.js create mode 100644 assets/js/97031957.74a6f4a9.js delete mode 100644 assets/js/97031957.ae455773.js create mode 100644 assets/js/9caecde7.3fdac415.js delete mode 100644 assets/js/9caecde7.74f0d7a9.js create mode 100644 assets/js/a5e5ec5a.09a26d23.js delete mode 100644 assets/js/a5e5ec5a.dfa3cf45.js create mode 100644 assets/js/aa77b6a8.56ca09ce.js delete mode 100644 assets/js/aa77b6a8.5f77033a.js create mode 100644 assets/js/aa8d6d0b.3846c405.js delete mode 100644 assets/js/aa8d6d0b.a3f58f5a.js create mode 100644 assets/js/ab10b176.a38e9884.js delete mode 100644 assets/js/ab10b176.e1e3cdcc.js delete mode 100644 assets/js/ad90b1c0.74762d54.js create mode 100644 assets/js/ad90b1c0.c1a1d37b.js create mode 100644 assets/js/afe92c27.d16e7e92.js delete mode 100644 assets/js/afe92c27.e70abf98.js delete mode 100644 assets/js/b30e43e1.3fcb3a66.js create mode 100644 assets/js/b30e43e1.a31d7816.js create mode 100644 assets/js/b52bbddc.7d564abb.js delete mode 100644 assets/js/b52bbddc.f2c069f1.js delete mode 100644 assets/js/bc0994c2.15fbeed5.js create mode 100644 assets/js/bc0994c2.8d7b205a.js create mode 100644 assets/js/c0086ef4.1ae27f60.js delete mode 100644 assets/js/c0086ef4.e912ad3e.js create mode 100644 assets/js/c179f821.2dcdb50f.js delete mode 100644 assets/js/c179f821.d6edce51.js create mode 100644 assets/js/c36217b7.0c863d6c.js delete mode 100644 assets/js/c36217b7.b51cdfb6.js create mode 100644 assets/js/c9387e11.3687e058.js delete mode 100644 assets/js/c9387e11.39c2de77.js rename assets/js/{ccc49370.58d903c5.js => ccc49370.4af249c4.js} (79%) delete mode 100644 assets/js/cd12752c.360e07a4.js create mode 100644 assets/js/cd12752c.dc6a2981.js create mode 100644 assets/js/d026f85a.53607b1b.js delete mode 100644 assets/js/d026f85a.53d82ce8.js delete mode 100644 assets/js/d0a7fa20.37976b23.js create mode 100644 assets/js/d0a7fa20.fa07e025.js delete mode 100644 assets/js/d9a0709a.0d8913ab.js create mode 100644 assets/js/d9a0709a.4726d5fe.js create mode 100644 assets/js/e3948197.07b1f2b2.js delete mode 100644 assets/js/e3948197.d1790ba7.js delete mode 100644 assets/js/e8ce008f.2bd9d5ad.js create mode 100644 assets/js/e8ce008f.b1ec9e42.js create mode 100644 assets/js/e9832d3c.4c1bae01.js delete mode 100644 assets/js/e9832d3c.56c837d9.js create mode 100644 assets/js/ea313555.9b1be162.js delete mode 100644 assets/js/ea313555.de1e3167.js delete mode 100644 assets/js/ebb1249f.50bc2a91.js create mode 100644 assets/js/ebb1249f.91e6aa88.js create mode 100644 assets/js/ec99730f.5adeb4e0.js delete mode 100644 assets/js/ec99730f.6c306e25.js create mode 100644 assets/js/ece64983.0e7ba953.js delete mode 100644 assets/js/ece64983.7edb4580.js delete mode 100644 assets/js/ee929032.3144727c.js create mode 100644 assets/js/ee929032.34e75bc3.js delete mode 100644 assets/js/ef54304a.081559c4.js create mode 100644 assets/js/ef54304a.e2bca2eb.js create mode 100644 assets/js/f58af7d8.a125777a.js delete mode 100644 assets/js/f58af7d8.d2bb4249.js delete mode 100644 assets/js/f71da0e1.7f60bf2c.js create mode 100644 assets/js/f71da0e1.aeeedc89.js delete mode 100644 assets/js/f7adbe59.35b642e6.js create mode 100644 assets/js/f7adbe59.e37ce83f.js delete mode 100644 assets/js/fa572d46.e23af566.js create mode 100644 assets/js/fa572d46.ffdc7af5.js delete mode 100644 assets/js/fdba5499.1c0bcc54.js create mode 100644 assets/js/fdba5499.fd48d8c9.js create mode 100644 assets/js/main.8d7c9c87.js rename assets/js/{main.8fb8a7a3.js.LICENSE.txt => main.8d7c9c87.js.LICENSE.txt} (100%) delete mode 100644 assets/js/main.8fb8a7a3.js rename assets/js/{runtime~main.7f91fab5.js => runtime~main.cc9723fa.js} (76%) diff --git a/404.html b/404.html index 84c5b33f..06aa6e9a 100644 --- a/404.html +++ b/404.html @@ -2,17 +2,17 @@ - + Page Not Found | FHIR Dosage Utils - - - + + + -
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.

+
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.

\ No newline at end of file diff --git a/api.html b/api.html index 5e5b99dc..19f5e8b7 100644 --- a/api.html +++ b/api.html @@ -2,17 +2,17 @@ - + fhir-dosage-utils | API | FHIR Dosage Utils - - - + + + -
Skip to main content
Page Options
+
Skip to main content
Page Options
\ No newline at end of file diff --git a/api/class/FhirDosageUtils.html b/api/class/FhirDosageUtils.html index 562983db..80a25e27 100644 --- a/api/class/FhirDosageUtils.html +++ b/api/class/FhirDosageUtils.html @@ -2,17 +2,17 @@ - + FhirDosageUtils | API | FHIR Dosage Utils - - - + + + -
Skip to main content

FhirDosageUtils

Hierarchy

  • Utils
    • FhirDosageUtils

Index

Methods

changeLanguage

  • changeLanguage(lng: string): Promise<TFunction<common, undefined>>
  • Parameters

    • lng: string

    Returns Promise<TFunction<common, undefined>>

containsOnlySequentialInstructions

  • containsOnlySequentialInstructions(dosages: Dosage[]): boolean
  • Parameters

    • dosages: Dosage[]

    Returns boolean

fromDosageToText

  • fromDosageToText(dos: Dosage): string
  • Parameters

    • dos: Dosage

    Returns string

fromMultipleDosageToText

  • fromMultipleDosageToText(dosages: Dosage[]): string
  • Parameters

    • dosages: Dosage[]

    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 | timingExtension | timingRepeatExtension | modifierExtension | timingModifierExtension)[]): string
  • 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 | timingExtension | timingRepeatExtension | modifierExtension | timingModifierExtension)[]

    Returns string

getProperty

  • getProperty<T>(key: T): Config[T]
  • Type parameters

    Parameters

    • key: T

    Returns Config[T]

groupBySequence

  • groupBySequence(dosages: Dosage[]): Dosage[][]
  • Parameters

    • dosages: Dosage[]

    Returns Dosage[][]

setProperty

  • setProperty<T>(key: T, value: Config[T]): undefined
  • Type parameters

    • T: SettableProperties

    Parameters

    Returns undefined

staticbuild

+
Skip to main content

FhirDosageUtils

Hierarchy

  • Utils
    • FhirDosageUtils

Index

Methods

changeLanguage

  • changeLanguage(lng: string): Promise<TFunction<common, undefined>>
  • Parameters

    • lng: string

    Returns Promise<TFunction<common, undefined>>

containsOnlySequentialInstructions

  • containsOnlySequentialInstructions(dosages: Dosage[]): boolean
  • Parameters

    • dosages: Dosage[]

    Returns boolean

fromDosageToText

  • fromDosageToText(dos: Dosage): string
  • Parameters

    • dos: Dosage

    Returns string

fromMultipleDosageToText

  • fromMultipleDosageToText(dosages: Dosage[]): string
  • Parameters

    • dosages: Dosage[]

    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 | timingExtension | timingRepeatExtension | modifierExtension | timingModifierExtension)[]): string
  • 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 | timingExtension | timingRepeatExtension | modifierExtension | timingModifierExtension)[]

    Returns string

getProperty

  • getProperty<T>(key: T): Config[T]
  • Type parameters

    Parameters

    • key: T

    Returns Config[T]

groupBySequence

  • groupBySequence(dosages: Dosage[]): Dosage[][]
  • Parameters

    • dosages: Dosage[]

    Returns Dosage[][]

setProperty

  • setProperty<T>(key: T, value: Config[T]): undefined
  • Type parameters

    • T: SettableProperties

    Parameters

    Returns undefined

staticbuild

\ No newline at end of file diff --git a/api/enum/DisplayOrderEnum.html b/api/enum/DisplayOrderEnum.html index 65110b4f..2041cc91 100644 --- a/api/enum/DisplayOrderEnum.html +++ b/api/enum/DisplayOrderEnum.html @@ -2,17 +2,17 @@ - + DisplayOrderEnum | API | FHIR Dosage Utils - - - + + + -
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"

modifierExtension

modifierExtension: modifierExtension

Display "modifierExtension"

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"

timingExtension

timingExtension: timingExtension

Display "timing.extension"

timingModifierExtension

timingModifierExtension: timingModifierExtension

Display "timing.modifierExtension"

timingRepeatExtension

timingRepeatExtension: timingRepeatExtension

Display "timing.repeat.extension"

+
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"

modifierExtension

modifierExtension: modifierExtension

Display "modifierExtension"

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"

timingExtension

timingExtension: timingExtension

Display "timing.extension"

timingModifierExtension

timingModifierExtension: timingModifierExtension

Display "timing.modifierExtension"

timingRepeatExtension

timingRepeatExtension: timingRepeatExtension

Display "timing.repeat.extension"

\ No newline at end of file diff --git a/api/interface/Config.html b/api/interface/Config.html index 2b58fee6..4cb87791 100644 --- a/api/interface/Config.html +++ b/api/interface/Config.html @@ -2,18 +2,18 @@ - + Config | API | FHIR Dosage Utils - - - + + + -
Skip to main content

Config

Index

Properties

dateTimeFormatOptions

dateTimeFormatOptions: DateTimeFormatOptions

To control the formatting of dateTime objects. +

Config

Index

Properties

dateTimeFormatOptions

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

displayOrder

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 | timingExtension | timingRepeatExtension | modifierExtension | timingModifierExtension)[]

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

displaySeparator

displaySeparator: string

Override separator between each part of "Dosage"

@defaultValue
" - "

fromCodeableConceptToString

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

fromExtensionsToString

fromExtensionsToString: FromExtensionsToStringFct

Function to turn extension(s) into a string for humans. diff --git a/assets/css/styles.da69786d.css b/assets/css/styles.fb6108f5.css similarity index 98% rename from assets/css/styles.da69786d.css rename to assets/css/styles.fb6108f5.css index fd61eede..76da5f3c 100644 --- a/assets/css/styles.da69786d.css +++ b/assets/css/styles.fb6108f5.css @@ -1,3 +1,3 @@ .col,.container{padding:0 var(--ifm-spacing-horizontal);width:100%}.markdown>h2,.markdown>h3,.markdown>h4,.markdown>h5,.markdown>h6{margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading))}body,ol ol,ol ul,ul ol,ul ul{margin:0}pre,table{overflow:auto}blockquote,pre{margin:0 0 var(--ifm-spacing-vertical)}.breadcrumbs__link,.button{transition-timing-function:var(--ifm-transition-timing-default)}.button,code{vertical-align:middle}.button--outline.button--active,.button--outline:active,.button--outline:hover,:root{--ifm-button-color:var(--ifm-font-color-base-inverse)}.menu__link:hover,a{transition:color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.navbar--dark,:root{--ifm-navbar-link-hover-color:var(--ifm-color-primary)}.menu,.navbar-sidebar{overflow-x:hidden}:root,html[data-theme=dark]{--ifm-color-emphasis-500:var(--ifm-color-gray-500)}.close,.tsd-header-flags{float:right}.toggleButton_gllP,html{-webkit-tap-highlight-color:transparent}.monaco-editor,html{-webkit-text-size-adjust:100%}:root{--ifm-color-scheme:light;--ifm-dark-value:10%;--ifm-darker-value:15%;--ifm-darkest-value:30%;--ifm-light-value:15%;--ifm-lighter-value:30%;--ifm-lightest-value:50%;--ifm-contrast-background-value:90%;--ifm-contrast-foreground-value:70%;--ifm-contrast-background-dark-value:70%;--ifm-contrast-foreground-dark-value:90%;--ifm-color-primary:#3578e5;--ifm-color-secondary:#ebedf0;--ifm-color-success:#00a400;--ifm-color-info:#54c7ec;--ifm-color-warning:#ffba00;--ifm-color-danger:#fa383e;--ifm-color-primary-dark:#306cce;--ifm-color-primary-darker:#2d66c3;--ifm-color-primary-darkest:#2554a0;--ifm-color-primary-light:#538ce9;--ifm-color-primary-lighter:#72a1ed;--ifm-color-primary-lightest:#9abcf2;--ifm-color-primary-contrast-background:#ebf2fc;--ifm-color-primary-contrast-foreground:#102445;--ifm-color-secondary-dark:#d4d5d8;--ifm-color-secondary-darker:#c8c9cc;--ifm-color-secondary-darkest:#a4a6a8;--ifm-color-secondary-light:#eef0f2;--ifm-color-secondary-lighter:#f1f2f5;--ifm-color-secondary-lightest:#f5f6f8;--ifm-color-secondary-contrast-background:#fdfdfe;--ifm-color-secondary-contrast-foreground:#474748;--ifm-color-success-dark:#009400;--ifm-color-success-darker:#008b00;--ifm-color-success-darkest:#007300;--ifm-color-success-light:#26b226;--ifm-color-success-lighter:#4dbf4d;--ifm-color-success-lightest:#80d280;--ifm-color-success-contrast-background:#e6f6e6;--ifm-color-success-contrast-foreground:#003100;--ifm-color-info-dark:#4cb3d4;--ifm-color-info-darker:#47a9c9;--ifm-color-info-darkest:#3b8ba5;--ifm-color-info-light:#6ecfef;--ifm-color-info-lighter:#87d8f2;--ifm-color-info-lightest:#aae3f6;--ifm-color-info-contrast-background:#eef9fd;--ifm-color-info-contrast-foreground:#193c47;--ifm-color-warning-dark:#e6a700;--ifm-color-warning-darker:#d99e00;--ifm-color-warning-darkest:#b38200;--ifm-color-warning-light:#ffc426;--ifm-color-warning-lighter:#ffcf4d;--ifm-color-warning-lightest:#ffdd80;--ifm-color-warning-contrast-background:#fff8e6;--ifm-color-warning-contrast-foreground:#4d3800;--ifm-color-danger-dark:#e13238;--ifm-color-danger-darker:#d53035;--ifm-color-danger-darkest:#af272b;--ifm-color-danger-light:#fb565b;--ifm-color-danger-lighter:#fb7478;--ifm-color-danger-lightest:#fd9c9f;--ifm-color-danger-contrast-background:#ffebec;--ifm-color-danger-contrast-foreground:#4b1113;--ifm-color-white:#fff;--ifm-color-black:#000;--ifm-color-gray-0:var(--ifm-color-white);--ifm-color-gray-100:#f5f6f7;--ifm-color-gray-200:#ebedf0;--ifm-color-gray-300:#dadde1;--ifm-color-gray-400:#ccd0d5;--ifm-color-gray-500:#bec3c9;--ifm-color-gray-600:#8d949e;--ifm-color-gray-700:#606770;--ifm-color-gray-800:#444950;--ifm-color-gray-900:#1c1e21;--ifm-color-gray-1000:var(--ifm-color-black);--ifm-color-emphasis-0:var(--ifm-color-gray-0);--ifm-color-emphasis-100:var(--ifm-color-gray-100);--ifm-color-emphasis-200:var(--ifm-color-gray-200);--ifm-color-emphasis-300:var(--ifm-color-gray-300);--ifm-color-emphasis-400:var(--ifm-color-gray-400);--ifm-color-emphasis-600:var(--ifm-color-gray-600);--ifm-color-emphasis-700:var(--ifm-color-gray-700);--ifm-color-emphasis-800:var(--ifm-color-gray-800);--ifm-color-emphasis-900:var(--ifm-color-gray-900);--ifm-color-emphasis-1000:var(--ifm-color-gray-1000);--ifm-color-content:var(--ifm-color-emphasis-900);--ifm-color-content-inverse:var(--ifm-color-emphasis-0);--ifm-color-content-secondary:#525860;--ifm-background-color:#0000;--ifm-background-surface-color:var(--ifm-color-content-inverse);--ifm-global-border-width:1px;--ifm-global-radius:0.4rem;--ifm-hover-overlay:#0000000d;--ifm-font-color-base:var(--ifm-color-content);--ifm-font-color-base-inverse:var(--ifm-color-content-inverse);--ifm-font-color-secondary:var(--ifm-color-content-secondary);--ifm-font-family-base:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--ifm-font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--ifm-font-size-base:100%;--ifm-font-weight-light:300;--ifm-font-weight-normal:400;--ifm-font-weight-semibold:500;--ifm-font-weight-bold:700;--ifm-font-weight-base:var(--ifm-font-weight-normal);--ifm-line-height-base:1.65;--ifm-global-spacing:1rem;--ifm-spacing-vertical:var(--ifm-global-spacing);--ifm-spacing-horizontal:var(--ifm-global-spacing);--ifm-transition-fast:200ms;--ifm-transition-slow:400ms;--ifm-transition-timing-default:cubic-bezier(0.08,0.52,0.52,1);--ifm-global-shadow-lw:0 1px 2px 0 #0000001a;--ifm-global-shadow-md:0 5px 40px #0003;--ifm-global-shadow-tl:0 12px 28px 0 #0003,0 2px 4px 0 #0000001a;--ifm-z-index-dropdown:100;--ifm-z-index-fixed:200;--ifm-z-index-overlay:400;--ifm-container-width:1140px;--ifm-container-width-xl:1320px;--ifm-code-background:#f6f7f8;--ifm-code-border-radius:var(--ifm-global-radius);--ifm-code-font-size:90%;--ifm-code-padding-horizontal:0.1rem;--ifm-code-padding-vertical:0.1rem;--ifm-pre-background:var(--ifm-code-background);--ifm-pre-border-radius:var(--ifm-code-border-radius);--ifm-pre-color:inherit;--ifm-pre-line-height:1.45;--ifm-pre-padding:1rem;--ifm-heading-color:inherit;--ifm-heading-margin-top:0;--ifm-heading-margin-bottom:var(--ifm-spacing-vertical);--ifm-heading-font-family:var(--ifm-font-family-base);--ifm-heading-font-weight:var(--ifm-font-weight-bold);--ifm-heading-line-height:1.25;--ifm-h1-font-size:2rem;--ifm-h2-font-size:1.5rem;--ifm-h3-font-size:1.25rem;--ifm-h4-font-size:1rem;--ifm-h5-font-size:0.875rem;--ifm-h6-font-size:0.85rem;--ifm-image-alignment-padding:1.25rem;--ifm-leading-desktop:1.25;--ifm-leading:calc(var(--ifm-leading-desktop)*1rem);--ifm-list-left-padding:2rem;--ifm-list-margin:1rem;--ifm-list-item-margin:0.25rem;--ifm-list-paragraph-margin:1rem;--ifm-table-cell-padding:0.75rem;--ifm-table-background:#0000;--ifm-table-stripe-background:#00000008;--ifm-table-border-width:1px;--ifm-table-border-color:var(--ifm-color-emphasis-300);--ifm-table-head-background:inherit;--ifm-table-head-color:inherit;--ifm-table-head-font-weight:var(--ifm-font-weight-bold);--ifm-table-cell-color:inherit;--ifm-link-color:var(--ifm-color-primary);--ifm-link-decoration:none;--ifm-link-hover-color:var(--ifm-link-color);--ifm-link-hover-decoration:underline;--ifm-paragraph-margin-bottom:var(--ifm-leading);--ifm-blockquote-font-size:var(--ifm-font-size-base);--ifm-blockquote-border-left-width:2px;--ifm-blockquote-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-blockquote-padding-vertical:0;--ifm-blockquote-shadow:none;--ifm-blockquote-color:var(--ifm-color-emphasis-800);--ifm-blockquote-border-color:var(--ifm-color-emphasis-300);--ifm-hr-background-color:var(--ifm-color-emphasis-500);--ifm-hr-height:1px;--ifm-hr-margin-vertical:1.5rem;--ifm-scrollbar-size:7px;--ifm-scrollbar-track-background-color:#f1f1f1;--ifm-scrollbar-thumb-background-color:silver;--ifm-scrollbar-thumb-hover-background-color:#a7a7a7;--ifm-alert-background-color:inherit;--ifm-alert-border-color:inherit;--ifm-alert-border-radius:var(--ifm-global-radius);--ifm-alert-border-width:0px;--ifm-alert-border-left-width:5px;--ifm-alert-color:var(--ifm-font-color-base);--ifm-alert-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-alert-padding-vertical:var(--ifm-spacing-vertical);--ifm-alert-shadow:var(--ifm-global-shadow-lw);--ifm-avatar-intro-margin:1rem;--ifm-avatar-intro-alignment:inherit;--ifm-avatar-photo-size:3rem;--ifm-badge-background-color:inherit;--ifm-badge-border-color:inherit;--ifm-badge-border-radius:var(--ifm-global-radius);--ifm-badge-border-width:var(--ifm-global-border-width);--ifm-badge-color:var(--ifm-color-white);--ifm-badge-padding-horizontal:calc(var(--ifm-spacing-horizontal)*0.5);--ifm-badge-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-breadcrumb-border-radius:1.5rem;--ifm-breadcrumb-spacing:0.5rem;--ifm-breadcrumb-color-active:var(--ifm-color-primary);--ifm-breadcrumb-item-background-active:var(--ifm-hover-overlay);--ifm-breadcrumb-padding-horizontal:0.8rem;--ifm-breadcrumb-padding-vertical:0.4rem;--ifm-breadcrumb-size-multiplier:1;--ifm-breadcrumb-separator:url('data:image/svg+xml;utf8,');--ifm-breadcrumb-separator-filter:none;--ifm-breadcrumb-separator-size:0.5rem;--ifm-breadcrumb-separator-size-multiplier:1.25;--ifm-button-background-color:inherit;--ifm-button-border-color:var(--ifm-button-background-color);--ifm-button-border-width:var(--ifm-global-border-width);--ifm-button-font-weight:var(--ifm-font-weight-bold);--ifm-button-padding-horizontal:1.5rem;--ifm-button-padding-vertical:0.375rem;--ifm-button-size-multiplier:1;--ifm-button-transition-duration:var(--ifm-transition-fast);--ifm-button-border-radius:calc(var(--ifm-global-radius)*var(--ifm-button-size-multiplier));--ifm-button-group-spacing:2px;--ifm-card-background-color:var(--ifm-background-surface-color);--ifm-card-border-radius:calc(var(--ifm-global-radius)*2);--ifm-card-horizontal-spacing:var(--ifm-global-spacing);--ifm-card-vertical-spacing:var(--ifm-global-spacing);--ifm-toc-border-color:var(--ifm-color-emphasis-300);--ifm-toc-link-color:var(--ifm-color-content-secondary);--ifm-toc-padding-vertical:0.5rem;--ifm-toc-padding-horizontal:0.5rem;--ifm-dropdown-background-color:var(--ifm-background-surface-color);--ifm-dropdown-font-weight:var(--ifm-font-weight-semibold);--ifm-dropdown-link-color:var(--ifm-font-color-base);--ifm-dropdown-hover-background-color:var(--ifm-hover-overlay);--ifm-footer-background-color:var(--ifm-color-emphasis-100);--ifm-footer-color:inherit;--ifm-footer-link-color:var(--ifm-color-emphasis-700);--ifm-footer-link-hover-color:var(--ifm-color-primary);--ifm-footer-link-horizontal-spacing:0.5rem;--ifm-footer-padding-horizontal:calc(var(--ifm-spacing-horizontal)*2);--ifm-footer-padding-vertical:calc(var(--ifm-spacing-vertical)*2);--ifm-footer-title-color:inherit;--ifm-footer-logo-max-width:min(30rem,90vw);--ifm-hero-background-color:var(--ifm-background-surface-color);--ifm-hero-text-color:var(--ifm-color-emphasis-800);--ifm-menu-color:var(--ifm-color-emphasis-700);--ifm-menu-color-active:var(--ifm-color-primary);--ifm-menu-color-background-active:var(--ifm-hover-overlay);--ifm-menu-color-background-hover:var(--ifm-hover-overlay);--ifm-menu-link-padding-horizontal:0.75rem;--ifm-menu-link-padding-vertical:0.375rem;--ifm-menu-link-sublist-icon:url('data:image/svg+xml;utf8,');--ifm-menu-link-sublist-icon-filter:none;--ifm-navbar-background-color:var(--ifm-background-surface-color);--ifm-navbar-height:3.75rem;--ifm-navbar-item-padding-horizontal:0.75rem;--ifm-navbar-item-padding-vertical:0.25rem;--ifm-navbar-link-color:var(--ifm-font-color-base);--ifm-navbar-link-active-color:var(--ifm-link-color);--ifm-navbar-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-navbar-padding-vertical:calc(var(--ifm-spacing-vertical)*0.5);--ifm-navbar-shadow:var(--ifm-global-shadow-lw);--ifm-navbar-search-input-background-color:var(--ifm-color-emphasis-200);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-800);--ifm-navbar-search-input-placeholder-color:var(--ifm-color-emphasis-500);--ifm-navbar-search-input-icon:url('data:image/svg+xml;utf8,');--ifm-navbar-sidebar-width:83vw;--ifm-pagination-border-radius:var(--ifm-global-radius);--ifm-pagination-color-active:var(--ifm-color-primary);--ifm-pagination-font-size:1rem;--ifm-pagination-item-active-background:var(--ifm-hover-overlay);--ifm-pagination-page-spacing:0.2em;--ifm-pagination-padding-horizontal:calc(var(--ifm-spacing-horizontal)*1);--ifm-pagination-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-pagination-nav-border-radius:var(--ifm-global-radius);--ifm-pagination-nav-color-hover:var(--ifm-color-primary);--ifm-pills-color-active:var(--ifm-color-primary);--ifm-pills-color-background-active:var(--ifm-hover-overlay);--ifm-pills-spacing:0.125rem;--ifm-tabs-color:var(--ifm-font-color-secondary);--ifm-tabs-color-active:var(--ifm-color-primary);--ifm-tabs-color-active-border:var(--ifm-tabs-color-active);--ifm-tabs-padding-horizontal:1rem;--ifm-tabs-padding-vertical:1rem;--docusaurus-progress-bar-color:var(--ifm-color-primary);--ifm-color-primary:#2e8555;--ifm-color-primary-dark:#29784c;--ifm-color-primary-darker:#277148;--ifm-color-primary-darkest:#205d3b;--ifm-color-primary-light:#33925d;--ifm-color-primary-lighter:#359962;--ifm-color-primary-lightest:#3cad6e;--ifm-code-font-size:95%;--docusaurus-highlighted-code-line-bg:#0000001a;--tsd-muted-text:var(--ifm-color-secondary-darkest);--tsd-font-small:var(--ifm-h6-font-size);--tsd-spacing-vertical:0.75rem;--tsd-spacing-vertical-full:2rem;--tsd-spacing-horizontal:1rem;--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:#656c85cc;--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 #ffffff80,0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px #1e235a66;--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 1px 0 #1e235a66;--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 #45629b1f;--docsearch-primary-color:var(--ifm-color-primary);--docsearch-text-color:var(--ifm-font-color-base);--docusaurus-announcement-bar-height:auto;--docusaurus-collapse-button-bg:#0000;--docusaurus-collapse-button-bg-hover:#0000001a;--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px;--docusaurus-blog-social-icon-size:1rem;--vscode-sash-size:4px;--vscode-sash-hover-size:4px}.badge--danger,.badge--info,.badge--primary,.badge--secondary,.badge--success,.badge--warning{--ifm-badge-border-color:var(--ifm-badge-background-color)}.button--link,.button--outline{--ifm-button-background-color:#0000}*{box-sizing:border-box}html{background-color:var(--ifm-background-color);color:var(--ifm-font-color-base);color-scheme:var(--ifm-color-scheme);font:var(--ifm-font-size-base)/var(--ifm-line-height-base) var(--ifm-font-family-base);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;text-size-adjust:100%}body{word-wrap:break-word}iframe{border:0;color-scheme:auto}.container{margin:0 auto;max-width:var(--ifm-container-width)}.container--fluid{max-width:inherit}.row{display:flex;flex-wrap:wrap;margin:0 calc(var(--ifm-spacing-horizontal)*-1)}.list_eTzJ article:last-child,.margin-bottom--none,.margin-vert--none,.markdown>:last-child{margin-bottom:0!important}.margin-top--none,.margin-vert--none,.tabItem_LNqP{margin-top:0!important}.row--no-gutters{margin-left:0;margin-right:0}.margin-horiz--none,.margin-right--none{margin-right:0!important}.row--no-gutters>.col{padding-left:0;padding-right:0}.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.menuExternalLink_NmtK,.row--align-center{align-items:center}.row--align-stretch{align-items:stretch}.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;flex:1 0;margin-left:0;max-width:var(--ifm-col-width)}.padding-bottom--none,.padding-vert--none{padding-bottom:0!important}.padding-top--none,.padding-vert--none{padding-top:0!important}.padding-horiz--none,.padding-left--none{padding-left:0!important}.padding-horiz--none,.padding-right--none{padding-right:0!important}.col[class*=col--]{flex:0 0 var(--ifm-col-width)}.col--1{--ifm-col-width:8.33333%}.col--offset-1{margin-left:8.33333%}.col--2{--ifm-col-width:16.66667%}.col--offset-2{margin-left:16.66667%}.col--3{--ifm-col-width:25%}.col--offset-3{margin-left:25%}.col--4{--ifm-col-width:33.33333%}.col--offset-4{margin-left:33.33333%}.col--5{--ifm-col-width:41.66667%}.col--offset-5{margin-left:41.66667%}.col--6{--ifm-col-width:50%}.col--offset-6{margin-left:50%}.col--7{--ifm-col-width:58.33333%}.col--offset-7{margin-left:58.33333%}.col--8{--ifm-col-width:66.66667%}.col--offset-8{margin-left:66.66667%}.col--9{--ifm-col-width:75%}.col--offset-9{margin-left:75%}.col--10{--ifm-col-width:83.33333%}.col--offset-10{margin-left:83.33333%}.col--11{--ifm-col-width:91.66667%}.col--offset-11{margin-left:91.66667%}.col--12{--ifm-col-width:100%}.col--offset-12{margin-left:100%}.margin-horiz--none,.margin-left--none{margin-left:0!important}.margin--none{margin:0!important}.margin-bottom--xs,.margin-vert--xs{margin-bottom:.25rem!important}.margin-top--xs,.margin-vert--xs{margin-top:.25rem!important}.margin-horiz--xs,.margin-left--xs{margin-left:.25rem!important}.margin-horiz--xs,.margin-right--xs{margin-right:.25rem!important}.margin--xs{margin:.25rem!important}.margin-bottom--sm,.margin-vert--sm{margin-bottom:.5rem!important}.margin-top--sm,.margin-vert--sm{margin-top:.5rem!important}.margin-horiz--sm,.margin-left--sm{margin-left:.5rem!important}.margin-horiz--sm,.margin-right--sm{margin-right:.5rem!important}.margin--sm{margin:.5rem!important}.margin-bottom--md,.margin-vert--md{margin-bottom:1rem!important}.margin-top--md,.margin-vert--md{margin-top:1rem!important}.margin-horiz--md,.margin-left--md{margin-left:1rem!important}.margin-horiz--md,.margin-right--md{margin-right:1rem!important}.margin--md{margin:1rem!important}.margin-bottom--lg,.margin-vert--lg{margin-bottom:2rem!important}.margin-top--lg,.margin-vert--lg{margin-top:2rem!important}.margin-horiz--lg,.margin-left--lg{margin-left:2rem!important}.margin-horiz--lg,.margin-right--lg{margin-right:2rem!important}.margin--lg{margin:2rem!important}.margin-bottom--xl,.margin-vert--xl{margin-bottom:5rem!important}.margin-top--xl,.margin-vert--xl{margin-top:5rem!important}.margin-horiz--xl,.margin-left--xl{margin-left:5rem!important}.margin-horiz--xl,.margin-right--xl{margin-right:5rem!important}.margin--xl{margin:5rem!important}.padding--none{padding:0!important}.padding-bottom--xs,.padding-vert--xs{padding-bottom:.25rem!important}.padding-top--xs,.padding-vert--xs{padding-top:.25rem!important}.padding-horiz--xs,.padding-left--xs{padding-left:.25rem!important}.padding-horiz--xs,.padding-right--xs{padding-right:.25rem!important}.padding--xs{padding:.25rem!important}.padding-bottom--sm,.padding-vert--sm{padding-bottom:.5rem!important}.padding-top--sm,.padding-vert--sm{padding-top:.5rem!important}.padding-horiz--sm,.padding-left--sm{padding-left:.5rem!important}.padding-horiz--sm,.padding-right--sm{padding-right:.5rem!important}.padding--sm{padding:.5rem!important}.padding-bottom--md,.padding-vert--md{padding-bottom:1rem!important}.padding-top--md,.padding-vert--md{padding-top:1rem!important}.padding-horiz--md,.padding-left--md{padding-left:1rem!important}.padding-horiz--md,.padding-right--md{padding-right:1rem!important}.padding--md{padding:1rem!important}.padding-bottom--lg,.padding-vert--lg{padding-bottom:2rem!important}.padding-top--lg,.padding-vert--lg{padding-top:2rem!important}.padding-horiz--lg,.padding-left--lg{padding-left:2rem!important}.padding-horiz--lg,.padding-right--lg{padding-right:2rem!important}.padding--lg{padding:2rem!important}.padding-bottom--xl,.padding-vert--xl{padding-bottom:5rem!important}.padding-top--xl,.padding-vert--xl{padding-top:5rem!important}.padding-horiz--xl,.padding-left--xl{padding-left:5rem!important}.padding-horiz--xl,.padding-right--xl{padding-right:5rem!important}.padding--xl{padding:5rem!important}code{background-color:var(--ifm-code-background);border:.1rem solid #0000001a;border-radius:var(--ifm-code-border-radius);font-family:var(--ifm-font-family-monospace);font-size:var(--ifm-code-font-size);padding:var(--ifm-code-padding-vertical) var(--ifm-code-padding-horizontal)}.action-widget .monaco-list-row.action:not(.option-disabled) .codicon,.monaco-editor .editor-widget input,.monaco-hover .hover-contents a.code-link,.monaco-hover .hover-contents a.code-link:hover,.quick-input-list .monaco-list-row.focused .monaco-keybinding-key,.quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator,.quick-input-message a,a code{color:inherit}pre{background-color:var(--ifm-pre-background);border-radius:var(--ifm-pre-border-radius);color:var(--ifm-pre-color);font:var(--ifm-code-font-size)/var(--ifm-pre-line-height) var(--ifm-font-family-monospace);padding:var(--ifm-pre-padding)}pre code{background-color:initial;border:none;font-size:100%;line-height:inherit;padding:0}kbd{background-color:var(--ifm-color-emphasis-0);border:1px solid var(--ifm-color-emphasis-400);border-radius:.2rem;box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-400);color:var(--ifm-color-emphasis-800);font:80% var(--ifm-font-family-monospace);padding:.15rem .3rem}h1,h2,h3,h4,h5,h6{color:var(--ifm-heading-color);font-family:var(--ifm-heading-font-family);font-weight:var(--ifm-heading-font-weight);line-height:var(--ifm-heading-line-height);margin:var(--ifm-heading-margin-top) 0 var(--ifm-heading-margin-bottom) 0}h1{font-size:var(--ifm-h1-font-size)}h2{font-size:var(--ifm-h2-font-size)}h3{font-size:var(--ifm-h3-font-size)}h4{font-size:var(--ifm-h4-font-size)}h5{font-size:var(--ifm-h5-font-size)}h6{font-size:var(--ifm-h6-font-size)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.left>.monaco-icon-label,img{max-width:100%}img[align=right]{padding-left:var(--image-alignment-padding)}img[align=left]{padding-right:var(--image-alignment-padding)}.markdown{--ifm-h1-vertical-rhythm-top:3;--ifm-h2-vertical-rhythm-top:2;--ifm-h3-vertical-rhythm-top:1.5;--ifm-heading-vertical-rhythm-top:1.25;--ifm-h1-vertical-rhythm-bottom:1.25;--ifm-heading-vertical-rhythm-bottom:1}.markdown:after,.markdown:before{content:"";display:table}.markdown:after{clear:both}.markdown h1:first-child{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-h1-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown>h2{--ifm-h2-font-size:2rem;margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>p,.markdown>pre,.markdown>ul,.tabList__CuJ{margin-bottom:var(--ifm-leading)}.markdown li{word-wrap:break-word}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ol,ul{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding)}ol ol,ul ol{list-style-type:lower-roman}ol ol ol,ol ul ol,ul ol ol,ul ul ol{list-style-type:lower-alpha}table{border-collapse:collapse;display:block;margin-bottom:var(--ifm-spacing-vertical)}table thead tr{border-bottom:2px solid var(--ifm-table-border-color)}table thead,table tr:nth-child(2n){background-color:var(--ifm-table-stripe-background)}table tr{background-color:var(--ifm-table-background);border-top:var(--ifm-table-border-width) solid var(--ifm-table-border-color)}table td,table th{border:var(--ifm-table-border-width) solid var(--ifm-table-border-color);padding:var(--ifm-table-cell-padding)}table th{background-color:var(--ifm-table-head-background);color:var(--ifm-table-head-color);font-weight:var(--ifm-table-head-font-weight)}table td{color:var(--ifm-table-cell-color)}strong{font-weight:var(--ifm-font-weight-bold)}a{color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}a:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button:hover,.text--no-decoration,.text--no-decoration:hover,a:not([href]){text-decoration:none}p{margin:0 0 var(--ifm-paragraph-margin-bottom)}blockquote{border-left:var(--ifm-blockquote-border-left-width) solid var(--ifm-blockquote-border-color);box-shadow:var(--ifm-blockquote-shadow);color:var(--ifm-blockquote-color);font-size:var(--ifm-blockquote-font-size);padding:var(--ifm-blockquote-padding-vertical) var(--ifm-blockquote-padding-horizontal)}blockquote>:first-child{margin-top:0}blockquote>:last-child{margin-bottom:0}hr{background-color:var(--ifm-hr-background-color);border:0;height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical) 0}.shadow--lw{box-shadow:var(--ifm-global-shadow-lw)!important}.shadow--md{box-shadow:var(--ifm-global-shadow-md)!important}.shadow--tl{box-shadow:var(--ifm-global-shadow-tl)!important}.text--primary,.wordWrapButtonEnabled_EoeP .wordWrapButtonIcon_Bwma{color:var(--ifm-color-primary)}.text--secondary{color:var(--ifm-color-secondary)}.text--success{color:var(--ifm-color-success)}.text--info{color:var(--ifm-color-info)}.text--warning{color:var(--ifm-color-warning)}.text--danger{color:var(--ifm-color-danger)}.text--center,.tsd-footer{text-align:center}.monaco-action-bar.vertical,.text--left{text-align:left}.text--justify{text-align:justify}.monaco-editor .inline-added-margin-view-zone,.monaco-editor .inline-deleted-margin-view-zone,.monaco-inputbox-container,.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.alert__heading,.text--uppercase{text-transform:uppercase}.text--light{font-weight:var(--ifm-font-weight-light)}.text--normal{font-weight:var(--ifm-font-weight-normal)}.text--semibold{font-weight:var(--ifm-font-weight-semibold)}.text--bold{font-weight:var(--ifm-font-weight-bold)}.monaco-editor .ghost-text-decoration,.monaco-editor .inline-edit-decoration,.monaco-editor .suggest-preview-text .ghost-text,.monaco-editor .suggest-preview-text .inline-edit,.monaco-icon-label.italic:after,.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-description-container>.label-description,.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-name-container>.label-name,.text--italic{font-style:italic}.monaco-editor .peekview-widget .head .peekview-title .dirname,.monaco-editor .peekview-widget .head .peekview-title .filename,.monaco-editor .peekview-widget .head .peekview-title .meta,.text--truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text--break{word-wrap:break-word!important;word-break:break-word!important}.clean-btn{background:none;border:none;color:inherit;cursor:pointer;font-family:inherit;padding:0}.alert,.alert .close{color:var(--ifm-alert-foreground-color)}.clean-list{list-style:none;padding-left:0}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight:#3578e526;--ifm-alert-foreground-color:var(--ifm-color-primary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-primary-dark)}.alert--secondary{--ifm-alert-background-color:var(--ifm-color-secondary-contrast-background);--ifm-alert-background-color-highlight:#ebedf026;--ifm-alert-foreground-color:var(--ifm-color-secondary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-secondary-dark)}.alert--success{--ifm-alert-background-color:var(--ifm-color-success-contrast-background);--ifm-alert-background-color-highlight:#00a40026;--ifm-alert-foreground-color:var(--ifm-color-success-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-success-dark)}.alert--info{--ifm-alert-background-color:var(--ifm-color-info-contrast-background);--ifm-alert-background-color-highlight:#54c7ec26;--ifm-alert-foreground-color:var(--ifm-color-info-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-info-dark)}.alert--warning{--ifm-alert-background-color:var(--ifm-color-warning-contrast-background);--ifm-alert-background-color-highlight:#ffba0026;--ifm-alert-foreground-color:var(--ifm-color-warning-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-warning-dark)}.alert--danger{--ifm-alert-background-color:var(--ifm-color-danger-contrast-background);--ifm-alert-background-color-highlight:#fa383e26;--ifm-alert-foreground-color:var(--ifm-color-danger-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-danger-dark)}.alert{--ifm-code-background:var(--ifm-alert-background-color-highlight);--ifm-link-color:var(--ifm-alert-foreground-color);--ifm-link-hover-color:var(--ifm-alert-foreground-color);--ifm-link-decoration:underline;--ifm-tabs-color:var(--ifm-alert-foreground-color);--ifm-tabs-color-active:var(--ifm-alert-foreground-color);--ifm-tabs-color-active-border:var(--ifm-alert-border-color);background-color:var(--ifm-alert-background-color);border:var(--ifm-alert-border-width) solid var(--ifm-alert-border-color);border-left-width:var(--ifm-alert-border-left-width);border-radius:var(--ifm-alert-border-radius);box-shadow:var(--ifm-alert-shadow);padding:var(--ifm-alert-padding-vertical) var(--ifm-alert-padding-horizontal)}.alert__heading{align-items:center;display:flex;font:700 var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.5rem}.alert__icon{display:inline-flex;margin-right:.4em}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{margin:calc(var(--ifm-alert-padding-vertical)*-1) calc(var(--ifm-alert-padding-horizontal)*-1) 0 0;opacity:.75}.alert .close:focus,.alert .close:hover{opacity:1}.alert a{text-decoration-color:var(--ifm-alert-border-color)}.alert a:hover{text-decoration-thickness:2px}.avatar{column-gap:var(--ifm-avatar-intro-margin);display:flex}.avatar__photo{border-radius:50%;display:block;height:var(--ifm-avatar-photo-size);overflow:hidden;width:var(--ifm-avatar-photo-size)}.avatar__photo--sm{--ifm-avatar-photo-size:2rem}.avatar__photo--lg{--ifm-avatar-photo-size:4rem}.avatar__photo--xl{--ifm-avatar-photo-size:6rem}.avatar__intro{display:flex;flex:1 1;flex-direction:column;justify-content:center;text-align:var(--ifm-avatar-intro-alignment)}.badge,.breadcrumbs__item,.breadcrumbs__link,.button,.dropdown>.navbar__link:after,.monaco-action-bar.vertical .actions-container,.monaco-editor .mtkz,.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar,.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore,.monaco-editor .view-zones .view-lines .view-line span,.monaco-keybinding>.monaco-keybinding-key-separator{display:inline-block}.avatar__name{font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base)}.avatar__subtitle{margin-top:.25rem}.avatar--vertical{--ifm-avatar-intro-alignment:center;--ifm-avatar-intro-margin:0.5rem;align-items:center;flex-direction:column}.badge{background-color:var(--ifm-badge-background-color);border:var(--ifm-badge-border-width) solid var(--ifm-badge-border-color);border-radius:var(--ifm-badge-border-radius);color:var(--ifm-badge-color);font-size:75%;font-weight:var(--ifm-font-weight-bold);line-height:1;padding:var(--ifm-badge-padding-vertical) var(--ifm-badge-padding-horizontal)}.badge--primary{--ifm-badge-background-color:var(--ifm-color-primary)}.badge--secondary{--ifm-badge-background-color:var(--ifm-color-secondary);color:var(--ifm-color-black)}.breadcrumbs__link,.button.button--secondary.button--outline:not(.button--active):not(:hover){color:var(--ifm-font-color-base)}.badge--success{--ifm-badge-background-color:var(--ifm-color-success)}.badge--info{--ifm-badge-background-color:var(--ifm-color-info)}.badge--warning{--ifm-badge-background-color:var(--ifm-color-warning)}.badge--danger{--ifm-badge-background-color:var(--ifm-color-danger)}.breadcrumbs{margin-bottom:0;padding-left:0}.breadcrumbs__item:not(:last-child):after{background:var(--ifm-breadcrumb-separator) center;content:" ";display:inline-block;filter:var(--ifm-breadcrumb-separator-filter);height:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier));margin:0 var(--ifm-breadcrumb-spacing);opacity:.5;width:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier))}.breadcrumbs__item--active .breadcrumbs__link{background:var(--ifm-breadcrumb-item-background-active);color:var(--ifm-breadcrumb-color-active)}.breadcrumbs__link{border-radius:var(--ifm-breadcrumb-border-radius);font-size:calc(1rem*var(--ifm-breadcrumb-size-multiplier));padding:calc(var(--ifm-breadcrumb-padding-vertical)*var(--ifm-breadcrumb-size-multiplier)) calc(var(--ifm-breadcrumb-padding-horizontal)*var(--ifm-breadcrumb-size-multiplier));transition-duration:var(--ifm-transition-fast);transition-property:background,color}.breadcrumbs__link:any-link:hover,.breadcrumbs__link:link:hover,.breadcrumbs__link:visited:hover,area[href].breadcrumbs__link:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs--sm{--ifm-breadcrumb-size-multiplier:0.8}.breadcrumbs--lg{--ifm-breadcrumb-size-multiplier:1.2}.button{background-color:var(--ifm-button-background-color);border:var(--ifm-button-border-width) solid var(--ifm-button-border-color);border-radius:var(--ifm-button-border-radius);cursor:pointer;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);line-height:1.5;padding:calc(var(--ifm-button-padding-vertical)*var(--ifm-button-size-multiplier)) calc(var(--ifm-button-padding-horizontal)*var(--ifm-button-size-multiplier));text-align:center;transition-duration:var(--ifm-button-transition-duration);transition-property:color,background,border-color;-webkit-user-select:none;user-select:none;white-space:nowrap}.button,.button:hover{color:var(--ifm-button-color)}.button--outline{--ifm-button-color:var(--ifm-button-border-color)}.button--outline:hover{--ifm-button-background-color:var(--ifm-button-border-color)}.button--link{--ifm-button-border-color:#0000;color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}.button--link.button--active,.button--link:active,.button--link:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button.disabled,.button:disabled,.button[disabled]{opacity:.65;pointer-events:none}.button--sm{--ifm-button-size-multiplier:0.8}.button--lg{--ifm-button-size-multiplier:1.35}.button--block{display:block;width:100%}.button.button--secondary{color:var(--ifm-color-gray-900)}:where(.button--primary){--ifm-button-background-color:var(--ifm-color-primary);--ifm-button-border-color:var(--ifm-color-primary)}:where(.button--primary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-primary-dark);--ifm-button-border-color:var(--ifm-color-primary-dark)}.button--primary.button--active,.button--primary:active{--ifm-button-background-color:var(--ifm-color-primary-darker);--ifm-button-border-color:var(--ifm-color-primary-darker)}:where(.button--secondary){--ifm-button-background-color:var(--ifm-color-secondary);--ifm-button-border-color:var(--ifm-color-secondary)}:where(.button--secondary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-secondary-dark);--ifm-button-border-color:var(--ifm-color-secondary-dark)}.button--secondary.button--active,.button--secondary:active{--ifm-button-background-color:var(--ifm-color-secondary-darker);--ifm-button-border-color:var(--ifm-color-secondary-darker)}:where(.button--success){--ifm-button-background-color:var(--ifm-color-success);--ifm-button-border-color:var(--ifm-color-success)}:where(.button--success):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-success-dark);--ifm-button-border-color:var(--ifm-color-success-dark)}.button--success.button--active,.button--success:active{--ifm-button-background-color:var(--ifm-color-success-darker);--ifm-button-border-color:var(--ifm-color-success-darker)}:where(.button--info){--ifm-button-background-color:var(--ifm-color-info);--ifm-button-border-color:var(--ifm-color-info)}:where(.button--info):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-info-dark);--ifm-button-border-color:var(--ifm-color-info-dark)}.button--info.button--active,.button--info:active{--ifm-button-background-color:var(--ifm-color-info-darker);--ifm-button-border-color:var(--ifm-color-info-darker)}:where(.button--warning){--ifm-button-background-color:var(--ifm-color-warning);--ifm-button-border-color:var(--ifm-color-warning)}:where(.button--warning):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-warning-dark);--ifm-button-border-color:var(--ifm-color-warning-dark)}.button--warning.button--active,.button--warning:active{--ifm-button-background-color:var(--ifm-color-warning-darker);--ifm-button-border-color:var(--ifm-color-warning-darker)}:where(.button--danger){--ifm-button-background-color:var(--ifm-color-danger);--ifm-button-border-color:var(--ifm-color-danger)}:where(.button--danger):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-danger-dark);--ifm-button-border-color:var(--ifm-color-danger-dark)}.button--danger.button--active,.button--danger:active{--ifm-button-background-color:var(--ifm-color-danger-darker);--ifm-button-border-color:var(--ifm-color-danger-darker)}.button-group{display:inline-flex;gap:var(--ifm-button-group-spacing)}.button-group>.button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.button-group>.button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.button-group--block{display:flex;justify-content:stretch}.button-group--block>.button,.quick-input-box{flex-grow:1}.card{background-color:var(--ifm-card-background-color);border-radius:var(--ifm-card-border-radius);box-shadow:var(--ifm-global-shadow-lw);display:flex;flex-direction:column;overflow:hidden}.card--full-height{height:100%}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style:none;padding-left:var(--ifm-toc-padding-horizontal)}.table-of-contents li,.tsd-api-options-mobile>div:first-child,.tsd-api-options-mobile>label,.tsd-api-options>div:first-child,.tsd-api-options>label{margin:var(--ifm-toc-padding-vertical) var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color);display:block}.table-of-contents__link--active,.table-of-contents__link--active code,.table-of-contents__link:hover,.table-of-contents__link:hover code{color:var(--ifm-color-primary);text-decoration:none}.close{color:var(--ifm-color-black);font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);line-height:1;opacity:.5;padding:1rem;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.close:hover,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{opacity:.7}.close:focus,.monaco-list-row.focused.selected .label-description,.monaco-list-row.selected .label-description,.theme-code-block-highlighted-line .codeLineNumber_Tfdd:before{opacity:.8}.dropdown{display:inline-flex;font-weight:var(--ifm-dropdown-font-weight);position:relative;vertical-align:top}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;transform:translateY(-1px);visibility:visible}.dropdown--right .dropdown__menu{left:inherit;right:0}.dropdown--nocaret .navbar__link:after{content:none!important}.dropdown__menu{background-color:var(--ifm-dropdown-background-color);border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-md);left:0;list-style:none;max-height:80vh;min-width:10rem;opacity:0;overflow-y:auto;padding:.5rem;pointer-events:none;position:absolute;top:calc(100% - var(--ifm-navbar-item-padding-vertical) + .3rem);transform:translateY(-.625rem);transition-duration:var(--ifm-transition-fast);transition-property:opacity,transform,visibility;transition-timing-function:var(--ifm-transition-timing-default);visibility:hidden;z-index:var(--ifm-z-index-dropdown)}.menu__caret,.menu__link,.menu__list-item-collapsible{border-radius:.25rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.dropdown__link{border-radius:.25rem;color:var(--ifm-dropdown-link-color);display:block;font-size:.875rem;margin-top:.2rem;padding:.25rem .5rem;white-space:nowrap}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{border-color:currentcolor #0000;border-style:solid;border-width:.4em .4em 0;content:"";margin-left:.3em;position:relative;top:2px;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white)}.footer__links{margin-bottom:1rem}.footer__link-item{color:var(--ifm-footer-link-color);line-height:2}.footer__link-item:hover{color:var(--ifm-footer-link-hover-color)}.footer__link-separator{margin:0 var(--ifm-footer-link-horizontal-spacing)}.footer__logo{margin-top:1rem;max-width:var(--ifm-footer-logo-max-width)}.footer__title{color:var(--ifm-footer-title-color);font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base);margin-bottom:var(--ifm-heading-margin-bottom)}.menu,.navbar__link{font-weight:var(--ifm-font-weight-semibold)}.docItemContainer_Djhp article>:first-child,.docItemContainer_Djhp header+*,.footer__item,.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:first-child,.monaco-hover .code:first-child,.monaco-hover li>ul,.monaco-hover p:first-child,.monaco-hover ul:first-child,.tsd-description>:first-child,.tsd-panel-content>:first-child{margin-top:0}.admonitionContent_BuS1>:last-child,.cardContainer_fWXF :last-child,.collapsibleContent_i85q p:last-child,.details_lb9f>summary>p:last-child,.footer__items,.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:last-child,.monaco-hover .code:last-child,.monaco-hover li>p,.monaco-hover p:last-child,.monaco-hover ul:last-child,.tabItem_Ymn6>:last-child{margin-bottom:0}.codeBlockStandalone_MEMb,[type=checkbox]{padding:0}.hero{align-items:center;background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);display:flex;padding:4rem 2rem}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary);--ifm-hero-text-color:var(--ifm-font-color-base-inverse)}.hero--dark{--ifm-hero-background-color:#303846;--ifm-hero-text-color:var(--ifm-color-white)}.hero__title,.title_f1Hy{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu__list{list-style:none;margin:0;padding-left:0}.menu__caret,.menu__link{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu__list .menu__list{flex:0 0 100%;margin-top:.25rem;padding-left:var(--ifm-menu-link-padding-horizontal)}.menu__list-item:not(:first-child){margin-top:.25rem}.menu__list-item--collapsed .menu__list{height:0;overflow:hidden}.details_lb9f[data-collapsed=false].isBrowser_bmU9>summary:before,.details_lb9f[open]:not(.isBrowser_bmU9)>summary:before,.menu__list-item--collapsed .menu__caret:before,.menu__list-item--collapsed .menu__link--sublist:after{transform:rotate(90deg)}.menu__list-item-collapsible{display:flex;flex-wrap:wrap;position:relative}.menu__caret:hover,.menu__link:hover,.menu__list-item-collapsible--active,.menu__list-item-collapsible:hover{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link--active,.menu__list-item-collapsible .menu__link:hover{background:none!important}.menu__caret,.menu__link{align-items:center;display:flex}.navbar-sidebar,.navbar-sidebar__backdrop{opacity:0;transition-duration:var(--ifm-transition-fast);transition-timing-function:ease-in-out;top:0;left:0;bottom:0}.menu__link{color:var(--ifm-menu-color);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color);text-decoration:none}.menu__caret:before,.menu__link--sublist-caret:after{content:"";height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear;width:1.25rem;filter:var(--ifm-menu-link-sublist-icon-filter)}.menu__link--sublist-caret:after{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;margin-left:auto;min-width:1.25rem}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.navbar__brand,.navbar__link{color:var(--ifm-navbar-link-color)}.menu__link--active:not(.menu__link--sublist){background-color:var(--ifm-menu-color-background-active)}.menu__caret:before{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem}.navbar--dark,html[data-theme=dark]{--ifm-menu-link-sublist-icon-filter:invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) brightness(104%) contrast(98%)}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar,.navbar>.container,.navbar>.container-fluid{display:flex}.navbar--fixed-top{position:sticky;top:0;z-index:var(--ifm-z-index-fixed)}.navbar__inner{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.navbar__brand{align-items:center;display:flex;margin-right:1rem;min-width:0}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.announcementBarContent_xLdY,.navbar__title{flex:1 1 auto}.navbar__toggle{display:none;margin-right:.5rem}.navbar__logo{flex:0 0 auto;height:2rem;margin-right:.5rem}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar,.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar>.actions-container,.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label:before,.monaco-list>.monaco-scrollable-element,.monaco-split-view2.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view,.monaco-tl-contents,.monaco-tl-twistie,.monaco-toolbar,.navbar__logo img,body,html{height:100%}.navbar__items{align-items:center;display:flex;flex:1;min-width:0}.navbar__items--center{flex:0 0 auto}.monaco-editor .find-widget textarea,.monaco-hover p,.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown *,.navbar__items--center .navbar__brand,.post-edit-widget .monaco-button .codicon,.tsd-parameters h5,.tsd-parameters-title,.tsd-returns-title,.tsd-type-parameters-title{margin:0}.editorContainer,.monaco-editor .suggest-details>.monaco-scrollable-element,.monaco-table>.monaco-list,.monaco-tree-type-filter-input,.navbar__items--center+.navbar__items--right,.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label,.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label .monaco-icon-label-container>.monaco-icon-name-container{flex:1}.navbar__items--right{flex:0 0 auto;justify-content:flex-end}.navbar__items--right>:last-child{padding-right:0}.navbar__item{display:inline-block;padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}#nprogress,.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.navbar__link--active,.navbar__link:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.navbar--dark,.navbar--primary{--ifm-menu-color:var(--ifm-color-gray-300);--ifm-navbar-link-color:var(--ifm-color-gray-100);--ifm-navbar-search-input-background-color:#ffffff1a;--ifm-navbar-search-input-placeholder-color:#ffffff80;color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-menu-color-background-active:#ffffff0d;--ifm-navbar-search-input-color:var(--ifm-color-white)}.navbar--primary{--ifm-navbar-background-color:var(--ifm-color-primary);--ifm-navbar-link-hover-color:var(--ifm-color-white);--ifm-menu-color-active:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{appearance:none;background:var(--ifm-navbar-search-input-background-color) var(--ifm-navbar-search-input-icon) no-repeat .75rem center/1rem 1rem;border:none;border-radius:2rem;color:var(--ifm-navbar-search-input-color);cursor:text;display:inline-block;font-size:1rem;height:2rem;padding:0 .5rem 0 2.25rem;width:12.5rem}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);position:fixed;transform:translate3d(-100%,0,0);transition-property:opacity,visibility,transform;visibility:hidden;width:var(--ifm-navbar-sidebar-width)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar__items{transform:translateZ(0)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar__backdrop{background-color:#0009;position:fixed;right:0;transition-property:opacity,visibility;visibility:hidden}.navbar-sidebar__brand{align-items:center;box-shadow:var(--ifm-navbar-shadow);display:flex;flex:1;height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar-sidebar__items{display:flex;height:calc(100% - var(--ifm-navbar-height));transition:transform var(--ifm-transition-fast) ease-in-out}.navbar-sidebar__items--show-secondary{transform:translate3d(calc((var(--ifm-navbar-sidebar-width))*-1),0,0)}.navbar-sidebar__item{flex-shrink:0;padding:.5rem;width:calc(var(--ifm-navbar-sidebar-width))}.navbar-sidebar__back{background:var(--ifm-menu-color-background-active);font-size:15px;font-weight:var(--ifm-button-font-weight);margin:0 0 .2rem -.5rem;padding:.6rem 1.5rem;position:relative;text-align:left;top:-.5rem;width:calc(100% + 1rem)}.navbar-sidebar__close{display:flex;margin-left:auto}.pagination{column-gap:var(--ifm-pagination-page-spacing);display:flex;font-size:var(--ifm-pagination-font-size);padding-left:0}.pagination--sm{--ifm-pagination-font-size:0.8rem;--ifm-pagination-padding-horizontal:0.8rem;--ifm-pagination-padding-vertical:0.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:0.3rem}.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{color:var(--ifm-pagination-color-active)}.pagination__item--active .pagination__link,.pagination__item:not(.pagination__item--active):hover .pagination__link{background:var(--ifm-pagination-item-active-background)}.pagination__item--disabled,.pagination__item[disabled]{opacity:.25;pointer-events:none}.pagination__link{border-radius:var(--ifm-pagination-border-radius);color:var(--ifm-font-color-base);display:inline-block;padding:var(--ifm-pagination-padding-vertical) var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination__link:hover{text-decoration:none}.pagination-nav{display:grid;grid-gap:var(--ifm-spacing-horizontal);gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);display:block;height:100%;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);text-decoration:none}.pagination-nav__link--next{grid-column:2/3;text-align:right}.pagination-nav__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.pagination-nav__link--prev .pagination-nav__label:before{content:"« "}.pagination-nav__link--next .pagination-nav__label:after{content:" »"}.pagination-nav__sublabel{color:var(--ifm-color-content-secondary);font-size:var(--ifm-h5-font-size);font-weight:var(--ifm-font-weight-semibold);margin-bottom:.25rem}.badge-group,.tsd-api-options,.tsd-api-options-mobile,.tsd-flag,.tsd-footer,.tsd-sources{font-size:var(--tsd-font-small)}.pills__item,.tabs{font-weight:var(--ifm-font-weight-bold)}.pills{display:flex;gap:var(--ifm-pills-spacing);padding-left:0}.pills__item{border-radius:.5rem;cursor:pointer;display:inline-block;padding:.25rem 1rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pills__item--active{color:var(--ifm-pills-color-active)}.pills__item--active,.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{flex-grow:1;text-align:center}.tabs{color:var(--ifm-tabs-color);display:flex;margin-bottom:0;overflow-x:auto;padding-left:0}.tsd-flag,.tsd-generics,.tsd-signature-type{font-weight:400}.tabs__item{border-bottom:3px solid #0000;border-radius:var(--ifm-global-radius);cursor:pointer;display:inline-flex;padding:var(--ifm-tabs-padding-vertical) var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active-border);border-bottom-left-radius:0;border-bottom-right-radius:0;color:var(--ifm-tabs-color-active)}.tabs__item:hover,html[data-theme=light] .tsd-panel-header{background-color:var(--ifm-hover-overlay)}.tabs--block{justify-content:stretch}.tabs--block .tabs__item{flex-grow:1;justify-content:center}html[data-theme=dark]{--ifm-color-scheme:dark;--ifm-color-emphasis-0:var(--ifm-color-gray-1000);--ifm-color-emphasis-100:var(--ifm-color-gray-900);--ifm-color-emphasis-200:var(--ifm-color-gray-800);--ifm-color-emphasis-300:var(--ifm-color-gray-700);--ifm-color-emphasis-400:var(--ifm-color-gray-600);--ifm-color-emphasis-600:var(--ifm-color-gray-400);--ifm-color-emphasis-700:var(--ifm-color-gray-300);--ifm-color-emphasis-800:var(--ifm-color-gray-200);--ifm-color-emphasis-900:var(--ifm-color-gray-100);--ifm-color-emphasis-1000:var(--ifm-color-gray-0);--ifm-background-color:#1b1b1d;--ifm-background-surface-color:#242526;--ifm-hover-overlay:#ffffff0d;--ifm-color-content:#e3e3e3;--ifm-color-content-secondary:#fff;--ifm-breadcrumb-separator-filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);--ifm-code-background:#ffffff1a;--ifm-scrollbar-track-background-color:#444;--ifm-scrollbar-thumb-background-color:#686868;--ifm-scrollbar-thumb-hover-background-color:#7a7a7a;--ifm-table-stripe-background:#ffffff12;--ifm-toc-border-color:var(--ifm-color-emphasis-200);--ifm-color-primary-contrast-background:#102445;--ifm-color-primary-contrast-foreground:#ebf2fc;--ifm-color-secondary-contrast-background:#474748;--ifm-color-secondary-contrast-foreground:#fdfdfe;--ifm-color-success-contrast-background:#003100;--ifm-color-success-contrast-foreground:#e6f6e6;--ifm-color-info-contrast-background:#193c47;--ifm-color-info-contrast-foreground:#eef9fd;--ifm-color-warning-contrast-background:#4d3800;--ifm-color-warning-contrast-foreground:#fff8e6;--ifm-color-danger-contrast-background:#4b1113;--ifm-color-danger-contrast-foreground:#ffebec;--docsearch-text-color:#f5f6f7;--docsearch-container-background:#090a11cc;--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 #0304094d;--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 1px 1px 0 rgba(3,4,9,.302);--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 #494c6a80,0 -4px 8px 0 #0003;--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}#nprogress .bar{background:var(--docusaurus-progress-bar-color);height:2px;left:0;position:fixed;top:0;width:100%;z-index:1031}#nprogress .peg{box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);height:100%;opacity:1;position:absolute;right:0;transform:rotate(3deg) translateY(-4px);width:100px}[data-theme=dark]{--ifm-color-primary:#25c2a0;--ifm-color-primary-dark:#21af90;--ifm-color-primary-darker:#1fa588;--ifm-color-primary-darkest:#1a8870;--ifm-color-primary-light:#29d5b0;--ifm-color-primary-lighter:#32d8b4;--ifm-color-primary-lightest:#4fddbf;--docusaurus-highlighted-code-line-bg:#0000004d}@font-face{font-display:block;font-family:codicon;src:url(/fhir-dosage-utils/assets/fonts/codicon-8f3abbcbc983396e1f13da87e63ec9af.ttf) format("truetype")}.codicon[class*=codicon-]{-ms-user-select:none}.codicon-modifier-disabled,.codicon-wrench-subaction{opacity:.5}.codicon-modifier-hidden,.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical{opacity:0}.codicon-add:before,.codicon-gist-new:before,.codicon-plus:before,.codicon-repo-create:before{content:"\ea60"}.codicon-light-bulb:before,.codicon-lightbulb:before{content:"\ea61"}.codicon-repo-delete:before,.codicon-repo:before{content:"\ea62"}.codicon-gist-fork:before,.codicon-repo-forked:before{content:"\ea63"}.codicon-git-pull-request-abandoned:before,.codicon-git-pull-request:before{content:"\ea64"}.codicon-keyboard:before,.codicon-record-keys:before{content:"\ea65"}.codicon-git-pull-request-label:before,.codicon-tag-add:before,.codicon-tag-remove:before,.codicon-tag:before{content:"\ea66"}.codicon-person-filled:before,.codicon-person-follow:before,.codicon-person-outline:before,.codicon-person:before{content:"\ea67"}.codicon-git-branch-create:before,.codicon-git-branch-delete:before,.codicon-git-branch:before,.codicon-source-control:before{content:"\ea68"}.codicon-mirror-public:before,.codicon-mirror:before{content:"\ea69"}.codicon-star-add:before,.codicon-star-delete:before,.codicon-star-empty:before,.codicon-star:before{content:"\ea6a"}.codicon-comment-add:before,.codicon-comment:before{content:"\ea6b"}.codicon-alert:before,.codicon-warning:before{content:"\ea6c"}.codicon-search-save:before,.codicon-search:before{content:"\ea6d"}.codicon-log-out:before,.codicon-sign-out:before{content:"\ea6e"}.codicon-log-in:before,.codicon-sign-in:before{content:"\ea6f"}.codicon-eye-unwatch:before,.codicon-eye-watch:before,.codicon-eye:before{content:"\ea70"}.codicon-circle-filled:before,.codicon-close-dirty:before,.codicon-debug-breakpoint-disabled:before,.codicon-debug-breakpoint:before,.codicon-debug-hint:before,.codicon-primitive-dot:before,.codicon-terminal-decoration-success:before{content:"\ea71"}.codicon-primitive-square:before{content:"\ea72"}.codicon-edit:before,.codicon-pencil:before{content:"\ea73"}.codicon-info:before,.codicon-issue-opened:before{content:"\ea74"}.codicon-gist-private:before,.codicon-git-fork-private:before,.codicon-lock:before,.codicon-mirror-private:before{content:"\ea75"}.codicon-close:before,.codicon-remove-close:before,.codicon-x:before{content:"\ea76"}.codicon-repo-sync:before,.codicon-sync:before{content:"\ea77"}.codicon-clone:before,.codicon-desktop-download:before{content:"\ea78"}.codicon-beaker:before,.codicon-microscope:before{content:"\ea79"}.codicon-device-desktop:before,.codicon-vm:before{content:"\ea7a"}.codicon-file-text:before,.codicon-file:before{content:"\ea7b"}.codicon-ellipsis:before,.codicon-kebab-horizontal:before,.codicon-more:before{content:"\ea7c"}.codicon-mail-reply:before,.codicon-reply:before{content:"\ea7d"}.codicon-organization-filled:before,.codicon-organization-outline:before,.codicon-organization:before{content:"\ea7e"}.codicon-file-add:before,.codicon-new-file:before{content:"\ea7f"}.codicon-file-directory-create:before,.codicon-new-folder:before{content:"\ea80"}.codicon-trash:before,.codicon-trashcan:before{content:"\ea81"}.codicon-clock:before,.codicon-history:before{content:"\ea82"}.codicon-file-directory:before,.codicon-folder:before,.codicon-symbol-folder:before{content:"\ea83"}.codicon-github:before,.codicon-logo-github:before,.codicon-mark-github:before{content:"\ea84"}.codicon-console:before,.codicon-repl:before,.codicon-terminal:before{content:"\ea85"}.codicon-symbol-event:before,.codicon-zap:before{content:"\ea86"}.codicon-error:before,.codicon-stop:before{content:"\ea87"}.codicon-symbol-variable:before,.codicon-variable:before{content:"\ea88"}.codicon-array:before,.codicon-symbol-array:before{content:"\ea8a"}.codicon-symbol-module:before,.codicon-symbol-namespace:before,.codicon-symbol-object:before,.codicon-symbol-package:before{content:"\ea8b"}.codicon-symbol-constructor:before,.codicon-symbol-function:before,.codicon-symbol-method:before{content:"\ea8c"}.codicon-symbol-boolean:before,.codicon-symbol-null:before{content:"\ea8f"}.codicon-symbol-number:before,.codicon-symbol-numeric:before{content:"\ea90"}.codicon-symbol-struct:before,.codicon-symbol-structure:before{content:"\ea91"}.codicon-symbol-parameter:before,.codicon-symbol-type-parameter:before{content:"\ea92"}.codicon-symbol-key:before,.codicon-symbol-text:before{content:"\ea93"}.codicon-go-to-file:before,.codicon-symbol-reference:before{content:"\ea94"}.codicon-symbol-enum:before,.codicon-symbol-value:before{content:"\ea95"}.codicon-symbol-ruler:before,.codicon-symbol-unit:before{content:"\ea96"}.codicon-activate-breakpoints:before{content:"\ea97"}.codicon-archive:before{content:"\ea98"}.codicon-arrow-both:before{content:"\ea99"}.codicon-arrow-down:before{content:"\ea9a"}.codicon-arrow-left:before{content:"\ea9b"}.codicon-arrow-right:before{content:"\ea9c"}.codicon-arrow-small-down:before{content:"\ea9d"}.codicon-arrow-small-left:before{content:"\ea9e"}.codicon-arrow-small-right:before{content:"\ea9f"}.codicon-arrow-small-up:before{content:"\eaa0"}.codicon-arrow-up:before{content:"\eaa1"}.codicon-bell:before{content:"\eaa2"}.codicon-bold:before{content:"\eaa3"}.codicon-book:before{content:"\eaa4"}.codicon-bookmark:before{content:"\eaa5"}.codicon-debug-breakpoint-conditional-unverified:before{content:"\eaa6"}.codicon-debug-breakpoint-conditional-disabled:before,.codicon-debug-breakpoint-conditional:before{content:"\eaa7"}.codicon-debug-breakpoint-data-unverified:before{content:"\eaa8"}.codicon-debug-breakpoint-data-disabled:before,.codicon-debug-breakpoint-data:before{content:"\eaa9"}.codicon-debug-breakpoint-log-unverified:before{content:"\eaaa"}.codicon-debug-breakpoint-log-disabled:before,.codicon-debug-breakpoint-log:before{content:"\eaab"}.codicon-briefcase:before{content:"\eaac"}.codicon-broadcast:before{content:"\eaad"}.codicon-browser:before{content:"\eaae"}.codicon-bug:before{content:"\eaaf"}.codicon-calendar:before{content:"\eab0"}.codicon-case-sensitive:before{content:"\eab1"}.codicon-check:before{content:"\eab2"}.codicon-checklist:before{content:"\eab3"}.codicon-chevron-down:before{content:"\eab4"}.codicon-chevron-left:before{content:"\eab5"}.codicon-chevron-right:before{content:"\eab6"}.codicon-chevron-up:before{content:"\eab7"}.codicon-chrome-close:before{content:"\eab8"}.codicon-chrome-maximize:before{content:"\eab9"}.codicon-chrome-minimize:before{content:"\eaba"}.codicon-chrome-restore:before{content:"\eabb"}.codicon-circle-outline:before,.codicon-circle:before,.codicon-debug-breakpoint-unverified:before,.codicon-terminal-decoration-incomplete:before{content:"\eabc"}.codicon-circle-slash:before{content:"\eabd"}.codicon-circuit-board:before{content:"\eabe"}.codicon-clear-all:before{content:"\eabf"}.codicon-clippy:before{content:"\eac0"}.codicon-close-all:before{content:"\eac1"}.codicon-cloud-download:before{content:"\eac2"}.codicon-cloud-upload:before{content:"\eac3"}.codicon-code:before{content:"\eac4"}.codicon-collapse-all:before{content:"\eac5"}.codicon-color-mode:before{content:"\eac6"}.codicon-comment-discussion:before{content:"\eac7"}.codicon-credit-card:before{content:"\eac9"}.codicon-dash:before{content:"\eacc"}.codicon-dashboard:before{content:"\eacd"}.codicon-database:before{content:"\eace"}.codicon-debug-continue:before{content:"\eacf"}.codicon-debug-disconnect:before{content:"\ead0"}.codicon-debug-pause:before{content:"\ead1"}.codicon-debug-restart:before{content:"\ead2"}.codicon-debug-start:before{content:"\ead3"}.codicon-debug-step-into:before{content:"\ead4"}.codicon-debug-step-out:before{content:"\ead5"}.codicon-debug-step-over:before{content:"\ead6"}.codicon-debug-stop:before{content:"\ead7"}.codicon-debug:before{content:"\ead8"}.codicon-device-camera-video:before{content:"\ead9"}.codicon-device-camera:before{content:"\eada"}.codicon-device-mobile:before{content:"\eadb"}.codicon-diff-added:before{content:"\eadc"}.codicon-diff-ignored:before{content:"\eadd"}.codicon-diff-modified:before{content:"\eade"}.codicon-diff-removed:before{content:"\eadf"}.codicon-diff-renamed:before{content:"\eae0"}.codicon-diff-sidebyside:before,.codicon-diff:before{content:"\eae1"}.codicon-discard:before{content:"\eae2"}.codicon-editor-layout:before{content:"\eae3"}.codicon-empty-window:before{content:"\eae4"}.codicon-exclude:before{content:"\eae5"}.codicon-extensions:before{content:"\eae6"}.codicon-eye-closed:before{content:"\eae7"}.codicon-file-binary:before{content:"\eae8"}.codicon-file-code:before{content:"\eae9"}.codicon-file-media:before{content:"\eaea"}.codicon-file-pdf:before{content:"\eaeb"}.codicon-file-submodule:before{content:"\eaec"}.codicon-file-symlink-directory:before{content:"\eaed"}.codicon-file-symlink-file:before{content:"\eaee"}.codicon-file-zip:before{content:"\eaef"}.codicon-files:before{content:"\eaf0"}.codicon-filter:before{content:"\eaf1"}.codicon-flame:before{content:"\eaf2"}.codicon-fold-down:before{content:"\eaf3"}.codicon-fold-up:before{content:"\eaf4"}.codicon-fold:before{content:"\eaf5"}.codicon-folder-active:before{content:"\eaf6"}.codicon-folder-opened:before{content:"\eaf7"}.codicon-gear:before{content:"\eaf8"}.codicon-gift:before{content:"\eaf9"}.codicon-gist-secret:before{content:"\eafa"}.codicon-gist:before{content:"\eafb"}.codicon-git-commit:before{content:"\eafc"}.codicon-compare-changes:before,.codicon-git-compare:before{content:"\eafd"}.codicon-git-merge:before{content:"\eafe"}.codicon-github-action:before{content:"\eaff"}.codicon-github-alt:before{content:"\eb00"}.codicon-globe:before{content:"\eb01"}.codicon-grabber:before{content:"\eb02"}.codicon-graph:before{content:"\eb03"}.codicon-gripper:before{content:"\eb04"}.codicon-heart:before{content:"\eb05"}.codicon-home:before{content:"\eb06"}.codicon-horizontal-rule:before{content:"\eb07"}.codicon-hubot:before{content:"\eb08"}.codicon-inbox:before{content:"\eb09"}.codicon-issue-reopened:before{content:"\eb0b"}.codicon-issues:before{content:"\eb0c"}.codicon-italic:before{content:"\eb0d"}.codicon-jersey:before{content:"\eb0e"}.codicon-bracket:before,.codicon-json:before{content:"\eb0f"}.codicon-kebab-vertical:before{content:"\eb10"}.codicon-key:before{content:"\eb11"}.codicon-law:before{content:"\eb12"}.codicon-lightbulb-autofix:before{content:"\eb13"}.codicon-link-external:before{content:"\eb14"}.codicon-link:before{content:"\eb15"}.codicon-list-ordered:before{content:"\eb16"}.codicon-list-unordered:before{content:"\eb17"}.codicon-live-share:before{content:"\eb18"}.codicon-loading:before{content:"\eb19"}.codicon-location:before{content:"\eb1a"}.codicon-mail-read:before{content:"\eb1b"}.codicon-mail:before{content:"\eb1c"}.codicon-markdown:before{content:"\eb1d"}.codicon-megaphone:before{content:"\eb1e"}.codicon-mention:before{content:"\eb1f"}.codicon-git-pull-request-milestone:before,.codicon-milestone:before{content:"\eb20"}.codicon-mortar-board:before{content:"\eb21"}.codicon-move:before{content:"\eb22"}.codicon-multiple-windows:before{content:"\eb23"}.codicon-mute:before{content:"\eb24"}.codicon-no-newline:before{content:"\eb25"}.codicon-note:before{content:"\eb26"}.codicon-octoface:before{content:"\eb27"}.codicon-open-preview:before{content:"\eb28"}.codicon-package:before{content:"\eb29"}.codicon-paintcan:before{content:"\eb2a"}.codicon-pin:before{content:"\eb2b"}.codicon-play:before,.codicon-run:before{content:"\eb2c"}.codicon-plug:before{content:"\eb2d"}.codicon-preserve-case:before{content:"\eb2e"}.codicon-preview:before{content:"\eb2f"}.codicon-project:before{content:"\eb30"}.codicon-pulse:before{content:"\eb31"}.codicon-question:before{content:"\eb32"}.codicon-quote:before{content:"\eb33"}.codicon-radio-tower:before{content:"\eb34"}.codicon-reactions:before{content:"\eb35"}.codicon-references:before{content:"\eb36"}.codicon-refresh:before{content:"\eb37"}.codicon-regex:before{content:"\eb38"}.codicon-remote-explorer:before{content:"\eb39"}.codicon-remote:before{content:"\eb3a"}.codicon-remove:before{content:"\eb3b"}.codicon-replace-all:before{content:"\eb3c"}.codicon-replace:before{content:"\eb3d"}.codicon-repo-clone:before{content:"\eb3e"}.codicon-repo-force-push:before{content:"\eb3f"}.codicon-repo-pull:before{content:"\eb40"}.codicon-repo-push:before{content:"\eb41"}.codicon-report:before{content:"\eb42"}.codicon-request-changes:before{content:"\eb43"}.codicon-rocket:before{content:"\eb44"}.codicon-root-folder-opened:before{content:"\eb45"}.codicon-root-folder:before{content:"\eb46"}.codicon-rss:before{content:"\eb47"}.codicon-ruby:before{content:"\eb48"}.codicon-save-all:before{content:"\eb49"}.codicon-save-as:before{content:"\eb4a"}.codicon-save:before{content:"\eb4b"}.codicon-screen-full:before{content:"\eb4c"}.codicon-screen-normal:before{content:"\eb4d"}.codicon-search-stop:before{content:"\eb4e"}.codicon-server:before{content:"\eb50"}.codicon-settings-gear:before{content:"\eb51"}.codicon-settings:before{content:"\eb52"}.codicon-shield:before{content:"\eb53"}.codicon-smiley:before{content:"\eb54"}.codicon-sort-precedence:before{content:"\eb55"}.codicon-split-horizontal:before{content:"\eb56"}.codicon-split-vertical:before{content:"\eb57"}.codicon-squirrel:before{content:"\eb58"}.codicon-star-full:before{content:"\eb59"}.codicon-star-half:before{content:"\eb5a"}.codicon-symbol-class:before{content:"\eb5b"}.codicon-symbol-color:before{content:"\eb5c"}.codicon-symbol-constant:before{content:"\eb5d"}.codicon-symbol-enum-member:before{content:"\eb5e"}.codicon-symbol-field:before{content:"\eb5f"}.codicon-symbol-file:before{content:"\eb60"}.codicon-symbol-interface:before{content:"\eb61"}.codicon-symbol-keyword:before{content:"\eb62"}.codicon-symbol-misc:before{content:"\eb63"}.codicon-symbol-operator:before{content:"\eb64"}.codicon-symbol-property:before,.codicon-wrench-subaction:before,.codicon-wrench:before{content:"\eb65"}.codicon-symbol-snippet:before{content:"\eb66"}.codicon-tasklist:before{content:"\eb67"}.codicon-telescope:before{content:"\eb68"}.codicon-text-size:before{content:"\eb69"}.codicon-three-bars:before{content:"\eb6a"}.codicon-thumbsdown:before{content:"\eb6b"}.codicon-thumbsup:before{content:"\eb6c"}.codicon-tools:before{content:"\eb6d"}.codicon-triangle-down:before{content:"\eb6e"}.codicon-triangle-left:before{content:"\eb6f"}.codicon-triangle-right:before{content:"\eb70"}.codicon-triangle-up:before{content:"\eb71"}.codicon-twitter:before{content:"\eb72"}.codicon-unfold:before{content:"\eb73"}.codicon-unlock:before{content:"\eb74"}.codicon-unmute:before{content:"\eb75"}.codicon-unverified:before{content:"\eb76"}.codicon-verified:before{content:"\eb77"}.codicon-versions:before{content:"\eb78"}.codicon-vm-active:before{content:"\eb79"}.codicon-vm-outline:before{content:"\eb7a"}.codicon-vm-running:before{content:"\eb7b"}.codicon-watch:before{content:"\eb7c"}.codicon-whitespace:before{content:"\eb7d"}.codicon-whole-word:before{content:"\eb7e"}.codicon-window:before{content:"\eb7f"}.codicon-word-wrap:before{content:"\eb80"}.codicon-zoom-in:before{content:"\eb81"}.codicon-zoom-out:before{content:"\eb82"}.codicon-list-filter:before{content:"\eb83"}.codicon-list-flat:before{content:"\eb84"}.codicon-list-selection:before,.codicon-selection:before{content:"\eb85"}.codicon-list-tree:before{content:"\eb86"}.codicon-debug-breakpoint-function-unverified:before{content:"\eb87"}.codicon-debug-breakpoint-function-disabled:before,.codicon-debug-breakpoint-function:before{content:"\eb88"}.codicon-debug-stackframe-active:before{content:"\eb89"}.codicon-circle-small-filled:before,.codicon-debug-stackframe-dot:before,.codicon-terminal-decoration-mark:before{content:"\eb8a"}.codicon-debug-stackframe-focused:before,.codicon-debug-stackframe:before{content:"\eb8b"}.codicon-debug-breakpoint-unsupported:before{content:"\eb8c"}.codicon-symbol-string:before{content:"\eb8d"}.codicon-debug-reverse-continue:before{content:"\eb8e"}.codicon-debug-step-back:before{content:"\eb8f"}.codicon-debug-restart-frame:before{content:"\eb90"}.codicon-debug-alt:before{content:"\eb91"}.codicon-call-incoming:before{content:"\eb92"}.codicon-call-outgoing:before{content:"\eb93"}.codicon-menu:before{content:"\eb94"}.codicon-expand-all:before{content:"\eb95"}.codicon-feedback:before,.codicon-git-pull-request-reviewer:before{content:"\eb96"}.codicon-group-by-ref-type:before{content:"\eb97"}.codicon-ungroup-by-ref-type:before{content:"\eb98"}.codicon-account:before,.codicon-git-pull-request-assignee:before{content:"\eb99"}.codicon-bell-dot:before{content:"\eb9a"}.codicon-debug-console:before{content:"\eb9b"}.codicon-library:before{content:"\eb9c"}.codicon-output:before{content:"\eb9d"}.codicon-run-all:before{content:"\eb9e"}.codicon-sync-ignored:before{content:"\eb9f"}.codicon-pinned:before{content:"\eba0"}.codicon-github-inverted:before{content:"\eba1"}.codicon-server-process:before{content:"\eba2"}.codicon-server-environment:before{content:"\eba3"}.codicon-issue-closed:before,.codicon-pass:before{content:"\eba4"}.codicon-stop-circle:before{content:"\eba5"}.codicon-play-circle:before{content:"\eba6"}.codicon-record:before{content:"\eba7"}.codicon-debug-alt-small:before{content:"\eba8"}.codicon-vm-connect:before{content:"\eba9"}.codicon-cloud:before{content:"\ebaa"}.codicon-merge:before{content:"\ebab"}.codicon-export:before{content:"\ebac"}.codicon-graph-left:before{content:"\ebad"}.codicon-magnet:before{content:"\ebae"}.codicon-notebook:before{content:"\ebaf"}.codicon-redo:before{content:"\ebb0"}.codicon-check-all:before{content:"\ebb1"}.codicon-pinned-dirty:before{content:"\ebb2"}.codicon-pass-filled:before{content:"\ebb3"}.codicon-circle-large-filled:before{content:"\ebb4"}.codicon-circle-large-outline:before,.codicon-circle-large:before{content:"\ebb5"}.codicon-combine:before,.codicon-gather:before{content:"\ebb6"}.codicon-table:before{content:"\ebb7"}.codicon-variable-group:before{content:"\ebb8"}.codicon-type-hierarchy:before{content:"\ebb9"}.codicon-type-hierarchy-sub:before{content:"\ebba"}.codicon-type-hierarchy-super:before{content:"\ebbb"}.codicon-git-pull-request-create:before{content:"\ebbc"}.codicon-run-above:before{content:"\ebbd"}.codicon-run-below:before{content:"\ebbe"}.codicon-notebook-template:before{content:"\ebbf"}.codicon-debug-rerun:before{content:"\ebc0"}.codicon-workspace-trusted:before{content:"\ebc1"}.codicon-workspace-untrusted:before{content:"\ebc2"}.codicon-workspace-unknown:before{content:"\ebc3"}.codicon-terminal-cmd:before{content:"\ebc4"}.codicon-terminal-debian:before{content:"\ebc5"}.codicon-terminal-linux:before{content:"\ebc6"}.codicon-terminal-powershell:before{content:"\ebc7"}.codicon-terminal-tmux:before{content:"\ebc8"}.codicon-terminal-ubuntu:before{content:"\ebc9"}.codicon-terminal-bash:before{content:"\ebca"}.codicon-arrow-swap:before{content:"\ebcb"}.codicon-copy:before{content:"\ebcc"}.codicon-person-add:before{content:"\ebcd"}.codicon-filter-filled:before{content:"\ebce"}.codicon-wand:before{content:"\ebcf"}.codicon-debug-line-by-line:before{content:"\ebd0"}.codicon-inspect:before{content:"\ebd1"}.codicon-layers:before{content:"\ebd2"}.codicon-layers-dot:before{content:"\ebd3"}.codicon-layers-active:before{content:"\ebd4"}.codicon-compass:before{content:"\ebd5"}.codicon-compass-dot:before{content:"\ebd6"}.codicon-compass-active:before{content:"\ebd7"}.codicon-azure:before{content:"\ebd8"}.codicon-issue-draft:before{content:"\ebd9"}.codicon-git-pull-request-closed:before{content:"\ebda"}.codicon-git-pull-request-draft:before{content:"\ebdb"}.codicon-debug-all:before{content:"\ebdc"}.codicon-debug-coverage:before{content:"\ebdd"}.codicon-run-errors:before{content:"\ebde"}.codicon-folder-library:before{content:"\ebdf"}.codicon-debug-continue-small:before{content:"\ebe0"}.codicon-beaker-stop:before{content:"\ebe1"}.codicon-graph-line:before{content:"\ebe2"}.codicon-graph-scatter:before{content:"\ebe3"}.codicon-pie-chart:before{content:"\ebe4"}.codicon-bracket-dot:before{content:"\ebe5"}.codicon-bracket-error:before{content:"\ebe6"}.codicon-lock-small:before{content:"\ebe7"}.codicon-azure-devops:before{content:"\ebe8"}.codicon-verified-filled:before{content:"\ebe9"}.codicon-newline:before{content:"\ebea"}.codicon-layout:before{content:"\ebeb"}.codicon-layout-activitybar-left:before{content:"\ebec"}.codicon-layout-activitybar-right:before{content:"\ebed"}.codicon-layout-panel-left:before{content:"\ebee"}.codicon-layout-panel-center:before{content:"\ebef"}.codicon-layout-panel-justify:before{content:"\ebf0"}.codicon-layout-panel-right:before{content:"\ebf1"}.codicon-layout-panel:before{content:"\ebf2"}.codicon-layout-sidebar-left:before{content:"\ebf3"}.codicon-layout-sidebar-right:before{content:"\ebf4"}.codicon-layout-statusbar:before{content:"\ebf5"}.codicon-layout-menubar:before{content:"\ebf6"}.codicon-layout-centered:before{content:"\ebf7"}.codicon-target:before{content:"\ebf8"}.codicon-indent:before{content:"\ebf9"}.codicon-record-small:before{content:"\ebfa"}.codicon-error-small:before,.codicon-terminal-decoration-error:before{content:"\ebfb"}.codicon-arrow-circle-down:before{content:"\ebfc"}.codicon-arrow-circle-left:before{content:"\ebfd"}.codicon-arrow-circle-right:before{content:"\ebfe"}.codicon-arrow-circle-up:before{content:"\ebff"}.codicon-layout-sidebar-right-off:before{content:"\ec00"}.codicon-layout-panel-off:before{content:"\ec01"}.codicon-layout-sidebar-left-off:before{content:"\ec02"}.codicon-blank:before{content:"\ec03"}.codicon-heart-filled:before{content:"\ec04"}.codicon-fold-horizontal:before,.codicon-map-horizontal:before,.codicon-map:before{content:"\ec05"}.codicon-fold-horizontal-filled:before,.codicon-map-filled:before,.codicon-map-horizontal-filled:before{content:"\ec06"}.codicon-circle-small:before{content:"\ec07"}.codicon-bell-slash:before{content:"\ec08"}.codicon-bell-slash-dot:before{content:"\ec09"}.codicon-comment-unresolved:before{content:"\ec0a"}.codicon-git-pull-request-go-to-changes:before{content:"\ec0b"}.codicon-git-pull-request-new-changes:before{content:"\ec0c"}.codicon-search-fuzzy:before{content:"\ec0d"}.codicon-comment-draft:before{content:"\ec0e"}.codicon-send:before{content:"\ec0f"}.codicon-sparkle:before{content:"\ec10"}.codicon-insert:before{content:"\ec11"}.codicon-mic:before{content:"\ec12"}.codicon-thumbsdown-filled:before{content:"\ec13"}.codicon-thumbsup-filled:before{content:"\ec14"}.codicon-coffee:before{content:"\ec15"}.codicon-snake:before{content:"\ec16"}.codicon-game:before{content:"\ec17"}.codicon-vr:before{content:"\ec18"}.codicon-chip:before{content:"\ec19"}.codicon-piano:before{content:"\ec1a"}.codicon-music:before{content:"\ec1b"}.codicon-mic-filled:before{content:"\ec1c"}.codicon-repo-fetch:before{content:"\ec1d"}.codicon-copilot:before{content:"\ec1e"}.codicon-lightbulb-sparkle:before{content:"\ec1f"}.codicon-robot:before{content:"\ec20"}.codicon-sparkle-filled:before{content:"\ec21"}.codicon-diff-single:before{content:"\ec22"}.codicon-diff-multiple:before{content:"\ec23"}.codicon-surround-with:before{content:"\ec24"}.codicon-share:before{content:"\ec25"}.codicon-git-stash:before{content:"\ec26"}.codicon-git-stash-apply:before{content:"\ec27"}.codicon-git-stash-pop:before{content:"\ec28"}.codicon-vscode:before{content:"\ec29"}.codicon-vscode-insiders:before{content:"\ec2a"}.codicon-code-oss:before{content:"\ec2b"}.codicon-run-coverage:before{content:"\ec2c"}.codicon-run-all-coverage:before{content:"\ec2d"}.codicon-coverage:before{content:"\ec2e"}.codicon-github-project:before{content:"\ec2f"}.codicon-fold-vertical:before,.codicon-map-vertical:before{content:"\ec30"}.codicon-fold-vertical-filled:before,.codicon-map-vertical-filled:before{content:"\ec31"}.codicon-go-to-search:before{content:"\ec32"}.codicon-percentage:before,.codicon-sort-percentage:before{content:"\ec33"}.codicon-git-fetch:before{content:"\f101"}.tsd-api-options{border-left:1px solid var(--ifm-toc-border-color);padding-left:var(--ifm-toc-padding-horizontal)}.tsd-api-options-mobile>label>input,.tsd-api-options>label>input{margin:0 5px 0 0;vertical-align:middle}.monaco-editor .diff-hidden-lines .center span.codicon,.tsd-api-options-mobile>label>span,.tsd-api-options>label>span{vertical-align:middle}.tsd-api-options-mobile>div:last-child,.tsd-api-options>div:last-child{border-bottom:1px solid var(--ifm-toc-border-color);margin-top:1rem}.tsd-panel{border:1px solid var(--ifm-card-background-color);border-radius:var(--ifm-global-radius);margin-bottom:var(--ifm-spacing-vertical);overflow:hidden}.tsd-panel>.tsd-panel{margin:var(--tsd-spacing-horizontal)}.tsd-panel-header{background-color:var(--ifm-card-background-color);position:relative}.tsd-panel-content,.tsd-panel-header{margin:0;padding:var(--tsd-spacing-vertical) var(--tsd-spacing-horizontal)}.tsd-panel-content{border-bottom:1px solid var(--ifm-card-background-color)}.tsd-panel-content:empty{display:none}.tsd-panel-content:last-child{border-bottom:0}.tsd-footer,.tsd-panel-group{margin-top:var(--tsd-spacing-vertical-full)}.tsd-panel-header .tsd-anchor{float:right;margin-left:.5rem}.tsd-panel-header .tsd-anchor-id{position:absolute;right:0;top:-4.5rem}.tsd-divider{border:1px solid var(--ifm-card-background-color);border-bottom:0;margin:var(--tsd-spacing-vertical) -1rem}html[data-theme=light] .tsd-panel,html[data-theme=light] .tsd-panel-content{border-color:var(--ifm-hover-overlay)}.tsd-hierarchy,.tsd-type-parameters{list-style:square;margin:0}.tsd-descriptions,.tsd-index-list,.tsd-signatures,.tsd-sources p,.tsd-sources ul{list-style:none;margin:0;padding:0}.tsd-flag,.tsd-kind-icon .codicon{margin-right:.5rem}.tsd-index-list{display:flex;flex-wrap:wrap}.tsd-index-list li{padding-right:1rem;width:100%}.tsd-comment,.tsd-comment>.markdown,.tsd-descriptions,.tsd-parameters,.tsd-sources,.tsd-type-declaration,.tsd-type-parameters{margin-bottom:0;margin-top:var(--tsd-spacing-vertical)}.tsd-comment-root{margin-bottom:var(--tsd-spacing-vertical-full);margin-top:0}.tsd-footer,.tsd-sources{color:var(--tsd-muted-text)}.tsd-footer a,.tsd-sources a{color:var(--tsd-muted-text);text-decoration:underline}.tsd-footer a:hover,.tsd-sources a:hover{color:var(--ifm-link-color)}.tsd-description>*,.tsd-parameters{margin-top:var(--tsd-spacing-vertical)}.tsd-signature-inactive{opacity:.35}.tsd-flag{background-color:var(--ifm-footer-background-color);border-radius:var(--ifm-global-radius);color:var(--ifm-footer-title-color);display:inline-block;margin-top:-1px;opacity:.65;padding:3px 6px;text-indent:0}.badge-group,.tsd-flag{vertical-align:middle}.tsd-panel-header .badge-group{display:inline-block;margin-left:.25em}.badge-group>span{margin-right:.25rem}.tsd-signature-symbol,.tsd-signature-type-generic{color:var(--tsd-muted-text);font-weight:400}.tsd-signature-type{font-style:italic}.dropdownNavbarItemMobile_S0Fm,.monaco-component.diff-review .revertButton,.monaco-editor .arrow-revert-change:hover,.monaco-editor .codelens-decoration>a:hover,.monaco-editor .codelens-decoration>a:hover .codicon:before,.monaco-editor .diff-hidden-lines div.breadcrumb-item,.monaco-editor .fold-unchanged,.monaco-editor .lightBulbWidget:hover,.monaco-editor .margin-view-zones .lightbulb-glyph:hover,.monaco-editor .peekview-widget .head .peekview-title.clickable,.monaco-hover a:hover:not(.disabled),.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row,.tsd-pressable{cursor:pointer}.tsd-kind-icon{word-break:break-all}.apiPage .menu__link:not(.menu__link--sublist),.apiPage .table-of-contents__link,.tsd-truncate{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.backToTopButton_sjWU{background-color:var(--ifm-color-emphasis-200);border-radius:50%;bottom:1.3rem;box-shadow:var(--ifm-global-shadow-lw);height:3rem;opacity:0;position:fixed;right:1.3rem;transform:scale(0);transition:all var(--ifm-transition-fast) var(--ifm-transition-timing-default);visibility:hidden;width:3rem;z-index:calc(var(--ifm-z-index-fixed) - 1)}.backToTopButton_sjWU:after{background-color:var(--ifm-color-emphasis-1000);content:" ";display:inline-block;height:100%;-webkit-mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;width:100%}.backToTopButtonShow_xfvO{opacity:1;transform:scale(1);visibility:visible}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:0}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Hit-Tree,.DocSearch-Hit-action,.DocSearch-Hit-icon,.DocSearch-Reset{stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border:0;border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 2px;position:relative;top:-1px;width:20px}.DocSearch-Button-Key--pressed{box-shadow:var(--docsearch-key-pressed-shadow);transform:translate3d(0,1px,0)}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Container a,.monaco-editor .codelens-decoration>a,.sidebarItemLink_mo7H:hover{text-decoration:none}.DocSearch-Link{appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{appearance:none;background:#0000;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:0;padding:0 0 0 8px;width:80%}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Cancel,.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator,.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset{animation:.1s ease-in forwards a;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0}.DocSearch-Help,.DocSearch-HitsFooter,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.sidebar_re4s,.tableOfContents_bqdL{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem)}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:#0000}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a,.monaco-action-bar .action-item.action-dropdown-item,.monaco-editor .find-widget.replaceToggled>.replace-part,.monaco-editor .monaco-hover .hover-row,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right,.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar,.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label,.quick-input-list .monaco-list-row.passive-focused .quick-input-list-entry-action-bar .action-label,.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,.quick-input-list .quick-input-list-entry.focus-inside .quick-input-list-entry-action-bar .action-label,.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}.DocSearch-Hit--deleting{opacity:0;transition:.25s linear}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:.25s linear .25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action,.quick-input-action,.secondary-actions .monaco-action-bar .action-label{margin-left:6px}.DocSearch-Hit-action-button{appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}#__docusaurus-base-url-issue-banner-container,.docSidebarContainer_YfHR,.monaco-editor .monaco-editor-overlaymessage.below .anchor.below,.monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top,.monaco-list-type-filter-message:empty,.navbarSearchContainer_Bca1:empty,.sidebarLogo_isFc,.themedComponent_mlkZ,[data-theme=dark] .lightToggleIcon_pyhR,[data-theme=light] .darkToggleIcon_wfgR,html[data-announcement-bar-initially-dismissed=true] .announcementBar_mb4j,svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon,.monaco-action-bar .action-item .codicon,.monaco-action-bar .action-item .icon,.monaco-action-bar.vertical .action-item,.tocCollapsibleContent_vkbj a{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:background-color .1s ease-in}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:0;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands li,.DocSearch-Commands-Key,.buttons_pzbO,.features_keug,.quick-input-list .quick-input-list-rows>.quick-input-list-row{align-items:center;display:flex}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{background:var(--docsearch-key-gradient);border:0;border-radius:2px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;width:20px}.DocSearch-VisuallyHiddenForAccessibility{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.DocSearch-Button{margin:0;transition:all var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.DocSearch-Container,.skipToContent_fXgn{z-index:calc(var(--ifm-z-index-fixed) + 1)}.skipToContent_fXgn{background-color:var(--ifm-background-surface-color);color:var(--ifm-color-emphasis-900);left:100%;padding:calc(var(--ifm-global-spacing)/2) var(--ifm-global-spacing);position:fixed;top:1rem}.skipToContent_fXgn:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_CVFx{line-height:0;padding:0}.content_knG7{font-size:85%;padding:5px 0;text-align:center}.content_knG7 a{color:inherit;text-decoration:underline}.announcementBar_mb4j{align-items:center;background-color:var(--ifm-color-white);border-bottom:1px solid var(--ifm-color-emphasis-100);color:var(--ifm-color-black);display:flex;height:var(--docusaurus-announcement-bar-height)}.announcementBarPlaceholder_vyr4{flex:0 0 10px}.announcementBarClose_gvF7{align-self:stretch;flex:0 0 30px}.toggle_vylO{height:2rem;width:2rem}.toggleButton_gllP{align-items:center;border-radius:50%;display:flex;height:100%;justify-content:center;transition:background var(--ifm-transition-fast);width:100%}.toggleButton_gllP:hover{background:var(--ifm-color-emphasis-200)}.toggleButtonDisabled_aARS{cursor:not-allowed}.darkNavbarColorModeToggle_X3D1:hover{background:var(--ifm-color-gray-800)}[data-theme=dark] .themedComponent--dark_xIcU,[data-theme=light] .themedComponent--light_NVdE,html:not([data-theme]) .themedComponent--light_NVdE{display:initial}[data-theme=dark]:root{--docusaurus-collapse-button-bg:#ffffff0d;--docusaurus-collapse-button-bg-hover:#ffffff1a}.collapseSidebarButton_PEFL{display:none;margin:0}.iconExternalLink_nPIU{margin-left:.3rem}.docMainContainer_TBSr,.docRoot_UBD9{display:flex;width:100%}.docsWrapper_hBAB{display:flex;flex:1 0 auto}.iconLanguage_nlXk{margin-right:5px;vertical-align:text-bottom}.navbarHideable_m1mJ{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_jGov{transform:translate3d(0,calc(-100% - 2px),0)}.errorBoundaryError_a6uf{color:red;white-space:pre-wrap}.errorBoundaryFallback_VBag{color:red;padding:.55rem}.footerLogoLink_BH7S{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.footerLogoLink_BH7S:hover,.hash-link:focus,.minimap.autohide:hover,.monaco-diff-editor.hc-black .delete-sign,.monaco-diff-editor.hc-black .insert-sign,.monaco-diff-editor.hc-light .delete-sign,.monaco-diff-editor.hc-light .insert-sign,.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons,.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,.monaco-editor .margin-view-overlays .codicon.codicon-folding-manual-collapsed,.monaco-editor .margin-view-overlays:hover .codicon,.monaco-editor .minimap.slider-mouseover .minimap-slider.active,.monaco-editor .minimap.slider-mouseover:hover .minimap-slider,.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close:hover,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:hover,.monaco-editor.hc-black .delete-sign,.monaco-editor.hc-black .insert-sign,.monaco-editor.hc-light .delete-sign,.monaco-editor.hc-light .insert-sign,.quick-input-list .quick-input-list-rows .monaco-highlighted-label>span,:hover>.hash-link{opacity:1}.monaco-editor .rename-box .rename-input:focus,.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container[tabindex="0"]:focus,body:not(.navigation-with-keyboard) :not(input):focus{outline:0}.anchorWithStickyNavbar_LWe7{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorWithHideOnScrollNavbar_WYt5{scroll-margin-top:.5rem}.hash-link{opacity:0;padding-left:.5rem;transition:opacity var(--ifm-transition-fast);-webkit-user-select:none;user-select:none}.hash-link:before{content:"#"}.mainWrapper_z2l0{display:flex;flex:1 0 auto;flex-direction:column}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.sidebar_re4s{overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 2rem)}.sidebarItemTitle_pO2u{font-size:var(--ifm-h3-font-size);font-weight:var(--ifm-font-weight-bold)}.container_mt6G,.sidebarItemList_Yudw{font-size:.9rem}.sidebarItem__DBe{margin-top:.7rem}.sidebarItemLink_mo7H{color:var(--ifm-font-color-base);display:block}.sidebarItemLinkActive_I1ZP{color:var(--ifm-color-primary)!important}.yearGroupHeading_rMGB{margin-bottom:.4rem;margin-top:1.6rem}.yearGroupHeading_QT03{margin:1rem .75rem .5rem}.cardContainer_fWXF{--ifm-link-color:var(--ifm-color-emphasis-800);--ifm-link-hover-color:var(--ifm-color-emphasis-700);--ifm-link-hover-decoration:none;border:1px solid var(--ifm-color-emphasis-200);box-shadow:0 1.5px 3px 0 #00000026;transition:all var(--ifm-transition-fast) ease;transition-property:border,box-shadow}.cardContainer_fWXF:hover{border-color:var(--ifm-color-primary);box-shadow:0 3px 6px 0 #0003}.cardTitle_rnsV{font-size:1.2rem}.cardDescription_PWke{font-size:.8rem}.searchQueryInput_u2C7,.searchVersionInput_m0Ui{background:var(--docsearch-searchbox-focus-background);border:2px solid var(--ifm-toc-border-color);border-radius:var(--ifm-global-radius);color:var(--docsearch-text-color);font:var(--ifm-font-size-base) var(--ifm-font-family-base);margin-bottom:.5rem;padding:.8rem;transition:border var(--ifm-transition-fast) ease;width:100%}.searchQueryInput_u2C7:focus,.searchVersionInput_m0Ui:focus{border-color:var(--docsearch-primary-color);outline:0}.searchQueryInput_u2C7::placeholder{color:var(--docsearch-muted-color)}.searchResultsColumn_JPFH{font-size:.9rem;font-weight:700}.algoliaLogo_rT1R{max-width:150px}.algoliaLogoPathFill_WdUC{fill:var(--ifm-font-color-base)}.searchResultItem_Tv2o{border-bottom:1px solid var(--ifm-toc-border-color);padding:1rem 0}.searchResultItemHeading_KbCB{font-weight:400;margin-bottom:0}.searchResultItemPath_lhe1{color:var(--ifm-color-content-secondary);font-size:.8rem;--ifm-breadcrumb-separator-size-multiplier:1}.searchResultItemSummary_AEaO{font-style:italic;margin:.5rem 0 0}.loadingSpinner_XVxU{animation:1s linear infinite c;border:.4em solid #eee;border-radius:50%;border-top:.4em solid var(--ifm-color-primary);height:3rem;margin:0 auto;width:3rem}.loader_vvXV{margin-top:2rem}.search-result-match{background:#ffd78e40;color:var(--docsearch-hit-color);padding:.09em 0}.authorBlogPostCount_iiJ5,.tagWithCount_h2kH span{background:var(--ifm-color-secondary);color:var(--ifm-color-black)}.heroBanner_UJJx{overflow:hidden;padding:1rem 0;position:relative;text-align:center}.buttons_pzbO{justify-content:center}.features_keug{padding:2rem 0;width:100%}.featureImage_yA8i{height:200px;width:200px}.authorSocialIcon_XYv3,.authorSocialLink_owbf,.authorSocials_rSDt{height:var(--docusaurus-blog-social-icon-size)}.authorSocialIcon_XYv3,.authorSocialLink_owbf{width:var(--docusaurus-blog-social-icon-size)}[data-theme=dark] .githubSvg_Uu4N,[data-theme=dark] .xSvg_y3PF{fill:var(--light)}[data-theme=light] .githubSvg_Uu4N,[data-theme=light] .xSvg_y3PF{fill:var(--dark)}.authorSocials_rSDt{align-items:center;display:flex;flex-wrap:wrap;overflow:hidden;line-clamp:1;-webkit-line-clamp:1;-webkit-box-orient:vertical}.authorSocialLink_owbf,.authorSocials_rSDt{line-height:0}.authorSocialLink_owbf{margin-right:.4rem}.authorImage_XqGP{--ifm-avatar-photo-size:3.6rem}.author-as-h1_n9oJ .authorImage_XqGP{--ifm-avatar-photo-size:7rem}.author-as-h2_gXvM .authorImage_XqGP{--ifm-avatar-photo-size:5.4rem}.authorDetails_lV9A{align-items:flex-start;display:flex;flex-direction:column;justify-content:space-around}.authorName_yefp{display:flex;flex-direction:row;font-size:1.1rem;line-height:1.1rem}.author-as-h1_n9oJ .authorName_yefp{display:inline;font-size:2.4rem;line-height:2.4rem}.author-as-h2_gXvM .authorName_yefp{display:inline;font-size:1.4rem;line-height:1.4rem}.authorTitle_nd0D{display:-webkit-box;font-size:.8rem;line-height:1rem;overflow:hidden;line-clamp:1;-webkit-line-clamp:1;-webkit-box-orient:vertical}.author-as-h1_n9oJ .authorTitle_nd0D{font-size:1.2rem;line-height:1.6rem}.author-as-h2_gXvM .authorTitle_nd0D{font-size:1rem;line-height:1.3rem}.authorBlogPostCount_iiJ5{border-radius:var(--ifm-global-radius);font-size:.8rem;line-height:1.2;margin-left:.3rem;padding:.1rem .4rem}.authorListItem_n3yI{list-style-type:none;margin-bottom:2rem}.authorCol_Hf19{max-width:inherit!important}.imageOnlyAuthorRow_pa_O{display:flex;flex-flow:row wrap}.imageOnlyAuthorCol_G86a{margin-left:.3rem;margin-right:.3rem}.monaco-aria-container{left:-999em}.monaco-editor .selection-anchor{background-color:#007acc;width:2px!important}.monaco-editor .bracket-match{background-color:var(--vscode-editorBracketMatch-background);border:1px solid var(--vscode-editorBracketMatch-border);box-sizing:border-box}.inline-editor-progress-decoration{display:inline-block;height:1em;width:1em}.inline-progress-widget{align-items:center;display:flex!important;justify-content:center}.inline-progress-widget .icon{font-size:80%!important}.inline-progress-widget:hover .icon{animation:none;font-size:90%!important}.inline-progress-widget:hover .icon:before{content:var(--vscode-icon-x-content);font-family:var(--vscode-icon-x-font-family)}.monaco-editor .monaco-editor-overlaymessage{padding-bottom:8px;z-index:10000}.monaco-editor .monaco-editor-overlaymessage.below{padding-bottom:0;padding-top:8px;z-index:10000}@keyframes a{0%{opacity:0}to{opacity:1}}.monaco-editor .monaco-editor-overlaymessage.fadeIn{animation:.15s ease-out a}@keyframes b{0%{opacity:1}to{opacity:0}}.monaco-editor .monaco-editor-overlaymessage.fadeOut{animation:.1s ease-out b}.monaco-editor .monaco-editor-overlaymessage .message{background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-inputValidation-infoBorder);border-radius:3px;color:var(--vscode-editorHoverWidget-foreground);padding:2px 4px}.monaco-editor .monaco-editor-overlaymessage .message p{margin-block:0}.monaco-editor .monaco-editor-overlaymessage .message a,.monaco-editor .monaco-hover .hover-row .verbosity-actions .codicon.enabled,.monaco-editor .monaco-hover a,.monaco-editor .parameter-hints-widget .docs a,.monaco-editor .suggest-details a,.monaco-link,.monaco-workbench .workbench-hover a{color:var(--vscode-textLink-foreground)}.monaco-editor .monaco-editor-overlaymessage .message a:hover,.monaco-editor .monaco-hover a:hover,.monaco-editor .suggest-details a:hover,.monaco-hover .hover-contents a.code-link>span:hover,.monaco-link:hover,.monaco-workbench .workbench-hover a:active,.monaco-workbench .workbench-hover a:hover{color:var(--vscode-textLink-activeForeground)}.hc-black .monaco-editor .parameter-hints-widget,.hc-light .monaco-editor .parameter-hints-widget,.monaco-editor.hc-black .monaco-editor-overlaymessage .message,.monaco-editor.hc-black .suggest-details,.monaco-editor.hc-black .suggest-widget,.monaco-editor.hc-black .tokens-inspect-widget,.monaco-editor.hc-light .monaco-editor-overlaymessage .message,.monaco-editor.hc-light .suggest-details,.monaco-editor.hc-light .suggest-widget,.monaco-editor.hc-light .tokens-inspect-widget{border-width:2px}.monaco-editor .monaco-editor-overlaymessage .anchor{border:8px solid #0000;height:0!important;left:2px;position:absolute;width:0!important;z-index:1000}.monaco-editor .monaco-editor-overlaymessage .anchor.top{border-bottom-color:var(--vscode-inputValidation-infoBorder)}.monaco-editor .monaco-editor-overlaymessage .anchor.below{border-top-color:var(--vscode-inputValidation-infoBorder)}.monaco-editor .monaco-editor-overlaymessage.below .anchor.top{display:inherit;top:-8px}.monaco-editor .rendered-markdown kbd{background-color:var(--vscode-keybindingLabel-background);border-color:var(--vscode-keybindingLabel-border);border-bottom-color:var(--vscode-keybindingLabel-bottomBorder);border-radius:3px;border-style:solid;border-width:1px;box-shadow:inset 0 -1px 0 var(--vscode-widget-shadow);color:var(--vscode-keybindingLabel-foreground);padding:1px 3px;vertical-align:middle}.iconEdit_Z9Sw,.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .codicon{vertical-align:sub}.rendered-markdown li:has(input[type=checkbox]){list-style-type:none}.monaco-text-button{align-items:center;border:1px solid var(--vscode-button-border,#0000);border-radius:2px;box-sizing:border-box;cursor:pointer;display:flex;justify-content:center;line-height:18px;padding:4px;text-align:center;width:100%}.monaco-text-button:focus{outline-offset:2px!important}.monaco-text-button:hover{text-decoration:none!important}.monaco-button.disabled,.monaco-button.disabled:focus{cursor:default;opacity:.4!important}.monaco-description-button .monaco-button-description>.codicon,.monaco-description-button .monaco-button-label>.codicon,.monaco-text-button .codicon{color:inherit!important;margin:0 .2em}.monaco-text-button.monaco-text-button-with-short-label{flex-direction:row;flex-wrap:wrap;height:28px;overflow:hidden;padding:0 4px}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label{flex-basis:100%}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label-short{flex-grow:1;overflow:hidden;width:0}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label,.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label-short{align-items:center;display:flex;font-style:inherit;font-weight:400;justify-content:center;padding:4px 0}.monaco-button-dropdown{cursor:pointer;display:flex}.monaco-action-bar .action-item.disabled,.monaco-action-bar .action-item.select-container,.monaco-button-dropdown.disabled,.monaco-dropdown>.dropdown-label>.action-label.disabled,.monaco-editor.hc-black.mac.mouse-default .view-lines,.monaco-editor.hc-light.mac.mouse-default .view-lines,.monaco-editor.mouse-default .view-lines,.monaco-editor.vs-dark.mac.mouse-default .view-lines,.monaco-tl-row.disabled{cursor:default}.monaco-button-dropdown>.monaco-button:focus{outline-offset:-1px!important}.monaco-button-dropdown.disabled>.monaco-button-dropdown-separator,.monaco-button-dropdown.disabled>.monaco-button.disabled,.monaco-button-dropdown.disabled>.monaco-button.disabled:focus{opacity:.4!important}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-right-width:0!important}.monaco-button-dropdown .monaco-button-dropdown-separator{cursor:default;padding:4px 0}.monaco-button-dropdown .monaco-button-dropdown-separator>div,.monaco-split-view2.separator-border.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:100%;width:1px}.monaco-button-dropdown>.monaco-button.monaco-dropdown-button{align-items:center;border:1px solid var(--vscode-button-border,#0000);border-left-width:0!important;border-radius:0 2px 2px 0;display:flex}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-radius:2px 0 0 2px}.monaco-description-button{align-items:center;display:flex;flex-direction:column;margin:4px 5px}.monaco-description-button .monaco-button-description{font-size:11px;font-style:italic;padding:4px 20px}.monaco-description-button .monaco-button-description,.monaco-description-button .monaco-button-label,.monaco-editor .lightBulbWidget{align-items:center;display:flex;justify-content:center}.monaco-button-dropdown.default-colors>.monaco-button,.monaco-button.default-colors{background-color:var(--vscode-button-background);color:var(--vscode-button-foreground)}.monaco-button-dropdown.default-colors>.monaco-button:hover,.monaco-button.default-colors:hover,.mtkoverflow:hover{background-color:var(--vscode-button-hoverBackground)}.monaco-button-dropdown.default-colors>.monaco-button.secondary,.monaco-button.default-colors.secondary{background-color:var(--vscode-button-secondaryBackground);color:var(--vscode-button-secondaryForeground)}.monaco-button-dropdown.default-colors>.monaco-button.secondary:hover,.monaco-button.default-colors.secondary:hover{background-color:var(--vscode-button-secondaryHoverBackground)}.monaco-button-dropdown.default-colors .monaco-button-dropdown-separator{background-color:var(--vscode-button-background);border-bottom:1px solid var(--vscode-button-border);border-top:1px solid var(--vscode-button-border)}.monaco-button-dropdown.default-colors .monaco-button.secondary+.monaco-button-dropdown-separator{background-color:var(--vscode-button-secondaryBackground)}.monaco-button-dropdown.default-colors .monaco-button-dropdown-separator>div{background-color:var(--vscode-button-separator)}.monaco-editor .monaco-hover code,.monaco-editor .parameter-hints-widget .docs code,.monaco-editor .suggest-details code{background-color:var(--vscode-textCodeBlock-background)}.post-edit-widget{background-color:var(--vscode-editorWidget-background);border:1px solid var(--vscode-widget-border,#0000);border-radius:4px;box-shadow:0 0 8px 2px var(--vscode-widget-shadow);overflow:hidden}.post-edit-widget .monaco-button{border:none;border-radius:0;padding:2px}.hc-black .monaco-select-box-dropdown-container>.select-box-dropdown-list-container,.monaco-select-box-dropdown-container>.select-box-dropdown-list-container{padding-bottom:var(--dropdown-padding-bottom);padding-top:var(--dropdown-padding-top)}.post-edit-widget .monaco-button:hover{background-color:var(--vscode-button-secondaryHoverBackground)!important}@font-face{font-display:block;font-family:codicon;src:url(/fhir-dosage-utils/assets/fonts/codicon-f6283f7ccaed1249d9ebbcc5a55d5970.ttf) format("truetype")}.codicon[class*=codicon-]{vertical-align:middle;display:inline-block;font:16px/1 codicon;text-align:center;text-decoration:none;text-rendering:auto;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;user-select:none;-webkit-user-select:none}@keyframes c{to{transform:rotate(1turn)}}.codicon-gear.codicon-modifier-spin,.codicon-loading.codicon-modifier-spin,.codicon-notebook-state-executing.codicon-modifier-spin,.codicon-sync.codicon-modifier-spin{animation:1.5s steps(30) infinite c}.codicon-modifier-disabled{opacity:.4}.codicon-loading,.codicon-tree-item-loading:before{animation-duration:1s!important;animation-timing-function:cubic-bezier(.53,.21,.29,.67)!important}.monaco-editor .codicon.codicon-symbol-array,.monaco-workbench .codicon.codicon-symbol-array{color:var(--vscode-symbolIcon-arrayForeground)}.monaco-editor .codicon.codicon-symbol-boolean,.monaco-workbench .codicon.codicon-symbol-boolean{color:var(--vscode-symbolIcon-booleanForeground)}.monaco-editor .codicon.codicon-symbol-class,.monaco-workbench .codicon.codicon-symbol-class{color:var(--vscode-symbolIcon-classForeground)}.monaco-editor .codicon.codicon-symbol-method,.monaco-workbench .codicon.codicon-symbol-method{color:var(--vscode-symbolIcon-methodForeground)}.monaco-editor .codicon.codicon-symbol-color,.monaco-workbench .codicon.codicon-symbol-color{color:var(--vscode-symbolIcon-colorForeground)}.monaco-editor .codicon.codicon-symbol-constant,.monaco-workbench .codicon.codicon-symbol-constant{color:var(--vscode-symbolIcon-constantForeground)}.monaco-editor .codicon.codicon-symbol-constructor,.monaco-workbench .codicon.codicon-symbol-constructor{color:var(--vscode-symbolIcon-constructorForeground)}.monaco-editor .codicon.codicon-symbol-enum,.monaco-editor .codicon.codicon-symbol-value,.monaco-workbench .codicon.codicon-symbol-enum,.monaco-workbench .codicon.codicon-symbol-value{color:var(--vscode-symbolIcon-enumeratorForeground)}.monaco-editor .codicon.codicon-symbol-enum-member,.monaco-workbench .codicon.codicon-symbol-enum-member{color:var(--vscode-symbolIcon-enumeratorMemberForeground)}.monaco-editor .codicon.codicon-symbol-event,.monaco-workbench .codicon.codicon-symbol-event{color:var(--vscode-symbolIcon-eventForeground)}.monaco-editor .codicon.codicon-symbol-field,.monaco-workbench .codicon.codicon-symbol-field{color:var(--vscode-symbolIcon-fieldForeground)}.monaco-editor .codicon.codicon-symbol-file,.monaco-workbench .codicon.codicon-symbol-file{color:var(--vscode-symbolIcon-fileForeground)}.monaco-editor .codicon.codicon-symbol-folder,.monaco-workbench .codicon.codicon-symbol-folder{color:var(--vscode-symbolIcon-folderForeground)}.monaco-editor .codicon.codicon-symbol-function,.monaco-workbench .codicon.codicon-symbol-function{color:var(--vscode-symbolIcon-functionForeground)}.monaco-editor .codicon.codicon-symbol-interface,.monaco-workbench .codicon.codicon-symbol-interface{color:var(--vscode-symbolIcon-interfaceForeground)}.monaco-editor .codicon.codicon-symbol-key,.monaco-workbench .codicon.codicon-symbol-key{color:var(--vscode-symbolIcon-keyForeground)}.monaco-editor .codicon.codicon-symbol-keyword,.monaco-workbench .codicon.codicon-symbol-keyword{color:var(--vscode-symbolIcon-keywordForeground)}.monaco-editor .codicon.codicon-symbol-module,.monaco-workbench .codicon.codicon-symbol-module{color:var(--vscode-symbolIcon-moduleForeground)}.monaco-editor .codicon.codicon-symbol-namespace,.monaco-workbench .codicon.codicon-symbol-namespace{color:var(--vscode-symbolIcon-namespaceForeground)}.monaco-editor .codicon.codicon-symbol-null,.monaco-workbench .codicon.codicon-symbol-null{color:var(--vscode-symbolIcon-nullForeground)}.monaco-editor .codicon.codicon-symbol-number,.monaco-workbench .codicon.codicon-symbol-number{color:var(--vscode-symbolIcon-numberForeground)}.monaco-editor .codicon.codicon-symbol-object,.monaco-workbench .codicon.codicon-symbol-object{color:var(--vscode-symbolIcon-objectForeground)}.monaco-editor .codicon.codicon-symbol-operator,.monaco-workbench .codicon.codicon-symbol-operator{color:var(--vscode-symbolIcon-operatorForeground)}.monaco-editor .codicon.codicon-symbol-package,.monaco-workbench .codicon.codicon-symbol-package{color:var(--vscode-symbolIcon-packageForeground)}.monaco-editor .codicon.codicon-symbol-property,.monaco-workbench .codicon.codicon-symbol-property{color:var(--vscode-symbolIcon-propertyForeground)}.monaco-editor .codicon.codicon-symbol-reference,.monaco-workbench .codicon.codicon-symbol-reference{color:var(--vscode-symbolIcon-referenceForeground)}.monaco-editor .codicon.codicon-symbol-snippet,.monaco-workbench .codicon.codicon-symbol-snippet{color:var(--vscode-symbolIcon-snippetForeground)}.monaco-editor .codicon.codicon-symbol-string,.monaco-workbench .codicon.codicon-symbol-string{color:var(--vscode-symbolIcon-stringForeground)}.monaco-editor .codicon.codicon-symbol-struct,.monaco-workbench .codicon.codicon-symbol-struct{color:var(--vscode-symbolIcon-structForeground)}.monaco-editor .codicon.codicon-symbol-text,.monaco-workbench .codicon.codicon-symbol-text{color:var(--vscode-symbolIcon-textForeground)}.monaco-editor .codicon.codicon-symbol-type-parameter,.monaco-workbench .codicon.codicon-symbol-type-parameter{color:var(--vscode-symbolIcon-typeParameterForeground)}.monaco-editor .codicon.codicon-symbol-unit,.monaco-workbench .codicon.codicon-symbol-unit{color:var(--vscode-symbolIcon-unitForeground)}.monaco-editor .codicon.codicon-symbol-variable,.monaco-workbench .codicon.codicon-symbol-variable{color:var(--vscode-symbolIcon-variableForeground)}.monaco-editor .glyph-margin-widgets .cgmr.codicon-gutter-lightbulb,.monaco-editor .glyph-margin-widgets .cgmr.codicon-gutter-lightbulb-sparkle,.monaco-editor .lightBulbWidget.codicon-light-bulb,.monaco-editor .lightBulbWidget.codicon-lightbulb-sparkle{color:var(--vscode-editorLightBulb-foreground)}.monaco-editor .glyph-margin-widgets .cgmr.codicon-gutter-lightbulb-aifix-auto-fix,.monaco-editor .glyph-margin-widgets .cgmr.codicon-gutter-lightbulb-auto-fix,.monaco-editor .lightBulbWidget.codicon-lightbulb-autofix,.monaco-editor .lightBulbWidget.codicon-lightbulb-sparkle-autofix{color:var(--vscode-editorLightBulbAutoFix-foreground,var(--vscode-editorLightBulb-foreground))}.monaco-editor .glyph-margin-widgets .cgmr.codicon-gutter-lightbulb-sparkle-filled,.monaco-editor .lightBulbWidget.codicon-sparkle-filled{color:var(--vscode-editorLightBulbAi-foreground,var(--vscode-icon-foreground))}.monaco-editor .lightBulbWidget:before{position:relative;z-index:2}.monaco-editor .lightBulbWidget:after{content:"";display:block;height:100%;left:0;opacity:.3;position:absolute;top:0;width:100%;z-index:1}.monaco-editor .glyph-margin-widgets .cgmr[class*=codicon-gutter-lightbulb]{cursor:pointer;display:block}.monaco-list,.monaco-split-view2>.monaco-scrollable-element>.split-view-container{height:100%;position:relative;white-space:nowrap;width:100%}.monaco-editor .suggest-widget .monaco-list,.monaco-editor.no-user-select .lines-content,.monaco-editor.no-user-select .view-line,.monaco-editor.no-user-select .view-lines,.monaco-list.mouse-support{user-select:none;-webkit-user-select:none}.monaco-inputbox>.ibwrapper,.monaco-list-rows,.monaco-split-view2{height:100%;position:relative;width:100%}.monaco-list.horizontal-scrolling .monaco-list-rows{min-width:100%;width:auto}.monaco-list-row{box-sizing:border-box;overflow:hidden;position:absolute;width:100%}.monaco-list.mouse-support .monaco-list-row{cursor:pointer;touch-action:none}.monaco-list .monaco-scrollable-element>.scrollbar.vertical,.monaco-pane-view>.monaco-split-view2.vertical>.monaco-scrollable-element>.scrollbar.vertical{z-index:14}.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,.monaco-list-row.scrolling,.quick-input-list .monaco-tl-twistie{display:none!important}.action-widget .monaco-list:focus:before,.monaco-list.element-focused,.monaco-list.selection-multiple,.monaco-list.selection-single{outline:0!important}.monaco-drag-image{border-radius:10px;display:inline-block;font-size:12px;padding:1px 7px;position:absolute;z-index:1000}.monaco-list-type-filter-message{box-sizing:border-box;height:100%;left:0;opacity:.7;padding:40px 1em 1em;pointer-events:none;position:absolute;text-align:center;top:0;white-space:normal;width:100%}.monaco-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.monaco-scrollable-element>.visible{background:#0000;opacity:1;transition:opacity .1s linear;z-index:11}.monaco-scrollable-element>.invisible{opacity:0;pointer-events:none}.monaco-scrollable-element>.invisible.fade{transition:opacity .8s linear}.monaco-scrollable-element>.shadow{display:none;position:absolute}.monaco-scrollable-element>.shadow.top{box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset;display:block;height:3px;left:3px;top:0;width:100%}.monaco-scrollable-element>.shadow.left,.monaco-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset}.monaco-scrollable-element>.shadow.left{display:block;height:100%;left:0;top:3px;width:3px}.monaco-scrollable-element>.shadow.top-left-corner{display:block;height:3px;left:0;top:0;width:3px}.monaco-diff-editor .diffViewport,.monaco-scrollable-element>.scrollbar>.slider{background:var(--vscode-scrollbarSlider-background)}.action-widget,.action-widget .action-widget-action-bar{background-color:var(--vscode-editorActionList-background)}.monaco-diff-editor .diffViewport:hover,.monaco-scrollable-element>.scrollbar>.slider:hover{background:var(--vscode-scrollbarSlider-hoverBackground)}.monaco-diff-editor .diffViewport:active,.monaco-scrollable-element>.scrollbar>.slider.active{background:var(--vscode-scrollbarSlider-activeBackground)}.monaco-select-box-dropdown-padding{--dropdown-padding-top:1px;--dropdown-padding-bottom:1px}.hc-black .monaco-select-box-dropdown-padding,.hc-light .monaco-select-box-dropdown-padding{--dropdown-padding-top:3px;--dropdown-padding-bottom:4px}.monaco-select-box-dropdown-container{box-sizing:border-box;display:none;font-size:13px;font-weight:400;text-transform:none}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown a:focus{outline:-webkit-focus-ring-color solid 1px;outline-offset:-1px}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown code{font-family:var(--monaco-monospace-font);line-height:15px}.monaco-select-box-dropdown-container.visible{border-bottom-left-radius:3px;border-bottom-right-radius:3px;display:flex;flex-direction:column;overflow:hidden;text-align:left;width:1px}.mac .monaco-action-bar .action-item .monaco-select-box,.monaco-action-bar .action-label{border-radius:5px;font-size:11px}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container{align-self:flex-start;box-sizing:border-box;flex:0 0 auto;overflow:hidden;padding-left:1px;padding-right:1px;width:100%}.monaco-select-box-dropdown-container>.select-box-details-pane{padding:5px}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-text{float:left;overflow:hidden;padding-left:3.5px;text-overflow:ellipsis;white-space:nowrap}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-detail{float:left;opacity:.7;overflow:hidden;padding-left:3.5px;text-overflow:ellipsis;white-space:nowrap}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-decorator-right{float:right;overflow:hidden;padding-right:10px;text-overflow:ellipsis;white-space:nowrap}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.visually-hidden{height:1px;left:-10000px;overflow:hidden;position:absolute;top:auto;width:1px}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control{align-self:flex-start;flex:1 1 auto;opacity:0}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control>.width-control-div{max-height:0;overflow:hidden}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control>.width-control-div>.option-text-width-control{padding-left:4px;padding-right:8px;white-space:nowrap}.monaco-select-box{border-radius:2px;cursor:pointer;width:100%}.monaco-action-bar .action-item .monaco-select-box{cursor:pointer;min-height:18px;min-width:100px;padding:2px 23px 2px 8px}.monaco-action-bar{height:100%;white-space:nowrap}.monaco-action-bar .actions-container{align-items:center;display:flex;height:100%;margin:0 auto;padding:0;width:100%}.monaco-action-bar .action-item{align-items:center;cursor:pointer;display:block;justify-content:center;position:relative}.monaco-action-bar .action-item .codicon{align-items:center;display:flex;height:16px;width:16px}.monaco-action-bar .action-label{display:flex;padding:3px}.action-widget .monaco-list-row.action.option-disabled,.action-widget .monaco-list-row.action.option-disabled .codicon,.action-widget .monaco-list:focus .monaco-list-row.focused.action.option-disabled,.action-widget .monaco-list:not(.drop-target):not(.dragging) .monaco-list-row:hover:not(.selected):not(.focused).option-disabled,.monaco-action-bar .action-item.disabled .action-label,.monaco-action-bar .action-item.disabled .action-label:before,.monaco-action-bar .action-item.disabled .action-label:hover,.monaco-icon-label-container.disabled{color:var(--vscode-disabledForeground)}.monaco-action-bar.vertical .action-label.separator{border-bottom:1px solid #bbb;display:block;margin-left:.8em;margin-right:.8em;padding-top:1px}.monaco-action-bar .action-item .action-label.separator{background-color:#bbb;cursor:default;height:16px;margin:5px 4px!important;min-width:1px;padding:0;width:1px}.monaco-action-bar .action-item.select-container{align-items:center;display:flex;flex:1;justify-content:center;margin-right:10px;max-width:170px;min-width:60px;overflow:hidden}.monaco-action-bar .action-item.action-dropdown-item>.action-dropdown-item-separator{align-items:center;cursor:default;display:flex}.monaco-action-bar .action-item.action-dropdown-item>.action-dropdown-item-separator>div{width:1px}.action-widget{border:1px solid var(--vscode-editorWidget-border)!important;border-radius:5px;box-shadow:0 2px 8px var(--vscode-widget-shadow);color:var(--vscode-editorActionList-foreground);display:block;font-size:13px;max-width:80vw;min-width:160px;padding:4px;width:100%;z-index:40}.context-view-block{z-index:-1}.context-view-block,.context-view-pointerBlock{cursor:auto;height:100%;left:0;position:fixed;top:0;width:100%}.context-view-pointerBlock{z-index:2}.action-widget .monaco-list{border:0!important;user-select:none;-webkit-user-select:none}.action-widget .monaco-list .monaco-scrollable-element{overflow:visible}.action-widget .monaco-list .monaco-list-row{border-radius:4px;cursor:pointer;padding:0 10px;touch-action:none;white-space:nowrap;width:100%}.action-widget .monaco-list .monaco-list-row.action.focused:not(.option-disabled){background-color:var(--vscode-editorActionList-focusBackground)!important;color:var(--vscode-editorActionList-focusForeground);outline:1px solid var(--vscode-menu-selectionBorder,#0000);outline-offset:-1px}.action-widget .monaco-list-row.group-header{color:var(--vscode-descriptionForeground)!important;font-size:12px;font-weight:600}.action-widget .monaco-list-row.group-header:not(:first-of-type){margin-top:2px}.action-widget .monaco-list .group-header,.action-widget .monaco-list .option-disabled,.action-widget .monaco-list .option-disabled .focused,.action-widget .monaco-list .option-disabled .focused:before,.action-widget .monaco-list .option-disabled:before{cursor:default!important;-webkit-touch-callout:none;background-color:initial!important;outline:solid 0!important;-webkit-user-select:none;user-select:none}.action-widget .monaco-list-row.action{align-items:center;display:flex;gap:8px}.action-widget .monaco-list-row.action .title{flex:1;overflow:hidden;text-overflow:ellipsis}.action-widget .monaco-list-row.action .monaco-keybinding>.monaco-keybinding-key{background-color:var(--vscode-keybindingLabel-background);border-color:var(--vscode-keybindingLabel-border);border-bottom-color:var(--vscode-keybindingLabel-bottomBorder);border-radius:3px;border-style:solid;border-width:1px;box-shadow:inset 0 -1px 0 var(--vscode-widget-shadow);color:var(--vscode-keybindingLabel-foreground)}.action-widget .action-widget-action-bar{border-top:1px solid var(--vscode-editorHoverWidget-border);margin-top:2px}.action-widget .action-widget-action-bar:before{content:"";display:block;width:100%}.action-widget .action-widget-action-bar .actions-container{padding:3px 8px 0}.action-widget-action-bar .action-label{color:var(--vscode-textLink-activeForeground);font-size:12px;line-height:22px;padding:0;pointer-events:all}.action-widget-action-bar .action-item{margin-right:16px;pointer-events:none}.action-widget-action-bar .action-label:hover{background-color:initial!important}.monaco-action-bar .actions-container.highlight-toggled .action-label.checked{background:var(--vscode-actionBar-toggledBackground)!important}.monaco-keybinding{align-items:center;display:flex;line-height:10px}.monaco-keybinding>.monaco-keybinding-key{border-radius:3px;display:inline-block;font-size:11px;margin:0 2px;padding:3px 5px;vertical-align:middle}.monaco-editor .codelens-decoration,.monaco-editor .codelens-decoration .codicon{font-size:var(--vscode-editorCodeLens-fontSize);line-height:var(--vscode-editorCodeLens-lineHeight)}.monaco-keybinding>.monaco-keybinding-key:first-child{margin-left:0}.monaco-dropdown-with-default>.action-container>.action-label,.monaco-dropdown-with-primary>.action-container>.action-label,.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label,.monaco-keybinding>.monaco-keybinding-key:last-child{margin-right:0}.monaco-keybinding>.monaco-keybinding-key-chord-separator{width:6px}::-ms-clear{display:none}.monaco-editor{color:var(--vscode-editor-foreground);overflow-wrap:normal}.monaco-editor,.monaco-editor-background{background-color:var(--vscode-editor-background)}.monaco-editor .rangeHighlight{background-color:var(--vscode-editor-rangeHighlightBackground);border:1px solid var(--vscode-editor-rangeHighlightBorder);box-sizing:border-box}.monaco-editor.hc-black .focused .selectionHighlight,.monaco-editor.hc-black .rangeHighlight,.monaco-editor.hc-black .symbolHighlight,.monaco-editor.hc-black .wordHighlight,.monaco-editor.hc-black .wordHighlightStrong,.monaco-editor.hc-black .wordHighlightText,.monaco-editor.hc-light .focused .selectionHighlight,.monaco-editor.hc-light .rangeHighlight,.monaco-editor.hc-light .symbolHighlight,.monaco-editor.hc-light .wordHighlight,.monaco-editor.hc-light .wordHighlightStrong,.monaco-editor.hc-light .wordHighlightText{border-style:dotted}.monaco-editor .symbolHighlight{background-color:var(--vscode-editor-symbolHighlightBackground);border:1px solid var(--vscode-editor-symbolHighlightBorder);box-sizing:border-box}.monaco-editor .overflow-guard{overflow:hidden;position:relative}.monaco-editor .cursors-layer,.monaco-editor .glyph-margin,.monaco-editor .view-overlays{position:absolute;top:0}.monaco-editor .margin-view-overlays>div,.monaco-editor .view-line,.monaco-editor .view-overlays>div{position:absolute;width:100%}.monaco-editor .squiggly-error{border-bottom:4px double var(--vscode-editorError-border)}.monaco-editor .squiggly-error:before{background:var(--vscode-editorError-background);content:"";display:block;height:100%;width:100%}.monaco-editor .squiggly-warning{border-bottom:4px double var(--vscode-editorWarning-border)}.monaco-editor .squiggly-warning:before{background:var(--vscode-editorWarning-background);content:"";display:block;height:100%;width:100%}.monaco-editor .squiggly-info{border-bottom:4px double var(--vscode-editorInfo-border)}.monaco-editor .squiggly-info:before{background:var(--vscode-editorInfo-background);content:"";display:block;height:100%;width:100%}.monaco-editor .squiggly-hint{border-bottom:2px dotted var(--vscode-editorHint-border)}.monaco-editor.showUnused .squiggly-unnecessary{border-bottom:2px dashed var(--vscode-editorUnnecessaryCode-border)}.monaco-editor.showDeprecated .squiggly-inline-deprecated{text-decoration:line-through;text-decoration-color:var(--vscode-editor-foreground,inherit)}.monaco-editor .inputarea{background-color:initial;border:none;color:#0000;margin:0;min-height:0;min-width:0;outline:0!important;overflow:hidden;padding:0;position:absolute;resize:none;z-index:-10}.monaco-editor .inputarea.ime-input{caret-color:var(--vscode-editorCursor-foreground);color:var(--vscode-editor-foreground);z-index:10}.monaco-editor .margin-view-overlays .line-numbers{bottom:0;box-sizing:border-box;cursor:default;display:inline-block;font-variant-numeric:tabular-nums;position:absolute;text-align:right;vertical-align:middle}.monaco-editor .relative-current-line-number{display:inline-block;text-align:left;width:100%}.monaco-editor .margin-view-overlays .line-numbers.lh-odd{margin-top:1px}.monaco-editor .line-numbers{color:var(--vscode-editorLineNumber-foreground)}.monaco-editor .mtkw,.monaco-editor .mtkz,.monaco-editor .mwh{color:var(--vscode-editorWhitespace-foreground)!important}.monaco-editor .line-numbers.active-line-number{color:var(--vscode-editorLineNumber-activeForeground)}.monaco-editor .margin{background-color:var(--vscode-editorGutter-background)}.monaco-mouse-cursor-text{cursor:text}.monaco-editor .blockDecorations-container{pointer-events:none;position:absolute;top:0}.monaco-editor .blockDecorations-block{box-sizing:border-box;position:absolute}.monaco-editor .margin-view-overlays .current-line,.monaco-editor .view-overlays .current-line{box-sizing:border-box;display:block;height:100%;left:0;position:absolute;top:0}.monaco-editor .margin-view-overlays - .current-line.current-line-margin.current-line-margin-both{border-right:0}.monaco-editor .lines-content .cdr,.monaco-editor .margin-view-overlays .cldr{height:100%;position:absolute}.monaco-editor .glyph-margin-widgets .cgmr{align-items:center;display:flex;justify-content:center;position:absolute}.monaco-editor .glyph-margin-widgets .cgmr.codicon-modifier-spin:before{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.monaco-editor .lines-content .core-guide{box-sizing:border-box;height:100%;position:absolute}.mtkcontrol{background:#960000!important;color:#fff!important}.mtkoverflow{background-color:var(--vscode-button-background,var(--vscode-editor-background));border-color:var(--vscode-contrastBorder);border-radius:2px;border-style:solid;border-width:1px;color:var(--vscode-button-foreground,var(--vscode-editor-foreground));cursor:pointer;padding:4px}.monaco-editor.mac .lines-content:hover,.monaco-editor.mac .view-line:hover,.monaco-editor.mac .view-lines:hover{user-select:text;-webkit-user-select:text;-ms-user-select:text}.monaco-editor.enable-user-select{user-select:auto;-webkit-user-select:initial}.monaco-editor .suggest-preview-additional-widget,.monaco-editor .view-lines,.monaco-icon-label.nowrap>.monaco-icon-label-container>.monaco-icon-description-container>.label-description,.monaco-inputbox>.ibwrapper>textarea.input.empty{white-space:nowrap}.monaco-editor .lines-content>.view-lines>.view-line>span{bottom:0;position:absolute;top:0}.monaco-editor .lines-decorations{background:#fff;position:absolute;top:0}.monaco-editor .margin-view-overlays .cmdr{height:100%;left:0;position:absolute;width:100%}.monaco-editor .minimap.slider-mouseover .minimap-slider{opacity:0;transition:opacity .1s linear}.monaco-editor .minimap-slider .minimap-slider-horizontal{background:var(--vscode-minimapSlider-background)}.monaco-editor .minimap-slider:hover .minimap-slider-horizontal{background:var(--vscode-minimapSlider-hoverBackground)}.monaco-editor .minimap-slider.active .minimap-slider-horizontal{background:var(--vscode-minimapSlider-activeBackground)}.monaco-editor .minimap-shadow-hidden{position:absolute;width:0}.monaco-editor .minimap-shadow-visible{box-shadow:var(--vscode-scrollbar-shadow) -6px 0 6px -6px inset;left:-6px;position:absolute;width:6px}.monaco-editor.no-minimap-shadow .minimap-shadow-visible{left:-1px;position:absolute;width:1px}.minimap.autohide{opacity:0;transition:opacity .5s}.monaco-editor .minimap{z-index:5}.monaco-editor .overlayWidgets{left:0;position:absolute;top:0}.monaco-editor .view-ruler{box-shadow:1px 0 0 0 var(--vscode-editorRuler-foreground) inset;position:absolute;top:0}.monaco-editor .scroll-decoration{box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset;height:6px;left:0;position:absolute;top:0}.context-view,.monaco-diff-editor .diff-review,.monaco-editor .lines-content .cslr{position:absolute}.monaco-editor .focused .selected-text{background-color:var(--vscode-editor-selectionBackground)}.monaco-editor .selected-text{background-color:var(--vscode-editor-inactiveSelectionBackground)}.monaco-editor .top-left-radius{border-top-left-radius:3px}.monaco-editor .bottom-left-radius{border-bottom-left-radius:3px}.monaco-editor .top-right-radius{border-top-right-radius:3px}.monaco-editor .bottom-right-radius{border-bottom-right-radius:3px}.monaco-editor.hc-black .top-left-radius,.monaco-editor.hc-light .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-black .bottom-left-radius,.monaco-editor.hc-light .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-black .top-right-radius,.monaco-editor.hc-light .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-black .bottom-right-radius,.monaco-editor.hc-light .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor .cursors-layer>.cursor{box-sizing:border-box;overflow:hidden;position:absolute}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{transition:80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{background:#0000!important;border-style:solid;border-width:1px}.monaco-editor .cursors-layer.cursor-underline-style>.cursor{background:#0000!important;border-bottom-style:solid;border-bottom-width:2px}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{background:#0000!important;border-bottom-style:solid;border-bottom-width:1px}@keyframes d{0%,20%{opacity:1}60%,to{opacity:0}}@keyframes e{0%,20%{opacity:1}90%,to{opacity:0}}@keyframes f{0%,20%{transform:scaleY(1)}80%,to{transform:scaleY(0)}}.cursor-smooth{animation:.5s ease-in-out 20 alternate d}.cursor-phase{animation:.5s ease-in-out 20 alternate e}.monaco-editor .codelens-decoration.fadein,.monaco-hover,.monaco-workbench .workbench-hover:not(.skip-fade-in){animation:.1s linear g}.cursor-expand>.cursor{animation:.5s ease-in-out 20 alternate f}.monaco-editor .mwh{position:absolute}.monaco-editor .codelens-decoration{color:var(--vscode-editorCodeLens-foreground);display:inline-block;font-family:var(--vscode-editorCodeLens-fontFamily),var(--vscode-editorCodeLens-fontFamilyDefault);font-feature-settings:var(--vscode-editorCodeLens-fontFeatureSettings);overflow:hidden;padding-right:calc(var(--vscode-editorCodeLens-fontSize)*.5);text-overflow:ellipsis;white-space:nowrap}.monaco-editor .codelens-decoration>a,.monaco-editor .codelens-decoration>span{user-select:none;-webkit-user-select:none;vertical-align:sub;white-space:nowrap}.monaco-editor .codelens-decoration>a:hover,.monaco-editor .codelens-decoration>a:hover .codicon{color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .codelens-decoration .codicon{color:currentColor!important;color:var(--vscode-editorCodeLens-foreground);vertical-align:middle}.monaco-editor .reference-zone-widget .inline,.monaco-icon-label:before{vertical-align:top;display:inline-block}@keyframes g{0%{opacity:0;visibility:visible}to{opacity:1}}.colorpicker-widget{height:190px;user-select:none;-webkit-user-select:none}.colorpicker-color-decoration,.hc-light .colorpicker-color-decoration{border:.1em solid #000;box-sizing:border-box;cursor:pointer;display:inline-block;height:.8em;line-height:.8em;margin:.1em .2em 0;width:.8em}.hc-black .colorpicker-color-decoration,.vs-dark .colorpicker-color-decoration{border:.1em solid #eee}.colorpicker-header{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=") 0 0/9px 9px;display:flex;height:24px;image-rendering:pixelated;position:relative}.colorpicker-header .close-button,.standalone-colorpicker{background-color:var(--vscode-editorHoverWidget-background)}.colorpicker-header .picked-color{align-items:center;color:#fff;cursor:pointer;display:flex;flex:1;justify-content:center;line-height:24px;overflow:hidden;white-space:nowrap;width:240px}.colorpicker-header .picked-color .picked-color-presentation{margin-left:5px;margin-right:5px;white-space:nowrap}.colorpicker-header .picked-color .codicon{color:inherit;font-size:14px}.colorpicker-header .picked-color.light{color:#000}.colorpicker-header .original-color{cursor:pointer;width:74px;z-index:inherit}.standalone-colorpicker{border:1px solid var(--vscode-editorHoverWidget-border);color:var(--vscode-editorHoverWidget-foreground)}.colorpicker-header.standalone-colorpicker,.monaco-workbench .workbench-hover hr{border-bottom:none}.colorpicker-header .close-button{border-left:1px solid var(--vscode-editorHoverWidget-border);cursor:pointer}.colorpicker-header .close-button-inner-div{height:100%;text-align:center;width:100%}.colorpicker-header .close-button-inner-div:hover,.monaco-action-bar .checkbox-action-item:hover,.monaco-dropdown-with-default:hover,.monaco-editor .rename-box .rename-suggestions-button:hover{background-color:var(--vscode-toolbar-hoverBackground)}.colorpicker-header .close-icon{padding:3px}.colorpicker-body{display:flex;padding:8px;position:relative}.colorpicker-body .saturation-wrap{flex:1;height:150px;min-width:220px;overflow:hidden;position:relative}.colorpicker-body .saturation-box{height:150px;position:absolute}.colorpicker-body .saturation-selection{border:1px solid #fff;border-radius:100%;box-shadow:0 0 2px #000c;height:9px;margin:-5px 0 0 -5px;position:absolute;width:9px}.colorpicker-body .strip{height:150px;width:25px}.colorpicker-body .standalone-strip{height:122px;width:25px}.colorpicker-body .hue-strip{background:linear-gradient(180deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);cursor:grab;margin-left:8px;position:relative}.colorpicker-body .opacity-strip{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=") 0 0/9px 9px;cursor:grab;image-rendering:pixelated;margin-left:8px;position:relative}.colorpicker-body .strip.grabbing,.monaco-tree-type-filter-grab.grabbing{cursor:grabbing}.colorpicker-body .slider{border:1px solid #ffffffb5;box-shadow:0 0 1px #000000d9;box-sizing:border-box;height:4px;left:-2px;position:absolute;top:0;width:calc(100% + 4px)}.colorpicker-body .strip .overlay{height:150px;pointer-events:none}.colorpicker-body .standalone-strip .standalone-overlay{height:122px;pointer-events:none}.standalone-colorpicker-body{border:1px solid #0000;border-bottom:1px solid var(--vscode-editorHoverWidget-border);display:block;overflow:hidden}.colorpicker-body .insert-button{background:var(--vscode-button-background);border:none;border-radius:2px;bottom:8px;color:var(--vscode-button-foreground);cursor:pointer;height:20px;padding:0;position:absolute;right:8px;width:58px}.colorpicker-body .insert-button:hover{background:var(--vscode-button-hoverBackground)}.monaco-editor .inlineEditHints.withBorder,.monaco-editor .inlineSuggestionsHints.withBorder{background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);color:var(--vscode-editorHoverWidget-foreground);z-index:39}.monaco-editor .inlineEditHints a,.monaco-editor .inlineEditHints a:hover,.monaco-editor .inlineSuggestionsHints a,.monaco-editor .inlineSuggestionsHints a:hover{color:var(--vscode-foreground)}.monaco-editor .inlineEditHints .keybinding,.monaco-editor .inlineSuggestionsHints .keybinding{display:flex;margin-left:4px;opacity:.6}.monaco-editor .inlineEditHints .keybinding .monaco-keybinding-key,.monaco-editor .inlineSuggestionsHints .keybinding .monaco-keybinding-key{font-size:8px;padding:2px 3px}.monaco-editor .inlineSuggestionsHints .availableSuggestionCount a{display:flex;justify-content:center;min-width:19px}.monaco-editor .inlineEditStatusBarItemLabel,.monaco-editor .inlineSuggestionStatusBarItemLabel{margin-right:2px}.monaco-dropdown{height:100%;padding:0}.monaco-dropdown>.dropdown-label{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center}.monaco-dropdown-with-default,.monaco-dropdown-with-primary{border-radius:5px;display:flex!important;flex-direction:row}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-],.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;line-height:16px;margin-left:-3px;padding-left:0;padding-right:0}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label,.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{background-position:50%;background-repeat:no-repeat;background-size:16px;display:block}.monaco-action-bar .action-item.menu-entry .action-label.icon,.monaco-dropdown-with-default>.action-container.menu-entry>.action-label.icon{background-position:50%;background-repeat:no-repeat;background-size:16px;height:16px;width:16px}.monaco-action-bar .action-item.menu-entry.text-only .action-label{border-radius:2px;color:var(--vscode-descriptionForeground);overflow:hidden}.monaco-action-bar .action-item.menu-entry.text-only.use-comma:not(:last-of-type) .action-label:after{content:", "}.monaco-action-bar .action-item.menu-entry.text-only+.action-item:not(.text-only)>.monaco-dropdown .action-label{color:var(--vscode-descriptionForeground)}.monaco-toolbar .toolbar-toggle-more{display:inline-block;padding:0}.monaco-sash{position:absolute;touch-action:none;z-index:35}.monaco-sash.disabled{pointer-events:none;cursor:default!important;pointer-events:none!important}.monaco-sash.mac.vertical{cursor:col-resize}.monaco-sash.vertical.minimum{cursor:e-resize}.monaco-sash.vertical.maximum{cursor:w-resize}.monaco-sash.mac.horizontal{cursor:row-resize}.monaco-sash.horizontal.minimum{cursor:s-resize}.monaco-sash.horizontal.maximum{cursor:n-resize}.monaco-sash.vertical{cursor:ew-resize;height:100%;top:0;width:var(--vscode-sash-size)}.monaco-sash.horizontal{cursor:ns-resize;height:var(--vscode-sash-size);left:0;width:100%}.monaco-sash:not(.disabled)>.orthogonal-drag-handle{content:" ";cursor:all-scroll;display:block;height:calc(var(--vscode-sash-size)*2);position:absolute;width:calc(var(--vscode-sash-size)*2);z-index:100}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.start,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.end{cursor:nwse-resize}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.end,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.start{cursor:nesw-resize}.monaco-sash.vertical>.orthogonal-drag-handle.start{left:calc(var(--vscode-sash-size)*-.5);top:calc(var(--vscode-sash-size)*-1)}.monaco-sash.vertical>.orthogonal-drag-handle.end{bottom:calc(var(--vscode-sash-size)*-1);left:calc(var(--vscode-sash-size)*-.5)}.monaco-sash.horizontal>.orthogonal-drag-handle.start{left:calc(var(--vscode-sash-size)*-1);top:calc(var(--vscode-sash-size)*-.5)}.monaco-sash.horizontal>.orthogonal-drag-handle.end{right:calc(var(--vscode-sash-size)*-1);top:calc(var(--vscode-sash-size)*-.5)}.monaco-sash:before{background:#0000;content:"";height:100%;pointer-events:none;position:absolute;width:100%}.monaco-workbench:not(.reduce-motion) .monaco-sash:before{transition:background-color .1s ease-out}.monaco-sash.active:before,.monaco-sash.hover:before{background:var(--vscode-sash-hoverBorder)}.monaco-sash.vertical:before{left:calc(50% - var(--vscode-sash-hover-size)/ 2);width:var(--vscode-sash-hover-size)}.monaco-sash.horizontal:before{height:var(--vscode-sash-hover-size);top:calc(50% - var(--vscode-sash-hover-size)/ 2)}.pointer-events-disabled{pointer-events:none!important}.monaco-sash.debug{background:#0ff}.monaco-sash.debug.disabled{background:#0ff3}.monaco-sash.debug:not(.disabled)>.orthogonal-drag-handle{background:red}.monaco-hover{box-sizing:border-box;cursor:default;line-height:1.5em;overflow:hidden;position:absolute;user-select:text;-webkit-user-select:text;white-space:var(--vscode-hover-whiteSpace,normal)}.monaco-count-badge,.text{line-height:11px;font-size:11px}.monaco-hover.hidden,.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view:not(.visible){display:none}.monaco-hover .hover-contents:not(.html-hover-contents){padding:4px 8px}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents){max-width:var(--vscode-hover-maxWidth,500px);word-wrap:break-word}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents) hr{min-width:100%}.monaco-editor .parameter-hints-widget p,.monaco-editor .parameter-hints-widget ul,.monaco-hover .code,.monaco-hover h1,.monaco-hover h2,.monaco-hover h3,.monaco-hover h4,.monaco-hover h5,.monaco-hover h6,.monaco-hover p,.monaco-hover ul{margin:8px 0}.monaco-hover h1,.monaco-hover h2,.monaco-hover h3,.monaco-hover h4,.monaco-hover h5,.monaco-hover h6{line-height:1.1}.monaco-hover hr{border-left:0;border-right:0;box-sizing:border-box;height:1px;margin:4px -8px -4px}.monaco-editor .suggest-details ol,.monaco-editor .suggest-details ul,.monaco-hover ol,.monaco-hover ul{padding-left:20px}.monaco-hover code{font-family:var(--monaco-monospace-font);border-radius:3px;padding:0 .4em}.monaco-hover .monaco-tokenized-source{white-space:var(--vscode-hover-sourceWhiteSpace,pre-wrap)}.monaco-hover .hover-row.status-bar{font-size:12px;line-height:22px}.monaco-hover .hover-row.status-bar .info{font-style:italic;padding:0 8px}.monaco-hover .hover-row.status-bar .actions{display:flex;padding:0 8px;width:100%}.monaco-hover .hover-row.status-bar .actions .action-container{cursor:pointer;margin-right:16px}.monaco-hover .hover-row.status-bar .actions .action-container .action .icon{padding-right:4px}.monaco-hover .hover-row.status-bar .actions .action-container a{color:var(--vscode-textLink-foreground);-webkit-text-decoration:var(--text-link-decoration);text-decoration:var(--text-link-decoration)}.monaco-hover .markdown-hover .hover-contents .codicon{color:inherit;font-size:inherit;vertical-align:middle}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before,.monaco-hover .hover-contents a.code-link:before{content:"("}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after,.monaco-hover .hover-contents a.code-link:after{content:")"}.monaco-hover .hover-contents a.code-link>span{border-bottom:1px solid #0000;color:var(--vscode-textLink-foreground);text-decoration:underline;text-underline-position:under}.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span{display:inline-block;margin-bottom:4px}.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span.codicon{margin-bottom:2px}.monaco-hover-content .action-container a{-webkit-user-select:none;user-select:none}.monaco-hover-content .action-container.disabled{cursor:default;opacity:.4;pointer-events:none}.monaco-editor .peekview-widget .head{box-sizing:border-box;display:flex;flex-wrap:nowrap;justify-content:space-between}.monaco-editor .peekview-widget .head .peekview-title{align-items:baseline;display:flex;font-size:13px;margin-left:20px;min-width:0;overflow:hidden;text-overflow:ellipsis}.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty){font-size:.9em;margin-left:.5em}.monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty):before{content:"-";padding:0 .3em}.monaco-editor .peekview-widget .head .peekview-actions{flex:1;padding-right:2px;text-align:right}.monaco-editor .peekview-widget>.body{border-top:1px solid;position:relative}.monaco-editor .peekview-widget .head .peekview-title .codicon{align-self:center;margin-right:4px}.monaco-editor .peekview-widget .monaco-list .monaco-list-row.focused .codicon,.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file,.monaco-list:focus .selected .monaco-icon-label,.monaco-list:focus .selected .monaco-icon-label:after{color:inherit!important}.monaco-editor .arrow-revert-change,.monaco-editor .zone-widget{position:absolute;z-index:10}.monaco-editor .zone-widget .zone-widget-container{border-bottom-style:solid;border-bottom-width:0;border-top-style:solid;border-top-width:0;position:relative}.monaco-split-view2>.sash-container{height:100%;pointer-events:none;position:absolute;width:100%}.monaco-split-view2>.sash-container>.monaco-sash{pointer-events:auto}.monaco-editor .suggest-widget>.tree,.monaco-split-view2>.monaco-scrollable-element{height:100%;width:100%}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view{position:absolute;white-space:normal}.monaco-editor .diff-hidden-lines-widget,.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element,.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label,.monaco-editor .tokens-inspect-widget .tm-metadata-table,.monaco-progress-container.discrete.done .progress-bit,.monaco-split-view2.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view{width:100%}.monaco-split-view2.separator-border>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{background-color:var(--separator-border);content:" ";left:0;pointer-events:none;position:absolute;top:0;z-index:5}.monaco-split-view2.separator-border.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:1px;width:100%}.monaco-table{display:flex;flex-direction:column;height:100%;overflow:hidden;position:relative;white-space:nowrap;width:100%}.monaco-table>.monaco-split-view2{border-bottom:1px solid #0000}.monaco-table-tr{display:flex;height:100%}.monaco-table-th{font-weight:700;height:100%;width:100%}.monaco-table-td,.monaco-table-th{box-sizing:border-box;flex-shrink:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{border-left:1px solid #0000;content:"";left:calc(var(--vscode-sash-size)/2);position:absolute;width:0}.monaco-workbench:not(.reduce-motion) .monaco-table>.monaco-split-view2,.monaco-workbench:not(.reduce-motion) .monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{transition:border-color .2s ease-out}.monaco-custom-toggle{border:1px solid #0000;border-radius:3px;box-sizing:border-box;cursor:pointer;float:left;height:20px;margin-left:2px;overflow:hidden;padding:1px;user-select:none;-webkit-user-select:none;width:20px}.monaco-custom-toggle:hover{background-color:var(--vscode-inputOption-hoverBackground)}.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle:hover{border:1px dashed var(--vscode-focusBorder)}.hc-black .monaco-custom-toggle,.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle,.hc-light .monaco-custom-toggle:hover,.modified-in-monaco-diff-editor.hc-black .slider.active,.modified-in-monaco-diff-editor.hc-light .slider.active,.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-light .scrollbar,.quick-input-list .monaco-list-row.focused .monaco-keybinding-key{background:none}.monaco-custom-toggle.monaco-checkbox{background-size:16px!important;border:1px solid #0000;border-radius:3px;height:18px;margin-left:0;margin-right:9px;opacity:1;padding:0;width:18px}.monaco-action-bar .checkbox-action-item{align-items:center;border-radius:2px;display:flex;padding-right:2px}.monaco-action-bar .checkbox-action-item>.monaco-custom-toggle.monaco-checkbox,.quick-input-list .quick-input-list-entry .quick-input-list-separator{margin-right:4px}.monaco-action-bar .checkbox-action-item>.checkbox-label,.monaco-workbench .workbench-hover.compact{font-size:12px}.monaco-custom-toggle.monaco-checkbox:not(.checked):before{visibility:hidden}.monaco-inputbox{border-radius:2px;box-sizing:border-box;display:block;font-size:inherit;padding:0;position:relative}.monaco-inputbox>.ibwrapper>.input,.monaco-inputbox>.ibwrapper>.mirror{padding:4px 6px}.monaco-inputbox>.ibwrapper>.input{border:none;box-sizing:border-box;color:inherit;display:inline-block;font-family:inherit;font-size:inherit;height:100%;line-height:inherit;resize:none;width:100%}.monaco-inputbox>.ibwrapper>input{text-overflow:ellipsis}.monaco-inputbox>.ibwrapper>textarea.input{display:block;outline:0;scrollbar-width:none}.monaco-inputbox>.ibwrapper>textarea.input::-webkit-scrollbar{display:none}.monaco-inputbox>.ibwrapper>.mirror{box-sizing:border-box;display:inline-block;left:0;position:absolute;top:0;visibility:hidden;white-space:pre-wrap;width:100%;word-wrap:break-word}.monaco-inputbox-container .monaco-inputbox-message{box-sizing:border-box;display:inline-block;font-size:12px;line-height:17px;margin-top:-1px;overflow:hidden;padding:.4em;text-align:left;width:100%;word-wrap:break-word}.monaco-inputbox .monaco-action-bar{position:absolute;right:2px;top:4px}.monaco-findInput,.monaco-tl-row,.quick-input-progress.monaco-progress-container{position:relative}.monaco-inputbox .monaco-action-bar .action-item{margin-left:2px}.monaco-inputbox .monaco-action-bar .action-item .codicon{background-repeat:no-repeat;height:16px;width:16px}.monaco-findInput .monaco-inputbox{font-size:13px;width:100%}.monaco-editor .find-widget>.replace-part>.monaco-findInput>.controls,.monaco-findInput>.controls{position:absolute;right:2px;top:3px}.vs .monaco-findInput.disabled{background-color:#e1e1e1}.vs-dark .monaco-findInput.disabled{background-color:#333}.hc-light .monaco-findInput.highlight-0 .controls,.monaco-findInput.highlight-0 .controls{animation:.1s linear h}.hc-light .monaco-findInput.highlight-1 .controls,.monaco-findInput.highlight-1 .controls{animation:.1s linear i}.hc-black .monaco-findInput.highlight-0 .controls,.vs-dark .monaco-findInput.highlight-0 .controls{animation:.1s linear j}.hc-black .monaco-findInput.highlight-1 .controls,.vs-dark .monaco-findInput.highlight-1 .controls{animation:.1s linear k}@keyframes h{0%{background:#fdff00cc}to{background:#0000}}@keyframes i{0%{background:#fdff00cc}99%{background:#0000}}@keyframes j{0%{background:#ffffff70}to{background:#0000}}@keyframes k{0%{background:#ffffff70}99%{background:#0000}}.monaco-tl-row{align-items:center;display:flex;height:100%}.monaco-tl-indent{height:100%;left:16px;pointer-events:none;position:absolute;top:0}.hide-arrows .monaco-tl-indent{left:12px}.monaco-tl-indent>.indent-guide{border-left:1px solid #0000;box-sizing:border-box;display:inline-block;height:100%}.monaco-workbench:not(.reduce-motion) .monaco-tl-indent>.indent-guide{transition:border-color .1s linear}.monaco-tl-twistie{align-items:center;display:flex!important;flex-shrink:0;font-size:10px;justify-content:center;padding-right:6px;text-align:right;transform:translateX(3px);width:16px}.monaco-tl-contents{flex:1;overflow:hidden}.monaco-tl-twistie:before{border-radius:20px}.monaco-tl-twistie.collapsed:before{transform:rotate(-90deg)}.monaco-tl-twistie.codicon-tree-item-loading:before{animation:1.25s steps(30) infinite c}.monaco-tree-type-filter{border:1px solid var(--vscode-widget-border);border-bottom-left-radius:4px;border-bottom-right-radius:4px;display:flex;margin:0 6px;max-width:200px;padding:3px;position:absolute;top:0;z-index:100}.monaco-workbench:not(.reduce-motion) .monaco-tree-type-filter{transition:top .3s}.monaco-tree-type-filter.disabled{top:-40px!important}.monaco-tree-type-filter-grab{align-items:center;cursor:grab;display:flex!important;justify-content:center;margin-right:2px}.monaco-tree-type-filter-input .monaco-inputbox{height:23px}.monaco-tree-type-filter-input .monaco-inputbox>.ibwrapper>.input,.monaco-tree-type-filter-input .monaco-inputbox>.ibwrapper>.mirror{padding:2px 4px}.monaco-tree-type-filter-input .monaco-findInput>.controls{top:2px}.monaco-tree-type-filter-actionbar{margin-left:4px}.monaco-tree-type-filter-actionbar .monaco-action-bar .action-label{padding:2px}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container{background-color:var(--vscode-sideBar-background);height:0;left:0;position:absolute;top:0;width:100%;z-index:13}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-row.monaco-list-row{background-color:var(--vscode-sideBar-background);opacity:1!important;overflow:hidden;position:absolute;width:100%}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-row:hover{background-color:var(--vscode-list-hoverBackground)!important;cursor:pointer}.monaco-editor .find-widget .button.toggle.disabled,.monaco-editor .find-widget.collapsed-find-widget .button.next,.monaco-editor .find-widget.collapsed-find-widget .button.previous,.monaco-editor .find-widget.collapsed-find-widget .button.replace,.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,.monaco-editor .find-widget.collapsed-find-widget>.find-part .monaco-findInput .controls,.monaco-editor .find-widget.hiddenEditor,.monaco-editor .find-widget.reduced-find-widget .matchesCount,.monaco-editor .find-widget>.replace-part,.monaco-editor .parameter-hints-widget .docs.empty,.monaco-editor .suggest-details.no-docs,.monaco-editor .suggest-details>.monaco-scrollable-element>.body>p:empty,.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide,.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon:before,.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container.empty,.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container.empty .monaco-tree-sticky-container-shadow,.quick-input-list .quick-input-list-entry-action-bar .action-label,.quick-input-widget .quick-input-list .quick-input-list-checkbox{display:none}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-container-shadow{bottom:-3px;height:0;left:0;position:absolute;width:100%}.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget{border-bottom-width:1px;border-top-width:1px}.monaco-editor .reference-zone-widget .messages{height:100%;padding:3em 0;text-align:center;width:100%}.monaco-editor .reference-zone-widget .ref-tree{background-color:var(--vscode-peekViewResult-background);color:var(--vscode-peekViewResult-lineForeground);line-height:23px}.monaco-editor .reference-zone-widget .ref-tree .reference{overflow:hidden;text-overflow:ellipsis}.monaco-editor .reference-zone-widget .ref-tree .reference-file{color:var(--vscode-peekViewResult-fileForeground);display:inline-flex;height:100%;width:100%}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows>.monaco-list-row.selected:not(.highlighted){background-color:var(--vscode-peekViewResult-selectionBackground);color:var(--vscode-peekViewResult-selectionForeground)!important}.monaco-editor .reference-zone-widget .ref-tree .reference-file .count{margin-left:auto;margin-right:12px}.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight{background-color:var(--vscode-peekViewResult-matchHighlightBackground)}.monaco-editor .reference-zone-widget .preview .reference-decoration{background-color:var(--vscode-peekViewEditor-matchHighlightBackground);border:2px solid var(--vscode-peekViewEditor-matchHighlightBorder);box-sizing:border-box}.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input,.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background{background-color:var(--vscode-peekViewEditor-background)}.monaco-editor .reference-zone-widget .preview .monaco-editor .margin{background-color:var(--vscode-peekViewEditorGutter-background)}.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight,.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file,.monaco-editor.hc-light .reference-zone-widget .ref-tree .reference-file{font-weight:700}.monaco-editor.hc-black .reference-zone-widget .ref-tree .referenceMatch .highlight,.monaco-editor.hc-light .reference-zone-widget .ref-tree .referenceMatch .highlight{border:1px dotted var(--vscode-contrastActiveBorder,#0000);box-sizing:border-box}.monaco-count-badge{border-radius:11px;box-sizing:border-box;display:inline-block;font-weight:400;min-height:18px;min-width:18px;padding:3px 6px;text-align:center}.monaco-count-badge.long{border-radius:2px;line-height:normal;min-height:auto;padding:2px 3px}.monaco-icon-label{display:flex;overflow:hidden;text-overflow:ellipsis}.monaco-icon-label:before{background-position:0;background-repeat:no-repeat;background-size:16px;height:22px;line-height:inherit!important;padding-right:6px;width:16px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;flex-shrink:0}.monaco-icon-label-iconpath{display:flex;height:16px;margin-top:2px;padding-left:2px;width:16px}.monaco-icon-label>.monaco-icon-label-container{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{color:inherit;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name>.label-separator{margin:0 2px;opacity:.5}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-suffix-container>.label-suffix{opacity:.7;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{font-size:.9em;margin-left:.5em;opacity:.7;white-space:pre}.vs .monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.95}.monaco-icon-label.deprecated{opacity:.66;text-decoration:line-through}.monaco-editor .inline-deleted-text,.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated>.monaco-icon-label-container>.monaco-icon-name-container,.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-description-container>.label-description,.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{text-decoration:line-through}.monaco-icon-label:after{font-size:90%;font-weight:600;margin:auto 16px 0 5px;opacity:.75;text-align:center}.monaco-editor .hoverHighlight{background-color:var(--vscode-editor-hoverHighlightBackground)}.monaco-editor .monaco-hover-content{box-sizing:border-box;padding-bottom:2px;padding-right:2px}.monaco-editor .monaco-hover{background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);border-radius:3px;color:var(--vscode-editorHoverWidget-foreground)}.monaco-editor .monaco-hover .hover-row .hover-row-contents{display:flex;flex-direction:column;min-width:0}.monaco-editor .monaco-hover .hover-row .verbosity-actions{border-right:1px solid var(--vscode-editorHoverWidget-border);display:flex;flex-direction:column;justify-content:end;padding-left:5px;padding-right:5px}.monaco-editor .monaco-hover .hover-row .verbosity-actions .codicon{cursor:pointer;font-size:11px}.monaco-editor .marker-widget .descriptioncontainer .message .source,.monaco-editor .marker-widget .descriptioncontainer .message span.code,.monaco-editor .monaco-hover .hover-row .verbosity-actions .codicon.disabled{opacity:.6}.monaco-editor .monaco-hover .hover-row .actions{background-color:var(--vscode-editorHoverWidget-statusBarBackground)}.monaco-editor .diff-hidden-lines{font-size:13px;height:0;line-height:14px;transform:translateY(-10px)}.monaco-editor .diff-hidden-lines .bottom.dragging,.monaco-editor .diff-hidden-lines .top.dragging,.monaco-editor .diff-hidden-lines:not(.dragging) .bottom:hover,.monaco-editor .diff-hidden-lines:not(.dragging) .top:hover{background-color:var(--vscode-focusBorder)}.monaco-editor .diff-hidden-lines .bottom,.monaco-editor .diff-hidden-lines .top{background-clip:padding-box;background-color:initial;border-bottom:2px solid #0000;border-top:4px solid #0000;height:4px;transition:background-color .1s ease-out}.monaco-editor .diff-hidden-lines .bottom.canMoveTop:not(.canMoveBottom),.monaco-editor .diff-hidden-lines .top.canMoveTop:not(.canMoveBottom),.monaco-editor.draggingUnchangedRegion.canMoveTop:not(.canMoveBottom) *{cursor:n-resize!important}.monaco-editor .diff-hidden-lines .bottom:not(.canMoveTop).canMoveBottom,.monaco-editor .diff-hidden-lines .top:not(.canMoveTop).canMoveBottom,.monaco-editor.draggingUnchangedRegion:not(.canMoveTop).canMoveBottom *{cursor:s-resize!important}.monaco-editor .diff-hidden-lines .bottom.canMoveTop.canMoveBottom,.monaco-editor .diff-hidden-lines .top.canMoveTop.canMoveBottom,.monaco-editor.draggingUnchangedRegion.canMoveTop.canMoveBottom *{cursor:ns-resize!important}.monaco-editor .diff-hidden-lines .top{transform:translateY(4px)}.monaco-editor .diff-hidden-lines .bottom{transform:translateY(-6px)}.monaco-editor .diff-unchanged-lines{background:var(--vscode-diffEditor-unchangedCodeBackground)}.monaco-editor .noModificationsOverlay{align-items:center;background:var(--vscode-editor-background);display:flex;justify-content:center;z-index:1}.monaco-editor .diff-hidden-lines .center{background:var(--vscode-diffEditor-unchangedRegionBackground);box-shadow:inset 0 -5px 5px -7px var(--vscode-diffEditor-unchangedRegionShadow),inset 0 5px 5px -7px var(--vscode-diffEditor-unchangedRegionShadow);color:var(--vscode-diffEditor-unchangedRegionForeground);display:block;height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .detected-link-active,.monaco-editor .diff-hidden-lines .center a:hover .codicon{color:var(--vscode-editorLink-activeForeground)!important;cursor:pointer}.monaco-editor .diff-hidden-lines div.breadcrumb-item:hover{color:var(--vscode-editorLink-activeForeground)}.monaco-editor .movedModified,.monaco-editor .movedOriginal{border:2px solid var(--vscode-diffEditor-move-border)}.monaco-editor .movedModified.currentMove,.monaco-editor .movedOriginal.currentMove{border:2px solid var(--vscode-diffEditor-moveActive-border)}.monaco-diff-editor .moved-blocks-lines path.currentMove{stroke:var(--vscode-diffEditor-moveActive-border)}.monaco-diff-editor .moved-blocks-lines path{pointer-events:visiblestroke;fill:none;stroke:var(--vscode-diffEditor-move-border);stroke-width:2}.monaco-diff-editor .moved-blocks-lines .arrow{fill:var(--vscode-diffEditor-move-border)}.monaco-diff-editor .moved-blocks-lines .arrow.currentMove{fill:var(--vscode-diffEditor-moveActive-border)}.monaco-diff-editor .moved-blocks-lines .arrow-rectangle{fill:var(--vscode-editor-background)}.monaco-diff-editor .moved-blocks-lines{pointer-events:none;position:absolute}.monaco-editor .char-delete.diff-range-empty{border-left:3px solid var(--vscode-diffEditor-removedTextBackground);margin-left:-1px}.monaco-editor .char-insert.diff-range-empty{border-left:3px solid var(--vscode-diffEditor-insertedTextBackground)}.monaco-diff-editor .diff-moved-code-block{display:flex;justify-content:flex-end;margin-top:-4px}.monaco-diff-editor .diff-moved-code-block .action-bar .action-label.codicon{font-size:12px;height:12px;width:12px}.monaco-diff-editor .diffOverview{z-index:9}.monaco-diff-editor .diffOverview .diffViewport,.monaco-scrollable-element.modified-in-monaco-diff-editor .slider{z-index:10}.monaco-diff-editor.vs .diffOverview{background:#00000008}.monaco-diff-editor.vs-dark .diffOverview{background:#ffffff03}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar{background:#0000}.modified-in-monaco-diff-editor .slider.active{background:#ababab66}.monaco-diff-editor .delete-sign,.monaco-diff-editor .insert-sign,.monaco-editor .delete-sign,.monaco-editor .insert-sign{align-items:center;display:flex!important;font-size:11px!important;opacity:.7!important}.monaco-diff-editor .char-insert,.monaco-editor .char-insert{background-color:var(--vscode-diffEditor-insertedTextBackground)}.monaco-diff-editor .line-insert,.monaco-editor .line-insert{background-color:var(--vscode-diffEditor-insertedLineBackground,var(--vscode-diffEditor-insertedTextBackground))}.monaco-editor .char-insert,.monaco-editor .line-insert{border:1px solid var(--vscode-diffEditor-insertedTextBorder);box-sizing:border-box}.monaco-editor.hc-black .char-delete,.monaco-editor.hc-black .char-insert,.monaco-editor.hc-black .line-delete,.monaco-editor.hc-black .line-insert,.monaco-editor.hc-light .char-delete,.monaco-editor.hc-light .char-insert,.monaco-editor.hc-light .line-delete,.monaco-editor.hc-light .line-insert{border-style:dashed}.monaco-editor .char-delete,.monaco-editor .line-delete{border:1px solid var(--vscode-diffEditor-removedTextBorder);box-sizing:border-box}.monaco-diff-editor .gutter-insert,.monaco-editor .gutter-insert,.monaco-editor .inline-added-margin-view-zone{background-color:var(--vscode-diffEditorGutter-insertedLineBackground,var(--vscode-diffEditor-insertedLineBackground),var(--vscode-diffEditor-insertedTextBackground))}.monaco-diff-editor .char-delete,.monaco-editor .char-delete,.monaco-editor .inline-deleted-text{background-color:var(--vscode-diffEditor-removedTextBackground)}.monaco-diff-editor .line-delete,.monaco-editor .line-delete{background-color:var(--vscode-diffEditor-removedLineBackground,var(--vscode-diffEditor-removedTextBackground))}.monaco-diff-editor .gutter-delete,.monaco-editor .gutter-delete,.monaco-editor .inline-deleted-margin-view-zone{background-color:var(--vscode-diffEditorGutter-removedLineBackground,var(--vscode-diffEditor-removedLineBackground),var(--vscode-diffEditor-removedTextBackground))}.monaco-diff-editor.side-by-side .editor.modified{border-left:1px solid var(--vscode-diffEditor-border);box-shadow:-6px 0 5px -5px var(--vscode-scrollbar-shadow)}.monaco-diff-editor.side-by-side .editor.original{border-right:1px solid var(--vscode-diffEditor-border);box-shadow:6px 0 5px -5px var(--vscode-scrollbar-shadow)}.monaco-editor .diagonal-fill{background-image:linear-gradient(-45deg,var(--vscode-diffEditor-diagonalFill) 12.5%,#0000 12.5%,#0000 50%,var(--vscode-diffEditor-diagonalFill) 50%,var(--vscode-diffEditor-diagonalFill) 62.5%,#0000 62.5%,#0000 100%);background-size:8px 8px}.monaco-diff-editor .gutter{flex-grow:0;flex-shrink:0;overflow:hidden;position:relative}.gutterItem{opacity:0;transition:opacity .7s;height:100%;left:50%;position:absolute;width:1px}&.noTransition,&.showAlways{transition:none}}&:hover .gutterItem{opacity:1;transition:opacity .1s ease-in-out}.buttons{align-items:center;display:flex;justify-content:center;position:absolute;width:100%;border-radius:4px;width:fit-content}}}}}}}}.monaco-diff-editor .diff-hidden-lines-compact{display:flex;border-color:var(--vscode-editorCodeLens-foreground);height:1px;margin:auto;opacity:.5;width:100%}.line-left{width:20px}.text{color:var(--vscode-editorCodeLens-foreground);margin:0 4px;text-wrap:nowrap}.file-path,.quick-input-list,}.status{line-height:22px}}.monaco-component.diff-review{user-select:none;-webkit-user-select:none;z-index:99}.monaco-component.diff-review .diff-review-line-number{color:var(--vscode-editorLineNumber-foreground);display:inline-block;text-align:right}.monaco-component.diff-review .diff-review-summary{padding-left:10px}.monaco-component.diff-review .diff-review-shadow{box-shadow:var(--vscode-scrollbar-shadow) 0 -6px 6px -6px inset;position:absolute}.monaco-component.diff-review .diff-review-table{display:table;min-width:100%}.monaco-component.diff-review .diff-review-row{white-space:pre;display:table-row;width:100%}.monaco-component.diff-review .diff-review-spacer{display:inline-block;vertical-align:middle;width:10px}.monaco-component.diff-review .diff-review-spacer>.codicon{font-size:9px!important}.monaco-component.diff-review .diff-review-actions{display:inline-block;position:absolute;right:10px;top:2px;z-index:100}.monaco-component.diff-review .diff-review-actions .action-label{height:16px;margin:2px 0;width:16px}.monaco-editor.hc-light .dnd-target,.monaco-editor.vs .dnd-target{border-right:2px dotted #000;color:#fff}.monaco-editor.vs-dark .dnd-target{border-right:2px dotted #aeafad;color:#51504f}.monaco-editor.hc-black .dnd-target{border-right:2px dotted #fff;color:#000}.monaco-editor.hc-black.mac.mouse-copy .view-lines,.monaco-editor.hc-light.mac.mouse-copy .view-lines,.monaco-editor.mouse-copy .view-lines,.monaco-editor.vs-dark.mac.mouse-copy .view-lines{cursor:copy}.monaco-editor .findOptionsWidget{border:2px solid var(--vscode-contrastBorder)}.monaco-editor .find-widget,.monaco-editor .findOptionsWidget{background-color:var(--vscode-editorWidget-background);box-shadow:0 0 8px 2px var(--vscode-widget-shadow);color:var(--vscode-editorWidget-foreground)}.monaco-editor .find-widget{border-bottom:1px solid var(--vscode-widget-border);border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-left:1px solid var(--vscode-widget-border);border-right:1px solid var(--vscode-widget-border);box-sizing:border-box;height:33px;line-height:19px;overflow:hidden;padding:0 4px;position:absolute;transform:translateY(calc(-100% - 10px));transition:transform .2s linear;z-index:35}.monaco-workbench.reduce-motion .monaco-editor .find-widget{transition:transform 0ms linear}.monaco-editor .find-widget.visible{transform:translateY(0)}.monaco-editor .find-widget .monaco-inputbox.synthetic-focus{outline:-webkit-focus-ring-color solid 1px;outline-color:var(--vscode-focusBorder);outline-offset:-1px}.monaco-editor .find-widget .monaco-inputbox .input{background-color:initial;min-height:0}.monaco-editor .find-widget .monaco-findInput .input{font-size:13px}.monaco-editor .find-widget>.find-part,.monaco-editor .find-widget>.replace-part{display:flex;font-size:12px;margin:3px 25px 0 17px}.monaco-editor .find-widget>.find-part .monaco-inputbox,.monaco-editor .find-widget>.replace-part .monaco-inputbox{min-height:25px}.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-right:22px}.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.mirror,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-bottom:2px;padding-top:2px}.monaco-editor .find-widget>.find-part .find-actions,.monaco-editor .find-widget>.replace-part .replace-actions{align-items:center;display:flex;height:25px}.monaco-editor .find-widget .monaco-findInput{display:flex;flex:1;vertical-align:middle}.monaco-editor .find-widget .matchesCount{box-sizing:border-box;display:flex;flex:initial;height:25px;line-height:23px;margin:0 0 0 3px;padding:2px 0 0 2px;text-align:center;vertical-align:middle}.monaco-editor .find-widget .button{align-items:center;background-position:50%;background-repeat:no-repeat;border-radius:5px;cursor:pointer;display:flex;flex:initial;height:16px;justify-content:center;margin-left:3px;padding:3px;width:16px}.monaco-editor .find-widget .codicon-find-selection{border-radius:5px;height:22px;padding:3px;width:22px}.monaco-editor .find-widget .button.left{margin-left:0;margin-right:3px}.monaco-editor .find-widget .button.wide{padding:1px 6px;top:-1px;width:auto}.monaco-editor .find-widget .button.toggle{border-radius:0;box-sizing:border-box;height:100%;left:3px;position:absolute;top:0;width:18px}.monaco-editor .find-widget .disabled{color:var(--vscode-disabledForeground);cursor:default}.monaco-editor .find-widget>.replace-part>.monaco-findInput{display:flex;flex:auto;flex-grow:0;flex-shrink:0;position:relative;vertical-align:middle}.monaco-editor .find-widget.narrow-find-widget{max-width:257px!important}.monaco-editor .find-widget.collapsed-find-widget{max-width:170px!important}.monaco-editor .find-widget.no-results .matchesCount{color:var(--vscode-errorForeground)}.monaco-editor .findMatch{animation-duration:0;animation-name:inherit!important;background-color:var(--vscode-editor-findMatchHighlightBackground)}.monaco-editor .currentFindMatch{background-color:var(--vscode-editor-findMatchBackground);border:2px solid var(--vscode-editor-findMatchBorder);box-sizing:border-box;padding:1px}.monaco-editor .findScope,.monaco-editor.findScope{background-color:var(--vscode-editor-findRangeHighlightBackground)}.monaco-editor .find-widget .monaco-sash{background-color:var(--vscode-editorWidget-resizeBorder,var(--vscode-editorWidget-border));left:0!important}.monaco-editor.hc-black .find-widget .button:before{left:2px;position:relative;top:1px}.monaco-editor .find-widget .button:not(.disabled):hover,.monaco-editor .find-widget .codicon-find-selection:hover{background-color:var(--vscode-toolbar-hoverBackground)!important}.monaco-editor.findMatch{background-color:var(--vscode-editor-findMatchHighlightBackground)}.monaco-editor.currentFindMatch{background-color:var(--vscode-editor-findMatchBackground)}.monaco-editor.findMatch{background-color:var(--vscode-editorWidget-background)}.monaco-editor .find-widget>.button.codicon-widget-close{position:absolute;right:4px;top:5px}.monaco-editor .margin-view-overlays .codicon-folding-collapsed,.monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,.monaco-editor .margin-view-overlays .codicon-folding-manual-expanded{align-items:center;cursor:pointer;display:flex;font-size:140%;justify-content:center;margin-left:2px;opacity:0;transition:opacity .5s}.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-collapsed,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-expanded{transition:initial}.monaco-editor .inline-folded:after{color:var(--vscode-editor-foldPlaceholderForeground);content:"\22EF";cursor:pointer;display:inline;line-height:1em;margin:.1em .2em 0}.monaco-editor .folded-background{background-color:var(--vscode-editor-foldBackground)}.monaco-editor .cldr.codicon.codicon-folding-collapsed,.monaco-editor .cldr.codicon.codicon-folding-expanded,.monaco-editor .cldr.codicon.codicon-folding-manual-collapsed,.monaco-editor .cldr.codicon.codicon-folding-manual-expanded{color:var(--vscode-editorGutter-foldingControlForeground)!important}.monaco-editor .peekview-widget .head .peekview-title .severity-icon{display:inline-block;margin-right:4px;vertical-align:text-top}.monaco-editor .marker-widget{text-overflow:ellipsis;white-space:nowrap}.monaco-editor .marker-widget>.stale{font-style:italic;opacity:.6}.monaco-editor .marker-widget .title{display:inline-block;padding-right:5px}.monaco-editor .marker-widget .descriptioncontainer{padding:8px 12px 0 20px;position:absolute;user-select:text;-webkit-user-select:text;white-space:pre}.monaco-editor .marker-widget .descriptioncontainer .message{display:flex;flex-direction:column}.monaco-editor .marker-widget .descriptioncontainer .message .details{padding-left:6px}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link{color:inherit;opacity:.6}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link>span{border-bottom:1px solid #0000;color:var(--vscode-textLink-activeForeground);text-decoration:underline;text-underline-position:under}.monaco-editor .marker-widget .descriptioncontainer .filename,.monaco-editor .parameter-hints-widget .docs a:hover{color:var(--vscode-textLink-activeForeground);cursor:pointer}.extension-editor .codicon.codicon-error,.extensions-viewlet>.extensions .codicon.codicon-error,.markers-panel .marker-icon .codicon.codicon-error,.markers-panel .marker-icon.error,.monaco-editor .zone-widget .codicon.codicon-error,.preferences-editor .codicon.codicon-error,.text-search-provider-messages .providerMessage .codicon.codicon-error{color:var(--vscode-problemsErrorIcon-foreground)}.extension-editor .codicon.codicon-warning,.extensions-viewlet>.extensions .codicon.codicon-warning,.markers-panel .marker-icon .codicon.codicon-warning,.markers-panel .marker-icon.warning,.monaco-editor .zone-widget .codicon.codicon-warning,.preferences-editor .codicon.codicon-warning,.text-search-provider-messages .providerMessage .codicon.codicon-warning{color:var(--vscode-problemsWarningIcon-foreground)}.extension-editor .codicon.codicon-info,.extensions-viewlet>.extensions .codicon.codicon-info,.markers-panel .marker-icon .codicon.codicon-info,.markers-panel .marker-icon.info,.monaco-editor .zone-widget .codicon.codicon-info,.preferences-editor .codicon.codicon-info,.text-search-provider-messages .providerMessage .codicon.codicon-info{color:var(--vscode-problemsInfoIcon-foreground)}.monaco-editor .goto-definition-link{color:var(--vscode-editorLink-activeForeground)!important;cursor:pointer;text-decoration:underline}.monaco-editor .iPadShowKeyboard{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MyIgaGVpZ2h0PSIzNiIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjNDI0MjQyIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00OC4wMzYgNC4wMUg0LjAwOFYzMi4wM2g0NC4wMjh6TTQuMDA4LjAwOEE0LjAwMyA0LjAwMyAwIDAgMCAuMDA1IDQuMDFWMzIuMDNhNC4wMDMgNC4wMDMgMCAwIDAgNC4wMDMgNC4wMDJoNDQuMDI4YTQuMDAzIDQuMDAzIDAgMCAwIDQuMDAzLTQuMDAyVjQuMDFBNC4wMDMgNC4wMDMgMCAwIDAgNDguMDM2LjAwOHpNOC4wMSA4LjAxM2g0LjAwM3Y0LjAwM0g4LjAxem0xMi4wMDggMGgtNC4wMDJ2NC4wMDNoNC4wMDJ6bTQuMDAzIDBoNC4wMDJ2NC4wMDNoLTQuMDAyem0xMi4wMDggMGgtNC4wMDN2NC4wMDNoNC4wMDN6bTQuMDAyIDBoNC4wMDN2NC4wMDNINDAuMDN6bS0yNC4wMTUgOC4wMDVIOC4wMXY0LjAwM2g4LjAwNnptNC4wMDIgMGg0LjAwM3Y0LjAwM2gtNC4wMDN6bTEyLjAwOCAwaC00LjAwM3Y0LjAwM2g0LjAwM3ptMTIuMDA4IDB2NC4wMDNoLTguMDA1di00LjAwM3ptLTMyLjAyMSA4LjAwNUg4LjAxdjQuMDAzaDQuMDAzem00LjAwMyAwaDIwLjAxM3Y0LjAwM0gxNi4wMTZ6bTI4LjAxOCAwSDQwLjAzdjQuMDAzaDQuMDAzeiIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGg1M3YzNkgweiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPg==") 50% no-repeat;border:4px solid #f6f6f6;border-radius:4px;height:36px;margin:0;min-height:0;min-width:0;overflow:hidden;padding:0;position:absolute;resize:none;width:58px}.monaco-editor.vs-dark .iPadShowKeyboard{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MyIgaGVpZ2h0PSIzNiIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjQzVDNUM1IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00OC4wMzYgNC4wMUg0LjAwOFYzMi4wM2g0NC4wMjh6TTQuMDA4LjAwOEE0LjAwMyA0LjAwMyAwIDAgMCAuMDA1IDQuMDFWMzIuMDNhNC4wMDMgNC4wMDMgMCAwIDAgNC4wMDMgNC4wMDJoNDQuMDI4YTQuMDAzIDQuMDAzIDAgMCAwIDQuMDAzLTQuMDAyVjQuMDFBNC4wMDMgNC4wMDMgMCAwIDAgNDguMDM2LjAwOHpNOC4wMSA4LjAxM2g0LjAwM3Y0LjAwM0g4LjAxem0xMi4wMDggMGgtNC4wMDJ2NC4wMDNoNC4wMDJ6bTQuMDAzIDBoNC4wMDJ2NC4wMDNoLTQuMDAyem0xMi4wMDggMGgtNC4wMDN2NC4wMDNoNC4wMDN6bTQuMDAyIDBoNC4wMDN2NC4wMDNINDAuMDN6bS0yNC4wMTUgOC4wMDVIOC4wMXY0LjAwM2g4LjAwNnptNC4wMDIgMGg0LjAwM3Y0LjAwM2gtNC4wMDN6bTEyLjAwOCAwaC00LjAwM3Y0LjAwM2g0LjAwM3ptMTIuMDA4IDB2NC4wMDNoLTguMDA1di00LjAwM3ptLTMyLjAyMSA4LjAwNUg4LjAxdjQuMDAzaDQuMDAzem00LjAwMyAwaDIwLjAxM3Y0LjAwM0gxNi4wMTZ6bTI4LjAxOCAwSDQwLjAzdjQuMDAzaDQuMDAzeiIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGg1M3YzNkgweiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPg==") 50% no-repeat;border:4px solid #252526}.monaco-editor.vs .valueSetReplacement{outline:solid 2px var(--vscode-editorBracketMatch-border)}.monaco-editor .suggest-preview-additional-widget .content-spacer{color:#0000;white-space:pre}.monaco-editor .suggest-preview-additional-widget .button{cursor:pointer;display:inline-block;text-decoration:underline;text-underline-position:under}.monaco-editor .ghost-text-hidden,.monaco-editor .inline-edit-hidden{font-size:0;opacity:0}.monaco-editor .ghost-text-decoration,.monaco-editor .ghost-text-decoration-preview,.monaco-editor .inline-edit-decoration,.monaco-editor .inline-edit-decoration-preview,.monaco-editor .suggest-preview-text .ghost-text,.monaco-editor .suggest-preview-text .inline-edit{background-color:var(--vscode-editorGhostText-background);border:1px solid var(--vscode-editorGhostText-border);color:var(--vscode-editorGhostText-foreground)!important}.monaco-editor .suggest-details,.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.focused)>.contents>.main .monaco-icon-label{color:var(--vscode-editorSuggestWidget-foreground)}.monaco-editor .snippet-placeholder{background-color:var(--vscode-editor-snippetTabstopHighlightBackground,#0000);min-width:2px;outline-color:var(--vscode-editor-snippetTabstopHighlightBorder,#0000);outline-style:solid;outline-width:1px}.monaco-editor .finish-snippet-placeholder{background-color:var(--vscode-editor-snippetFinalTabstopHighlightBackground,#0000);outline-color:var(--vscode-editor-snippetFinalTabstopHighlightBorder,#0000);outline-style:solid;outline-width:1px}.monaco-editor .suggest-widget{border-radius:3px;display:flex;flex-direction:column;z-index:40}.monaco-editor .suggest-widget.message{align-items:center;flex-direction:row}.monaco-editor .suggest-details,.monaco-editor .suggest-widget{background-color:var(--vscode-editorSuggestWidget-background);border-color:var(--vscode-editorSuggestWidget-border);border-style:solid;border-width:1px;flex:0 1 auto;width:100%}.monaco-editor .suggest-widget .suggest-status-bar{border-top:1px solid var(--vscode-editorSuggestWidget-border);box-sizing:border-box;display:none;flex-flow:row nowrap;font-size:80%;justify-content:space-between;overflow:hidden;padding:0 4px;width:100%}.monaco-editor .suggest-widget .suggest-status-bar .left{padding-right:8px}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label{color:var(--vscode-editorSuggestWidgetStatus-foreground)}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label:after{content:", ";margin-right:.3em}.monaco-editor .suggest-widget>.message{padding-left:22px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row{background-position:2px 2px;background-repeat:no-repeat;-mox-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:flex;padding-right:10px;touch-action:none;white-space:nowrap}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused{color:var(--vscode-editorSuggestWidget-selectedForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused .codicon{color:var(--vscode-editorSuggestWidget-selectedIconForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents{flex:1;height:100%;overflow:hidden;padding-left:2px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main{display:flex;justify-content:space-between;overflow:hidden;text-overflow:ellipsis;white-space:pre}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main .monaco-highlighted-label .highlight{color:var(--vscode-editorSuggestWidget-highlightForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused>.contents>.main .monaco-highlighted-label .highlight{color:var(--vscode-editorSuggestWidget-focusHighlightForeground)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:before{color:inherit;cursor:pointer;font-size:14px;opacity:1}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close{position:absolute;right:2px;top:6px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.signature-label{opacity:.6;overflow:hidden;text-overflow:ellipsis}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.qualifier-label{align-self:center;font-size:85%;line-height:normal;margin-left:12px;opacity:.4;overflow:hidden;text-overflow:ellipsis}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{font-size:85%;margin-left:1.1em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.right>.details-label,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label>.monaco-tokenized-source,.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label)>.contents>.main>.right>.details-label,.monaco-editor .suggest-widget:not(.shows-details) .monaco-list .monaco-list-row.focused>.contents>.main>.right>.details-label,.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox,.tags_jXut{display:inline}.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right.can-expand-details>.details-label{width:calc(100% - 26px)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left{flex-grow:1;flex-shrink:1;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.monaco-icon-label{flex-shrink:0}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.left>.monaco-icon-label{flex-shrink:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{flex-shrink:4;max-width:70%;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:inline-block;height:18px;position:absolute;right:10px;visibility:hidden;width:18px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right>.readMore{visibility:visible}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated{opacity:.66;text-decoration:unset}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon{background-position:50%;background-repeat:no-repeat;background-size:80%;display:block;height:16px;margin-left:2px;width:16px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon{align-items:center;display:flex;margin-right:4px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan{border:.1em solid #000;display:inline-block;height:.7em;margin:0 0 0 .3em;width:.7em}.monaco-editor .suggest-details-container{z-index:41}.monaco-editor .suggest-details{cursor:default;display:flex;flex-direction:column}.monaco-editor .suggest-details.focused{border-color:var(--vscode-focusBorder)}.monaco-editor .suggest-details code{border-radius:3px;padding:0 .4em}.monaco-editor .suggest-details>.monaco-scrollable-element>.body{box-sizing:border-box;height:100%;width:100%}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type{flex:2;margin:0 24px 0 0;opacity:.7;overflow:hidden;padding:4px 0 12px 5px;text-overflow:ellipsis;white-space:pre}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type.auto-wrap{white-space:normal;word-break:break-all}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs{margin:0;padding:4px 5px;white-space:pre-wrap}.monaco-editor .suggest-details.no-type>.monaco-scrollable-element>.body>.docs{margin-right:24px;overflow:hidden}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs{min-height:calc(1rem + 8px);padding:0;white-space:normal}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div,.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>span:not(:empty){padding:4px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .monaco-tokenized-source{white-space:pre}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs .code{white-space:pre-wrap;word-wrap:break-word}.monaco-editor .suggest-details p code,.monaco-editor .tokens-inspect-widget .tm-token,.monaco-editor .tokens-inspect-widget .tm-token-type{font-family:var(--monaco-monospace-font)}.monaco-editor .inline-edit-remove{background-color:var(--vscode-editorGhostText-background);font-style:italic}.monaco-editor .inlineEditSideBySide,}}.monaco-editor .tokens-inspect-widget{background-color:var(--vscode-editorHoverWidget-background);color:var(--vscode-editorHoverWidget-foreground)}.monaco-editor .detected-link,.monaco-editor .detected-link-active,.monaco-editor .inline-completion-text-to-replace{text-decoration:underline;text-underline-position:under}.monaco-editor .inlineEditSideBySide{border:1px solid var(--vscode-editorHoverWidget-border);white-space:pre;z-index:39}.monaco-editor div.inline-edits-widget{--widget-color:var(--vscode-notifications-background)}.promptEditor,.toolbar{opacity:0;transition:opacity .2s ease-in-out}}.preview .monaco-editor{--vscode-editor-background:var(--widget-color)}.current-line-margin,.view-overlays .current-line-exact{border:none}.gradient-stop{stop-color:var(--widget-color)}}}.monaco-editor .tokens-inspect-widget{border:1px solid var(--vscode-editorHoverWidget-border);padding:10px;user-select:text;-webkit-user-select:text;z-index:50}.monaco-editor .tokens-inspect-widget .tokens-inspect-separator{background-color:var(--vscode-editorHoverWidget-border);border:0;height:1px}.monaco-editor .tokens-inspect-widget .tm-token-length{float:right;font-size:60%;font-weight:400}.quick-input-list .quick-input-list-separator-as-item .label-name,}.status{font-weight:600}.monaco-editor .tokens-inspect-widget .tm-metadata-value{font-family:var(--monaco-monospace-font);text-align:right}.monaco-editor .linked-editing-decoration{background-color:var(--vscode-editor-linkedEditingBackground);min-width:1px}.monaco-editor .focused .selectionHighlight{background-color:var(--vscode-editor-selectionHighlightBackground);border:1px solid var(--vscode-editor-selectionHighlightBorder);box-sizing:border-box}.monaco-editor .wordHighlight{background-color:var(--vscode-editor-wordHighlightBackground);border:1px solid var(--vscode-editor-wordHighlightBorder);box-sizing:border-box}.monaco-editor .wordHighlightStrong{background-color:var(--vscode-editor-wordHighlightStrongBackground);border:1px solid var(--vscode-editor-wordHighlightStrongBorder);box-sizing:border-box}.monaco-editor .wordHighlightText{background-color:var(--vscode-editor-wordHighlightTextBackground);border:1px solid var(--vscode-editor-wordHighlightTextBorder);box-sizing:border-box}.monaco-editor .parameter-hints-widget{background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);color:var(--vscode-editorHoverWidget-foreground);cursor:default;display:flex;flex-direction:column;line-height:1.5em;z-index:39}.monaco-editor .parameter-hints-widget>.phwrapper{display:flex;flex-direction:row;max-width:440px}.monaco-editor .parameter-hints-widget.multiple{min-height:3.3em;padding:0}.monaco-editor .parameter-hints-widget.multiple .body:before{border-left:1px solid var(--vscode-editorHoverWidget-border);content:"";display:block;height:100%;opacity:.5;position:absolute}.monaco-editor .parameter-hints-widget .body,.monaco-editor .parameter-hints-widget .monaco-scrollable-element{display:flex;flex:1;flex-direction:column;min-height:100%}.monaco-editor .parameter-hints-widget .signature{padding:4px 5px;position:relative}.monaco-editor .parameter-hints-widget .signature.has-docs:after{border-bottom:1px solid var(--vscode-editorHoverWidget-border);content:"";display:block;left:0;opacity:.5;padding-top:4px;position:absolute;width:100%}.monaco-editor .parameter-hints-widget .code{font-family:var(--vscode-parameterHintsWidget-editorFontFamily),var(--vscode-parameterHintsWidget-editorFontFamilyDefault)}.monaco-editor .parameter-hints-widget .docs{padding:0 10px 0 5px;white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs .markdown-docs{white-space:normal}.monaco-editor .parameter-hints-widget .docs code{border-radius:3px;font-family:var(--monaco-monospace-font);padding:0 .4em}.monaco-editor .parameter-hints-widget .docs .code,.monaco-editor .parameter-hints-widget .docs .monaco-tokenized-source{white-space:pre-wrap}.monaco-editor .parameter-hints-widget .controls{align-items:center;display:none;flex-direction:column;justify-content:flex-end;min-width:22px}.monaco-editor .parameter-hints-widget.multiple .controls{display:flex;padding:0 2px}.monaco-editor .parameter-hints-widget.multiple .button{background-repeat:no-repeat;cursor:pointer;height:16px;width:16px}.monaco-editor .parameter-hints-widget .button.previous{bottom:24px}.monaco-editor .parameter-hints-widget .overloads{font-family:var(--monaco-monospace-font);height:12px;line-height:12px;text-align:center}.monaco-editor .parameter-hints-widget .signature .parameter.active{color:var(--vscode-editorHoverWidget-highlightForeground);font-weight:700}.monaco-editor .parameter-hints-widget .documentation-parameter>.parameter{font-weight:700;margin-right:.5em}.monaco-editor{--vscode-editor-placeholder-foreground:var(--vscode-editorGhostText-foreground);overflow:hidden;pointer-events:none;position:absolute;text-overflow:ellipsis;text-wrap:nowrap;top:0;font-family:-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,system-ui,Ubuntu,Droid Sans,sans-serif;--monaco-monospace-font:"SF Mono",Monaco,Menlo,Consolas,"Ubuntu Mono","Liberation Mono","DejaVu Sans Mono","Courier New",monospace}}.monaco-editor .rename-box{border-radius:4px;color:inherit;z-index:100}.monaco-editor .rename-box.preview{padding:4px 4px 0}.monaco-editor .rename-box .rename-input-with-button{border-radius:2px;padding:3px;width:calc(100% - 8px)}.monaco-editor .rename-box .rename-input{padding:0;width:calc(100% - 8px)}.monaco-editor .rename-box .rename-suggestions-button{align-items:center;background-color:initial;border:none;border-radius:5px;cursor:pointer;display:flex;padding:3px}.monaco-editor .rename-box .rename-candidate-list-container .monaco-list-row{border-radius:2px}.monaco-editor .rename-box .rename-label{display:none;opacity:.8}.monaco-editor .rename-box.preview .rename-label,.monaco-progress-container.active .progress-bit{display:inherit}.monaco-editor .sticky-widget-line-numbers{background-color:inherit;float:left}.monaco-editor .sticky-widget-lines-scrollable{background-color:inherit;display:inline-block;overflow:hidden;position:absolute;width:var(--vscode-editorStickyScroll-scrollableWidth)}.monaco-editor .sticky-widget-lines{background-color:inherit;position:absolute}.monaco-editor .sticky-line-content,.monaco-editor .sticky-line-number{background-color:inherit;color:var(--vscode-editorLineNumber-foreground);display:inline-block;position:absolute;white-space:nowrap}.monaco-editor .sticky-line-number .codicon-folding-collapsed,.monaco-editor .sticky-line-number .codicon-folding-expanded{float:right;transition:var(--vscode-editorStickyScroll-foldingOpacityTransition)}.monaco-editor .sticky-line-content{background-color:inherit;white-space:nowrap;width:var(--vscode-editorStickyScroll-scrollableWidth)}.monaco-editor .sticky-line-number-inner{display:inline-block;text-align:right}.monaco-editor .sticky-widget{overflow:hidden;border-bottom:1px solid var(--vscode-editorStickyScroll-border);background-color:var(--vscode-editorStickyScroll-background);box-shadow:var(--vscode-editorStickyScroll-shadow) 0 4px 2px -2px;right:auto!important;width:100%;z-index:4}.monaco-editor .sticky-line-content:hover{background-color:var(--vscode-editorStickyScrollHover-background);cursor:pointer}.monaco-editor .sticky-widget.peek{background-color:var(--vscode-peekViewEditorStickyScroll-background)}.monaco-editor .unicode-highlight{background-color:var(--vscode-editorUnicodeHighlight-background);border:1px solid var(--vscode-editorUnicodeHighlight-border);box-sizing:border-box}.editor-banner{background:var(--vscode-banner-background);box-sizing:border-box;cursor:default;display:flex;font-size:12px;height:26px;overflow:visible;width:100%;background-color:var(--vscode-banner-background)}.editor-banner .icon-container{align-items:center;display:flex;flex-shrink:0;padding:0 6px 0 10px}.editor-banner .icon-container.custom-icon{background-position:50%;background-repeat:no-repeat;background-size:16px;margin:0 6px 0 10px;padding:0;width:16px}.editor-banner .message-container{align-items:center;display:flex;line-height:26px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-banner .message-container p{margin-block-end:0;margin-block-start:0}.editor-banner .message-actions-container{flex-grow:1;flex-shrink:0;line-height:26px;margin:0 4px}.editor-banner .message-actions-container a.monaco-button{margin:2px 8px;padding:0 12px;width:inherit}.editor-banner .message-actions-container a{margin-left:12px;padding:3px;text-decoration:underline}.editor-banner .action-container{padding:0 10px 0 6px}.editor-banner,.editor-banner .action-container .codicon,.editor-banner .message-actions-container .monaco-link{color:var(--vscode-banner-foreground)}.editor-banner .icon-container .codicon{color:var(--vscode-banner-iconForeground)}.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.hc-light .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-aria-container{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;top:0;width:1px;clip:rect(1px,1px,1px,1px);clip-path:inset(50%)}.monaco-diff-editor .synthetic-focus,.monaco-diff-editor [tabindex="-1"]:focus,.monaco-diff-editor [tabindex="0"]:focus,.monaco-diff-editor button:focus,.monaco-diff-editor input[type=button]:focus,.monaco-diff-editor input[type=checkbox]:focus,.monaco-diff-editor input[type=search]:focus,.monaco-diff-editor input[type=text]:focus,.monaco-diff-editor select:focus,.monaco-diff-editor textarea:focus,.monaco-editor{opacity:1;outline-color:var(--vscode-focusBorder);outline-offset:-1px;outline-style:solid;outline-width:1px}.quick-input-list .quick-input-list-separator-as-item .label-description,.theme-code-block:hover .copyButtonCopied_obH4{opacity:1!important}.monaco-workbench .workbench-hover{background:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);border-radius:3px;box-shadow:0 2px 8px var(--vscode-widget-shadow);color:var(--vscode-editorHoverWidget-foreground);font-size:13px;line-height:19px;max-width:700px;overflow:hidden;position:relative;z-index:40}.monaco-workbench .workbench-hover.compact .hover-contents{padding:2px 8px}.monaco-workbench .workbench-hover-container.locked .workbench-hover{outline:1px solid var(--vscode-editorHoverWidget-border)}.monaco-workbench .workbench-hover-container.locked .workbench-hover:focus,.monaco-workbench .workbench-hover-lock:focus{outline:1px solid var(--vscode-focusBorder)}.monaco-workbench .workbench-hover-container.locked .workbench-hover-lock:hover{background:var(--vscode-toolbar-hoverBackground)}.monaco-workbench .workbench-hover-pointer{pointer-events:none;position:absolute;z-index:41}.monaco-workbench .workbench-hover-pointer:after{background-color:var(--vscode-editorHoverWidget-background);border-bottom:1px solid var(--vscode-editorHoverWidget-border);border-right:1px solid var(--vscode-editorHoverWidget-border);content:"";height:5px;position:absolute;width:5px}.monaco-workbench .locked .workbench-hover-pointer:after{border-bottom-width:2px;border-right-width:2px;height:4px;width:4px}.monaco-workbench .workbench-hover-pointer.left{left:-3px}.monaco-workbench .workbench-hover-pointer.right{right:3px}.monaco-workbench .workbench-hover-pointer.top{top:-3px}.monaco-workbench .workbench-hover-pointer.bottom{bottom:3px}.monaco-workbench .workbench-hover-pointer.left:after{transform:rotate(135deg)}.monaco-workbench .workbench-hover-pointer.right:after{transform:rotate(315deg)}.monaco-workbench .workbench-hover-pointer.top:after{transform:rotate(225deg)}.monaco-workbench .workbench-hover-pointer.bottom:after{transform:rotate(45deg)}.monaco-workbench .workbench-hover a:focus{outline:solid 1px;outline-color:var(--vscode-focusBorder);outline-offset:-1px;text-decoration:underline}.monaco-workbench .workbench-hover code{background:var(--vscode-textCodeBlock-background)}.monaco-workbench .workbench-hover .hover-row .actions{background:var(--vscode-editorHoverWidget-statusBarBackground)}.monaco-workbench .workbench-hover.right-aligned{left:1px}.monaco-workbench .workbench-hover.right-aligned .hover-row.status-bar .actions{flex-direction:row-reverse}.monaco-workbench .workbench-hover.right-aligned .hover-row.status-bar .actions .action-container{margin-left:16px;margin-right:0}.context-view.fixed{all:initial;color:inherit;font-family:inherit;font-size:13px;position:fixed}.quick-input-widget .monaco-highlighted-label .highlight{color:#0066bf}.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight{color:#9dddff}.vs-dark .quick-input-widget .monaco-highlighted-label .highlight{color:#0097fb}.hc-black .quick-input-widget .monaco-highlighted-label .highlight{color:#f38518}.hc-light .quick-input-widget .monaco-highlighted-label .highlight{color:#0f4a85}.monaco-keybinding>.monaco-keybinding-key{background-color:#ddd6;border:1px solid;border-color:#ccc6 #ccc6 #bbb6;box-shadow:inset 0 -1px 0 #bbb6;color:#555}.hc-black .monaco-keybinding>.monaco-keybinding-key{background-color:initial;border:1px solid #6fc3df;box-shadow:none;color:#fff}.hc-light .monaco-keybinding>.monaco-keybinding-key{background-color:initial;border:1px solid #0f4a85;box-shadow:none;color:#292929}.vs-dark .monaco-keybinding>.monaco-keybinding-key{background-color:#8080802b;border:1px solid;border-color:#3339 #3339 #4449;box-shadow:inset 0 -1px 0 #4449;color:#ccc}.quick-input-widget{font-size:13px;left:50%;margin-left:-300px;position:absolute;width:600px;z-index:2550;-webkit-app-region:no-drag;border-radius:6px}.quick-input-titlebar{align-items:center;border-top-left-radius:5px;border-top-right-radius:5px;display:flex}.quick-input-left-action-bar{display:flex;flex:1;margin-left:4px}.quick-input-inline-action-bar{margin:2px 0 0 5px}.quick-input-title{overflow:hidden;padding:3px 0;text-align:center;text-overflow:ellipsis}.quick-input-right-action-bar{display:flex;flex:1;margin-right:4px}.quick-input-right-action-bar>.actions-container{justify-content:flex-end}.quick-input-titlebar .monaco-action-bar .action-label.codicon{background-position:50%;background-repeat:no-repeat;padding:2px}.quick-input-description{margin:6px 6px 6px 11px}.quick-input-header .quick-input-description{flex:1;margin:4px 2px}.quick-input-header{display:flex;padding:8px 6px 2px}.quick-input-widget.hidden-input .quick-input-header{margin-bottom:0;padding:0}.quick-input-and-message{display:flex;flex-direction:column;flex-grow:1;min-width:0;position:relative}.quick-input-check-all,.quick-input-list .quick-input-list-checkbox{align-self:center;margin:0}.quick-input-filter{display:flex;flex-grow:1;position:relative}.quick-input-widget.show-checkboxes .quick-input-box,.quick-input-widget.show-checkboxes .quick-input-message{margin-left:5px}.quick-input-visible-count{left:-10000px;position:absolute}.quick-input-count{align-items:center;align-self:center;display:flex;position:absolute;right:4px}.quick-input-count .monaco-count-badge{border-radius:2px;line-height:normal;min-height:auto;padding:2px 4px;vertical-align:middle}.quick-input-action .monaco-text-button{align-items:center;display:flex;font-size:11px;height:25px;padding:0 6px}.quick-input-message{margin-top:-1px;overflow-wrap:break-word;padding:5px}.quick-input-message>.codicon{margin:0 .2em;vertical-align:text-bottom}.quick-input-widget.hidden-input .quick-input-list{margin-top:4px;padding-bottom:4px}.quick-input-list .monaco-list{max-height:440px;overflow:hidden;padding-bottom:5px}.quick-input-list .monaco-scrollable-element,.quick-input-list .monaco-tree-sticky-row{padding:0 5px}.quick-input-list .quick-input-list-entry{box-sizing:border-box;display:flex;overflow:hidden;padding:0 6px}.quick-input-list .quick-input-list-entry.quick-input-list-separator-border{border-top-style:solid;border-top-width:1px}.quick-input-list .monaco-list-row{border-radius:3px}.quick-input-list .monaco-list-row[data-index="0"] .quick-input-list-entry.quick-input-list-separator-border,.quick-input-list .monaco-tree-sticky-row .quick-input-list-entry.quick-input-list-separator-as-item.quick-input-list-separator-border{border-top-style:none}.quick-input-list .quick-input-list-label{display:flex;flex:1;height:100%;overflow:hidden}.quick-input-list .quick-input-list-icon{align-items:center;background-position:0;background-repeat:no-repeat;background-size:16px;display:flex;height:22px;justify-content:center;padding-right:6px;width:16px}.quick-input-list .quick-input-list-rows{display:flex;flex:1;flex-direction:column;height:100%;margin-left:5px;overflow:hidden;text-overflow:ellipsis}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows{margin-left:10px}.quick-input-list .quick-input-list-rows>.quick-input-list-row .codicon[class*=codicon-]{vertical-align:text-bottom}.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding{margin-right:8px}.quick-input-list .quick-input-list-label-meta{line-height:normal;opacity:.7;overflow:hidden;text-overflow:ellipsis}.quick-input-list .monaco-list .monaco-list-row .monaco-highlighted-label .highlight{background-color:unset;color:var(--vscode-list-highlightForeground)!important;font-weight:700}.quick-input-list .monaco-list .monaco-list-row.focused .monaco-highlighted-label .highlight{color:var(--vscode-list-focusHighlightForeground)!important}.quick-input-list .quick-input-list-entry-action-bar{display:flex;flex:0;overflow:visible;margin-right:4px;margin-top:1px}.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon{margin-right:4px;padding:2px}.quick-input-list .quick-input-list-separator-as-item{font-size:12px;padding:4px 6px}.monaco-progress-container{height:2px;overflow:hidden;width:100%}.monaco-progress-container .progress-bit{display:none;height:2px;left:0;position:absolute;width:2%}.monaco-progress-container.discrete .progress-bit{left:0;transition:width .1s linear}.monaco-progress-container.infinite .progress-bit{animation-duration:4s;animation-iteration-count:infinite;animation-name:l;animation-timing-function:linear;transform:translateZ(0)}.monaco-progress-container.infinite.infinite-long-running .progress-bit{animation-timing-function:steps(100)}@keyframes l{0%{transform:translateX(0) scaleX(1)}50%{transform:translateX(2500%) scaleX(3)}to{transform:translateX(4900%) scaleX(1)}}.monaco-component.multiDiffEditor{background:var(--vscode-multiDiffEditor-background);height:100%;overflow-y:hidden;left:0;position:absolute;top:0;width:100%;place-content:center;place-items:center;visibility:hidden}}}.active{--vscode-multiDiffEditor-border:var(--vscode-focusBorder)}.multiDiffEntry{display:flex;flex:1;flex-direction:column;overflow:hidden;margin:0 5px}}.header{background:var(--vscode-editor-background);z-index:1000;background:var(--vscode-multiDiffEditor-headerBackground);border-top:1px solid var(--vscode-multiDiffEditor-border);color:var(--vscode-foreground);display:flex;margin:8px 0 0;padding:4px 5px}.file-path{display:flex;flex:1;min-width:0;text-overflow:ellipsis}}.status{margin:0 10px;opacity:.75}}.actions{padding:0 8px}}}.editorParent{border-bottom:1px solid var(--vscode-multiDiffEditor-border);display:flex;flex:1;flex-direction:column;overflow:hidden}}}:root{--docusaurus-tag-list-border:var(--ifm-color-emphasis-300)}.tag_zVej{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag_zVej:hover{--docusaurus-tag-list-border:var(--ifm-link-color);text-decoration:none}.tagRegular_sFm0{border-radius:var(--ifm-global-radius);font-size:90%;padding:.2rem .5rem .3rem}.tagWithCount_h2kH{align-items:center;border-left:0;display:flex;padding:0 .5rem 0 1rem;position:relative}.tagWithCount_h2kH:after,.tagWithCount_h2kH:before{border:1px solid var(--docusaurus-tag-list-border);content:"";position:absolute;top:50%;transition:inherit}.tagWithCount_h2kH:before{border-bottom:0;border-right:0;height:1.18rem;right:100%;transform:translate(50%,-50%) rotate(-45deg);width:1.18rem}.tagWithCount_h2kH:after{border-radius:50%;height:.5rem;left:0;transform:translateY(-50%);width:.5rem}.tagWithCount_h2kH span{border-radius:var(--ifm-global-radius);font-size:.7rem;line-height:1.2;margin-left:.3rem;padding:.1rem .4rem}.buttonGroup__atx button,.codeBlockContainer_Ckt0{background:var(--prism-background-color);color:var(--prism-color)}.tag_Nnez{display:inline-block;margin:.5rem .5rem 0 1rem}.codeBlockContainer_Ckt0{border-radius:var(--ifm-code-border-radius);box-shadow:var(--ifm-global-shadow-lw);margin-bottom:var(--ifm-leading)}.codeBlockContent_biex{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_Ktv7{border-bottom:1px solid var(--ifm-color-emphasis-300);border-top-left-radius:inherit;border-top-right-radius:inherit;font-size:var(--ifm-code-font-size);font-weight:500;padding:.75rem var(--ifm-pre-padding)}.codeBlock_bY9V{--ifm-pre-background:var(--prism-background-color);margin:0;padding:0}.codeBlockTitle_Ktv7+.codeBlockContent_biex .codeBlock_bY9V{border-top-left-radius:0;border-top-right-radius:0}.codeBlockLines_e6Vv{float:left;font:inherit;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_o6Pm{display:table;padding:var(--ifm-pre-padding) 0}.buttonGroup__atx{column-gap:.2rem;display:flex;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2)}.buttonGroup__atx button{align-items:center;border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);display:flex;line-height:0;opacity:0;padding:.4rem;transition:opacity var(--ifm-transition-fast) ease-in-out}.buttonGroup__atx button:focus-visible,.buttonGroup__atx button:hover{opacity:1!important}.theme-code-block:hover .buttonGroup__atx button{opacity:.4}.tag_QGVx{display:inline-block;margin:0 .4rem .5rem 0}.iconEdit_Z9Sw{margin-right:.3em}.lastUpdated_JAkA{font-size:smaller;font-style:italic;margin-top:.2rem}:where(:root){--docusaurus-highlighted-code-line-bg:#484d5b}:where([data-theme=dark]){--docusaurus-highlighted-code-line-bg:#646464}.theme-code-block-highlighted-line{background-color:var(--docusaurus-highlighted-code-line-bg);display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}.codeLine_lJS_{counter-increment:a;display:table-row}.codeLineNumber_Tfdd{background:var(--ifm-pre-background);display:table-cell;left:0;overflow-wrap:normal;padding:0 var(--ifm-pre-padding);position:sticky;text-align:right;width:1%}.codeLineNumber_Tfdd:before{content:counter(a);opacity:.4}.codeLineContent_feaV{padding-right:var(--ifm-pre-padding)}.copyButtonIcons_eSgA{height:1.125rem;position:relative;width:1.125rem}.copyButtonIcon_y97N,.copyButtonSuccessIcon_LjdS{left:0;position:absolute;top:0;fill:currentColor;height:inherit;opacity:inherit;transition:all var(--ifm-transition-fast) ease;width:inherit}.copyButtonSuccessIcon_LjdS{color:#00d600;left:50%;opacity:0;top:50%;transform:translate(-50%,-50%) scale(.33)}.copyButtonCopied_obH4 .copyButtonIcon_y97N{opacity:0;transform:scale(.33)}.copyButtonCopied_obH4 .copyButtonSuccessIcon_LjdS{opacity:1;transform:translate(-50%,-50%) scale(1);transition-delay:75ms}.details_lb9f{--docusaurus-details-summary-arrow-size:0.38rem;--docusaurus-details-transition:transform 200ms ease;--docusaurus-details-decoration-color:grey}.details_lb9f>summary{cursor:pointer;list-style:none;padding-left:1rem;position:relative}.details_lb9f>summary::-webkit-details-marker{display:none}.details_lb9f>summary:before{border-color:#0000 #0000 #0000 var(--docusaurus-details-decoration-color);border-style:solid;border-width:var(--docusaurus-details-summary-arrow-size);content:"";left:0;position:absolute;top:.45rem;transform:rotate(0);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2) 50%;transition:var(--docusaurus-details-transition)}.collapsibleContent_i85q{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.wordWrapButtonIcon_Bwma{height:1.2rem;width:1.2rem}.details_b_Ee{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast) ease;border:1px solid var(--ifm-alert-border-color);margin:0 0 var(--ifm-spacing-vertical)}.tocCollapsibleButton_TO0P{align-items:center;display:flex;font-size:inherit;justify-content:space-between;padding:.4rem .8rem;width:100%}.tocCollapsibleButton_TO0P:after{background:var(--ifm-menu-link-sublist-icon) 50% 50%/2rem 2rem no-repeat;content:"";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast);width:1.25rem}.tocCollapsibleButtonExpanded_MG3E:after,.tocCollapsibleExpanded_sAul{transform:none}.containsTaskList_mC6p{list-style:none}:not(.containsTaskList_mC6p>li)>.containsTaskList_mC6p{padding-left:0}.breadcrumbHomeIcon_YNFT{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.tocCollapsible_ETCw{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.tocCollapsibleContent_vkbj>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);font-size:15px;padding:.2rem 0}.tocCollapsibleContent_vkbj ul li{margin:.4rem .8rem}.img_ev3q{height:auto}.breadcrumbsContainer_Z_bl{--ifm-breadcrumb-size-multiplier:0.8;margin-bottom:.8rem}.title_kItE{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-leading)*1.25)}.tableOfContents_bqdL{overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.admonition_xJq3{margin-bottom:1em}.admonitionHeading_Gvgb{font:var(--ifm-heading-font-weight) var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);text-transform:uppercase}.admonitionHeading_Gvgb:not(:last-child){margin-bottom:.3rem}.admonitionHeading_Gvgb code{text-transform:none}.admonitionIcon_Rf37{display:inline-block;margin-right:.4em;vertical-align:middle}.admonitionIcon_Rf37 svg{display:inline-block;height:1.6em;width:1.6em;fill:var(--ifm-alert-foreground-color)}@media screen and (min-width:576px){.tsd-index-list li{width:50%}}@media (min-width:997px){.collapseSidebarButton_PEFL,.expandButton_TmdG{background-color:var(--docusaurus-collapse-button-bg)}:root{--docusaurus-announcement-bar-height:30px}.announcementBarClose_gvF7,.announcementBarPlaceholder_vyr4{flex-basis:50px}.collapseSidebarButton_PEFL{border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px;position:sticky}.collapseSidebarButtonIcon_kv0_{margin-top:4px;transform:rotate(180deg)}.expandButtonIcon_i1dp,[dir=rtl] .collapseSidebarButtonIcon_kv0_{transform:rotate(0)}.collapseSidebarButton_PEFL:focus,.collapseSidebarButton_PEFL:hover,.expandButton_TmdG:focus,.expandButton_TmdG:hover{background-color:var(--docusaurus-collapse-button-bg-hover)}.menuHtmlItem_M9Kj{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu_SIkG{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu_SIkG{padding:.5rem 0 .5rem .5rem;scrollbar-gutter:stable}}.menuWithAnnouncementBar_GW3s{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_njMd{display:flex;flex-direction:column;height:100%;padding-top:var(--ifm-navbar-height);width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_wUlq{padding-top:0}.sidebarHidden_VK0M{opacity:0;visibility:hidden}.sidebarLogo_isFc{align-items:center;color:inherit!important;display:flex!important;margin:0 var(--ifm-navbar-padding-horizontal);max-height:var(--ifm-navbar-height);min-height:var(--ifm-navbar-height);text-decoration:none!important}.sidebarLogo_isFc img{height:2rem;margin-right:.5rem}.expandButton_TmdG{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;right:0;top:0;transition:background-color var(--ifm-transition-fast) ease;width:100%}[dir=rtl] .expandButtonIcon_i1dp{transform:rotate(180deg)}.docSidebarContainer_YfHR{border-right:1px solid var(--ifm-toc-border-color);clip-path:inset(0);display:block;margin-top:calc(var(--ifm-navbar-height)*-1);transition:width var(--ifm-transition-fast) ease;width:var(--doc-sidebar-width);will-change:width}.docSidebarContainerHidden_DPk8{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.sidebarViewport_aRkj{height:100%;max-height:100vh;position:sticky;top:0}.docMainContainer_TBSr{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_lQrH{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_JWYK{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}.navbarSearchContainer_Bca1{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.lastUpdated_JAkA{text-align:right}.tocMobile_ITEo{display:none}.docItemCol_VOVn,.generatedIndexPage_vN6x{max-width:75%!important}.list_eTzJ article:nth-last-child(-n+2){margin-bottom:0!important}}@media only screen and (min-width:997px){.apiItemCol{max-width:75%!important}.apiTocMobile{display:none}}@media screen and (min-width:997px){.tsd-index-list li{width:33%}}@media (min-width:1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (max-width:996px){.col{--ifm-col-width:100%;flex-basis:var(--ifm-col-width);margin-left:0}.footer{--ifm-footer-padding-horizontal:0}.colorModeToggle_DEke,.footer__link-separator,.navbar__item,.sidebar_re4s,.tableOfContents_bqdL{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{display:block}.hero{padding-left:0;padding-right:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__toggle{display:inherit}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}.navbarSearchContainer_Bca1{position:absolute;right:var(--ifm-navbar-padding-horizontal)}.docItemContainer_F8PC{padding:0 .3rem}}@media only screen and (max-width:996px){.searchQueryColumn_RTkw,.searchResultsColumn_JPFH{max-width:60%!important}.searchLogoColumn_rJIA,.searchVersionColumn_ypXd{max-width:40%!important}.searchLogoColumn_rJIA{padding-left:0!important}}@media screen and (max-width:966px){.heroBanner_UJJx{padding:2rem}}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder,.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%;max-height:calc(var(--docsearch-vh,1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh,1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh,1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Cancel{appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:0;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}}@media (max-width:576px){.markdown h1:first-child{--ifm-h1-font-size:2rem}.markdown>h2{--ifm-h2-font-size:1.5rem}.markdown>h3{--ifm-h3-font-size:1.25rem}.title_f1Hy{font-size:2rem}}@media screen and (max-width:576px){.searchQueryColumn_RTkw{max-width:100%!important}.searchVersionColumn_ypXd{max-width:100%!important;padding-left:var(--ifm-spacing-horizontal)!important}}@media (hover:hover){.backToTopButton_sjWU:hover{background-color:var(--ifm-color-emphasis-300)}}@media (pointer:fine){.thin-scrollbar{scrollbar-width:thin}.thin-scrollbar::-webkit-scrollbar{height:var(--ifm-scrollbar-size);width:var(--ifm-scrollbar-size)}.thin-scrollbar::-webkit-scrollbar-track{background:var(--ifm-scrollbar-track-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--ifm-scrollbar-thumb-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--ifm-scrollbar-thumb-hover-background-color)}}@media (prefers-reduced-motion:reduce){:root{--ifm-transition-fast:0ms;--ifm-transition-slow:0ms}}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{animation:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0;stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Hit--deleting,.DocSearch-Hit--favoriting{transition:none}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:none}}@media print{.announcementBar_mb4j,.footer,.menu,.navbar,.pagination-nav,.table-of-contents,.tocMobile_ITEo{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_e6Vv{white-space:pre-wrap}} \ No newline at end of file + .current-line.current-line-margin.current-line-margin-both{border-right:0}.monaco-editor .lines-content .cdr,.monaco-editor .margin-view-overlays .cldr{height:100%;position:absolute}.monaco-editor .glyph-margin-widgets .cgmr{align-items:center;display:flex;justify-content:center;position:absolute}.monaco-editor .glyph-margin-widgets .cgmr.codicon-modifier-spin:before{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.monaco-editor .lines-content .core-guide{box-sizing:border-box;height:100%;position:absolute}.mtkcontrol{background:#960000!important;color:#fff!important}.mtkoverflow{background-color:var(--vscode-button-background,var(--vscode-editor-background));border-color:var(--vscode-contrastBorder);border-radius:2px;border-style:solid;border-width:1px;color:var(--vscode-button-foreground,var(--vscode-editor-foreground));cursor:pointer;padding:4px}.monaco-editor.mac .lines-content:hover,.monaco-editor.mac .view-line:hover,.monaco-editor.mac .view-lines:hover{user-select:text;-webkit-user-select:text;-ms-user-select:text}.monaco-editor.enable-user-select{user-select:auto;-webkit-user-select:initial}.monaco-editor .suggest-preview-additional-widget,.monaco-editor .view-lines,.monaco-icon-label.nowrap>.monaco-icon-label-container>.monaco-icon-description-container>.label-description,.monaco-inputbox>.ibwrapper>textarea.input.empty{white-space:nowrap}.monaco-editor .lines-content>.view-lines>.view-line>span{bottom:0;position:absolute;top:0}.monaco-editor .lines-decorations{background:#fff;position:absolute;top:0}.monaco-editor .margin-view-overlays .cmdr{height:100%;left:0;position:absolute;width:100%}.monaco-editor .minimap.slider-mouseover .minimap-slider{opacity:0;transition:opacity .1s linear}.monaco-editor .minimap-slider .minimap-slider-horizontal{background:var(--vscode-minimapSlider-background)}.monaco-editor .minimap-slider:hover .minimap-slider-horizontal{background:var(--vscode-minimapSlider-hoverBackground)}.monaco-editor .minimap-slider.active .minimap-slider-horizontal{background:var(--vscode-minimapSlider-activeBackground)}.monaco-editor .minimap-shadow-hidden{position:absolute;width:0}.monaco-editor .minimap-shadow-visible{box-shadow:var(--vscode-scrollbar-shadow) -6px 0 6px -6px inset;left:-6px;position:absolute;width:6px}.monaco-editor.no-minimap-shadow .minimap-shadow-visible{left:-1px;position:absolute;width:1px}.minimap.autohide{opacity:0;transition:opacity .5s}.monaco-editor .minimap{z-index:5}.monaco-editor .overlayWidgets{left:0;position:absolute;top:0}.monaco-editor .view-ruler{box-shadow:1px 0 0 0 var(--vscode-editorRuler-foreground) inset;position:absolute;top:0}.monaco-editor .scroll-decoration{box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset;height:6px;left:0;position:absolute;top:0}.context-view,.monaco-diff-editor .diff-review,.monaco-editor .lines-content .cslr{position:absolute}.monaco-editor .focused .selected-text{background-color:var(--vscode-editor-selectionBackground)}.monaco-editor .selected-text{background-color:var(--vscode-editor-inactiveSelectionBackground)}.monaco-editor .top-left-radius{border-top-left-radius:3px}.monaco-editor .bottom-left-radius{border-bottom-left-radius:3px}.monaco-editor .top-right-radius{border-top-right-radius:3px}.monaco-editor .bottom-right-radius{border-bottom-right-radius:3px}.monaco-editor.hc-black .top-left-radius,.monaco-editor.hc-light .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-black .bottom-left-radius,.monaco-editor.hc-light .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-black .top-right-radius,.monaco-editor.hc-light .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-black .bottom-right-radius,.monaco-editor.hc-light .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor .cursors-layer>.cursor{box-sizing:border-box;overflow:hidden;position:absolute}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{transition:80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{background:#0000!important;border-style:solid;border-width:1px}.monaco-editor .cursors-layer.cursor-underline-style>.cursor{background:#0000!important;border-bottom-style:solid;border-bottom-width:2px}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{background:#0000!important;border-bottom-style:solid;border-bottom-width:1px}@keyframes d{0%,20%{opacity:1}60%,to{opacity:0}}@keyframes e{0%,20%{opacity:1}90%,to{opacity:0}}@keyframes f{0%,20%{transform:scaleY(1)}80%,to{transform:scaleY(0)}}.cursor-smooth{animation:.5s ease-in-out 20 alternate d}.cursor-phase{animation:.5s ease-in-out 20 alternate e}.monaco-editor .codelens-decoration.fadein,.monaco-hover,.monaco-workbench .workbench-hover:not(.skip-fade-in){animation:.1s linear g}.cursor-expand>.cursor{animation:.5s ease-in-out 20 alternate f}.monaco-editor .mwh{position:absolute}.monaco-editor .codelens-decoration{color:var(--vscode-editorCodeLens-foreground);display:inline-block;font-family:var(--vscode-editorCodeLens-fontFamily),var(--vscode-editorCodeLens-fontFamilyDefault);font-feature-settings:var(--vscode-editorCodeLens-fontFeatureSettings);overflow:hidden;padding-right:calc(var(--vscode-editorCodeLens-fontSize)*.5);text-overflow:ellipsis;white-space:nowrap}.monaco-editor .codelens-decoration>a,.monaco-editor .codelens-decoration>span{user-select:none;-webkit-user-select:none;vertical-align:sub;white-space:nowrap}.monaco-editor .codelens-decoration>a:hover,.monaco-editor .codelens-decoration>a:hover .codicon{color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .codelens-decoration .codicon{color:currentColor!important;color:var(--vscode-editorCodeLens-foreground);vertical-align:middle}.monaco-editor .reference-zone-widget .inline,.monaco-icon-label:before{vertical-align:top;display:inline-block}@keyframes g{0%{opacity:0;visibility:visible}to{opacity:1}}.colorpicker-widget{height:190px;user-select:none;-webkit-user-select:none}.colorpicker-color-decoration,.hc-light .colorpicker-color-decoration{border:.1em solid #000;box-sizing:border-box;cursor:pointer;display:inline-block;height:.8em;line-height:.8em;margin:.1em .2em 0;width:.8em}.hc-black .colorpicker-color-decoration,.vs-dark .colorpicker-color-decoration{border:.1em solid #eee}.colorpicker-header{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=") 0 0/9px 9px;display:flex;height:24px;image-rendering:pixelated;position:relative}.colorpicker-header .close-button,.standalone-colorpicker{background-color:var(--vscode-editorHoverWidget-background)}.colorpicker-header .picked-color{align-items:center;color:#fff;cursor:pointer;display:flex;flex:1;justify-content:center;line-height:24px;overflow:hidden;white-space:nowrap;width:240px}.colorpicker-header .picked-color .picked-color-presentation{margin-left:5px;margin-right:5px;white-space:nowrap}.colorpicker-header .picked-color .codicon{color:inherit;font-size:14px}.colorpicker-header .picked-color.light{color:#000}.colorpicker-header .original-color{cursor:pointer;width:74px;z-index:inherit}.standalone-colorpicker{border:1px solid var(--vscode-editorHoverWidget-border);color:var(--vscode-editorHoverWidget-foreground)}.colorpicker-header.standalone-colorpicker,.monaco-workbench .workbench-hover hr{border-bottom:none}.colorpicker-header .close-button{border-left:1px solid var(--vscode-editorHoverWidget-border);cursor:pointer}.colorpicker-header .close-button-inner-div{height:100%;text-align:center;width:100%}.colorpicker-header .close-button-inner-div:hover,.monaco-action-bar .checkbox-action-item:hover,.monaco-dropdown-with-default:hover,.monaco-editor .rename-box .rename-suggestions-button:hover{background-color:var(--vscode-toolbar-hoverBackground)}.colorpicker-header .close-icon{padding:3px}.colorpicker-body{display:flex;padding:8px;position:relative}.colorpicker-body .saturation-wrap{flex:1;height:150px;min-width:220px;overflow:hidden;position:relative}.colorpicker-body .saturation-box{height:150px;position:absolute}.colorpicker-body .saturation-selection{border:1px solid #fff;border-radius:100%;box-shadow:0 0 2px #000c;height:9px;margin:-5px 0 0 -5px;position:absolute;width:9px}.colorpicker-body .strip{height:150px;width:25px}.colorpicker-body .standalone-strip{height:122px;width:25px}.colorpicker-body .hue-strip{background:linear-gradient(180deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);cursor:grab;margin-left:8px;position:relative}.colorpicker-body .opacity-strip{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=") 0 0/9px 9px;cursor:grab;image-rendering:pixelated;margin-left:8px;position:relative}.colorpicker-body .strip.grabbing,.monaco-tree-type-filter-grab.grabbing{cursor:grabbing}.colorpicker-body .slider{border:1px solid #ffffffb5;box-shadow:0 0 1px #000000d9;box-sizing:border-box;height:4px;left:-2px;position:absolute;top:0;width:calc(100% + 4px)}.colorpicker-body .strip .overlay{height:150px;pointer-events:none}.colorpicker-body .standalone-strip .standalone-overlay{height:122px;pointer-events:none}.standalone-colorpicker-body{border:1px solid #0000;border-bottom:1px solid var(--vscode-editorHoverWidget-border);display:block;overflow:hidden}.colorpicker-body .insert-button{background:var(--vscode-button-background);border:none;border-radius:2px;bottom:8px;color:var(--vscode-button-foreground);cursor:pointer;height:20px;padding:0;position:absolute;right:8px;width:58px}.colorpicker-body .insert-button:hover{background:var(--vscode-button-hoverBackground)}.monaco-editor .inlineEditHints.withBorder,.monaco-editor .inlineSuggestionsHints.withBorder{background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);color:var(--vscode-editorHoverWidget-foreground);z-index:39}.monaco-editor .inlineEditHints a,.monaco-editor .inlineEditHints a:hover,.monaco-editor .inlineSuggestionsHints a,.monaco-editor .inlineSuggestionsHints a:hover{color:var(--vscode-foreground)}.monaco-editor .inlineEditHints .keybinding,.monaco-editor .inlineSuggestionsHints .keybinding{display:flex;margin-left:4px;opacity:.6}.monaco-editor .inlineEditHints .keybinding .monaco-keybinding-key,.monaco-editor .inlineSuggestionsHints .keybinding .monaco-keybinding-key{font-size:8px;padding:2px 3px}.monaco-editor .inlineSuggestionsHints .availableSuggestionCount a{display:flex;justify-content:center;min-width:19px}.monaco-editor .inlineEditStatusBarItemLabel,.monaco-editor .inlineSuggestionStatusBarItemLabel{margin-right:2px}.monaco-dropdown{height:100%;padding:0}.monaco-dropdown>.dropdown-label{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center}.monaco-dropdown-with-default,.monaco-dropdown-with-primary{border-radius:5px;display:flex!important;flex-direction:row}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-],.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;line-height:16px;margin-left:-3px;padding-left:0;padding-right:0}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label,.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{background-position:50%;background-repeat:no-repeat;background-size:16px;display:block}.monaco-action-bar .action-item.menu-entry .action-label.icon,.monaco-dropdown-with-default>.action-container.menu-entry>.action-label.icon{background-position:50%;background-repeat:no-repeat;background-size:16px;height:16px;width:16px}.monaco-action-bar .action-item.menu-entry.text-only .action-label{border-radius:2px;color:var(--vscode-descriptionForeground);overflow:hidden}.monaco-action-bar .action-item.menu-entry.text-only.use-comma:not(:last-of-type) .action-label:after{content:", "}.monaco-action-bar .action-item.menu-entry.text-only+.action-item:not(.text-only)>.monaco-dropdown .action-label{color:var(--vscode-descriptionForeground)}.monaco-toolbar .toolbar-toggle-more{display:inline-block;padding:0}.monaco-sash{position:absolute;touch-action:none;z-index:35}.monaco-sash.disabled{pointer-events:none;cursor:default!important;pointer-events:none!important}.monaco-sash.mac.vertical{cursor:col-resize}.monaco-sash.vertical.minimum{cursor:e-resize}.monaco-sash.vertical.maximum{cursor:w-resize}.monaco-sash.mac.horizontal{cursor:row-resize}.monaco-sash.horizontal.minimum{cursor:s-resize}.monaco-sash.horizontal.maximum{cursor:n-resize}.monaco-sash.vertical{cursor:ew-resize;height:100%;top:0;width:var(--vscode-sash-size)}.monaco-sash.horizontal{cursor:ns-resize;height:var(--vscode-sash-size);left:0;width:100%}.monaco-sash:not(.disabled)>.orthogonal-drag-handle{content:" ";cursor:all-scroll;display:block;height:calc(var(--vscode-sash-size)*2);position:absolute;width:calc(var(--vscode-sash-size)*2);z-index:100}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.start,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.end{cursor:nwse-resize}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.end,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.start{cursor:nesw-resize}.monaco-sash.vertical>.orthogonal-drag-handle.start{left:calc(var(--vscode-sash-size)*-.5);top:calc(var(--vscode-sash-size)*-1)}.monaco-sash.vertical>.orthogonal-drag-handle.end{bottom:calc(var(--vscode-sash-size)*-1);left:calc(var(--vscode-sash-size)*-.5)}.monaco-sash.horizontal>.orthogonal-drag-handle.start{left:calc(var(--vscode-sash-size)*-1);top:calc(var(--vscode-sash-size)*-.5)}.monaco-sash.horizontal>.orthogonal-drag-handle.end{right:calc(var(--vscode-sash-size)*-1);top:calc(var(--vscode-sash-size)*-.5)}.monaco-sash:before{background:#0000;content:"";height:100%;pointer-events:none;position:absolute;width:100%}.monaco-workbench:not(.reduce-motion) .monaco-sash:before{transition:background-color .1s ease-out}.monaco-sash.active:before,.monaco-sash.hover:before{background:var(--vscode-sash-hoverBorder)}.monaco-sash.vertical:before{left:calc(50% - var(--vscode-sash-hover-size)/ 2);width:var(--vscode-sash-hover-size)}.monaco-sash.horizontal:before{height:var(--vscode-sash-hover-size);top:calc(50% - var(--vscode-sash-hover-size)/ 2)}.pointer-events-disabled{pointer-events:none!important}.monaco-sash.debug{background:#0ff}.monaco-sash.debug.disabled{background:#0ff3}.monaco-sash.debug:not(.disabled)>.orthogonal-drag-handle{background:red}.monaco-hover{box-sizing:border-box;cursor:default;line-height:1.5em;overflow:hidden;position:absolute;user-select:text;-webkit-user-select:text;white-space:var(--vscode-hover-whiteSpace,normal)}.monaco-count-badge,.text{line-height:11px;font-size:11px}.monaco-hover.hidden,.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view:not(.visible){display:none}.monaco-hover .hover-contents:not(.html-hover-contents){padding:4px 8px}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents){max-width:var(--vscode-hover-maxWidth,500px);word-wrap:break-word}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents) hr{min-width:100%}.monaco-editor .parameter-hints-widget p,.monaco-editor .parameter-hints-widget ul,.monaco-hover .code,.monaco-hover h1,.monaco-hover h2,.monaco-hover h3,.monaco-hover h4,.monaco-hover h5,.monaco-hover h6,.monaco-hover p,.monaco-hover ul{margin:8px 0}.monaco-hover h1,.monaco-hover h2,.monaco-hover h3,.monaco-hover h4,.monaco-hover h5,.monaco-hover h6{line-height:1.1}.monaco-hover hr{border-left:0;border-right:0;box-sizing:border-box;height:1px;margin:4px -8px -4px}.monaco-editor .suggest-details ol,.monaco-editor .suggest-details ul,.monaco-hover ol,.monaco-hover ul{padding-left:20px}.monaco-hover code{font-family:var(--monaco-monospace-font);border-radius:3px;padding:0 .4em}.monaco-hover .monaco-tokenized-source{white-space:var(--vscode-hover-sourceWhiteSpace,pre-wrap)}.monaco-hover .hover-row.status-bar{font-size:12px;line-height:22px}.monaco-hover .hover-row.status-bar .info{font-style:italic;padding:0 8px}.monaco-hover .hover-row.status-bar .actions{display:flex;padding:0 8px;width:100%}.monaco-hover .hover-row.status-bar .actions .action-container{cursor:pointer;margin-right:16px}.monaco-hover .hover-row.status-bar .actions .action-container .action .icon{padding-right:4px}.monaco-hover .hover-row.status-bar .actions .action-container a{color:var(--vscode-textLink-foreground);-webkit-text-decoration:var(--text-link-decoration);text-decoration:var(--text-link-decoration)}.monaco-hover .markdown-hover .hover-contents .codicon{color:inherit;font-size:inherit;vertical-align:middle}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before,.monaco-hover .hover-contents a.code-link:before{content:"("}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after,.monaco-hover .hover-contents a.code-link:after{content:")"}.monaco-hover .hover-contents a.code-link>span{border-bottom:1px solid #0000;color:var(--vscode-textLink-foreground);text-decoration:underline;text-underline-position:under}.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span{display:inline-block;margin-bottom:4px}.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span.codicon{margin-bottom:2px}.monaco-hover-content .action-container a{-webkit-user-select:none;user-select:none}.monaco-hover-content .action-container.disabled{cursor:default;opacity:.4;pointer-events:none}.monaco-editor .peekview-widget .head{box-sizing:border-box;display:flex;flex-wrap:nowrap;justify-content:space-between}.monaco-editor .peekview-widget .head .peekview-title{align-items:baseline;display:flex;font-size:13px;margin-left:20px;min-width:0;overflow:hidden;text-overflow:ellipsis}.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty){font-size:.9em;margin-left:.5em}.monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty):before{content:"-";padding:0 .3em}.monaco-editor .peekview-widget .head .peekview-actions{flex:1;padding-right:2px;text-align:right}.monaco-editor .peekview-widget>.body{border-top:1px solid;position:relative}.monaco-editor .peekview-widget .head .peekview-title .codicon{align-self:center;margin-right:4px}.monaco-editor .peekview-widget .monaco-list .monaco-list-row.focused .codicon,.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file,.monaco-list:focus .selected .monaco-icon-label,.monaco-list:focus .selected .monaco-icon-label:after{color:inherit!important}.monaco-editor .arrow-revert-change,.monaco-editor .zone-widget{position:absolute;z-index:10}.monaco-editor .zone-widget .zone-widget-container{border-bottom-style:solid;border-bottom-width:0;border-top-style:solid;border-top-width:0;position:relative}.monaco-split-view2>.sash-container{height:100%;pointer-events:none;position:absolute;width:100%}.monaco-split-view2>.sash-container>.monaco-sash{pointer-events:auto}.monaco-editor .suggest-widget>.tree,.monaco-split-view2>.monaco-scrollable-element{height:100%;width:100%}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view{position:absolute;white-space:normal}.monaco-editor .diff-hidden-lines-widget,.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element,.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label,.monaco-editor .tokens-inspect-widget .tm-metadata-table,.monaco-progress-container.discrete.done .progress-bit,.monaco-split-view2.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view{width:100%}.monaco-split-view2.separator-border>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{background-color:var(--separator-border);content:" ";left:0;pointer-events:none;position:absolute;top:0;z-index:5}.monaco-split-view2.separator-border.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:1px;width:100%}.monaco-table{display:flex;flex-direction:column;height:100%;overflow:hidden;position:relative;white-space:nowrap;width:100%}.monaco-table>.monaco-split-view2{border-bottom:1px solid #0000}.monaco-table-tr{display:flex;height:100%}.monaco-table-th{font-weight:700;height:100%;width:100%}.monaco-table-td,.monaco-table-th{box-sizing:border-box;flex-shrink:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{border-left:1px solid #0000;content:"";left:calc(var(--vscode-sash-size)/2);position:absolute;width:0}.monaco-workbench:not(.reduce-motion) .monaco-table>.monaco-split-view2,.monaco-workbench:not(.reduce-motion) .monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{transition:border-color .2s ease-out}.monaco-custom-toggle{border:1px solid #0000;border-radius:3px;box-sizing:border-box;cursor:pointer;float:left;height:20px;margin-left:2px;overflow:hidden;padding:1px;user-select:none;-webkit-user-select:none;width:20px}.monaco-custom-toggle:hover{background-color:var(--vscode-inputOption-hoverBackground)}.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle:hover{border:1px dashed var(--vscode-focusBorder)}.hc-black .monaco-custom-toggle,.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle,.hc-light .monaco-custom-toggle:hover,.modified-in-monaco-diff-editor.hc-black .slider.active,.modified-in-monaco-diff-editor.hc-light .slider.active,.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-light .scrollbar,.quick-input-list .monaco-list-row.focused .monaco-keybinding-key{background:none}.monaco-custom-toggle.monaco-checkbox{background-size:16px!important;border:1px solid #0000;border-radius:3px;height:18px;margin-left:0;margin-right:9px;opacity:1;padding:0;width:18px}.monaco-action-bar .checkbox-action-item{align-items:center;border-radius:2px;display:flex;padding-right:2px}.monaco-action-bar .checkbox-action-item>.monaco-custom-toggle.monaco-checkbox,.quick-input-list .quick-input-list-entry .quick-input-list-separator{margin-right:4px}.monaco-action-bar .checkbox-action-item>.checkbox-label,.monaco-workbench .workbench-hover.compact{font-size:12px}.monaco-custom-toggle.monaco-checkbox:not(.checked):before{visibility:hidden}.monaco-inputbox{border-radius:2px;box-sizing:border-box;display:block;font-size:inherit;padding:0;position:relative}.monaco-inputbox>.ibwrapper>.input,.monaco-inputbox>.ibwrapper>.mirror{padding:4px 6px}.monaco-inputbox>.ibwrapper>.input{border:none;box-sizing:border-box;color:inherit;display:inline-block;font-family:inherit;font-size:inherit;height:100%;line-height:inherit;resize:none;width:100%}.monaco-inputbox>.ibwrapper>input{text-overflow:ellipsis}.monaco-inputbox>.ibwrapper>textarea.input{display:block;outline:0;scrollbar-width:none}.monaco-inputbox>.ibwrapper>textarea.input::-webkit-scrollbar{display:none}.monaco-inputbox>.ibwrapper>.mirror{box-sizing:border-box;display:inline-block;left:0;position:absolute;top:0;visibility:hidden;white-space:pre-wrap;width:100%;word-wrap:break-word}.monaco-inputbox-container .monaco-inputbox-message{box-sizing:border-box;display:inline-block;font-size:12px;line-height:17px;margin-top:-1px;overflow:hidden;padding:.4em;text-align:left;width:100%;word-wrap:break-word}.monaco-inputbox .monaco-action-bar{position:absolute;right:2px;top:4px}.monaco-findInput,.monaco-tl-row,.quick-input-progress.monaco-progress-container{position:relative}.monaco-inputbox .monaco-action-bar .action-item{margin-left:2px}.monaco-inputbox .monaco-action-bar .action-item .codicon{background-repeat:no-repeat;height:16px;width:16px}.monaco-findInput .monaco-inputbox{font-size:13px;width:100%}.monaco-editor .find-widget>.replace-part>.monaco-findInput>.controls,.monaco-findInput>.controls{position:absolute;right:2px;top:3px}.vs .monaco-findInput.disabled{background-color:#e1e1e1}.vs-dark .monaco-findInput.disabled{background-color:#333}.hc-light .monaco-findInput.highlight-0 .controls,.monaco-findInput.highlight-0 .controls{animation:.1s linear h}.hc-light .monaco-findInput.highlight-1 .controls,.monaco-findInput.highlight-1 .controls{animation:.1s linear i}.hc-black .monaco-findInput.highlight-0 .controls,.vs-dark .monaco-findInput.highlight-0 .controls{animation:.1s linear j}.hc-black .monaco-findInput.highlight-1 .controls,.vs-dark .monaco-findInput.highlight-1 .controls{animation:.1s linear k}@keyframes h{0%{background:#fdff00cc}to{background:#0000}}@keyframes i{0%{background:#fdff00cc}99%{background:#0000}}@keyframes j{0%{background:#ffffff70}to{background:#0000}}@keyframes k{0%{background:#ffffff70}99%{background:#0000}}.monaco-tl-row{align-items:center;display:flex;height:100%}.monaco-tl-indent{height:100%;left:16px;pointer-events:none;position:absolute;top:0}.hide-arrows .monaco-tl-indent{left:12px}.monaco-tl-indent>.indent-guide{border-left:1px solid #0000;box-sizing:border-box;display:inline-block;height:100%}.monaco-workbench:not(.reduce-motion) .monaco-tl-indent>.indent-guide{transition:border-color .1s linear}.monaco-tl-twistie{align-items:center;display:flex!important;flex-shrink:0;font-size:10px;justify-content:center;padding-right:6px;text-align:right;transform:translateX(3px);width:16px}.monaco-tl-contents{flex:1;overflow:hidden}.monaco-tl-twistie:before{border-radius:20px}.monaco-tl-twistie.collapsed:before{transform:rotate(-90deg)}.monaco-tl-twistie.codicon-tree-item-loading:before{animation:1.25s steps(30) infinite c}.monaco-tree-type-filter{border:1px solid var(--vscode-widget-border);border-bottom-left-radius:4px;border-bottom-right-radius:4px;display:flex;margin:0 6px;max-width:200px;padding:3px;position:absolute;top:0;z-index:100}.monaco-workbench:not(.reduce-motion) .monaco-tree-type-filter{transition:top .3s}.monaco-tree-type-filter.disabled{top:-40px!important}.monaco-tree-type-filter-grab{align-items:center;cursor:grab;display:flex!important;justify-content:center;margin-right:2px}.monaco-tree-type-filter-input .monaco-inputbox{height:23px}.monaco-tree-type-filter-input .monaco-inputbox>.ibwrapper>.input,.monaco-tree-type-filter-input .monaco-inputbox>.ibwrapper>.mirror{padding:2px 4px}.monaco-tree-type-filter-input .monaco-findInput>.controls{top:2px}.monaco-tree-type-filter-actionbar{margin-left:4px}.monaco-tree-type-filter-actionbar .monaco-action-bar .action-label{padding:2px}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container{background-color:var(--vscode-sideBar-background);height:0;left:0;position:absolute;top:0;width:100%;z-index:13}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-row.monaco-list-row{background-color:var(--vscode-sideBar-background);opacity:1!important;overflow:hidden;position:absolute;width:100%}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-row:hover{background-color:var(--vscode-list-hoverBackground)!important;cursor:pointer}.monaco-editor .find-widget .button.toggle.disabled,.monaco-editor .find-widget.collapsed-find-widget .button.next,.monaco-editor .find-widget.collapsed-find-widget .button.previous,.monaco-editor .find-widget.collapsed-find-widget .button.replace,.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,.monaco-editor .find-widget.collapsed-find-widget>.find-part .monaco-findInput .controls,.monaco-editor .find-widget.hiddenEditor,.monaco-editor .find-widget.reduced-find-widget .matchesCount,.monaco-editor .find-widget>.replace-part,.monaco-editor .parameter-hints-widget .docs.empty,.monaco-editor .suggest-details.no-docs,.monaco-editor .suggest-details>.monaco-scrollable-element>.body>p:empty,.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide,.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon:before,.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container.empty,.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container.empty .monaco-tree-sticky-container-shadow,.quick-input-list .quick-input-list-entry-action-bar .action-label,.quick-input-widget .quick-input-list .quick-input-list-checkbox{display:none}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-container-shadow{bottom:-3px;height:0;left:0;position:absolute;width:100%}.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget{border-bottom-width:1px;border-top-width:1px}.monaco-editor .reference-zone-widget .messages{height:100%;padding:3em 0;text-align:center;width:100%}.monaco-editor .reference-zone-widget .ref-tree{background-color:var(--vscode-peekViewResult-background);color:var(--vscode-peekViewResult-lineForeground);line-height:23px}.monaco-editor .reference-zone-widget .ref-tree .reference{overflow:hidden;text-overflow:ellipsis}.monaco-editor .reference-zone-widget .ref-tree .reference-file{color:var(--vscode-peekViewResult-fileForeground);display:inline-flex;height:100%;width:100%}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows>.monaco-list-row.selected:not(.highlighted){background-color:var(--vscode-peekViewResult-selectionBackground);color:var(--vscode-peekViewResult-selectionForeground)!important}.monaco-editor .reference-zone-widget .ref-tree .reference-file .count{margin-left:auto;margin-right:12px}.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight{background-color:var(--vscode-peekViewResult-matchHighlightBackground)}.monaco-editor .reference-zone-widget .preview .reference-decoration{background-color:var(--vscode-peekViewEditor-matchHighlightBackground);border:2px solid var(--vscode-peekViewEditor-matchHighlightBorder);box-sizing:border-box}.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input,.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background{background-color:var(--vscode-peekViewEditor-background)}.monaco-editor .reference-zone-widget .preview .monaco-editor .margin{background-color:var(--vscode-peekViewEditorGutter-background)}.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight,.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file,.monaco-editor.hc-light .reference-zone-widget .ref-tree .reference-file{font-weight:700}.monaco-editor.hc-black .reference-zone-widget .ref-tree .referenceMatch .highlight,.monaco-editor.hc-light .reference-zone-widget .ref-tree .referenceMatch .highlight{border:1px dotted var(--vscode-contrastActiveBorder,#0000);box-sizing:border-box}.monaco-count-badge{border-radius:11px;box-sizing:border-box;display:inline-block;font-weight:400;min-height:18px;min-width:18px;padding:3px 6px;text-align:center}.monaco-count-badge.long{border-radius:2px;line-height:normal;min-height:auto;padding:2px 3px}.monaco-icon-label{display:flex;overflow:hidden;text-overflow:ellipsis}.monaco-icon-label:before{background-position:0;background-repeat:no-repeat;background-size:16px;height:22px;line-height:inherit!important;padding-right:6px;width:16px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;flex-shrink:0}.monaco-icon-label-iconpath{display:flex;height:16px;margin-top:2px;padding-left:2px;width:16px}.monaco-icon-label>.monaco-icon-label-container{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{color:inherit;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name>.label-separator{margin:0 2px;opacity:.5}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-suffix-container>.label-suffix{opacity:.7;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{font-size:.9em;margin-left:.5em;opacity:.7;white-space:pre}.vs .monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.95}.monaco-icon-label.deprecated{opacity:.66;text-decoration:line-through}.monaco-editor .inline-deleted-text,.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated>.monaco-icon-label-container>.monaco-icon-name-container,.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-description-container>.label-description,.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{text-decoration:line-through}.monaco-icon-label:after{font-size:90%;font-weight:600;margin:auto 16px 0 5px;opacity:.75;text-align:center}.monaco-editor .hoverHighlight{background-color:var(--vscode-editor-hoverHighlightBackground)}.monaco-editor .monaco-hover-content{box-sizing:border-box;padding-bottom:2px;padding-right:2px}.monaco-editor .monaco-hover{background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);border-radius:3px;color:var(--vscode-editorHoverWidget-foreground)}.monaco-editor .monaco-hover .hover-row .hover-row-contents{display:flex;flex-direction:column;min-width:0}.monaco-editor .monaco-hover .hover-row .verbosity-actions{border-right:1px solid var(--vscode-editorHoverWidget-border);display:flex;flex-direction:column;justify-content:end;padding-left:5px;padding-right:5px}.monaco-editor .monaco-hover .hover-row .verbosity-actions .codicon{cursor:pointer;font-size:11px}.monaco-editor .marker-widget .descriptioncontainer .message .source,.monaco-editor .marker-widget .descriptioncontainer .message span.code,.monaco-editor .monaco-hover .hover-row .verbosity-actions .codicon.disabled{opacity:.6}.monaco-editor .monaco-hover .hover-row .actions{background-color:var(--vscode-editorHoverWidget-statusBarBackground)}.monaco-editor .diff-hidden-lines{font-size:13px;height:0;line-height:14px;transform:translateY(-10px)}.monaco-editor .diff-hidden-lines .bottom.dragging,.monaco-editor .diff-hidden-lines .top.dragging,.monaco-editor .diff-hidden-lines:not(.dragging) .bottom:hover,.monaco-editor .diff-hidden-lines:not(.dragging) .top:hover{background-color:var(--vscode-focusBorder)}.monaco-editor .diff-hidden-lines .bottom,.monaco-editor .diff-hidden-lines .top{background-clip:padding-box;background-color:initial;border-bottom:2px solid #0000;border-top:4px solid #0000;height:4px;transition:background-color .1s ease-out}.monaco-editor .diff-hidden-lines .bottom.canMoveTop:not(.canMoveBottom),.monaco-editor .diff-hidden-lines .top.canMoveTop:not(.canMoveBottom),.monaco-editor.draggingUnchangedRegion.canMoveTop:not(.canMoveBottom) *{cursor:n-resize!important}.monaco-editor .diff-hidden-lines .bottom:not(.canMoveTop).canMoveBottom,.monaco-editor .diff-hidden-lines .top:not(.canMoveTop).canMoveBottom,.monaco-editor.draggingUnchangedRegion:not(.canMoveTop).canMoveBottom *{cursor:s-resize!important}.monaco-editor .diff-hidden-lines .bottom.canMoveTop.canMoveBottom,.monaco-editor .diff-hidden-lines .top.canMoveTop.canMoveBottom,.monaco-editor.draggingUnchangedRegion.canMoveTop.canMoveBottom *{cursor:ns-resize!important}.monaco-editor .diff-hidden-lines .top{transform:translateY(4px)}.monaco-editor .diff-hidden-lines .bottom{transform:translateY(-6px)}.monaco-editor .diff-unchanged-lines{background:var(--vscode-diffEditor-unchangedCodeBackground)}.monaco-editor .noModificationsOverlay{align-items:center;background:var(--vscode-editor-background);display:flex;justify-content:center;z-index:1}.monaco-editor .diff-hidden-lines .center{background:var(--vscode-diffEditor-unchangedRegionBackground);box-shadow:inset 0 -5px 5px -7px var(--vscode-diffEditor-unchangedRegionShadow),inset 0 5px 5px -7px var(--vscode-diffEditor-unchangedRegionShadow);color:var(--vscode-diffEditor-unchangedRegionForeground);display:block;height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .detected-link-active,.monaco-editor .diff-hidden-lines .center a:hover .codicon{color:var(--vscode-editorLink-activeForeground)!important;cursor:pointer}.monaco-editor .diff-hidden-lines div.breadcrumb-item:hover{color:var(--vscode-editorLink-activeForeground)}.monaco-editor .movedModified,.monaco-editor .movedOriginal{border:2px solid var(--vscode-diffEditor-move-border)}.monaco-editor .movedModified.currentMove,.monaco-editor .movedOriginal.currentMove{border:2px solid var(--vscode-diffEditor-moveActive-border)}.monaco-diff-editor .moved-blocks-lines path.currentMove{stroke:var(--vscode-diffEditor-moveActive-border)}.monaco-diff-editor .moved-blocks-lines path{pointer-events:visiblestroke;fill:none;stroke:var(--vscode-diffEditor-move-border);stroke-width:2}.monaco-diff-editor .moved-blocks-lines .arrow{fill:var(--vscode-diffEditor-move-border)}.monaco-diff-editor .moved-blocks-lines .arrow.currentMove{fill:var(--vscode-diffEditor-moveActive-border)}.monaco-diff-editor .moved-blocks-lines .arrow-rectangle{fill:var(--vscode-editor-background)}.monaco-diff-editor .moved-blocks-lines{pointer-events:none;position:absolute}.monaco-editor .char-delete.diff-range-empty{border-left:3px solid var(--vscode-diffEditor-removedTextBackground);margin-left:-1px}.monaco-editor .char-insert.diff-range-empty{border-left:3px solid var(--vscode-diffEditor-insertedTextBackground)}.monaco-diff-editor .diff-moved-code-block{display:flex;justify-content:flex-end;margin-top:-4px}.monaco-diff-editor .diff-moved-code-block .action-bar .action-label.codicon{font-size:12px;height:12px;width:12px}.monaco-diff-editor .diffOverview{z-index:9}.monaco-diff-editor .diffOverview .diffViewport,.monaco-scrollable-element.modified-in-monaco-diff-editor .slider{z-index:10}.monaco-diff-editor.vs .diffOverview{background:#00000008}.monaco-diff-editor.vs-dark .diffOverview{background:#ffffff03}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar{background:#0000}.modified-in-monaco-diff-editor .slider.active{background:#ababab66}.monaco-diff-editor .delete-sign,.monaco-diff-editor .insert-sign,.monaco-editor .delete-sign,.monaco-editor .insert-sign{align-items:center;display:flex!important;font-size:11px!important;opacity:.7!important}.monaco-diff-editor .char-insert,.monaco-editor .char-insert{background-color:var(--vscode-diffEditor-insertedTextBackground)}.monaco-diff-editor .line-insert,.monaco-editor .line-insert{background-color:var(--vscode-diffEditor-insertedLineBackground,var(--vscode-diffEditor-insertedTextBackground))}.monaco-editor .char-insert,.monaco-editor .line-insert{border:1px solid var(--vscode-diffEditor-insertedTextBorder);box-sizing:border-box}.monaco-editor.hc-black .char-delete,.monaco-editor.hc-black .char-insert,.monaco-editor.hc-black .line-delete,.monaco-editor.hc-black .line-insert,.monaco-editor.hc-light .char-delete,.monaco-editor.hc-light .char-insert,.monaco-editor.hc-light .line-delete,.monaco-editor.hc-light .line-insert{border-style:dashed}.monaco-editor .char-delete,.monaco-editor .line-delete{border:1px solid var(--vscode-diffEditor-removedTextBorder);box-sizing:border-box}.monaco-diff-editor .gutter-insert,.monaco-editor .gutter-insert,.monaco-editor .inline-added-margin-view-zone{background-color:var(--vscode-diffEditorGutter-insertedLineBackground,var(--vscode-diffEditor-insertedLineBackground),var(--vscode-diffEditor-insertedTextBackground))}.monaco-diff-editor .char-delete,.monaco-editor .char-delete,.monaco-editor .inline-deleted-text{background-color:var(--vscode-diffEditor-removedTextBackground)}.monaco-diff-editor .line-delete,.monaco-editor .line-delete{background-color:var(--vscode-diffEditor-removedLineBackground,var(--vscode-diffEditor-removedTextBackground))}.monaco-diff-editor .gutter-delete,.monaco-editor .gutter-delete,.monaco-editor .inline-deleted-margin-view-zone{background-color:var(--vscode-diffEditorGutter-removedLineBackground,var(--vscode-diffEditor-removedLineBackground),var(--vscode-diffEditor-removedTextBackground))}.monaco-diff-editor.side-by-side .editor.modified{border-left:1px solid var(--vscode-diffEditor-border);box-shadow:-6px 0 5px -5px var(--vscode-scrollbar-shadow)}.monaco-diff-editor.side-by-side .editor.original{border-right:1px solid var(--vscode-diffEditor-border);box-shadow:6px 0 5px -5px var(--vscode-scrollbar-shadow)}.monaco-editor .diagonal-fill{background-image:linear-gradient(-45deg,var(--vscode-diffEditor-diagonalFill) 12.5%,#0000 12.5%,#0000 50%,var(--vscode-diffEditor-diagonalFill) 50%,var(--vscode-diffEditor-diagonalFill) 62.5%,#0000 62.5%,#0000 100%);background-size:8px 8px}.monaco-diff-editor .gutter{flex-grow:0;flex-shrink:0;overflow:hidden;position:relative}.gutterItem{opacity:0;transition:opacity .7s;height:100%;left:50%;position:absolute;width:1px}&.noTransition,&.showAlways{transition:none}}&:hover .gutterItem{opacity:1;transition:opacity .1s ease-in-out}.buttons{align-items:center;display:flex;justify-content:center;position:absolute;width:100%;border-radius:4px;width:fit-content}}}}}}}}.monaco-diff-editor .diff-hidden-lines-compact{display:flex;border-color:var(--vscode-editorCodeLens-foreground);height:1px;margin:auto;opacity:.5;width:100%}.line-left{width:20px}.text{color:var(--vscode-editorCodeLens-foreground);margin:0 4px;text-wrap:nowrap}.file-path,.quick-input-list,}.status{line-height:22px}}.monaco-component.diff-review{user-select:none;-webkit-user-select:none;z-index:99}.monaco-component.diff-review .diff-review-line-number{color:var(--vscode-editorLineNumber-foreground);display:inline-block;text-align:right}.monaco-component.diff-review .diff-review-summary{padding-left:10px}.monaco-component.diff-review .diff-review-shadow{box-shadow:var(--vscode-scrollbar-shadow) 0 -6px 6px -6px inset;position:absolute}.monaco-component.diff-review .diff-review-table{display:table;min-width:100%}.monaco-component.diff-review .diff-review-row{white-space:pre;display:table-row;width:100%}.monaco-component.diff-review .diff-review-spacer{display:inline-block;vertical-align:middle;width:10px}.monaco-component.diff-review .diff-review-spacer>.codicon{font-size:9px!important}.monaco-component.diff-review .diff-review-actions{display:inline-block;position:absolute;right:10px;top:2px;z-index:100}.monaco-component.diff-review .diff-review-actions .action-label{height:16px;margin:2px 0;width:16px}.monaco-editor.hc-light .dnd-target,.monaco-editor.vs .dnd-target{border-right:2px dotted #000;color:#fff}.monaco-editor.vs-dark .dnd-target{border-right:2px dotted #aeafad;color:#51504f}.monaco-editor.hc-black .dnd-target{border-right:2px dotted #fff;color:#000}.monaco-editor.hc-black.mac.mouse-copy .view-lines,.monaco-editor.hc-light.mac.mouse-copy .view-lines,.monaco-editor.mouse-copy .view-lines,.monaco-editor.vs-dark.mac.mouse-copy .view-lines{cursor:copy}.monaco-editor .findOptionsWidget{border:2px solid var(--vscode-contrastBorder)}.monaco-editor .find-widget,.monaco-editor .findOptionsWidget{background-color:var(--vscode-editorWidget-background);box-shadow:0 0 8px 2px var(--vscode-widget-shadow);color:var(--vscode-editorWidget-foreground)}.monaco-editor .find-widget{border-bottom:1px solid var(--vscode-widget-border);border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-left:1px solid var(--vscode-widget-border);border-right:1px solid var(--vscode-widget-border);box-sizing:border-box;height:33px;line-height:19px;overflow:hidden;padding:0 4px;position:absolute;transform:translateY(calc(-100% - 10px));transition:transform .2s linear;z-index:35}.monaco-workbench.reduce-motion .monaco-editor .find-widget{transition:transform 0ms linear}.monaco-editor .find-widget.visible{transform:translateY(0)}.monaco-editor .find-widget .monaco-inputbox.synthetic-focus{outline:-webkit-focus-ring-color solid 1px;outline-color:var(--vscode-focusBorder);outline-offset:-1px}.monaco-editor .find-widget .monaco-inputbox .input{background-color:initial;min-height:0}.monaco-editor .find-widget .monaco-findInput .input{font-size:13px}.monaco-editor .find-widget>.find-part,.monaco-editor .find-widget>.replace-part{display:flex;font-size:12px;margin:3px 25px 0 17px}.monaco-editor .find-widget>.find-part .monaco-inputbox,.monaco-editor .find-widget>.replace-part .monaco-inputbox{min-height:25px}.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-right:22px}.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.mirror,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-bottom:2px;padding-top:2px}.monaco-editor .find-widget>.find-part .find-actions,.monaco-editor .find-widget>.replace-part .replace-actions{align-items:center;display:flex;height:25px}.monaco-editor .find-widget .monaco-findInput{display:flex;flex:1;vertical-align:middle}.monaco-editor .find-widget .matchesCount{box-sizing:border-box;display:flex;flex:initial;height:25px;line-height:23px;margin:0 0 0 3px;padding:2px 0 0 2px;text-align:center;vertical-align:middle}.monaco-editor .find-widget .button{align-items:center;background-position:50%;background-repeat:no-repeat;border-radius:5px;cursor:pointer;display:flex;flex:initial;height:16px;justify-content:center;margin-left:3px;padding:3px;width:16px}.monaco-editor .find-widget .codicon-find-selection{border-radius:5px;height:22px;padding:3px;width:22px}.monaco-editor .find-widget .button.left{margin-left:0;margin-right:3px}.monaco-editor .find-widget .button.wide{padding:1px 6px;top:-1px;width:auto}.monaco-editor .find-widget .button.toggle{border-radius:0;box-sizing:border-box;height:100%;left:3px;position:absolute;top:0;width:18px}.monaco-editor .find-widget .disabled{color:var(--vscode-disabledForeground);cursor:default}.monaco-editor .find-widget>.replace-part>.monaco-findInput{display:flex;flex:auto;flex-grow:0;flex-shrink:0;position:relative;vertical-align:middle}.monaco-editor .find-widget.narrow-find-widget{max-width:257px!important}.monaco-editor .find-widget.collapsed-find-widget{max-width:170px!important}.monaco-editor .find-widget.no-results .matchesCount{color:var(--vscode-errorForeground)}.monaco-editor .findMatch{animation-duration:0;animation-name:inherit!important;background-color:var(--vscode-editor-findMatchHighlightBackground)}.monaco-editor .currentFindMatch{background-color:var(--vscode-editor-findMatchBackground);border:2px solid var(--vscode-editor-findMatchBorder);box-sizing:border-box;padding:1px}.monaco-editor .findScope,.monaco-editor.findScope{background-color:var(--vscode-editor-findRangeHighlightBackground)}.monaco-editor .find-widget .monaco-sash{background-color:var(--vscode-editorWidget-resizeBorder,var(--vscode-editorWidget-border));left:0!important}.monaco-editor.hc-black .find-widget .button:before{left:2px;position:relative;top:1px}.monaco-editor .find-widget .button:not(.disabled):hover,.monaco-editor .find-widget .codicon-find-selection:hover{background-color:var(--vscode-toolbar-hoverBackground)!important}.monaco-editor.findMatch{background-color:var(--vscode-editor-findMatchHighlightBackground)}.monaco-editor.currentFindMatch{background-color:var(--vscode-editor-findMatchBackground)}.monaco-editor.findMatch{background-color:var(--vscode-editorWidget-background)}.monaco-editor .find-widget>.button.codicon-widget-close{position:absolute;right:4px;top:5px}.monaco-editor .margin-view-overlays .codicon-folding-collapsed,.monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,.monaco-editor .margin-view-overlays .codicon-folding-manual-expanded{align-items:center;cursor:pointer;display:flex;font-size:140%;justify-content:center;margin-left:2px;opacity:0;transition:opacity .5s}.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-collapsed,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-expanded{transition:initial}.monaco-editor .inline-folded:after{color:var(--vscode-editor-foldPlaceholderForeground);content:"\22EF";cursor:pointer;display:inline;line-height:1em;margin:.1em .2em 0}.monaco-editor .folded-background{background-color:var(--vscode-editor-foldBackground)}.monaco-editor .cldr.codicon.codicon-folding-collapsed,.monaco-editor .cldr.codicon.codicon-folding-expanded,.monaco-editor .cldr.codicon.codicon-folding-manual-collapsed,.monaco-editor .cldr.codicon.codicon-folding-manual-expanded{color:var(--vscode-editorGutter-foldingControlForeground)!important}.monaco-editor .peekview-widget .head .peekview-title .severity-icon{display:inline-block;margin-right:4px;vertical-align:text-top}.monaco-editor .marker-widget{text-overflow:ellipsis;white-space:nowrap}.monaco-editor .marker-widget>.stale{font-style:italic;opacity:.6}.monaco-editor .marker-widget .title{display:inline-block;padding-right:5px}.monaco-editor .marker-widget .descriptioncontainer{padding:8px 12px 0 20px;position:absolute;user-select:text;-webkit-user-select:text;white-space:pre}.monaco-editor .marker-widget .descriptioncontainer .message{display:flex;flex-direction:column}.monaco-editor .marker-widget .descriptioncontainer .message .details{padding-left:6px}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link{color:inherit;opacity:.6}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link>span{border-bottom:1px solid #0000;color:var(--vscode-textLink-activeForeground);text-decoration:underline;text-underline-position:under}.monaco-editor .marker-widget .descriptioncontainer .filename,.monaco-editor .parameter-hints-widget .docs a:hover{color:var(--vscode-textLink-activeForeground);cursor:pointer}.extension-editor .codicon.codicon-error,.extensions-viewlet>.extensions .codicon.codicon-error,.markers-panel .marker-icon .codicon.codicon-error,.markers-panel .marker-icon.error,.monaco-editor .zone-widget .codicon.codicon-error,.preferences-editor .codicon.codicon-error,.text-search-provider-messages .providerMessage .codicon.codicon-error{color:var(--vscode-problemsErrorIcon-foreground)}.extension-editor .codicon.codicon-warning,.extensions-viewlet>.extensions .codicon.codicon-warning,.markers-panel .marker-icon .codicon.codicon-warning,.markers-panel .marker-icon.warning,.monaco-editor .zone-widget .codicon.codicon-warning,.preferences-editor .codicon.codicon-warning,.text-search-provider-messages .providerMessage .codicon.codicon-warning{color:var(--vscode-problemsWarningIcon-foreground)}.extension-editor .codicon.codicon-info,.extensions-viewlet>.extensions .codicon.codicon-info,.markers-panel .marker-icon .codicon.codicon-info,.markers-panel .marker-icon.info,.monaco-editor .zone-widget .codicon.codicon-info,.preferences-editor .codicon.codicon-info,.text-search-provider-messages .providerMessage .codicon.codicon-info{color:var(--vscode-problemsInfoIcon-foreground)}.monaco-editor .goto-definition-link{color:var(--vscode-editorLink-activeForeground)!important;cursor:pointer;text-decoration:underline}.monaco-editor .iPadShowKeyboard{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MyIgaGVpZ2h0PSIzNiIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjNDI0MjQyIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00OC4wMzYgNC4wMUg0LjAwOFYzMi4wM2g0NC4wMjh6TTQuMDA4LjAwOEE0LjAwMyA0LjAwMyAwIDAgMCAuMDA1IDQuMDFWMzIuMDNhNC4wMDMgNC4wMDMgMCAwIDAgNC4wMDMgNC4wMDJoNDQuMDI4YTQuMDAzIDQuMDAzIDAgMCAwIDQuMDAzLTQuMDAyVjQuMDFBNC4wMDMgNC4wMDMgMCAwIDAgNDguMDM2LjAwOHpNOC4wMSA4LjAxM2g0LjAwM3Y0LjAwM0g4LjAxem0xMi4wMDggMGgtNC4wMDJ2NC4wMDNoNC4wMDJ6bTQuMDAzIDBoNC4wMDJ2NC4wMDNoLTQuMDAyem0xMi4wMDggMGgtNC4wMDN2NC4wMDNoNC4wMDN6bTQuMDAyIDBoNC4wMDN2NC4wMDNINDAuMDN6bS0yNC4wMTUgOC4wMDVIOC4wMXY0LjAwM2g4LjAwNnptNC4wMDIgMGg0LjAwM3Y0LjAwM2gtNC4wMDN6bTEyLjAwOCAwaC00LjAwM3Y0LjAwM2g0LjAwM3ptMTIuMDA4IDB2NC4wMDNoLTguMDA1di00LjAwM3ptLTMyLjAyMSA4LjAwNUg4LjAxdjQuMDAzaDQuMDAzem00LjAwMyAwaDIwLjAxM3Y0LjAwM0gxNi4wMTZ6bTI4LjAxOCAwSDQwLjAzdjQuMDAzaDQuMDAzeiIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGg1M3YzNkgweiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPg==") 50% no-repeat;border:4px solid #f6f6f6;border-radius:4px;height:36px;margin:0;min-height:0;min-width:0;overflow:hidden;padding:0;position:absolute;resize:none;width:58px}.monaco-editor.vs-dark .iPadShowKeyboard{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MyIgaGVpZ2h0PSIzNiIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjQzVDNUM1IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00OC4wMzYgNC4wMUg0LjAwOFYzMi4wM2g0NC4wMjh6TTQuMDA4LjAwOEE0LjAwMyA0LjAwMyAwIDAgMCAuMDA1IDQuMDFWMzIuMDNhNC4wMDMgNC4wMDMgMCAwIDAgNC4wMDMgNC4wMDJoNDQuMDI4YTQuMDAzIDQuMDAzIDAgMCAwIDQuMDAzLTQuMDAyVjQuMDFBNC4wMDMgNC4wMDMgMCAwIDAgNDguMDM2LjAwOHpNOC4wMSA4LjAxM2g0LjAwM3Y0LjAwM0g4LjAxem0xMi4wMDggMGgtNC4wMDJ2NC4wMDNoNC4wMDJ6bTQuMDAzIDBoNC4wMDJ2NC4wMDNoLTQuMDAyem0xMi4wMDggMGgtNC4wMDN2NC4wMDNoNC4wMDN6bTQuMDAyIDBoNC4wMDN2NC4wMDNINDAuMDN6bS0yNC4wMTUgOC4wMDVIOC4wMXY0LjAwM2g4LjAwNnptNC4wMDIgMGg0LjAwM3Y0LjAwM2gtNC4wMDN6bTEyLjAwOCAwaC00LjAwM3Y0LjAwM2g0LjAwM3ptMTIuMDA4IDB2NC4wMDNoLTguMDA1di00LjAwM3ptLTMyLjAyMSA4LjAwNUg4LjAxdjQuMDAzaDQuMDAzem00LjAwMyAwaDIwLjAxM3Y0LjAwM0gxNi4wMTZ6bTI4LjAxOCAwSDQwLjAzdjQuMDAzaDQuMDAzeiIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGg1M3YzNkgweiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPg==") 50% no-repeat;border:4px solid #252526}.monaco-editor.vs .valueSetReplacement{outline:solid 2px var(--vscode-editorBracketMatch-border)}.monaco-editor .suggest-preview-additional-widget .content-spacer{color:#0000;white-space:pre}.monaco-editor .suggest-preview-additional-widget .button{cursor:pointer;display:inline-block;text-decoration:underline;text-underline-position:under}.monaco-editor .ghost-text-hidden,.monaco-editor .inline-edit-hidden{font-size:0;opacity:0}.monaco-editor .ghost-text-decoration,.monaco-editor .ghost-text-decoration-preview,.monaco-editor .inline-edit-decoration,.monaco-editor .inline-edit-decoration-preview,.monaco-editor .suggest-preview-text .ghost-text,.monaco-editor .suggest-preview-text .inline-edit{background-color:var(--vscode-editorGhostText-background);border:1px solid var(--vscode-editorGhostText-border);color:var(--vscode-editorGhostText-foreground)!important}.monaco-editor .suggest-details,.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.focused)>.contents>.main .monaco-icon-label{color:var(--vscode-editorSuggestWidget-foreground)}.monaco-editor .snippet-placeholder{background-color:var(--vscode-editor-snippetTabstopHighlightBackground,#0000);min-width:2px;outline-color:var(--vscode-editor-snippetTabstopHighlightBorder,#0000);outline-style:solid;outline-width:1px}.monaco-editor .finish-snippet-placeholder{background-color:var(--vscode-editor-snippetFinalTabstopHighlightBackground,#0000);outline-color:var(--vscode-editor-snippetFinalTabstopHighlightBorder,#0000);outline-style:solid;outline-width:1px}.monaco-editor .suggest-widget{border-radius:3px;display:flex;flex-direction:column;z-index:40}.monaco-editor .suggest-widget.message{align-items:center;flex-direction:row}.monaco-editor .suggest-details,.monaco-editor .suggest-widget{background-color:var(--vscode-editorSuggestWidget-background);border-color:var(--vscode-editorSuggestWidget-border);border-style:solid;border-width:1px;flex:0 1 auto;width:100%}.monaco-editor .suggest-widget .suggest-status-bar{border-top:1px solid var(--vscode-editorSuggestWidget-border);box-sizing:border-box;display:none;flex-flow:row nowrap;font-size:80%;justify-content:space-between;overflow:hidden;padding:0 4px;width:100%}.monaco-editor .suggest-widget .suggest-status-bar .left{padding-right:8px}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label{color:var(--vscode-editorSuggestWidgetStatus-foreground)}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label:after{content:", ";margin-right:.3em}.monaco-editor .suggest-widget>.message{padding-left:22px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row{background-position:2px 2px;background-repeat:no-repeat;-mox-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:flex;padding-right:10px;touch-action:none;white-space:nowrap}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused{color:var(--vscode-editorSuggestWidget-selectedForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused .codicon{color:var(--vscode-editorSuggestWidget-selectedIconForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents{flex:1;height:100%;overflow:hidden;padding-left:2px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main{display:flex;justify-content:space-between;overflow:hidden;text-overflow:ellipsis;white-space:pre}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main .monaco-highlighted-label .highlight{color:var(--vscode-editorSuggestWidget-highlightForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused>.contents>.main .monaco-highlighted-label .highlight{color:var(--vscode-editorSuggestWidget-focusHighlightForeground)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:before{color:inherit;cursor:pointer;font-size:14px;opacity:1}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close{position:absolute;right:2px;top:6px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.signature-label{opacity:.6;overflow:hidden;text-overflow:ellipsis}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.qualifier-label{align-self:center;font-size:85%;line-height:normal;margin-left:12px;opacity:.4;overflow:hidden;text-overflow:ellipsis}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{font-size:85%;margin-left:1.1em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.right>.details-label,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label>.monaco-tokenized-source,.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label)>.contents>.main>.right>.details-label,.monaco-editor .suggest-widget:not(.shows-details) .monaco-list .monaco-list-row.focused>.contents>.main>.right>.details-label,.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox,.tags_jXut{display:inline}.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right.can-expand-details>.details-label{width:calc(100% - 26px)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left{flex-grow:1;flex-shrink:1;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.monaco-icon-label{flex-shrink:0}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.left>.monaco-icon-label{flex-shrink:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{flex-shrink:4;max-width:70%;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:inline-block;height:18px;position:absolute;right:10px;visibility:hidden;width:18px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right>.readMore{visibility:visible}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated{opacity:.66;text-decoration:unset}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon{background-position:50%;background-repeat:no-repeat;background-size:80%;display:block;height:16px;margin-left:2px;width:16px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon{align-items:center;display:flex;margin-right:4px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan{border:.1em solid #000;display:inline-block;height:.7em;margin:0 0 0 .3em;width:.7em}.monaco-editor .suggest-details-container{z-index:41}.monaco-editor .suggest-details{cursor:default;display:flex;flex-direction:column}.monaco-editor .suggest-details.focused{border-color:var(--vscode-focusBorder)}.monaco-editor .suggest-details code{border-radius:3px;padding:0 .4em}.monaco-editor .suggest-details>.monaco-scrollable-element>.body{box-sizing:border-box;height:100%;width:100%}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type{flex:2;margin:0 24px 0 0;opacity:.7;overflow:hidden;padding:4px 0 12px 5px;text-overflow:ellipsis;white-space:pre}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type.auto-wrap{white-space:normal;word-break:break-all}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs{margin:0;padding:4px 5px;white-space:pre-wrap}.monaco-editor .suggest-details.no-type>.monaco-scrollable-element>.body>.docs{margin-right:24px;overflow:hidden}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs{min-height:calc(1rem + 8px);padding:0;white-space:normal}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div,.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>span:not(:empty){padding:4px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .monaco-tokenized-source{white-space:pre}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs .code{white-space:pre-wrap;word-wrap:break-word}.monaco-editor .suggest-details p code,.monaco-editor .tokens-inspect-widget .tm-token,.monaco-editor .tokens-inspect-widget .tm-token-type{font-family:var(--monaco-monospace-font)}.monaco-editor .inline-edit-remove{background-color:var(--vscode-editorGhostText-background);font-style:italic}.monaco-editor .inlineEditSideBySide,}}.monaco-editor .tokens-inspect-widget{background-color:var(--vscode-editorHoverWidget-background);color:var(--vscode-editorHoverWidget-foreground)}.monaco-editor .detected-link,.monaco-editor .detected-link-active,.monaco-editor .inline-completion-text-to-replace{text-decoration:underline;text-underline-position:under}.monaco-editor .inlineEditSideBySide{border:1px solid var(--vscode-editorHoverWidget-border);white-space:pre;z-index:39}.monaco-editor div.inline-edits-widget{--widget-color:var(--vscode-notifications-background)}.promptEditor,.toolbar{opacity:0;transition:opacity .2s ease-in-out}}.preview .monaco-editor{--vscode-editor-background:var(--widget-color)}.current-line-margin,.view-overlays .current-line-exact{border:none}.gradient-stop{stop-color:var(--widget-color)}}}.monaco-editor .tokens-inspect-widget{border:1px solid var(--vscode-editorHoverWidget-border);padding:10px;user-select:text;-webkit-user-select:text;z-index:50}.monaco-editor .tokens-inspect-widget .tokens-inspect-separator{background-color:var(--vscode-editorHoverWidget-border);border:0;height:1px}.monaco-editor .tokens-inspect-widget .tm-token-length{float:right;font-size:60%;font-weight:400}.quick-input-list .quick-input-list-separator-as-item .label-name,}.status{font-weight:600}.monaco-editor .tokens-inspect-widget .tm-metadata-value{font-family:var(--monaco-monospace-font);text-align:right}.monaco-editor .linked-editing-decoration{background-color:var(--vscode-editor-linkedEditingBackground);min-width:1px}.monaco-editor .focused .selectionHighlight{background-color:var(--vscode-editor-selectionHighlightBackground);border:1px solid var(--vscode-editor-selectionHighlightBorder);box-sizing:border-box}.monaco-editor .wordHighlight{background-color:var(--vscode-editor-wordHighlightBackground);border:1px solid var(--vscode-editor-wordHighlightBorder);box-sizing:border-box}.monaco-editor .wordHighlightStrong{background-color:var(--vscode-editor-wordHighlightStrongBackground);border:1px solid var(--vscode-editor-wordHighlightStrongBorder);box-sizing:border-box}.monaco-editor .wordHighlightText{background-color:var(--vscode-editor-wordHighlightTextBackground);border:1px solid var(--vscode-editor-wordHighlightTextBorder);box-sizing:border-box}.monaco-editor .parameter-hints-widget{background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);color:var(--vscode-editorHoverWidget-foreground);cursor:default;display:flex;flex-direction:column;line-height:1.5em;z-index:39}.monaco-editor .parameter-hints-widget>.phwrapper{display:flex;flex-direction:row;max-width:440px}.monaco-editor .parameter-hints-widget.multiple{min-height:3.3em;padding:0}.monaco-editor .parameter-hints-widget.multiple .body:before{border-left:1px solid var(--vscode-editorHoverWidget-border);content:"";display:block;height:100%;opacity:.5;position:absolute}.monaco-editor .parameter-hints-widget .body,.monaco-editor .parameter-hints-widget .monaco-scrollable-element{display:flex;flex:1;flex-direction:column;min-height:100%}.monaco-editor .parameter-hints-widget .signature{padding:4px 5px;position:relative}.monaco-editor .parameter-hints-widget .signature.has-docs:after{border-bottom:1px solid var(--vscode-editorHoverWidget-border);content:"";display:block;left:0;opacity:.5;padding-top:4px;position:absolute;width:100%}.monaco-editor .parameter-hints-widget .code{font-family:var(--vscode-parameterHintsWidget-editorFontFamily),var(--vscode-parameterHintsWidget-editorFontFamilyDefault)}.monaco-editor .parameter-hints-widget .docs{padding:0 10px 0 5px;white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs .markdown-docs{white-space:normal}.monaco-editor .parameter-hints-widget .docs code{border-radius:3px;font-family:var(--monaco-monospace-font);padding:0 .4em}.monaco-editor .parameter-hints-widget .docs .code,.monaco-editor .parameter-hints-widget .docs .monaco-tokenized-source{white-space:pre-wrap}.monaco-editor .parameter-hints-widget .controls{align-items:center;display:none;flex-direction:column;justify-content:flex-end;min-width:22px}.monaco-editor .parameter-hints-widget.multiple .controls{display:flex;padding:0 2px}.monaco-editor .parameter-hints-widget.multiple .button{background-repeat:no-repeat;cursor:pointer;height:16px;width:16px}.monaco-editor .parameter-hints-widget .button.previous{bottom:24px}.monaco-editor .parameter-hints-widget .overloads{font-family:var(--monaco-monospace-font);height:12px;line-height:12px;text-align:center}.monaco-editor .parameter-hints-widget .signature .parameter.active{color:var(--vscode-editorHoverWidget-highlightForeground);font-weight:700}.monaco-editor .parameter-hints-widget .documentation-parameter>.parameter{font-weight:700;margin-right:.5em}.monaco-editor{--vscode-editor-placeholder-foreground:var(--vscode-editorGhostText-foreground);overflow:hidden;pointer-events:none;position:absolute;text-overflow:ellipsis;text-wrap:nowrap;top:0;font-family:-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,system-ui,Ubuntu,Droid Sans,sans-serif;--monaco-monospace-font:"SF Mono",Monaco,Menlo,Consolas,"Ubuntu Mono","Liberation Mono","DejaVu Sans Mono","Courier New",monospace}}.monaco-editor .rename-box{border-radius:4px;color:inherit;z-index:100}.monaco-editor .rename-box.preview{padding:4px 4px 0}.monaco-editor .rename-box .rename-input-with-button{border-radius:2px;padding:3px;width:calc(100% - 8px)}.monaco-editor .rename-box .rename-input{padding:0;width:calc(100% - 8px)}.monaco-editor .rename-box .rename-suggestions-button{align-items:center;background-color:initial;border:none;border-radius:5px;cursor:pointer;display:flex;padding:3px}.monaco-editor .rename-box .rename-candidate-list-container .monaco-list-row{border-radius:2px}.monaco-editor .rename-box .rename-label{display:none;opacity:.8}.monaco-editor .rename-box.preview .rename-label,.monaco-progress-container.active .progress-bit{display:inherit}.monaco-editor .sticky-widget-line-numbers{background-color:inherit;float:left}.monaco-editor .sticky-widget-lines-scrollable{background-color:inherit;display:inline-block;overflow:hidden;position:absolute;width:var(--vscode-editorStickyScroll-scrollableWidth)}.monaco-editor .sticky-widget-lines{background-color:inherit;position:absolute}.monaco-editor .sticky-line-content,.monaco-editor .sticky-line-number{background-color:inherit;color:var(--vscode-editorLineNumber-foreground);display:inline-block;position:absolute;white-space:nowrap}.monaco-editor .sticky-line-number .codicon-folding-collapsed,.monaco-editor .sticky-line-number .codicon-folding-expanded{float:right;transition:var(--vscode-editorStickyScroll-foldingOpacityTransition)}.monaco-editor .sticky-line-content{background-color:inherit;white-space:nowrap;width:var(--vscode-editorStickyScroll-scrollableWidth)}.monaco-editor .sticky-line-number-inner{display:inline-block;text-align:right}.monaco-editor .sticky-widget{overflow:hidden;border-bottom:1px solid var(--vscode-editorStickyScroll-border);background-color:var(--vscode-editorStickyScroll-background);box-shadow:var(--vscode-editorStickyScroll-shadow) 0 4px 2px -2px;right:auto!important;width:100%;z-index:4}.monaco-editor .sticky-line-content:hover{background-color:var(--vscode-editorStickyScrollHover-background);cursor:pointer}.monaco-editor .sticky-widget.peek{background-color:var(--vscode-peekViewEditorStickyScroll-background)}.monaco-editor .unicode-highlight{background-color:var(--vscode-editorUnicodeHighlight-background);border:1px solid var(--vscode-editorUnicodeHighlight-border);box-sizing:border-box}.editor-banner{background:var(--vscode-banner-background);box-sizing:border-box;cursor:default;display:flex;font-size:12px;height:26px;overflow:visible;width:100%;background-color:var(--vscode-banner-background)}.editor-banner .icon-container{align-items:center;display:flex;flex-shrink:0;padding:0 6px 0 10px}.editor-banner .icon-container.custom-icon{background-position:50%;background-repeat:no-repeat;background-size:16px;margin:0 6px 0 10px;padding:0;width:16px}.editor-banner .message-container{align-items:center;display:flex;line-height:26px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-banner .message-container p{margin-block-end:0;margin-block-start:0}.editor-banner .message-actions-container{flex-grow:1;flex-shrink:0;line-height:26px;margin:0 4px}.editor-banner .message-actions-container a.monaco-button{margin:2px 8px;padding:0 12px;width:inherit}.editor-banner .message-actions-container a{margin-left:12px;padding:3px;text-decoration:underline}.editor-banner .action-container{padding:0 10px 0 6px}.editor-banner,.editor-banner .action-container .codicon,.editor-banner .message-actions-container .monaco-link{color:var(--vscode-banner-foreground)}.editor-banner .icon-container .codicon{color:var(--vscode-banner-iconForeground)}.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.hc-light .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-aria-container{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;top:0;width:1px;clip:rect(1px,1px,1px,1px);clip-path:inset(50%)}.monaco-diff-editor .synthetic-focus,.monaco-diff-editor [tabindex="-1"]:focus,.monaco-diff-editor [tabindex="0"]:focus,.monaco-diff-editor button:focus,.monaco-diff-editor input[type=button]:focus,.monaco-diff-editor input[type=checkbox]:focus,.monaco-diff-editor input[type=search]:focus,.monaco-diff-editor input[type=text]:focus,.monaco-diff-editor select:focus,.monaco-diff-editor textarea:focus,.monaco-editor{opacity:1;outline-color:var(--vscode-focusBorder);outline-offset:-1px;outline-style:solid;outline-width:1px}.quick-input-list .quick-input-list-separator-as-item .label-description,.theme-code-block:hover .copyButtonCopied_obH4{opacity:1!important}.monaco-workbench .workbench-hover{background:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);border-radius:3px;box-shadow:0 2px 8px var(--vscode-widget-shadow);color:var(--vscode-editorHoverWidget-foreground);font-size:13px;line-height:19px;max-width:700px;overflow:hidden;position:relative;z-index:40}.monaco-workbench .workbench-hover.compact .hover-contents{padding:2px 8px}.monaco-workbench .workbench-hover-container.locked .workbench-hover{outline:1px solid var(--vscode-editorHoverWidget-border)}.monaco-workbench .workbench-hover-container.locked .workbench-hover:focus,.monaco-workbench .workbench-hover-lock:focus{outline:1px solid var(--vscode-focusBorder)}.monaco-workbench .workbench-hover-container.locked .workbench-hover-lock:hover{background:var(--vscode-toolbar-hoverBackground)}.monaco-workbench .workbench-hover-pointer{pointer-events:none;position:absolute;z-index:41}.monaco-workbench .workbench-hover-pointer:after{background-color:var(--vscode-editorHoverWidget-background);border-bottom:1px solid var(--vscode-editorHoverWidget-border);border-right:1px solid var(--vscode-editorHoverWidget-border);content:"";height:5px;position:absolute;width:5px}.monaco-workbench .locked .workbench-hover-pointer:after{border-bottom-width:2px;border-right-width:2px;height:4px;width:4px}.monaco-workbench .workbench-hover-pointer.left{left:-3px}.monaco-workbench .workbench-hover-pointer.right{right:3px}.monaco-workbench .workbench-hover-pointer.top{top:-3px}.monaco-workbench .workbench-hover-pointer.bottom{bottom:3px}.monaco-workbench .workbench-hover-pointer.left:after{transform:rotate(135deg)}.monaco-workbench .workbench-hover-pointer.right:after{transform:rotate(315deg)}.monaco-workbench .workbench-hover-pointer.top:after{transform:rotate(225deg)}.monaco-workbench .workbench-hover-pointer.bottom:after{transform:rotate(45deg)}.monaco-workbench .workbench-hover a:focus{outline:solid 1px;outline-color:var(--vscode-focusBorder);outline-offset:-1px;text-decoration:underline}.monaco-workbench .workbench-hover code{background:var(--vscode-textCodeBlock-background)}.monaco-workbench .workbench-hover .hover-row .actions{background:var(--vscode-editorHoverWidget-statusBarBackground)}.monaco-workbench .workbench-hover.right-aligned{left:1px}.monaco-workbench .workbench-hover.right-aligned .hover-row.status-bar .actions{flex-direction:row-reverse}.monaco-workbench .workbench-hover.right-aligned .hover-row.status-bar .actions .action-container{margin-left:16px;margin-right:0}.context-view.fixed{all:initial;color:inherit;font-family:inherit;font-size:13px;position:fixed}.quick-input-widget .monaco-highlighted-label .highlight{color:#0066bf}.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight{color:#9dddff}.vs-dark .quick-input-widget .monaco-highlighted-label .highlight{color:#0097fb}.hc-black .quick-input-widget .monaco-highlighted-label .highlight{color:#f38518}.hc-light .quick-input-widget .monaco-highlighted-label .highlight{color:#0f4a85}.monaco-keybinding>.monaco-keybinding-key{background-color:#ddd6;border:1px solid;border-color:#ccc6 #ccc6 #bbb6;box-shadow:inset 0 -1px 0 #bbb6;color:#555}.hc-black .monaco-keybinding>.monaco-keybinding-key{background-color:initial;border:1px solid #6fc3df;box-shadow:none;color:#fff}.hc-light .monaco-keybinding>.monaco-keybinding-key{background-color:initial;border:1px solid #0f4a85;box-shadow:none;color:#292929}.vs-dark .monaco-keybinding>.monaco-keybinding-key{background-color:#8080802b;border:1px solid;border-color:#3339 #3339 #4449;box-shadow:inset 0 -1px 0 #4449;color:#ccc}.quick-input-widget{font-size:13px;left:50%;margin-left:-300px;position:absolute;width:600px;z-index:2550;-webkit-app-region:no-drag;border-radius:6px}.quick-input-titlebar{align-items:center;border-top-left-radius:5px;border-top-right-radius:5px;display:flex}.quick-input-left-action-bar{display:flex;flex:1;margin-left:4px}.quick-input-inline-action-bar{margin:2px 0 0 5px}.quick-input-title{overflow:hidden;padding:3px 0;text-align:center;text-overflow:ellipsis}.quick-input-right-action-bar{display:flex;flex:1;margin-right:4px}.quick-input-right-action-bar>.actions-container{justify-content:flex-end}.quick-input-titlebar .monaco-action-bar .action-label.codicon{background-position:50%;background-repeat:no-repeat;padding:2px}.quick-input-description{margin:6px 6px 6px 11px}.quick-input-header .quick-input-description{flex:1;margin:4px 2px}.quick-input-header{display:flex;padding:8px 6px 2px}.quick-input-widget.hidden-input .quick-input-header{margin-bottom:0;padding:0}.quick-input-and-message{display:flex;flex-direction:column;flex-grow:1;min-width:0;position:relative}.quick-input-check-all,.quick-input-list .quick-input-list-checkbox{align-self:center;margin:0}.quick-input-filter{display:flex;flex-grow:1;position:relative}.quick-input-widget.show-checkboxes .quick-input-box,.quick-input-widget.show-checkboxes .quick-input-message{margin-left:5px}.quick-input-visible-count{left:-10000px;position:absolute}.quick-input-count{align-items:center;align-self:center;display:flex;position:absolute;right:4px}.quick-input-count .monaco-count-badge{border-radius:2px;line-height:normal;min-height:auto;padding:2px 4px;vertical-align:middle}.quick-input-action .monaco-text-button{align-items:center;display:flex;font-size:11px;height:25px;padding:0 6px}.quick-input-message{margin-top:-1px;overflow-wrap:break-word;padding:5px}.quick-input-message>.codicon{margin:0 .2em;vertical-align:text-bottom}.quick-input-widget.hidden-input .quick-input-list{margin-top:4px;padding-bottom:4px}.quick-input-list .monaco-list{max-height:440px;overflow:hidden;padding-bottom:5px}.quick-input-list .monaco-scrollable-element,.quick-input-list .monaco-tree-sticky-row{padding:0 5px}.quick-input-list .quick-input-list-entry{box-sizing:border-box;display:flex;overflow:hidden;padding:0 6px}.quick-input-list .quick-input-list-entry.quick-input-list-separator-border{border-top-style:solid;border-top-width:1px}.quick-input-list .monaco-list-row{border-radius:3px}.quick-input-list .monaco-list-row[data-index="0"] .quick-input-list-entry.quick-input-list-separator-border,.quick-input-list .monaco-tree-sticky-row .quick-input-list-entry.quick-input-list-separator-as-item.quick-input-list-separator-border{border-top-style:none}.quick-input-list .quick-input-list-label{display:flex;flex:1;height:100%;overflow:hidden}.quick-input-list .quick-input-list-icon{align-items:center;background-position:0;background-repeat:no-repeat;background-size:16px;display:flex;height:22px;justify-content:center;padding-right:6px;width:16px}.quick-input-list .quick-input-list-rows{display:flex;flex:1;flex-direction:column;height:100%;margin-left:5px;overflow:hidden;text-overflow:ellipsis}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows{margin-left:10px}.quick-input-list .quick-input-list-rows>.quick-input-list-row .codicon[class*=codicon-]{vertical-align:text-bottom}.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding{margin-right:8px}.quick-input-list .quick-input-list-label-meta{line-height:normal;opacity:.7;overflow:hidden;text-overflow:ellipsis}.quick-input-list .monaco-list .monaco-list-row .monaco-highlighted-label .highlight{background-color:unset;color:var(--vscode-list-highlightForeground)!important;font-weight:700}.quick-input-list .monaco-list .monaco-list-row.focused .monaco-highlighted-label .highlight{color:var(--vscode-list-focusHighlightForeground)!important}.quick-input-list .quick-input-list-entry-action-bar{display:flex;flex:0;overflow:visible;margin-right:4px;margin-top:1px}.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon{margin-right:4px;padding:2px}.quick-input-list .quick-input-list-separator-as-item{font-size:12px;padding:4px 6px}.monaco-progress-container{height:2px;overflow:hidden;width:100%}.monaco-progress-container .progress-bit{display:none;height:2px;left:0;position:absolute;width:2%}.monaco-progress-container.discrete .progress-bit{left:0;transition:width .1s linear}.monaco-progress-container.infinite .progress-bit{animation-duration:4s;animation-iteration-count:infinite;animation-name:l;animation-timing-function:linear;transform:translateZ(0)}.monaco-progress-container.infinite.infinite-long-running .progress-bit{animation-timing-function:steps(100)}@keyframes l{0%{transform:translateX(0) scaleX(1)}50%{transform:translateX(2500%) scaleX(3)}to{transform:translateX(4900%) scaleX(1)}}.monaco-component.multiDiffEditor{background:var(--vscode-multiDiffEditor-background);height:100%;overflow-y:hidden;left:0;position:absolute;top:0;width:100%;place-content:center;place-items:center;visibility:hidden}}}.active{--vscode-multiDiffEditor-border:var(--vscode-focusBorder)}.multiDiffEntry{display:flex;flex:1;flex-direction:column;overflow:hidden;margin:0 5px}}.header{background:var(--vscode-editor-background);z-index:1000;background:var(--vscode-multiDiffEditor-headerBackground);border-top:1px solid var(--vscode-multiDiffEditor-border);color:var(--vscode-foreground);display:flex;margin:8px 0 0;padding:4px 5px}.file-path{display:flex;flex:1;min-width:0;text-overflow:ellipsis}}.status{margin:0 10px;opacity:.75}}.actions{padding:0 8px}}}.editorParent{border-bottom:1px solid var(--vscode-multiDiffEditor-border);display:flex;flex:1;flex-direction:column;overflow:hidden}}}:root{--docusaurus-tag-list-border:var(--ifm-color-emphasis-300)}.tag_zVej{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag_zVej:hover{--docusaurus-tag-list-border:var(--ifm-link-color);text-decoration:none}.tagRegular_sFm0{border-radius:var(--ifm-global-radius);font-size:90%;padding:.2rem .5rem .3rem}.tagWithCount_h2kH{align-items:center;border-left:0;display:flex;padding:0 .5rem 0 1rem;position:relative}.tagWithCount_h2kH:after,.tagWithCount_h2kH:before{border:1px solid var(--docusaurus-tag-list-border);content:"";position:absolute;top:50%;transition:inherit}.tagWithCount_h2kH:before{border-bottom:0;border-right:0;height:1.18rem;right:100%;transform:translate(50%,-50%) rotate(-45deg);width:1.18rem}.tagWithCount_h2kH:after{border-radius:50%;height:.5rem;left:0;transform:translateY(-50%);width:.5rem}.tagWithCount_h2kH span{border-radius:var(--ifm-global-radius);font-size:.7rem;line-height:1.2;margin-left:.3rem;padding:.1rem .4rem}.buttonGroup__atx button,.codeBlockContainer_Ckt0{background:var(--prism-background-color);color:var(--prism-color)}.tag_Nnez{display:inline-block;margin:.5rem .5rem 0 1rem}.codeBlockContainer_Ckt0{border-radius:var(--ifm-code-border-radius);box-shadow:var(--ifm-global-shadow-lw);margin-bottom:var(--ifm-leading)}.codeBlockContent_biex{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_Ktv7{border-bottom:1px solid var(--ifm-color-emphasis-300);border-top-left-radius:inherit;border-top-right-radius:inherit;font-size:var(--ifm-code-font-size);font-weight:500;padding:.75rem var(--ifm-pre-padding)}.codeBlock_bY9V{--ifm-pre-background:var(--prism-background-color);margin:0;padding:0}.codeBlockTitle_Ktv7+.codeBlockContent_biex .codeBlock_bY9V{border-top-left-radius:0;border-top-right-radius:0}.codeBlockLines_e6Vv{float:left;font:inherit;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_o6Pm{display:table;padding:var(--ifm-pre-padding) 0}.buttonGroup__atx{column-gap:.2rem;display:flex;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2)}.buttonGroup__atx button{align-items:center;border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);display:flex;line-height:0;opacity:0;padding:.4rem;transition:opacity var(--ifm-transition-fast) ease-in-out}.buttonGroup__atx button:focus-visible,.buttonGroup__atx button:hover{opacity:1!important}.theme-code-block:hover .buttonGroup__atx button{opacity:.4}.tag_QGVx{display:inline-block;margin:0 .4rem .5rem 0}.iconEdit_Z9Sw{margin-right:.3em}.lastUpdated_JAkA{font-size:smaller;font-style:italic;margin-top:.2rem}:where(:root){--docusaurus-highlighted-code-line-bg:#484d5b}:where([data-theme=dark]){--docusaurus-highlighted-code-line-bg:#646464}.theme-code-block-highlighted-line{background-color:var(--docusaurus-highlighted-code-line-bg);display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}.codeLine_lJS_{counter-increment:a;display:table-row}.codeLineNumber_Tfdd{background:var(--ifm-pre-background);display:table-cell;left:0;overflow-wrap:normal;padding:0 var(--ifm-pre-padding);position:sticky;text-align:right;width:1%}.codeLineNumber_Tfdd:before{content:counter(a);opacity:.4}.codeLineContent_feaV{padding-right:var(--ifm-pre-padding)}.copyButtonIcons_eSgA{height:1.125rem;position:relative;width:1.125rem}.copyButtonIcon_y97N,.copyButtonSuccessIcon_LjdS{left:0;position:absolute;top:0;fill:currentColor;height:inherit;opacity:inherit;transition:all var(--ifm-transition-fast) ease;width:inherit}.copyButtonSuccessIcon_LjdS{color:#00d600;left:50%;opacity:0;top:50%;transform:translate(-50%,-50%) scale(.33)}.copyButtonCopied_obH4 .copyButtonIcon_y97N{opacity:0;transform:scale(.33)}.copyButtonCopied_obH4 .copyButtonSuccessIcon_LjdS{opacity:1;transform:translate(-50%,-50%) scale(1);transition-delay:75ms}.details_lb9f{--docusaurus-details-summary-arrow-size:0.38rem;--docusaurus-details-transition:transform 200ms ease;--docusaurus-details-decoration-color:grey}.details_lb9f>summary{cursor:pointer;list-style:none;padding-left:1rem;position:relative}.details_lb9f>summary::-webkit-details-marker{display:none}.details_lb9f>summary:before{border-color:#0000 #0000 #0000 var(--docusaurus-details-decoration-color);border-style:solid;border-width:var(--docusaurus-details-summary-arrow-size);content:"";left:0;position:absolute;top:.45rem;transform:rotate(0);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2) 50%;transition:var(--docusaurus-details-transition)}.collapsibleContent_i85q{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.wordWrapButtonIcon_Bwma{height:1.2rem;width:1.2rem}.details_b_Ee{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast) ease;border:1px solid var(--ifm-alert-border-color);margin:0 0 var(--ifm-spacing-vertical)}.tocCollapsibleButton_TO0P{align-items:center;display:flex;font-size:inherit;justify-content:space-between;padding:.4rem .8rem;width:100%}.tocCollapsibleButton_TO0P:after{background:var(--ifm-menu-link-sublist-icon) 50% 50%/2rem 2rem no-repeat;content:"";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast);width:1.25rem}.tocCollapsibleButtonExpanded_MG3E:after,.tocCollapsibleExpanded_sAul{transform:none}.containsTaskList_mC6p{list-style:none}:not(.containsTaskList_mC6p>li)>.containsTaskList_mC6p{padding-left:0}.breadcrumbHomeIcon_YNFT{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.tocCollapsible_ETCw{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.tocCollapsibleContent_vkbj>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);font-size:15px;padding:.2rem 0}.tocCollapsibleContent_vkbj ul li{margin:.4rem .8rem}.img_ev3q{height:auto}.breadcrumbsContainer_Z_bl{--ifm-breadcrumb-size-multiplier:0.8;margin-bottom:.8rem}.title_kItE{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-leading)*1.25)}.tableOfContents_bqdL{overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.admonition_xJq3{margin-bottom:1em}.admonitionHeading_Gvgb{font:var(--ifm-heading-font-weight) var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);text-transform:uppercase}.admonitionHeading_Gvgb:not(:last-child){margin-bottom:.3rem}.admonitionHeading_Gvgb code{text-transform:none}.admonitionIcon_Rf37{display:inline-block;margin-right:.4em;vertical-align:middle}.admonitionIcon_Rf37 svg{display:inline-block;height:1.6em;width:1.6em;fill:var(--ifm-alert-foreground-color)}@media screen and (min-width:576px){.tsd-index-list li{width:50%}}@media (min-width:997px){.collapseSidebarButton_PEFL,.expandButton_TmdG{background-color:var(--docusaurus-collapse-button-bg)}:root{--docusaurus-announcement-bar-height:30px}.announcementBarClose_gvF7,.announcementBarPlaceholder_vyr4{flex-basis:50px}.collapseSidebarButton_PEFL{border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px;position:sticky}.collapseSidebarButtonIcon_kv0_{margin-top:4px;transform:rotate(180deg)}.expandButtonIcon_i1dp,[dir=rtl] .collapseSidebarButtonIcon_kv0_{transform:rotate(0)}.collapseSidebarButton_PEFL:focus,.collapseSidebarButton_PEFL:hover,.expandButton_TmdG:focus,.expandButton_TmdG:hover{background-color:var(--docusaurus-collapse-button-bg-hover)}.menuHtmlItem_M9Kj{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu_SIkG{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu_SIkG{padding:.5rem 0 .5rem .5rem;scrollbar-gutter:stable}}.menuWithAnnouncementBar_GW3s{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_njMd{display:flex;flex-direction:column;height:100%;padding-top:var(--ifm-navbar-height);width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_wUlq{padding-top:0}.sidebarHidden_VK0M{opacity:0;visibility:hidden}.sidebarLogo_isFc{align-items:center;color:inherit!important;display:flex!important;margin:0 var(--ifm-navbar-padding-horizontal);max-height:var(--ifm-navbar-height);min-height:var(--ifm-navbar-height);text-decoration:none!important}.sidebarLogo_isFc img{height:2rem;margin-right:.5rem}.expandButton_TmdG{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;right:0;top:0;transition:background-color var(--ifm-transition-fast) ease;width:100%}[dir=rtl] .expandButtonIcon_i1dp{transform:rotate(180deg)}.docSidebarContainer_YfHR{border-right:1px solid var(--ifm-toc-border-color);clip-path:inset(0);display:block;margin-top:calc(var(--ifm-navbar-height)*-1);transition:width var(--ifm-transition-fast) ease;width:var(--doc-sidebar-width);will-change:width}.docSidebarContainerHidden_DPk8{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.sidebarViewport_aRkj{height:100%;max-height:100vh;position:sticky;top:0}.docMainContainer_TBSr{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_lQrH{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_JWYK{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}.navbarSearchContainer_Bca1{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.lastUpdated_JAkA{text-align:right}.tocMobile_ITEo{display:none}.docItemCol_VOVn,.generatedIndexPage_vN6x{max-width:75%!important}.list_eTzJ article:nth-last-child(-n+2){margin-bottom:0!important}}@media only screen and (min-width:997px){.apiItemCol{max-width:75%!important}.apiTocMobile{display:none}}@media screen and (min-width:997px){.tsd-index-list li{width:33%}}@media (min-width:1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (max-width:996px){.col{--ifm-col-width:100%;flex-basis:var(--ifm-col-width);margin-left:0}.footer{--ifm-footer-padding-horizontal:0}.colorModeToggle_DEke,.footer__link-separator,.navbar__item,.sidebar_re4s,.tableOfContents_bqdL{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{display:block;width:max-content}.hero{padding-left:0;padding-right:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__toggle{display:inherit}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}.navbarSearchContainer_Bca1{position:absolute;right:var(--ifm-navbar-padding-horizontal)}.docItemContainer_F8PC{padding:0 .3rem}}@media only screen and (max-width:996px){.searchQueryColumn_RTkw,.searchResultsColumn_JPFH{max-width:60%!important}.searchLogoColumn_rJIA,.searchVersionColumn_ypXd{max-width:40%!important}.searchLogoColumn_rJIA{padding-left:0!important}}@media screen and (max-width:966px){.heroBanner_UJJx{padding:2rem}}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder,.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%;max-height:calc(var(--docsearch-vh,1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh,1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh,1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Cancel{appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:0;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}}@media (max-width:576px){.markdown h1:first-child{--ifm-h1-font-size:2rem}.markdown>h2{--ifm-h2-font-size:1.5rem}.markdown>h3{--ifm-h3-font-size:1.25rem}.title_f1Hy{font-size:2rem}}@media screen and (max-width:576px){.searchQueryColumn_RTkw{max-width:100%!important}.searchVersionColumn_ypXd{max-width:100%!important;padding-left:var(--ifm-spacing-horizontal)!important}}@media (hover:hover){.backToTopButton_sjWU:hover{background-color:var(--ifm-color-emphasis-300)}}@media (pointer:fine){.thin-scrollbar{scrollbar-width:thin}.thin-scrollbar::-webkit-scrollbar{height:var(--ifm-scrollbar-size);width:var(--ifm-scrollbar-size)}.thin-scrollbar::-webkit-scrollbar-track{background:var(--ifm-scrollbar-track-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--ifm-scrollbar-thumb-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--ifm-scrollbar-thumb-hover-background-color)}}@media (prefers-reduced-motion:reduce){:root{--ifm-transition-fast:0ms;--ifm-transition-slow:0ms}}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{animation:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0;stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Hit--deleting,.DocSearch-Hit--favoriting{transition:none}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:none}}@media print{.announcementBar_mb4j,.footer,.menu,.navbar,.pagination-nav,.table-of-contents,.tocMobile_ITEo{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_e6Vv{white-space:pre-wrap}} \ No newline at end of file diff --git a/assets/js/01aca802.a5f4bd20.js b/assets/js/01aca802.a5f4bd20.js deleted file mode 100644 index 1bbb5de1..00000000 --- a/assets/js/01aca802.a5f4bd20.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2079],{90191:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>g,frontMatter:()=>c,metadata:()=>m,toc:()=>x});var n=s(74848),i=s(28453),o=s(85819);const a=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 r=s(11470),d=s(19365),l=s(18264);const c={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)(r.A,{children:[(0,n.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(l.A,{dosages:a,config:{}})}),(0,n.jsx)(d.A,{value:"json",label:"Dosage",children:(0,n.jsx)(o.default,{language:"json",children:JSON.stringify(a,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)}},18264:(e,t,s)=>{s.d(t,{A:()=>d});var n=s(96540),i=s(76300),o=s(52376),a=s(85819),r=s(74848);function d(e){let{dosages:t,config:s}=e;const[d,l]=(0,n.useState)(""),[c,u]=(0,n.useState)(s?.language||"en"),[m,p]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await i.U.build({...s});p(e)}()}),[s]),(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:(x=d,(0,o.decode)(x))})})]});var x}}}]); \ No newline at end of file diff --git a/assets/js/01aca802.c3510731.js b/assets/js/01aca802.c3510731.js new file mode 100644 index 00000000..77b2a06e --- /dev/null +++ b/assets/js/01aca802.c3510731.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2079],{6566:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>p,contentTitle:()=>m,default:()=>g,frontMatter:()=>u,metadata:()=>n,toc:()=>x});const n=JSON.parse('{"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":false,"unlisted":false,"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"}}');var i=s(74848),o=s(28453),a=s(85819);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 d=s(11470),l=s(19365),c=s(18264);const u={description:"Request - Levothyroxine - completed with reasonCode, dosageInstructions and dispenseRequest",title:"medrx0314"},m=void 0,p={},x=[];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/medicationrequest0314.html",children:"HL7"}),' - "Request - Levothyroxine - completed with reasonCode, dosageInstructions and dispenseRequest"']})}),"\n",(0,i.jsxs)(d.A,{children:[(0,i.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(c.A,{dosages:r,config:{}})}),(0,i.jsx)(l.A,{value:"json",label:"Dosage",children:(0,i.jsx)(a.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function g(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},18264:(e,t,s)=>{s.d(t,{A:()=>d});var n=s(96540),i=s(76300),o=s(52376),a=s(85819),r=s(74848);function d(e){let{dosages:t,config:s}=e;const[d,l]=(0,n.useState)(""),[c,u]=(0,n.useState)(s?.language||"en"),[m,p]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await i.U.build({...s});p(e)}()}),[s]),(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:(x=d,(0,o.decode)(x))})})]});var x}}}]); \ No newline at end of file diff --git a/assets/js/026611d2.247b3c5d.js b/assets/js/026611d2.247b3c5d.js new file mode 100644 index 00000000..529acdf8 --- /dev/null +++ b/assets/js/026611d2.247b3c5d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9301],{23239:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>h,default:()=>m,frontMatter:()=>u,metadata:()=>a,toc:()=>p});const a=JSON.parse('{"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":false,"unlisted":false,"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"}}');var o=n(74848),s=n(28453),i=n(85819),r=n(87622),c=n(11470),l=n(19365),d=n(816);const u={description:"Options for the i18next instances",title:"\ud83c\udf10 i18nConfig"},h=void 0,f={},p=[];function g(e){const t={code:"code",pre:"pre",...(0,s.R)(),...e.components};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:r})}),(0,o.jsx)(l.A,{value:"json",label:"Dosage",children:(0,o.jsx)(i.default,{language:"json",children:JSON.stringify(r,null,2)})}),(0,o.jsx)(l.A,{value:"config",label:"i18nConfig",children:(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.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 // http api load path for my own fallback\n // Check https://github.com/jy95/fhir-dosage-utils/tree/main/src/locales/en for more info\n loadPath: '/locales/{{lng}}/{{ns}}.json'\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:t}={...(0,s.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(g,{...e})}):g(e)}},816:(e,t,n)=>{n.d(t,{A:()=>c});var a=n(96540),o=n(76300),s=n(52376),i=n(85819),r=n(74848);function c(e){let{dosage:t,config:n}=e;const[c,l]=(0,a.useState)(""),[d,u]=(0,a.useState)(n?.language||"en"),[h,f]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await o.U.build({...n});f(e)}()}),[n]),(0,a.useEffect)((()=>{!async function(){if(h){const e=h.fromDosageToText(t);l(e)}}()}),[t,h]);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(h){await h.changeLanguage(d);const e=h.fromDosageToText(t);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(i.default,{language:"markup",children:(p=c,(0,s.decode)(p))})})]});var p}},87622: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/026611d2.e20062d4.js b/assets/js/026611d2.e20062d4.js deleted file mode 100644 index 6fa16940..00000000 --- a/assets/js/026611d2.e20062d4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9301],{16885:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>u,default:()=>m,frontMatter:()=>d,metadata:()=>h,toc:()=>p});var a=n(74848),o=n(28453),i=n(85819),s=n(87622),r=n(11470),c=n(19365),l=n(816);const d={description:"Options for the i18next instances",title:"\ud83c\udf10 i18nConfig"},u=void 0,h={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"}},f={},p=[];function g(e){const t={code:"code",pre:"pre",...(0,o.R)(),...e.components};return(0,a.jsxs)(r.A,{children:[(0,a.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(l.A,{dosage:s})}),(0,a.jsx)(c.A,{value:"json",label:"Dosage",children:(0,a.jsx)(i.default,{language:"json",children:JSON.stringify(s,null,2)})}),(0,a.jsx)(c.A,{value:"config",label:"i18nConfig",children:(0,a.jsx)(t.pre,{children:(0,a.jsx)(t.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 // http api load path for my own fallback\n // Check https://github.com/jy95/fhir-dosage-utils/tree/main/src/locales/en for more info\n loadPath: '/locales/{{lng}}/{{ns}}.json'\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:t}={...(0,o.R)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(g,{...e})}):g(e)}},816:(e,t,n)=>{n.d(t,{A:()=>c});var a=n(96540),o=n(76300),i=n(52376),s=n(85819),r=n(74848);function c(e){let{dosage:t,config:n}=e;const[c,l]=(0,a.useState)(""),[d,u]=(0,a.useState)(n?.language||"en"),[h,f]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await o.U.build({...n});f(e)}()}),[n]),(0,a.useEffect)((()=>{!async function(){if(h){const e=h.fromDosageToText(t);l(e)}}()}),[t,h]);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(h){await h.changeLanguage(d);const e=h.fromDosageToText(t);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(s.default,{language:"markup",children:(p=c,(0,i.decode)(p))})})]});var p}},87622: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.c8cd830d.js b/assets/js/03620de3.c8cd830d.js deleted file mode 100644 index b9ebae20..00000000 --- a/assets/js/03620de3.c8cd830d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2460],{75350:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>h,contentTitle:()=>u,default:()=>x,frontMatter:()=>d,metadata:()=>g,toc:()=>p});var a=t(74848),s=t(28453),i=t(85819);const o=JSON.parse('{"doseAndRate":[{"rateRange":{"high":{"value":5,"unit":"pills"}}}]}');var r=t(11470),l=t(19365),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)(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/Config",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:()=>l});var a=t(96540),s=t(76300),i=t(52376),o=t(85819),r=t(74848);function l(e){let{dosage:n,config:t}=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.U.build({...t});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)(o.default,{language:"markup",children:(p=l,(0,i.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/03620de3.faf95e9a.js b/assets/js/03620de3.faf95e9a.js new file mode 100644 index 00000000..88003884 --- /dev/null +++ b/assets/js/03620de3.faf95e9a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2460],{79135:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>h,contentTitle:()=>g,default:()=>x,frontMatter:()=>u,metadata:()=>a,toc:()=>p});const a=JSON.parse('{"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":false,"unlisted":false,"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"}}');var s=t(74848),i=t(28453),o=t(85819);const r=JSON.parse('{"doseAndRate":[{"rateRange":{"high":{"value":5,"unit":"pills"}}}]}');var l=t(11470),c=t(19365),d=t(816);const u={description:"High only",title:"\u2696\ufe0f rateRange (High only)"},g=void 0,h={},p=[];function f(e){const n={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(l.A,{children:[(0,s.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(d.A,{dosage:r})}),(0,s.jsx)(c.A,{value:"json",label:"Dosage",children:(0,s.jsx)(o.default,{language:"json",children:JSON.stringify(r,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/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,i.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:()=>l});var a=t(96540),s=t(76300),i=t(52376),o=t(85819),r=t(74848);function l(e){let{dosage:n,config:t}=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.U.build({...t});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)(o.default,{language:"markup",children:(p=l,(0,i.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/04716c54.190f052e.js b/assets/js/04716c54.190f052e.js new file mode 100644 index 00000000..d11d8a9a --- /dev/null +++ b/assets/js/04716c54.190f052e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8945],{56275:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>p,contentTitle:()=>g,default:()=>x,frontMatter:()=>u,metadata:()=>s,toc:()=>f});const s=JSON.parse('{"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":false,"unlisted":false,"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"}}');var t=o(74848),a=o(28453),i=o(85819);const l=JSON.parse('{"timing":{"repeat":{"boundsRange":{"low":{"value":5,"unit":"days"}}}}}');var r=o(11470),c=o(19365),d=o(816);const u={description:"Low only",title:"\ud83d\udcd0 boundsDuration (Low only)"},g=void 0,p={},f=[];function h(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)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(d.A,{dosage:l})}),(0,t.jsx)(c.A,{value:"json",label:"Dosage",children:(0,t.jsx)(i.default,{language:"json",children:JSON.stringify(l,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/Config",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)(h,{...e})}):h(e)}},816:(e,n,o)=>{o.d(n,{A:()=>r});var s=o(96540),t=o(76300),a=o(52376),i=o(85819),l=o(74848);function r(e){let{dosage:n,config:o}=e;const[r,c]=(0,s.useState)(""),[d,u]=(0,s.useState)(o?.language||"en"),[g,p]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await t.U.build({...o});p(e)}()}),[o]),(0,s.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(n);c(e)}}()}),[n,g]);return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{style:{display:"flex"},children:[(0,l.jsxs)("select",{value:d,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(g){await g.changeLanguage(d);const e=g.fromDosageToText(n);c(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(i.default,{language:"markup",children:(f=r,(0,a.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/04716c54.19162856.js b/assets/js/04716c54.19162856.js deleted file mode 100644 index 5e17da04..00000000 --- a/assets/js/04716c54.19162856.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8945],{34690:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>p,contentTitle:()=>u,default:()=>x,frontMatter:()=>d,metadata:()=>g,toc:()=>h});var t=o(74848),s=o(28453),a=o(85819);const i=JSON.parse('{"timing":{"repeat":{"boundsRange":{"low":{"value":5,"unit":"days"}}}}}');var l=o(11470),r=o(19365),c=o(816);const d={description:"Low only",title:"\ud83d\udcd0 boundsDuration (Low only)"},u=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={},h=[];function f(e){const n={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(l.A,{children:[(0,t.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(c.A,{dosage:i})}),(0,t.jsx)(r.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/Config",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)(f,{...e})}):f(e)}},816:(e,n,o)=>{o.d(n,{A:()=>r});var t=o(96540),s=o(76300),a=o(52376),i=o(85819),l=o(74848);function r(e){let{dosage:n,config:o}=e;const[r,c]=(0,t.useState)(""),[d,u]=(0,t.useState)(o?.language||"en"),[g,p]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await s.U.build({...o});p(e)}()}),[o]),(0,t.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(n);c(e)}}()}),[n,g]);return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{style:{display:"flex"},children:[(0,l.jsxs)("select",{value:d,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(g){await g.changeLanguage(d);const e=g.fromDosageToText(n);c(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(i.default,{language:"markup",children:(h=r,(0,a.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/0530b1c5.3d0b8d71.js b/assets/js/0530b1c5.3d0b8d71.js new file mode 100644 index 00000000..3d022b94 --- /dev/null +++ b/assets/js/0530b1c5.3d0b8d71.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[7032],{57749:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>h,contentTitle:()=>d,default:()=>x,frontMatter:()=>l,metadata:()=>o,toc:()=>p});const o=JSON.parse('{"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":false,"unlisted":false,"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"}}');var n=t(74848),f=t(28453),a=t(85819);const r=JSON.parse('{"timing":{"repeat":{"offset":60}}}');var i=t(11470),c=t(19365),u=t(816);const l={description:"offset, expressing hour(s)",title:"\ud83d\udd52 offset (Hours)"},d=void 0,h={},p=[];function g(e){return(0,n.jsxs)(i.A,{children:[(0,n.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(u.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)})})]})}function x(e={}){const{wrapper:s}={...(0,f.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:()=>i});var o=t(96540),n=t(76300),f=t(52376),a=t(85819),r=t(74848);function i(e){let{dosage:s,config:t}=e;const[i,c]=(0,o.useState)(""),[u,l]=(0,o.useState)(t?.language||"en"),[d,h]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await n.U.build({...t});h(e)}()}),[t]),(0,o.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(s);c(e)}}()}),[s,d]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:u,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(u);const e=d.fromDosageToText(s);c(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(a.default,{language:"markup",children:(p=i,(0,f.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/0530b1c5.d11c977a.js b/assets/js/0530b1c5.d11c977a.js deleted file mode 100644 index 78a5c534..00000000 --- a/assets/js/0530b1c5.d11c977a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[7032],{67534:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>h,contentTitle:()=>l,default:()=>x,frontMatter:()=>u,metadata:()=>d,toc:()=>p});var o=t(74848),n=t(28453),f=t(85819);const a=JSON.parse('{"timing":{"repeat":{"offset":60}}}');var r=t(11470),i=t(19365),c=t(816);const u={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)(r.A,{children:[(0,o.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(c.A,{dosage:a})}),(0,o.jsx)(i.A,{value:"json",label:"Dosage",children:(0,o.jsx)(f.default,{language:"json",children:JSON.stringify(a,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:()=>i});var o=t(96540),n=t(76300),f=t(52376),a=t(85819),r=t(74848);function i(e){let{dosage:s,config:t}=e;const[i,c]=(0,o.useState)(""),[u,l]=(0,o.useState)(t?.language||"en"),[d,h]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await n.U.build({...t});h(e)}()}),[t]),(0,o.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(s);c(e)}}()}),[s,d]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:u,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(u);const e=d.fromDosageToText(s);c(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(a.default,{language:"markup",children:(p=i,(0,f.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/06a006fb.8e15d9d2.js b/assets/js/06a006fb.8e15d9d2.js deleted file mode 100644 index b7f8f43f..00000000 --- a/assets/js/06a006fb.8e15d9d2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4936],{85331:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>x,contentTitle:()=>m,default:()=>g,frontMatter:()=>l,metadata:()=>u,toc:()=>p});var n=i(74848),s=i(28453),a=i(85819);const o=JSON.parse('{"maxDosePerAdministration":{"value":3,"unit":"mg"}}');var r=i(11470),d=i(19365),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)(r.A,{children:[(0,n.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(c.A,{dosage:o})}),(0,n.jsx)(d.A,{value:"json",label:"Dosage",children:(0,n.jsx)(a.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/Config",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:()=>d});var n=i(96540),s=i(76300),a=i(52376),o=i(85819),r=i(74848);function d(e){let{dosage:t,config:i}=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.U.build({...i});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)(o.default,{language:"markup",children:(p=d,(0,a.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/06a006fb.f306ec41.js b/assets/js/06a006fb.f306ec41.js new file mode 100644 index 00000000..6e031891 --- /dev/null +++ b/assets/js/06a006fb.f306ec41.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4936],{34970:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>x,contentTitle:()=>u,default:()=>g,frontMatter:()=>m,metadata:()=>s,toc:()=>p});const s=JSON.parse('{"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":false,"unlisted":false,"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"}}');var n=i(74848),a=i(28453),o=i(85819);const r=JSON.parse('{"maxDosePerAdministration":{"value":3,"unit":"mg"}}');var d=i(11470),c=i(19365),l=i(816);const m={description:"maxDosePerAdministration",title:"\ud83d\udc89 maxDosePerAdministration"},u=void 0,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.jsxs)(d.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)(o.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/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function g(e={}){const{wrapper:t}={...(0,a.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:()=>d});var s=i(96540),n=i(76300),a=i(52376),o=i(85819),r=i(74848);function d(e){let{dosage:t,config:i}=e;const[d,c]=(0,s.useState)(""),[l,m]=(0,s.useState)(i?.language||"en"),[u,x]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await n.U.build({...i});x(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=>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)(o.default,{language:"markup",children:(p=d,(0,a.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/118e00e5.70d9dfae.js b/assets/js/118e00e5.70d9dfae.js deleted file mode 100644 index c3d0fecc..00000000 --- a/assets/js/118e00e5.70d9dfae.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2914],{48556:(e,s,a)=>{a.r(s),a.d(s,{assets:()=>f,contentTitle:()=>u,default:()=>x,frontMatter:()=>r,metadata:()=>p,toc:()=>h});var t=a(74848),n=a(28453),d=a(85819);const o=JSON.parse('{"asNeededCodeableConcept":{"text":"when feeling bad"}}');var i=a(11470),c=a(19365),l=a(816);const r={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={},h=[];function g(e){const s={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)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(l.A,{dosage:o})}),(0,t.jsx)(c.A,{value:"json",label:"Dosage",children:(0,t.jsx)(d.default,{language:"json",children:JSON.stringify(o,null,2)})})]}),"\n",(0,t.jsx)(s.admonition,{type:"tip",children:(0,t.jsxs)(s.p,{children:["Don't forget you can use ",(0,t.jsx)(s.a,{href:"/api/interface/Config",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(g,{...e})}):g(e)}},816:(e,s,a)=>{a.d(s,{A:()=>c});var t=a(96540),n=a(76300),d=a(52376),o=a(85819),i=a(74848);function c(e){let{dosage:s,config:a}=e;const[c,l]=(0,t.useState)(""),[r,u]=(0,t.useState)(a?.language||"en"),[p,f]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await n.U.build({...a});f(e)}()}),[a]),(0,t.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(s);l(e)}}()}),[s,p]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:r,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(p){await p.changeLanguage(r);const e=p.fromDosageToText(s);l(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(o.default,{language:"markup",children:(h=c,(0,d.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/118e00e5.bc24b584.js b/assets/js/118e00e5.bc24b584.js new file mode 100644 index 00000000..9bfa35f6 --- /dev/null +++ b/assets/js/118e00e5.bc24b584.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2914],{72034:(e,s,a)=>{a.r(s),a.d(s,{assets:()=>f,contentTitle:()=>p,default:()=>x,frontMatter:()=>u,metadata:()=>t,toc:()=>h});const t=JSON.parse('{"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":false,"unlisted":false,"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"}}');var n=a(74848),d=a(28453),o=a(85819);const i=JSON.parse('{"asNeededCodeableConcept":{"text":"when feeling bad"}}');var c=a(11470),l=a(19365),r=a(816);const u={description:"asNeededCodeableConcept",title:"\ud83d\udccc asNeededCodeableConcept"},p=void 0,f={},h=[];function g(e){const s={a:"a",admonition:"admonition",p:"p",...(0,d.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(c.A,{children:[(0,n.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(r.A,{dosage:i})}),(0,n.jsx)(l.A,{value:"json",label:"Dosage",children:(0,n.jsx)(o.default,{language:"json",children:JSON.stringify(i,null,2)})})]}),"\n",(0,n.jsx)(s.admonition,{type:"tip",children:(0,n.jsxs)(s.p,{children:["Don't forget you can use ",(0,n.jsx)(s.a,{href:"/api/interface/Config",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:s}={...(0,d.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(g,{...e})}):g(e)}},816:(e,s,a)=>{a.d(s,{A:()=>c});var t=a(96540),n=a(76300),d=a(52376),o=a(85819),i=a(74848);function c(e){let{dosage:s,config:a}=e;const[c,l]=(0,t.useState)(""),[r,u]=(0,t.useState)(a?.language||"en"),[p,f]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await n.U.build({...a});f(e)}()}),[a]),(0,t.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(s);l(e)}}()}),[s,p]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:r,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(p){await p.changeLanguage(r);const e=p.fromDosageToText(s);l(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(o.default,{language:"markup",children:(h=c,(0,d.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/124c4f9d.a18f06b1.js b/assets/js/124c4f9d.a18f06b1.js new file mode 100644 index 00000000..17a37480 --- /dev/null +++ b/assets/js/124c4f9d.a18f06b1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2188],{1888:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>m,default:()=>h,frontMatter:()=>d,metadata:()=>i,toc:()=>g});const i=JSON.parse('{"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":false,"unlisted":false,"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"}}');var n=s(74848),a=s(28453),l=s(85819);const o=JSON.parse('{"timing":{"repeat":{"timeOfDay":["15:00:00"]}}}');var r=s(11470),c=s(19365),u=s(816);const d={description:"Single item",title:"\u274c Single item"},m=void 0,f={},g=[];function p(e){return(0,n.jsxs)(r.A,{children:[(0,n.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(u.A,{dosage:o})}),(0,n.jsx)(c.A,{value:"json",label:"Dosage",children:(0,n.jsx)(l.default,{language:"json",children:JSON.stringify(o,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:()=>r});var i=s(96540),n=s(76300),a=s(52376),l=s(85819),o=s(74848);function r(e){let{dosage:t,config:s}=e;const[r,c]=(0,i.useState)(""),[u,d]=(0,i.useState)(s?.language||"en"),[m,f]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await n.U.build({...s});f(e)}()}),[s]),(0,i.useEffect)((()=>{!async function(){if(m){const e=m.fromDosageToText(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=>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(m){await m.changeLanguage(u);const e=m.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(l.default,{language:"markup",children:(g=r,(0,a.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/124c4f9d.cef7e338.js b/assets/js/124c4f9d.cef7e338.js deleted file mode 100644 index 0570f3c0..00000000 --- a/assets/js/124c4f9d.cef7e338.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2188],{76295:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>g,contentTitle:()=>d,default:()=>h,frontMatter:()=>u,metadata:()=>m,toc:()=>f});var s=i(74848),n=i(28453),a=i(85819);const l=JSON.parse('{"timing":{"repeat":{"timeOfDay":["15:00:00"]}}}');var o=i(11470),r=i(19365),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)(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 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(96540),n=i(76300),a=i(52376),l=i(85819),o=i(74848);function r(e){let{dosage:t,config:i}=e;const[r,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.U.build({...i});g(e)}()}),[i]),(0,s.useEffect)((()=>{!async function(){if(m){const e=m.fromDosageToText(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=>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(m){await m.changeLanguage(u);const e=m.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(l.default,{language:"markup",children:(f=r,(0,a.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/12564d99.9ce5a198.js b/assets/js/12564d99.9ce5a198.js new file mode 100644 index 00000000..9dfc46b9 --- /dev/null +++ b/assets/js/12564d99.9ce5a198.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8937],{65693:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>g,default:()=>h,frontMatter:()=>u,metadata:()=>i,toc:()=>m});const i=JSON.parse('{"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":false,"unlisted":false,"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"}}');var s=n(74848),a=n(28453),o=n(85819);const l=JSON.parse('{"additionalInstruction":[{"text":"Instruction 1"}]}');var r=n(11470),c=n(19365),d=n(816);const u={description:"Single item",title:"\u274c Single item"},g=void 0,p={},m=[];function f(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)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(d.A,{dosage:l})}),(0,s.jsx)(c.A,{value:"json",label:"Dosage",children:(0,s.jsx)(o.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/Config",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function h(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(f,{...e})}):f(e)}},816:(e,t,n)=>{n.d(t,{A:()=>r});var i=n(96540),s=n(76300),a=n(52376),o=n(85819),l=n(74848);function r(e){let{dosage:t,config:n}=e;const[r,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.U.build({...n});p(e)}()}),[n]),(0,i.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(t);c(e)}}()}),[t,g]);return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{style:{display:"flex"},children:[(0,l.jsxs)("select",{value:d,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(g){await g.changeLanguage(d);const e=g.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(o.default,{language:"markup",children:(m=r,(0,a.decode)(m))})})]});var m}}}]); \ No newline at end of file diff --git a/assets/js/12564d99.f9810fd9.js b/assets/js/12564d99.f9810fd9.js deleted file mode 100644 index 80254880..00000000 --- a/assets/js/12564d99.f9810fd9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8937],{42977:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>h,frontMatter:()=>d,metadata:()=>g,toc:()=>m});var i=n(74848),s=n(28453),a=n(85819);const o=JSON.parse('{"additionalInstruction":[{"text":"Instruction 1"}]}');var l=n(11470),r=n(19365),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)(l.A,{children:[(0,i.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(c.A,{dosage:o})}),(0,i.jsx)(r.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/Config",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(96540),s=n(76300),a=n(52376),o=n(85819),l=n(74848);function r(e){let{dosage:t,config:n}=e;const[r,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.U.build({...n});p(e)}()}),[n]),(0,i.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(t);c(e)}}()}),[t,g]);return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{style:{display:"flex"},children:[(0,l.jsxs)("select",{value:d,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(g){await g.changeLanguage(d);const e=g.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(o.default,{language:"markup",children:(m=r,(0,a.decode)(m))})})]});var m}}}]); \ No newline at end of file diff --git a/assets/js/133d1207.5d12d011.js b/assets/js/133d1207.5d12d011.js new file mode 100644 index 00000000..107005dc --- /dev/null +++ b/assets/js/133d1207.5d12d011.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5276],{17590:(e,n,a)=>{a.r(n),a.d(n,{assets:()=>y,contentTitle:()=>f,default:()=>q,frontMatter:()=>d,metadata:()=>r,toc:()=>x});const r=JSON.parse('{"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":false,"unlisted":false,"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"}}');var s=a(74848),c=a(28453),t=a(85819);const u=JSON.parse('{"timing":{"repeat":{"frequencyMax":5}}}');var i=a(11470),o=a(19365),l=a(816);const d={description:"frequencyMax only",title:"\ud83d\udd01 frequencyMax"},f=void 0,y={},x=[];function p(e){return(0,s.jsxs)(i.A,{children:[(0,s.jsx)(o.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(l.A,{dosage:u})}),(0,s.jsx)(o.A,{value:"json",label:"Dosage",children:(0,s.jsx)(t.default,{language:"json",children:JSON.stringify(u,null,2)})})]})}function q(e={}){const{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(p,{...e})}):p()}},816:(e,n,a)=>{a.d(n,{A:()=>i});var r=a(96540),s=a(76300),c=a(52376),t=a(85819),u=a(74848);function i(e){let{dosage:n,config:a}=e;const[i,o]=(0,r.useState)(""),[l,d]=(0,r.useState)(a?.language||"en"),[f,y]=(0,r.useState)(null);(0,r.useEffect)((()=>{!async function(){const e=await s.U.build({...a});y(e)}()}),[a]),(0,r.useEffect)((()=>{!async function(){if(f){const e=f.fromDosageToText(n);o(e)}}()}),[n,f]);return(0,u.jsxs)("div",{children:[(0,u.jsxs)("div",{style:{display:"flex"},children:[(0,u.jsxs)("select",{value:l,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,u.jsx)("option",{value:"en",children:"English"}),(0,u.jsx)("option",{value:"fr",children:"French"}),(0,u.jsx)("option",{value:"nl",children:"Dutch"}),(0,u.jsx)("option",{value:"de",children:"German"})]}),(0,u.jsx)("button",{onClick:async()=>{if(f){await f.changeLanguage(l);const e=f.fromDosageToText(n);o(e)}},children:"Confirm"})]}),(0,u.jsx)("div",{style:{marginTop:"10px"},children:(0,u.jsx)(t.default,{language:"markup",children:(x=i,(0,c.decode)(x))})})]});var x}}}]); \ No newline at end of file diff --git a/assets/js/133d1207.eb5f4dfd.js b/assets/js/133d1207.eb5f4dfd.js deleted file mode 100644 index 389317cd..00000000 --- a/assets/js/133d1207.eb5f4dfd.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5276],{60728:(e,n,a)=>{a.r(n),a.d(n,{assets:()=>y,contentTitle:()=>d,default:()=>q,frontMatter:()=>l,metadata:()=>f,toc:()=>x});var r=a(74848),c=a(28453),t=a(85819);const s=JSON.parse('{"timing":{"repeat":{"frequencyMax":5}}}');var u=a(11470),i=a(19365),o=a(816);const l={description:"frequencyMax only",title:"\ud83d\udd01 frequencyMax"},d=void 0,f={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"}},y={},x=[];function p(e){return(0,r.jsxs)(u.A,{children:[(0,r.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,r.jsx)(o.A,{dosage:s})}),(0,r.jsx)(i.A,{value:"json",label:"Dosage",children:(0,r.jsx)(t.default,{language:"json",children:JSON.stringify(s,null,2)})})]})}function q(e={}){const{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(p,{...e})}):p()}},816:(e,n,a)=>{a.d(n,{A:()=>i});var r=a(96540),c=a(76300),t=a(52376),s=a(85819),u=a(74848);function i(e){let{dosage:n,config:a}=e;const[i,o]=(0,r.useState)(""),[l,d]=(0,r.useState)(a?.language||"en"),[f,y]=(0,r.useState)(null);(0,r.useEffect)((()=>{!async function(){const e=await c.U.build({...a});y(e)}()}),[a]),(0,r.useEffect)((()=>{!async function(){if(f){const e=f.fromDosageToText(n);o(e)}}()}),[n,f]);return(0,u.jsxs)("div",{children:[(0,u.jsxs)("div",{style:{display:"flex"},children:[(0,u.jsxs)("select",{value:l,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,u.jsx)("option",{value:"en",children:"English"}),(0,u.jsx)("option",{value:"fr",children:"French"}),(0,u.jsx)("option",{value:"nl",children:"Dutch"}),(0,u.jsx)("option",{value:"de",children:"German"})]}),(0,u.jsx)("button",{onClick:async()=>{if(f){await f.changeLanguage(l);const e=f.fromDosageToText(n);o(e)}},children:"Confirm"})]}),(0,u.jsx)("div",{style:{marginTop:"10px"},children:(0,u.jsx)(s.default,{language:"markup",children:(x=i,(0,t.decode)(x))})})]});var x}}}]); \ No newline at end of file diff --git a/assets/js/139f9fbc.6b2a0f29.js b/assets/js/139f9fbc.6b2a0f29.js new file mode 100644 index 00000000..32b9cb6b --- /dev/null +++ b/assets/js/139f9fbc.6b2a0f29.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[578],{31829:(e,i,o)=>{o.r(i),o.d(i,{assets:()=>x,contentTitle:()=>p,default:()=>h,frontMatter:()=>u,metadata:()=>t,toc:()=>f});const t=JSON.parse('{"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":false,"unlisted":false,"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"}}');var s=o(74848),r=o(28453),n=o(85819);const a=JSON.parse('{"timing":{"repeat":{"period":1,"periodUnit":"d"}}}');var d=o(11470),l=o(19365),c=o(816);const u={description:"period (only)",title:"\u267b\ufe0f period (only)"},p=void 0,x={},f=[];function g(e){return(0,s.jsxs)(d.A,{children:[(0,s.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(c.A,{dosage:a})}),(0,s.jsx)(l.A,{value:"json",label:"Dosage",children:(0,s.jsx)(n.default,{language:"json",children:JSON.stringify(a,null,2)})})]})}function h(e={}){const{wrapper:i}={...(0,r.R)(),...e.components};return i?(0,s.jsx)(i,{...e,children:(0,s.jsx)(g,{...e})}):g()}},816:(e,i,o)=>{o.d(i,{A:()=>d});var t=o(96540),s=o(76300),r=o(52376),n=o(85819),a=o(74848);function d(e){let{dosage:i,config:o}=e;const[d,l]=(0,t.useState)(""),[c,u]=(0,t.useState)(o?.language||"en"),[p,x]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await s.U.build({...o});x(e)}()}),[o]),(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:(f=d,(0,r.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/139f9fbc.e8bad372.js b/assets/js/139f9fbc.e8bad372.js deleted file mode 100644 index 46ed0d1a..00000000 --- a/assets/js/139f9fbc.e8bad372.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[578],{53858:(e,i,o)=>{o.r(i),o.d(i,{assets:()=>x,contentTitle:()=>u,default:()=>h,frontMatter:()=>c,metadata:()=>p,toc:()=>f});var t=o(74848),r=o(28453),n=o(85819);const s=JSON.parse('{"timing":{"repeat":{"period":1,"periodUnit":"d"}}}');var a=o(11470),d=o(19365),l=o(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,t.jsxs)(a.A,{children:[(0,t.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(l.A,{dosage:s})}),(0,t.jsx)(d.A,{value:"json",label:"Dosage",children:(0,t.jsx)(n.default,{language:"json",children:JSON.stringify(s,null,2)})})]})}function h(e={}){const{wrapper:i}={...(0,r.R)(),...e.components};return i?(0,t.jsx)(i,{...e,children:(0,t.jsx)(g,{...e})}):g()}},816:(e,i,o)=>{o.d(i,{A:()=>d});var t=o(96540),r=o(76300),n=o(52376),s=o(85819),a=o(74848);function d(e){let{dosage:i,config:o}=e;const[d,l]=(0,t.useState)(""),[c,u]=(0,t.useState)(o?.language||"en"),[p,x]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await r.U.build({...o});x(e)}()}),[o]),(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)(s.default,{language:"markup",children:(f=d,(0,n.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/162bd28d.4e08c0b6.js b/assets/js/162bd28d.4e08c0b6.js deleted file mode 100644 index b456e81e..00000000 --- a/assets/js/162bd28d.4e08c0b6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1740],{52544:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>h,contentTitle:()=>c,default:()=>x,frontMatter:()=>d,metadata:()=>g,toc:()=>p});var s=t(74848),o=t(28453),i=t(85819);const a=JSON.parse('{"timing":{"repeat":{"boundsRange":{"high":{"system":"http://hl7.org/fhir/ValueSet/duration-units","value":5,"code":"d"}}}}}');var r=t(11470),l=t(19365),u=t(816);const d={description:"High only",title:"\ud83d\udcd0 boundsDuration (High only)"},c=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/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(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:()=>l});var s=t(96540),o=t(76300),i=t(52376),a=t(85819),r=t(74848);function l(e){let{dosage:n,config:t}=e;const[l,u]=(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.U.build({...t});h(e)}()}),[t]),(0,s.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(n);u(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=>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(g){await g.changeLanguage(d);const e=g.fromDosageToText(n);u(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(a.default,{language:"markup",children:(p=l,(0,i.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/162bd28d.e0bd6f8a.js b/assets/js/162bd28d.e0bd6f8a.js new file mode 100644 index 00000000..ab61ba82 --- /dev/null +++ b/assets/js/162bd28d.e0bd6f8a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1740],{67458:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>h,contentTitle:()=>g,default:()=>x,frontMatter:()=>c,metadata:()=>t,toc:()=>p});const t=JSON.parse('{"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":false,"unlisted":false,"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"}}');var o=s(74848),i=s(28453),a=s(85819);const r=JSON.parse('{"timing":{"repeat":{"boundsRange":{"high":{"system":"http://hl7.org/fhir/ValueSet/duration-units","value":5,"code":"d"}}}}}');var l=s(11470),u=s(19365),d=s(816);const c={description:"High only",title:"\ud83d\udcd0 boundsDuration (High only)"},g=void 0,h={},p=[];function f(e){const n={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(l.A,{children:[(0,o.jsx)(u.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(d.A,{dosage:r})}),(0,o.jsx)(u.A,{value:"json",label:"Dosage",children:(0,o.jsx)(a.default,{language:"json",children:JSON.stringify(r,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/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(f,{...e})}):f(e)}},816:(e,n,s)=>{s.d(n,{A:()=>l});var t=s(96540),o=s(76300),i=s(52376),a=s(85819),r=s(74848);function l(e){let{dosage:n,config:s}=e;const[l,u]=(0,t.useState)(""),[d,c]=(0,t.useState)(s?.language||"en"),[g,h]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await o.U.build({...s});h(e)}()}),[s]),(0,t.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(n);u(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=>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(g){await g.changeLanguage(d);const e=g.fromDosageToText(n);u(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(a.default,{language:"markup",children:(p=l,(0,i.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/1668a7c3.91f4d5e1.js b/assets/js/1668a7c3.91f4d5e1.js deleted file mode 100644 index 58514636..00000000 --- a/assets/js/1668a7c3.91f4d5e1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3790],{28933:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>f,contentTitle:()=>c,default:()=>x,frontMatter:()=>u,metadata:()=>p,toc:()=>g});var o=s(74848),t=s(28453),d=s(85819);const i=JSON.parse('{"timing":{"repeat":{"boundsPeriod":{"end":"2011-05-27"}}}}');var a=s(11470),r=s(19365),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,o.jsxs)(a.A,{children:[(0,o.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(l.A,{dosage:i})}),(0,o.jsx)(r.A,{value:"json",label:"Dosage",children:(0,o.jsx)(d.default,{language:"json",children:JSON.stringify(i,null,2)})})]})}function x(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(h,{...e})}):h()}},816:(e,n,s)=>{s.d(n,{A:()=>r});var o=s(96540),t=s(76300),d=s(52376),i=s(85819),a=s(74848);function r(e){let{dosage:n,config:s}=e;const[r,l]=(0,o.useState)(""),[u,c]=(0,o.useState)(s?.language||"en"),[p,f]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await t.U.build({...s});f(e)}()}),[s]),(0,o.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(n);l(e)}}()}),[n,p]);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(p){await p.changeLanguage(u);const e=p.fromDosageToText(n);l(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(i.default,{language:"markup",children:(g=r,(0,d.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/1668a7c3.bb646fe4.js b/assets/js/1668a7c3.bb646fe4.js new file mode 100644 index 00000000..72f1e466 --- /dev/null +++ b/assets/js/1668a7c3.bb646fe4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3790],{50681:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>f,contentTitle:()=>p,default:()=>x,frontMatter:()=>u,metadata:()=>o,toc:()=>g});const o=JSON.parse('{"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":false,"unlisted":false,"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"}}');var t=s(74848),d=s(28453),i=s(85819);const a=JSON.parse('{"timing":{"repeat":{"boundsPeriod":{"end":"2011-05-27"}}}}');var r=s(11470),l=s(19365),c=s(816);const u={description:"end only",title:"\u23f3 boundsPeriod (end only)"},p=void 0,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)(c.A,{dosage:a})}),(0,t.jsx)(l.A,{value:"json",label:"Dosage",children:(0,t.jsx)(i.default,{language:"json",children:JSON.stringify(a,null,2)})})]})}function x(e={}){const{wrapper:n}={...(0,d.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:()=>r});var o=s(96540),t=s(76300),d=s(52376),i=s(85819),a=s(74848);function r(e){let{dosage:n,config:s}=e;const[r,l]=(0,o.useState)(""),[c,u]=(0,o.useState)(s?.language||"en"),[p,f]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await t.U.build({...s});f(e)}()}),[s]),(0,o.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(n);l(e)}}()}),[n,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(n);l(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(i.default,{language:"markup",children:(g=r,(0,d.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/17baba0b.c5093434.js b/assets/js/17baba0b.c5093434.js new file mode 100644 index 00000000..784c116e --- /dev/null +++ b/assets/js/17baba0b.c5093434.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3709],{73824:(t,e,i)=>{i.r(e),i.d(e,{assets:()=>m,contentTitle:()=>p,default:()=>h,frontMatter:()=>u,metadata:()=>n,toc:()=>f});const n=JSON.parse('{"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":false,"unlisted":false,"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"}}');var s=i(74848),a=i(28453),o=i(85819);const l=JSON.parse('{"additionalInstruction":[{"text":"Instruction 1"},{"text":"Instruction 2"}]}');var r=i(11470),c=i(19365),d=i(816);const u={description:"Multiple items",title:"\u2795 Multiple items"},p=void 0,m={},f=[];function g(t){const e={a:"a",admonition:"admonition",p:"p",...(0,a.R)(),...t.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(r.A,{children:[(0,s.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(d.A,{dosage:l})}),(0,s.jsx)(c.A,{value:"json",label:"Dosage",children:(0,s.jsx)(o.default,{language:"json",children:JSON.stringify(l,null,2)})})]}),"\n",(0,s.jsx)(e.admonition,{type:"tip",children:(0,s.jsxs)(e.p,{children:["Don't forget you can use ",(0,s.jsx)(e.a,{href:"/api/interface/Config",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function h(t={}){const{wrapper:e}={...(0,a.R)(),...t.components};return e?(0,s.jsx)(e,{...t,children:(0,s.jsx)(g,{...t})}):g(t)}},816:(t,e,i)=>{i.d(e,{A:()=>r});var n=i(96540),s=i(76300),a=i(52376),o=i(85819),l=i(74848);function r(t){let{dosage:e,config:i}=t;const[r,c]=(0,n.useState)(""),[d,u]=(0,n.useState)(i?.language||"en"),[p,m]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const t=await s.U.build({...i});m(t)}()}),[i]),(0,n.useEffect)((()=>{!async function(){if(p){const t=p.fromDosageToText(e);c(t)}}()}),[e,p]);return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{style:{display:"flex"},children:[(0,l.jsxs)("select",{value:d,onChange:t=>u(t.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(d);const t=p.fromDosageToText(e);c(t)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(o.default,{language:"markup",children:(f=r,(0,a.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/17baba0b.f2b5ba2e.js b/assets/js/17baba0b.f2b5ba2e.js deleted file mode 100644 index 7d584067..00000000 --- a/assets/js/17baba0b.f2b5ba2e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3709],{27693:(t,e,i)=>{i.r(e),i.d(e,{assets:()=>m,contentTitle:()=>u,default:()=>h,frontMatter:()=>d,metadata:()=>p,toc:()=>f});var n=i(74848),s=i(28453),a=i(85819);const o=JSON.parse('{"additionalInstruction":[{"text":"Instruction 1"},{"text":"Instruction 2"}]}');var l=i(11470),r=i(19365),c=i(816);const d={description:"Multiple items",title:"\u2795 Multiple items"},u=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/Config",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:()=>r});var n=i(96540),s=i(76300),a=i(52376),o=i(85819),l=i(74848);function r(t){let{dosage:e,config:i}=t;const[r,c]=(0,n.useState)(""),[d,u]=(0,n.useState)(i?.language||"en"),[p,m]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const t=await s.U.build({...i});m(t)}()}),[i]),(0,n.useEffect)((()=>{!async function(){if(p){const t=p.fromDosageToText(e);c(t)}}()}),[e,p]);return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{style:{display:"flex"},children:[(0,l.jsxs)("select",{value:d,onChange:t=>u(t.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(d);const t=p.fromDosageToText(e);c(t)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(o.default,{language:"markup",children:(f=r,(0,a.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/1a4e3797.edb30e07.js b/assets/js/1a4e3797.edb30e07.js new file mode 100644 index 00000000..e4dcbba1 --- /dev/null +++ b/assets/js/1a4e3797.edb30e07.js @@ -0,0 +1,2 @@ +/*! For license information please see 1a4e3797.edb30e07.js.LICENSE.txt */ +(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2138],{72733:e=>{function t(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function n(e){return"object"==typeof e&&null!==e}function i(e){return void 0===e}e.exports=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},t.prototype.emit=function(e){var t,s,a,c,o,u;if(this._events||(this._events={}),"error"===e&&(!this._events.error||n(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var h=new Error('Uncaught, unspecified "error" event. ('+t+")");throw h.context=t,h}if(i(s=this._events[e]))return!1;if(r(s))switch(arguments.length){case 1:s.call(this);break;case 2:s.call(this,arguments[1]);break;case 3:s.call(this,arguments[1],arguments[2]);break;default:c=Array.prototype.slice.call(arguments,1),s.apply(this,c)}else if(n(s))for(c=Array.prototype.slice.call(arguments,1),a=(u=s.slice()).length,o=0;o0&&this._events[e].length>a&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(e,t){if(!r(t))throw TypeError("listener must be a function");var n=!1;function i(){this.removeListener(e,i),n||(n=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},t.prototype.removeListener=function(e,t){var i,s,a,c;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(a=(i=this._events[e]).length,s=-1,i===t||r(i.listener)&&i.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(n(i)){for(c=a;c-- >0;)if(i[c]===t||i[c].listener&&i[c].listener===t){s=c;break}if(s<0)return this;1===i.length?(i.length=0,delete this._events[e]):i.splice(s,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},t.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},t.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},t.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},t.listenerCount=function(e,t){return e.listenerCount(t)}},74103:(e,t,r)=>{"use strict";var n=r(36571),i=r(19127),s=r(42223),a=r(33371),c=r(67691);function o(e,t,r,i){return new n(e,t,r,i)}o.version=r(16938),o.AlgoliaSearchHelper=n,o.SearchParameters=a,o.RecommendParameters=i,o.SearchResults=c,o.RecommendResults=s,e.exports=o},46732:(e,t,r)=>{"use strict";var n=r(72733);function i(e,t,r){this.main=e,this.fn=t,this.recommendFn=r,this.lastResults=null,this.lastRecommendResults=null}r(73014)(i,n),i.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},i.prototype.getModifiedState=function(e){return this.fn(e)},i.prototype.getModifiedRecommendState=function(e){return this.recommendFn(e)},e.exports=i},19127:e=>{"use strict";function t(e){e=e||{},this.params=e.params||[]}t.prototype={constructor:t,addParams:function(e){var r=this.params.slice();return r.push(e),new t({params:r})},removeParams:function(e){return new t({params:this.params.filter((function(t){return t.$$id!==e}))})},addFrequentlyBoughtTogether:function(e){return this.addParams(Object.assign({},e,{model:"bought-together"}))},addRelatedProducts:function(e){return this.addParams(Object.assign({},e,{model:"related-products"}))},addTrendingItems:function(e){return this.addParams(Object.assign({},e,{model:"trending-items"}))},addTrendingFacets:function(e){return this.addParams(Object.assign({},e,{model:"trending-facets"}))},addLookingSimilar:function(e){return this.addParams(Object.assign({},e,{model:"looking-similar"}))},_buildQueries:function(e,t){return this.params.filter((function(e){return void 0===t[e.$$id]})).map((function(t){var r=Object.assign({},t,{indexName:e,threshold:t.threshold||0});return delete r.$$id,r}))}},e.exports=t},42223:e=>{"use strict";function t(e,t){this._state=e,this._rawResults={};var r=this;e.params.forEach((function(e){var n=e.$$id;r[n]=t[n],r._rawResults[n]=t[n]}))}t.prototype={constructor:t},e.exports=t},44054:(e,t,r)=>{"use strict";var n=r(29110),i=r(40317),s=r(21383),a={addRefinement:function(e,t,r){if(a.isRefined(e,t,r))return e;var i=""+r,s=e[t]?e[t].concat(i):[i],c={};return c[t]=s,n({},c,e)},removeRefinement:function(e,t,r){if(void 0===r)return a.clearRefinement(e,(function(e,r){return t===r}));var n=""+r;return a.clearRefinement(e,(function(e,r){return t===r&&n===e}))},toggleRefinement:function(e,t,r){if(void 0===r)throw new Error("toggleRefinement should be used with a value");return a.isRefined(e,t,r)?a.removeRefinement(e,t,r):a.addRefinement(e,t,r)},clearRefinement:function(e,t,r){if(void 0===t)return i(e)?{}:e;if("string"==typeof t)return s(e,[t]);if("function"==typeof t){var n=!1,a=Object.keys(e).reduce((function(i,s){var a=e[s]||[],c=a.filter((function(e){return!t(e,s,r)}));return c.length!==a.length&&(n=!0),i[s]=c,i}),{});return n?a:e}},isRefined:function(e,t,r){var n=Boolean(e[t])&&e[t].length>0;if(void 0===r||!n)return n;var i=""+r;return-1!==e[t].indexOf(i)}};e.exports=a},33371:(e,t,r)=>{"use strict";var n=r(29110),i=r(20849),s=r(14843),a=r(44728),c=r(40317),o=r(21383),u=r(17507),h=r(72208),f=r(44054);function l(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((function(e,r){return l(t[r],e)})):e===t}function m(e){var t=e?m._parseNumbers(e):{};void 0===t.userToken||h(t.userToken)||console.warn("[algoliasearch-helper] The `userToken` parameter is invalid. This can lead to wrong analytics.\n - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=t.facets||[],this.disjunctiveFacets=t.disjunctiveFacets||[],this.hierarchicalFacets=t.hierarchicalFacets||[],this.facetsRefinements=t.facetsRefinements||{},this.facetsExcludes=t.facetsExcludes||{},this.disjunctiveFacetsRefinements=t.disjunctiveFacetsRefinements||{},this.numericRefinements=t.numericRefinements||{},this.tagRefinements=t.tagRefinements||[],this.hierarchicalFacetsRefinements=t.hierarchicalFacetsRefinements||{};var r=this;Object.keys(t).forEach((function(e){var n=-1!==m.PARAMETERS.indexOf(e),i=void 0!==t[e];!n&&i&&(r[e]=t[e])}))}m.PARAMETERS=Object.keys(new m),m._parseNumbers=function(e){if(e instanceof m)return e;var t={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"].forEach((function(r){var n=e[r];if("string"==typeof n){var i=parseFloat(n);t[r]=isNaN(i)?n:i}})),Array.isArray(e.insideBoundingBox)&&(t.insideBoundingBox=e.insideBoundingBox.map((function(e){return Array.isArray(e)?e.map((function(e){return parseFloat(e)})):e}))),e.numericRefinements){var r={};Object.keys(e.numericRefinements).forEach((function(t){var n=e.numericRefinements[t]||{};r[t]={},Object.keys(n).forEach((function(e){var i=n[e].map((function(e){return Array.isArray(e)?e.map((function(e){return"string"==typeof e?parseFloat(e):e})):"string"==typeof e?parseFloat(e):e}));r[t][e]=i}))})),t.numericRefinements=r}return a(e,t)},m.make=function(e){var t=new m(e);return(e.hierarchicalFacets||[]).forEach((function(e){if(e.rootPath){var r=t.getHierarchicalRefinement(e.name);r.length>0&&0!==r[0].indexOf(e.rootPath)&&(t=t.clearRefinements(e.name)),0===(r=t.getHierarchicalRefinement(e.name)).length&&(t=t.toggleHierarchicalFacetRefinement(e.name,e.rootPath))}})),t},m.validate=function(e,t){var r=t||{};return e.tagFilters&&r.tagRefinements&&r.tagRefinements.length>0?new Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):e.tagRefinements.length>0&&r.tagFilters?new Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):e.numericFilters&&r.numericRefinements&&c(r.numericRefinements)?new Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):c(e.numericRefinements)&&r.numericFilters?new Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},m.prototype={constructor:m,clearRefinements:function(e){var t={numericRefinements:this._clearNumericRefinements(e),facetsRefinements:f.clearRefinement(this.facetsRefinements,e,"conjunctiveFacet"),facetsExcludes:f.clearRefinement(this.facetsExcludes,e,"exclude"),disjunctiveFacetsRefinements:f.clearRefinement(this.disjunctiveFacetsRefinements,e,"disjunctiveFacet"),hierarchicalFacetsRefinements:f.clearRefinement(this.hierarchicalFacetsRefinements,e,"hierarchicalFacet")};return t.numericRefinements===this.numericRefinements&&t.facetsRefinements===this.facetsRefinements&&t.facetsExcludes===this.facetsExcludes&&t.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&t.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(t)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(e){return e===this.index?this:this.setQueryParameters({index:e})},setQuery:function(e){return e===this.query?this:this.setQueryParameters({query:e})},setPage:function(e){return e===this.page?this:this.setQueryParameters({page:e})},setFacets:function(e){return this.setQueryParameters({facets:e})},setDisjunctiveFacets:function(e){return this.setQueryParameters({disjunctiveFacets:e})},setHitsPerPage:function(e){return this.hitsPerPage===e?this:this.setQueryParameters({hitsPerPage:e})},setTypoTolerance:function(e){return this.typoTolerance===e?this:this.setQueryParameters({typoTolerance:e})},addNumericRefinement:function(e,t,r){var n=u(r);if(this.isNumericRefined(e,t,n))return this;var i=a({},this.numericRefinements);return i[e]=a({},i[e]),i[e][t]?(i[e][t]=i[e][t].slice(),i[e][t].push(n)):i[e][t]=[n],this.setQueryParameters({numericRefinements:i})},getConjunctiveRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsRefinements[e]||[]},getDisjunctiveRefinements:function(e){return this.isDisjunctiveFacet(e)&&this.disjunctiveFacetsRefinements[e]||[]},getHierarchicalRefinement:function(e){return this.hierarchicalFacetsRefinements[e]||[]},getExcludeRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsExcludes[e]||[]},removeNumericRefinement:function(e,t,r){var n=r;return void 0!==n?this.isNumericRefined(e,t,n)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(r,i){return i===e&&r.op===t&&l(r.val,u(n))}))}):this:void 0!==t?this.isNumericRefined(e,t)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(r,n){return n===e&&r.op===t}))}):this:this.isNumericRefined(e)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(t,r){return r===e}))}):this},getNumericRefinements:function(e){return this.numericRefinements[e]||{}},getNumericRefinement:function(e,t){return this.numericRefinements[e]&&this.numericRefinements[e][t]},_clearNumericRefinements:function(e){if(void 0===e)return c(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof e)return o(this.numericRefinements,[e]);if("function"==typeof e){var t=!1,r=this.numericRefinements,n=Object.keys(r).reduce((function(n,i){var s=r[i],a={};return s=s||{},Object.keys(s).forEach((function(r){var n=s[r]||[],c=[];n.forEach((function(t){e({val:t,op:r},i,"numeric")||c.push(t)})),c.length!==n.length&&(t=!0),a[r]=c})),n[i]=a,n}),{});return t?n:this.numericRefinements}},addFacet:function(e){return this.isConjunctiveFacet(e)?this:this.setQueryParameters({facets:this.facets.concat([e])})},addDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([e])})},addHierarchicalFacet:function(e){if(this.isHierarchicalFacet(e.name))throw new Error("Cannot declare two hierarchical facets with the same name: `"+e.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([e])})},addFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsRefinements,e,t)?this:this.setQueryParameters({facetsRefinements:f.addRefinement(this.facetsRefinements,e,t)})},addExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsExcludes,e,t)?this:this.setQueryParameters({facetsExcludes:f.addRefinement(this.facetsExcludes,e,t)})},addDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return f.isRefined(this.disjunctiveFacetsRefinements,e,t)?this:this.setQueryParameters({disjunctiveFacetsRefinements:f.addRefinement(this.disjunctiveFacetsRefinements,e,t)})},addTagRefinement:function(e){if(this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.concat(e)};return this.setQueryParameters(t)},removeFacet:function(e){return this.isConjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({facets:this.facets.filter((function(t){return t!==e}))}):this},removeDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter((function(t){return t!==e}))}):this},removeHierarchicalFacet:function(e){return this.isHierarchicalFacet(e)?this.clearRefinements(e).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter((function(t){return t.name!==e}))}):this},removeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsRefinements,e,t)?this.setQueryParameters({facetsRefinements:f.removeRefinement(this.facetsRefinements,e,t)}):this},removeExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsExcludes,e,t)?this.setQueryParameters({facetsExcludes:f.removeRefinement(this.facetsExcludes,e,t)}):this},removeDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return f.isRefined(this.disjunctiveFacetsRefinements,e,t)?this.setQueryParameters({disjunctiveFacetsRefinements:f.removeRefinement(this.disjunctiveFacetsRefinements,e,t)}):this},removeTagRefinement:function(e){if(!this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.filter((function(t){return t!==e}))};return this.setQueryParameters(t)},toggleRefinement:function(e,t){return this.toggleFacetRefinement(e,t)},toggleFacetRefinement:function(e,t){if(this.isHierarchicalFacet(e))return this.toggleHierarchicalFacetRefinement(e,t);if(this.isConjunctiveFacet(e))return this.toggleConjunctiveFacetRefinement(e,t);if(this.isDisjunctiveFacet(e))return this.toggleDisjunctiveFacetRefinement(e,t);throw new Error("Cannot refine the undeclared facet "+e+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:f.toggleRefinement(this.facetsRefinements,e,t)})},toggleExcludeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:f.toggleRefinement(this.facetsExcludes,e,t)})},toggleDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:f.toggleRefinement(this.disjunctiveFacetsRefinements,e,t)})},toggleHierarchicalFacetRefinement:function(e,t){if(!this.isHierarchicalFacet(e))throw new Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration");var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),i={};return void 0!==this.hierarchicalFacetsRefinements[e]&&this.hierarchicalFacetsRefinements[e].length>0&&(this.hierarchicalFacetsRefinements[e][0]===t||0===this.hierarchicalFacetsRefinements[e][0].indexOf(t+r))?-1===t.indexOf(r)?i[e]=[]:i[e]=[t.slice(0,t.lastIndexOf(r))]:i[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:n({},i,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(e,t){if(this.isHierarchicalFacetRefined(e))throw new Error(e+" is already refined.");if(!this.isHierarchicalFacet(e))throw new Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var r={};return r[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:n({},r,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(e){if(!this.isHierarchicalFacetRefined(e))return this;var t={};return t[e]=[],this.setQueryParameters({hierarchicalFacetsRefinements:n({},t,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(e){return this.isTagRefined(e)?this.removeTagRefinement(e):this.addTagRefinement(e)},isDisjunctiveFacet:function(e){return this.disjunctiveFacets.indexOf(e)>-1},isHierarchicalFacet:function(e){return void 0!==this.getHierarchicalFacetByName(e)},isConjunctiveFacet:function(e){return this.facets.indexOf(e)>-1},isFacetRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&f.isRefined(this.facetsRefinements,e,t)},isExcludeRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&f.isRefined(this.facetsExcludes,e,t)},isDisjunctiveFacetRefined:function(e,t){return!!this.isDisjunctiveFacet(e)&&f.isRefined(this.disjunctiveFacetsRefinements,e,t)},isHierarchicalFacetRefined:function(e,t){if(!this.isHierarchicalFacet(e))return!1;var r=this.getHierarchicalRefinement(e);return t?-1!==r.indexOf(t):r.length>0},isNumericRefined:function(e,t,r){if(void 0===r&&void 0===t)return Boolean(this.numericRefinements[e]);var n=this.numericRefinements[e]&&void 0!==this.numericRefinements[e][t];if(void 0===r||!n)return n;var s,a,c=u(r),o=void 0!==(s=this.numericRefinements[e][t],a=c,i(s,(function(e){return l(e,a)})));return n&&o},isTagRefined:function(e){return-1!==this.tagRefinements.indexOf(e)},getRefinedDisjunctiveFacets:function(){var e=this,t=s(Object.keys(this.numericRefinements).filter((function(t){return Object.keys(e.numericRefinements[t]).length>0})),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter((function(t){return e.disjunctiveFacetsRefinements[t].length>0})).concat(t).concat(this.getRefinedHierarchicalFacets()).sort()},getRefinedHierarchicalFacets:function(){var e=this;return s(this.hierarchicalFacets.map((function(e){return e.name})),Object.keys(this.hierarchicalFacetsRefinements).filter((function(t){return e.hierarchicalFacetsRefinements[t].length>0}))).sort()},getUnrefinedDisjunctiveFacets:function(){var e=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter((function(t){return-1===e.indexOf(t)}))},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","hierarchicalFacets","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacetsRefinements"],getQueryParams:function(){var e=this.managedParameters,t={},r=this;return Object.keys(this).forEach((function(n){var i=r[n];-1===e.indexOf(n)&&void 0!==i&&(t[n]=i)})),t},setQueryParameter:function(e,t){if(this[e]===t)return this;var r={};return r[e]=t,this.setQueryParameters(r)},setQueryParameters:function(e){if(!e)return this;var t=m.validate(this,e);if(t)throw t;var r=this,n=m._parseNumbers(e),i=Object.keys(this).reduce((function(e,t){return e[t]=r[t],e}),{}),s=Object.keys(n).reduce((function(e,t){var r=void 0!==e[t],i=void 0!==n[t];return r&&!i?o(e,[t]):(i&&(e[t]=n[t]),e)}),i);return new this.constructor(s)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(e){return e.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(e){return e.separator||" > "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(e){return i(this.hierarchicalFacets,(function(t){return t.name===e}))},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var t=this.getHierarchicalRefinement(e)[0];if(!t)return[];var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return t.split(r).map((function(e){return e.trim()}))},toString:function(){return JSON.stringify(this,null,2)}},e.exports=m},76673:(e,t,r)=>{"use strict";e.exports=function(e){return function(t,r){var n=e.hierarchicalFacets[r],u=e.hierarchicalFacetsRefinements[n.name]&&e.hierarchicalFacetsRefinements[n.name][0]||"",h=e._getHierarchicalFacetSeparator(n),f=e._getHierarchicalRootPath(n),l=e._getHierarchicalShowParentLevel(n),m=s(e._getHierarchicalFacetSortBy(n)),d=t.every((function(e){return e.exhaustive})),p=function(e,t,r,n,s){return function(u,h,f){var l=u;if(f>0){var m=0;for(l=u;m{"use strict";var n=r(78965),i=r(29110),s=r(2909),a=r(20849),c=r(43917),o=r(7577),u=r(44728),h=r(38601),f=s.escapeFacetValue,l=s.unescapeFacetValue,m=r(76673);function d(e){var t={};return e.forEach((function(e,r){t[e]=r})),t}function p(e,t,r){t&&t[r]&&(e.stats=t[r])}function g(e,t,r){var s=t[0]||{};this._rawResults=t;var o=this;Object.keys(s).forEach((function(e){o[e]=s[e]}));var h=u({persistHierarchicalRootCount:!1},r);Object.keys(h).forEach((function(e){o[e]=h[e]})),this.processingTimeMS=t.reduce((function(e,t){return void 0===t.processingTimeMS?e:e+t.processingTimeMS}),0),this.disjunctiveFacets=[],this.hierarchicalFacets=e.hierarchicalFacets.map((function(){return[]})),this.facets=[];var f=e.getRefinedDisjunctiveFacets(),g=d(e.facets),v=d(e.disjunctiveFacets),y=1,R=s.facets||{};Object.keys(R).forEach((function(t){var r,n,i=R[t],u=(r=e.hierarchicalFacets,n=t,a(r,(function(e){return(e.attributes||[]).indexOf(n)>-1})));if(u){var h=u.attributes.indexOf(t),f=c(e.hierarchicalFacets,(function(e){return e.name===u.name}));o.hierarchicalFacets[f][h]={attribute:t,data:i,exhaustive:s.exhaustiveFacetsCount}}else{var l,m=-1!==e.disjunctiveFacets.indexOf(t),d=-1!==e.facets.indexOf(t);m&&(l=v[t],o.disjunctiveFacets[l]={name:t,data:i,exhaustive:s.exhaustiveFacetsCount},p(o.disjunctiveFacets[l],s.facets_stats,t)),d&&(l=g[t],o.facets[l]={name:t,data:i,exhaustive:s.exhaustiveFacetsCount},p(o.facets[l],s.facets_stats,t))}})),this.hierarchicalFacets=n(this.hierarchicalFacets),f.forEach((function(r){var n=t[y],a=n&&n.facets?n.facets:{},h=e.getHierarchicalFacetByName(r);Object.keys(a).forEach((function(t){var r,f=a[t];if(h){r=c(e.hierarchicalFacets,(function(e){return e.name===h.name}));var m=c(o.hierarchicalFacets[r],(function(e){return e.attribute===t}));if(-1===m)return;o.hierarchicalFacets[r][m].data=u({},o.hierarchicalFacets[r][m].data,f)}else{r=v[t];var d=s.facets&&s.facets[t]||{};o.disjunctiveFacets[r]={name:t,data:i({},f,d),exhaustive:n.exhaustiveFacetsCount},p(o.disjunctiveFacets[r],n.facets_stats,t),e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].forEach((function(n){!o.disjunctiveFacets[r].data[n]&&e.disjunctiveFacetsRefinements[t].indexOf(l(n))>-1&&(o.disjunctiveFacets[r].data[n]=0)}))}})),y++})),e.getRefinedHierarchicalFacets().forEach((function(r){var n=e.getHierarchicalFacetByName(r),s=e._getHierarchicalFacetSeparator(n),a=e.getHierarchicalRefinement(r);0===a.length||a[0].split(s).length<2||t.slice(y).forEach((function(t){var r=t&&t.facets?t.facets:{};Object.keys(r).forEach((function(t){var u=r[t],h=c(e.hierarchicalFacets,(function(e){return e.name===n.name})),f=c(o.hierarchicalFacets[h],(function(e){return e.attribute===t}));if(-1!==f){var l={};if(a.length>0&&!o.persistHierarchicalRootCount){var m=a[0].split(s)[0];l[m]=o.hierarchicalFacets[h][f].data[m]}o.hierarchicalFacets[h][f].data=i(l,u,o.hierarchicalFacets[h][f].data)}})),y++}))})),Object.keys(e.facetsExcludes).forEach((function(t){var r=e.facetsExcludes[t],n=g[t];o.facets[n]={name:t,data:R[t],exhaustive:s.exhaustiveFacetsCount},r.forEach((function(e){o.facets[n]=o.facets[n]||{name:t},o.facets[n].data=o.facets[n].data||{},o.facets[n].data[e]=0}))})),this.hierarchicalFacets=this.hierarchicalFacets.map(m(e)),this.facets=n(this.facets),this.disjunctiveFacets=n(this.disjunctiveFacets),this._state=e}function v(e,t){function r(e){return e.name===t}if(e._state.isConjunctiveFacet(t)){var n=a(e.facets,r);return n?Object.keys(n.data).map((function(r){var i=f(r);return{name:r,escapedValue:i,count:n.data[r],isRefined:e._state.isFacetRefined(t,i),isExcluded:e._state.isExcludeRefined(t,r)}})):[]}if(e._state.isDisjunctiveFacet(t)){var i=a(e.disjunctiveFacets,r);return i?Object.keys(i.data).map((function(r){var n=f(r);return{name:r,escapedValue:n,count:i.data[r],isRefined:e._state.isDisjunctiveFacetRefined(t,n)}})):[]}if(e._state.isHierarchicalFacet(t)){var s=a(e.hierarchicalFacets,r);if(!s)return s;var c=e._state.getHierarchicalFacetByName(t),o=e._state._getHierarchicalFacetSeparator(c),u=l(e._state.getHierarchicalRefinement(t)[0]||"");0===u.indexOf(c.rootPath)&&(u=u.replace(c.rootPath+o,""));var h=u.split(o);return h.unshift(t),y(s,h,0),s}}function y(e,t,r){e.isRefined=e.name===(t[r]&&t[r].trim()),e.data&&e.data.forEach((function(e){y(e,t,r+1)}))}function R(e,t,r,n){if(n=n||0,Array.isArray(t))return e(t,r[n]);if(!t.data||0===t.data.length)return t;var s=t.data.map((function(t){return R(e,t,r,n+1)})),a=e(s,r[n]);return i({data:a},t)}function F(e,t){var r=a(e,(function(e){return e.name===t}));return r&&r.stats}function b(e,t,r,n,i){var s=a(i,(function(e){return e.name===r})),c=s&&s.data&&s.data[n]?s.data[n]:0,o=s&&s.exhaustive||!1;return{type:t,attributeName:r,name:n,count:c,exhaustive:o}}g.prototype.getFacetByName=function(e){function t(t){return t.name===e}return a(this.facets,t)||a(this.disjunctiveFacets,t)||a(this.hierarchicalFacets,t)},g.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],g.prototype.getFacetValues=function(e,t){var r=v(this,e);if(r){var n,s=i({},t,{sortBy:g.DEFAULT_SORT,facetOrdering:!(t&&t.sortBy)}),a=this;if(Array.isArray(r))n=[e];else n=a._state.getHierarchicalFacetByName(r.name).attributes;return R((function(e,t){if(s.facetOrdering){var r=function(e,t){return e.renderingContent&&e.renderingContent.facetOrdering&&e.renderingContent.facetOrdering.values&&e.renderingContent.facetOrdering.values[t]}(a,t);if(r)return function(e,t){var r=[],n=[],i=t.hide||[],s=(t.order||[]).reduce((function(e,t,r){return e[t]=r,e}),{});e.forEach((function(e){var t=e.path||e.name,a=i.indexOf(t)>-1;a||void 0===s[t]?a||n.push(e):r[s[t]]=e})),r=r.filter((function(e){return e}));var a,c=t.sortRemainingBy;return"hidden"===c?r:(a="alpha"===c?[["path","name"],["asc","asc"]]:[["count"],["desc"]],r.concat(h(n,a[0],a[1])))}(e,r)}if(Array.isArray(s.sortBy)){var n=o(s.sortBy,g.DEFAULT_SORT);return h(e,n[0],n[1])}if("function"==typeof s.sortBy)return function(e,t){return t.sort(e)}(s.sortBy,e);throw new Error("options.sortBy is optional but if defined it must be either an array of string (predicates) or a sorting function")}),r,n)}},g.prototype.getFacetStats=function(e){return this._state.isConjunctiveFacet(e)?F(this.facets,e):this._state.isDisjunctiveFacet(e)?F(this.disjunctiveFacets,e):void 0},g.prototype.getRefinements=function(){var e=this._state,t=this,r=[];return Object.keys(e.facetsRefinements).forEach((function(n){e.facetsRefinements[n].forEach((function(i){r.push(b(e,"facet",n,i,t.facets))}))})),Object.keys(e.facetsExcludes).forEach((function(n){e.facetsExcludes[n].forEach((function(i){r.push(b(e,"exclude",n,i,t.facets))}))})),Object.keys(e.disjunctiveFacetsRefinements).forEach((function(n){e.disjunctiveFacetsRefinements[n].forEach((function(i){r.push(b(e,"disjunctive",n,i,t.disjunctiveFacets))}))})),Object.keys(e.hierarchicalFacetsRefinements).forEach((function(n){e.hierarchicalFacetsRefinements[n].forEach((function(i){r.push(function(e,t,r,n){var i=e.getHierarchicalFacetByName(t),s=e._getHierarchicalFacetSeparator(i),c=r.split(s),o=a(n,(function(e){return e.name===t})),u=c.reduce((function(e,t){var r=e&&a(e.data,(function(e){return e.name===t}));return void 0!==r?r:e}),o),h=u&&u.count||0,f=u&&u.exhaustive||!1,l=u&&u.path||"";return{type:"hierarchical",attributeName:t,name:l,count:h,exhaustive:f}}(e,n,i,t.hierarchicalFacets))}))})),Object.keys(e.numericRefinements).forEach((function(t){var n=e.numericRefinements[t];Object.keys(n).forEach((function(e){n[e].forEach((function(n){r.push({type:"numeric",attributeName:t,name:n,numericValue:n,operator:e})}))}))})),e.tagRefinements.forEach((function(e){r.push({type:"tag",attributeName:"_tags",name:e})})),r},e.exports=g},36571:(e,t,r)=>{"use strict";var n=r(72733),i=r(46732),s=r(2909).escapeFacetValue,a=r(73014),c=r(44728),o=r(40317),u=r(21383),h=r(19127),f=r(42223),l=r(49228),m=r(33371),d=r(67691),p=r(80130),g=r(16938);function v(e,t,r,n){"function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+g+")"),this.setClient(e);var i=r||{};i.index=t,this.state=m.make(i),this.recommendState=new h({params:i.recommendState}),this.lastResults=null,this.lastRecommendResults=null,this._queryId=0,this._recommendQueryId=0,this._lastQueryIdReceived=-1,this._lastRecommendQueryIdReceived=-1,this.derivedHelpers=[],this._currentNbQueries=0,this._currentNbRecommendQueries=0,this._searchResultsOptions=n,this._recommendCache={}}function y(e){if(e<0)throw new Error("Page requested below 0.");return this._change({state:this.state.setPage(e),isPageReset:!1}),this}function R(){return this.state.page}a(v,n),v.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},v.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},v.prototype.recommend=function(){return this._recommend(),this},v.prototype.getQuery=function(){var e=this.state;return l._getHitsSearchParams(e)},v.prototype.searchOnce=function(e,t){var r=e?this.state.setQueryParameters(e):this.state,n=l._getQueries(r.index,r),i=this;if(this._currentNbQueries++,this.emit("searchOnce",{state:r}),!t)return this.client.search(n).then((function(e){return i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),{content:new d(r,e.results),state:r,_originalResponse:e}}),(function(e){throw i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),e}));this.client.search(n).then((function(e){i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),t(null,new d(r,e.results),r)})).catch((function(e){i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),t(e,null,r)}))},v.prototype.findAnswers=function(e){console.warn("[algoliasearch-helper] answers is no longer supported");var t=this.state,r=this.derivedHelpers[0];if(!r)return Promise.resolve([]);var n=r.getModifiedState(t),i=c({attributesForPrediction:e.attributesForPrediction,nbHits:e.nbHits},{params:u(l._getHitsSearchParams(n),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),s="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if("function"!=typeof this.client.initIndex)throw new Error(s);var a=this.client.initIndex(n.index);if("function"!=typeof a.findAnswers)throw new Error(s);return a.findAnswers(n.query,e.queryLanguages,i)},v.prototype.searchForFacetValues=function(e,t,r,n){var i="function"==typeof this.client.searchForFacetValues&&"function"!=typeof this.client.searchForFacets,a="function"==typeof this.client.initIndex;if(!i&&!a&&"function"!=typeof this.client.search)throw new Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var c=this.state.setQueryParameters(n||{}),o=c.isDisjunctiveFacet(e),u=l.getSearchForFacetQuery(e,t,r,c);this._currentNbQueries++;var h,f=this;return i?h=this.client.searchForFacetValues([{indexName:c.index,params:u}]):a?h=this.client.initIndex(c.index).searchForFacetValues(u):(delete u.facetName,h=this.client.search([{type:"facet",facet:e,indexName:c.index,params:u}]).then((function(e){return e.results[0]}))),this.emit("searchForFacetValues",{state:c,facet:e,query:t}),h.then((function(t){return f._currentNbQueries--,0===f._currentNbQueries&&f.emit("searchQueueEmpty"),(t=Array.isArray(t)?t[0]:t).facetHits.forEach((function(t){t.escapedValue=s(t.value),t.isRefined=o?c.isDisjunctiveFacetRefined(e,t.escapedValue):c.isFacetRefined(e,t.escapedValue)})),t}),(function(e){throw f._currentNbQueries--,0===f._currentNbQueries&&f.emit("searchQueueEmpty"),e}))},v.prototype.setQuery=function(e){return this._change({state:this.state.resetPage().setQuery(e),isPageReset:!0}),this},v.prototype.clearRefinements=function(e){return this._change({state:this.state.resetPage().clearRefinements(e),isPageReset:!0}),this},v.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},v.prototype.addDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},v.prototype.addHierarchicalFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.addNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().addNumericRefinement(e,t,r),isPageReset:!0}),this},v.prototype.addFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},v.prototype.addFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().addExcludeRefinement(e,t),isPageReset:!0}),this},v.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},v.prototype.addTag=function(e){return this._change({state:this.state.resetPage().addTagRefinement(e),isPageReset:!0}),this},v.prototype.addFrequentlyBoughtTogether=function(e){return this._recommendChange({state:this.recommendState.addFrequentlyBoughtTogether(e)}),this},v.prototype.addRelatedProducts=function(e){return this._recommendChange({state:this.recommendState.addRelatedProducts(e)}),this},v.prototype.addTrendingItems=function(e){return this._recommendChange({state:this.recommendState.addTrendingItems(e)}),this},v.prototype.addTrendingFacets=function(e){return this._recommendChange({state:this.recommendState.addTrendingFacets(e)}),this},v.prototype.addLookingSimilar=function(e){return this._recommendChange({state:this.recommendState.addLookingSimilar(e)}),this},v.prototype.removeNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().removeNumericRefinement(e,t,r),isPageReset:!0}),this},v.prototype.removeDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},v.prototype.removeHierarchicalFacetRefinement=function(e){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(e),isPageReset:!0}),this},v.prototype.removeFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},v.prototype.removeFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().removeExcludeRefinement(e,t),isPageReset:!0}),this},v.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},v.prototype.removeTag=function(e){return this._change({state:this.state.resetPage().removeTagRefinement(e),isPageReset:!0}),this},v.prototype.removeFrequentlyBoughtTogether=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.removeRelatedProducts=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.removeTrendingItems=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.removeTrendingFacets=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.removeLookingSimilar=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.toggleFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},v.prototype.toggleRefinement=function(e,t){return this.toggleFacetRefinement(e,t)},v.prototype.toggleFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().toggleFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},v.prototype.toggleTag=function(e){return this._change({state:this.state.resetPage().toggleTagRefinement(e),isPageReset:!0}),this},v.prototype.nextPage=function(){var e=this.state.page||0;return this.setPage(e+1)},v.prototype.previousPage=function(){var e=this.state.page||0;return this.setPage(e-1)},v.prototype.setCurrentPage=y,v.prototype.setPage=y,v.prototype.setIndex=function(e){return this._change({state:this.state.resetPage().setIndex(e),isPageReset:!0}),this},v.prototype.setQueryParameter=function(e,t){return this._change({state:this.state.resetPage().setQueryParameter(e,t),isPageReset:!0}),this},v.prototype.setState=function(e){return this._change({state:m.make(e),isPageReset:!1}),this},v.prototype.overrideStateWithoutTriggeringChangeEvent=function(e){return this.state=new m(e),this},v.prototype.hasRefinements=function(e){return!!o(this.state.getNumericRefinements(e))||(this.state.isConjunctiveFacet(e)?this.state.isFacetRefined(e):this.state.isDisjunctiveFacet(e)?this.state.isDisjunctiveFacetRefined(e):!!this.state.isHierarchicalFacet(e)&&this.state.isHierarchicalFacetRefined(e))},v.prototype.isExcluded=function(e,t){return this.state.isExcludeRefined(e,t)},v.prototype.isDisjunctiveRefined=function(e,t){return this.state.isDisjunctiveFacetRefined(e,t)},v.prototype.hasTag=function(e){return this.state.isTagRefined(e)},v.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},v.prototype.getIndex=function(){return this.state.index},v.prototype.getCurrentPage=R,v.prototype.getPage=R,v.prototype.getTags=function(){return this.state.tagRefinements},v.prototype.getRefinements=function(e){var t=[];if(this.state.isConjunctiveFacet(e))this.state.getConjunctiveRefinements(e).forEach((function(e){t.push({value:e,type:"conjunctive"})})),this.state.getExcludeRefinements(e).forEach((function(e){t.push({value:e,type:"exclude"})}));else if(this.state.isDisjunctiveFacet(e)){this.state.getDisjunctiveRefinements(e).forEach((function(e){t.push({value:e,type:"disjunctive"})}))}var r=this.state.getNumericRefinements(e);return Object.keys(r).forEach((function(e){var n=r[e];t.push({value:n,operator:e,type:"numeric"})})),t},v.prototype.getNumericRefinement=function(e,t){return this.state.getNumericRefinement(e,t)},v.prototype.getHierarchicalFacetBreadcrumb=function(e){return this.state.getHierarchicalFacetBreadcrumb(e)},v.prototype._search=function(e){var t=this.state,r=[],n=[];e.onlyWithDerivedHelpers||(n=l._getQueries(t.index,t),r.push({state:t,queriesCount:n.length,helper:this}),this.emit("search",{state:t,results:this.lastResults}));var i=this.derivedHelpers.map((function(e){var n=e.getModifiedState(t),i=n.index?l._getQueries(n.index,n):[];return r.push({state:n,queriesCount:i.length,helper:e}),e.emit("search",{state:n,results:e.lastResults}),i})),s=Array.prototype.concat.apply(n,i),a=this._queryId++;if(this._currentNbQueries++,!s.length)return Promise.resolve({results:[]}).then(this._dispatchAlgoliaResponse.bind(this,r,a));try{this.client.search(s).then(this._dispatchAlgoliaResponse.bind(this,r,a)).catch(this._dispatchAlgoliaError.bind(this,a))}catch(c){this.emit("error",{error:c})}},v.prototype._recommend=function(){var e=this.state,t=this.recommendState,r=this.getIndex(),n=[{state:t,index:r,helper:this}],i=t.params.map((function(e){return e.$$id}));this.emit("fetch",{recommend:{state:t,results:this.lastRecommendResults}});var s=this._recommendCache,a=this.derivedHelpers.map((function(t){var r=t.getModifiedState(e).index;if(!r)return[];var a=t.getModifiedRecommendState(new h);return n.push({state:a,index:r,helper:t}),i=Array.prototype.concat.apply(i,a.params.map((function(e){return e.$$id}))),t.emit("fetch",{recommend:{state:a,results:t.lastRecommendResults}}),a._buildQueries(r,s)})),c=Array.prototype.concat.apply(this.recommendState._buildQueries(r,s),a);if(0!==c.length)if(c.length>0&&void 0===this.client.getRecommendations)console.warn("Please update algoliasearch/lite to the latest version in order to use recommend widgets.");else{var o=this._recommendQueryId++;this._currentNbRecommendQueries++;try{this.client.getRecommendations(c).then(this._dispatchRecommendResponse.bind(this,o,n,i)).catch(this._dispatchRecommendError.bind(this,o))}catch(u){this.emit("error",{error:u})}}},v.prototype._dispatchAlgoliaResponse=function(e,t,r){var n=this;if(!(t0},v.prototype._change=function(e){var t=e.state,r=e.isPageReset;t!==this.state&&(this.state=t,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:r}))},v.prototype._recommendChange=function(e){var t=e.state;t!==this.recommendState&&(this.recommendState=t,this.emit("recommend:change",{search:{results:this.lastResults,state:this.state},recommend:{results:this.lastRecommendResults,state:this.recommendState}}))},v.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},v.prototype.setClient=function(e){return this.client===e||("function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+g+")"),this.client=e),this},v.prototype.getClient=function(){return this.client},v.prototype.derive=function(e,t){var r=new i(this,e,t);return this.derivedHelpers.push(r),r},v.prototype.detachDerivedHelper=function(e){var t=this.derivedHelpers.indexOf(e);if(-1===t)throw new Error("Derived helper already detached");this.derivedHelpers.splice(t,1)},v.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},e.exports=v},78965:e=>{"use strict";e.exports=function(e){return Array.isArray(e)?e.filter(Boolean):[]}},29110:e=>{"use strict";e.exports=function(){return Array.prototype.slice.call(arguments).reduceRight((function(e,t){return Object.keys(Object(t)).forEach((function(r){void 0!==t[r]&&(void 0!==e[r]&&delete e[r],e[r]=t[r])})),e}),{})}},2909:e=>{"use strict";e.exports={escapeFacetValue:function(e){return"string"!=typeof e?e:String(e).replace(/^-/,"\\-")},unescapeFacetValue:function(e){return"string"!=typeof e?e:e.replace(/^\\-/,"-")}}},20849:e=>{"use strict";e.exports=function(e,t){if(Array.isArray(e))for(var r=0;r{"use strict";e.exports=function(e,t){if(!Array.isArray(e))return-1;for(var r=0;r{e.exports=function(e){return e.reduce((function(e,t){return e.concat(t)}),[])}},7577:(e,t,r)=>{"use strict";var n=r(20849);e.exports=function(e,t){var r=(t||[]).map((function(e){return e.split(":")}));return e.reduce((function(e,t){var i=t.split(":"),s=n(r,(function(e){return e[0]===i[0]}));return i.length>1||!s?(e[0].push(i[0]),e[1].push(i[1]),e):(e[0].push(s[0]),e[1].push(s[1]),e)}),[[],[]])}},73014:e=>{"use strict";e.exports=function(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}},14843:e=>{"use strict";e.exports=function(e,t){return e.filter((function(r,n){return t.indexOf(r)>-1&&e.indexOf(r)===n}))}},44728:e=>{"use strict";function t(e){return"function"==typeof e||Array.isArray(e)||"[object Object]"===Object.prototype.toString.call(e)}function r(e,n){if(e===n)return e;for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&"__proto__"!==i&&"constructor"!==i){var s=n[i],a=e[i];void 0!==a&&void 0===s||(t(a)&&t(s)?e[i]=r(a,s):e[i]="object"==typeof(c=s)&&null!==c?r(Array.isArray(c)?[]:{},c):c)}var c;return e}e.exports=function(e){t(e)||(e={});for(var n=1,i=arguments.length;n{"use strict";e.exports=function(e){return e&&Object.keys(e).length>0}},21383:e=>{"use strict";e.exports=function(e,t){if(null===e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n=0||(i[r]=e[r]);return i}},38601:e=>{"use strict";function t(e,t){if(e!==t){var r=void 0!==e,n=null===e,i=void 0!==t,s=null===t;if(!s&&e>t||n&&i||!r)return 1;if(!n&&e=n.length?s:"desc"===n[i]?-s:s}return e.index-r.index})),i.map((function(e){return e.value}))}},17507:e=>{"use strict";e.exports=function e(t){if("number"==typeof t)return t;if("string"==typeof t)return parseFloat(t);if(Array.isArray(t))return t.map(e);throw new Error("The value should be a number, a parsable string or an array of those.")}},49228:(e,t,r)=>{"use strict";var n=r(44728);function i(e){return Object.keys(e).sort().reduce((function(t,r){return t[r]=e[r],t}),{})}var s={_getQueries:function(e,t){var r=[];return r.push({indexName:e,params:s._getHitsSearchParams(t)}),t.getRefinedDisjunctiveFacets().forEach((function(n){r.push({indexName:e,params:s._getDisjunctiveFacetSearchParams(t,n)})})),t.getRefinedHierarchicalFacets().forEach((function(n){var i=t.getHierarchicalFacetByName(n),a=t.getHierarchicalRefinement(n),c=t._getHierarchicalFacetSeparator(i);if(a.length>0&&a[0].split(c).length>1){var o=a[0].split(c).slice(0,-1).reduce((function(e,t,r){return e.concat({attribute:i.attributes[r],value:0===r?t:[e[e.length-1].value,t].join(c)})}),[]);o.forEach((function(n,a){var c=s._getDisjunctiveFacetSearchParams(t,n.attribute,0===a);function u(e){return i.attributes.some((function(t){return t===e.split(":")[0]}))}var h=(c.facetFilters||[]).reduce((function(e,t){if(Array.isArray(t)){var r=t.filter((function(e){return!u(e)}));r.length>0&&e.push(r)}return"string"!=typeof t||u(t)||e.push(t),e}),[]),f=o[a-1];a>0?c.facetFilters=h.concat(f.attribute+":"+f.value):h.length>0?c.facetFilters=h:delete c.facetFilters,r.push({indexName:e,params:c})}))}})),r},_getHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets).concat(s._getHitsHierarchicalFacetsAttributes(e)).sort(),r=s._getFacetFilters(e),a=s._getNumericFilters(e),c=s._getTagFilters(e),o={};return t.length>0&&(o.facets=t.indexOf("*")>-1?["*"]:t),c.length>0&&(o.tagFilters=c),r.length>0&&(o.facetFilters=r),a.length>0&&(o.numericFilters=a),i(n({},e.getQueryParams(),o))},_getDisjunctiveFacetSearchParams:function(e,t,r){var a=s._getFacetFilters(e,t,r),c=s._getNumericFilters(e,t),o=s._getTagFilters(e),u={hitsPerPage:0,page:0,analytics:!1,clickAnalytics:!1};o.length>0&&(u.tagFilters=o);var h=e.getHierarchicalFacetByName(t);return u.facets=h?s._getDisjunctiveHierarchicalFacetAttribute(e,h,r):t,c.length>0&&(u.numericFilters=c),a.length>0&&(u.facetFilters=a),i(n({},e.getQueryParams(),u))},_getNumericFilters:function(e,t){if(e.numericFilters)return e.numericFilters;var r=[];return Object.keys(e.numericRefinements).forEach((function(n){var i=e.numericRefinements[n]||{};Object.keys(i).forEach((function(e){var s=i[e]||[];t!==n&&s.forEach((function(t){if(Array.isArray(t)){var i=t.map((function(t){return n+e+t}));r.push(i)}else r.push(n+e+t)}))}))})),r},_getTagFilters:function(e){return e.tagFilters?e.tagFilters:e.tagRefinements.join(",")},_getFacetFilters:function(e,t,r){var n=[],i=e.facetsRefinements||{};Object.keys(i).sort().forEach((function(e){(i[e]||[]).slice().sort().forEach((function(t){n.push(e+":"+t)}))}));var s=e.facetsExcludes||{};Object.keys(s).sort().forEach((function(e){(s[e]||[]).sort().forEach((function(t){n.push(e+":-"+t)}))}));var a=e.disjunctiveFacetsRefinements||{};Object.keys(a).sort().forEach((function(e){var r=a[e]||[];if(e!==t&&r&&0!==r.length){var i=[];r.slice().sort().forEach((function(t){i.push(e+":"+t)})),n.push(i)}}));var c=e.hierarchicalFacetsRefinements||{};return Object.keys(c).sort().forEach((function(i){var s=(c[i]||[])[0];if(void 0!==s){var a,o,u=e.getHierarchicalFacetByName(i),h=e._getHierarchicalFacetSeparator(u),f=e._getHierarchicalRootPath(u);if(t===i){if(-1===s.indexOf(h)||!f&&!0===r||f&&f.split(h).length===s.split(h).length)return;f?(o=f.split(h).length-1,s=f):(o=s.split(h).length-2,s=s.slice(0,s.lastIndexOf(h))),a=u.attributes[o]}else o=s.split(h).length-1,a=u.attributes[o];a&&n.push([a+":"+s])}})),n},_getHitsHierarchicalFacetsAttributes:function(e){return e.hierarchicalFacets.reduce((function(t,r){var n=e.getHierarchicalRefinement(r.name)[0];if(!n)return t.push(r.attributes[0]),t;var i=e._getHierarchicalFacetSeparator(r),s=n.split(i).length,a=r.attributes.slice(0,s+1);return t.concat(a)}),[])},_getDisjunctiveHierarchicalFacetAttribute:function(e,t,r){var n=e._getHierarchicalFacetSeparator(t);if(!0===r){var i=e._getHierarchicalRootPath(t),s=0;return i&&(s=i.split(n).length),[t.attributes[s]]}var a=(e.getHierarchicalRefinement(t.name)[0]||"").split(n).length-1;return t.attributes.slice(0,a+1)},getSearchForFacetQuery:function(e,t,r,a){var c=a.isDisjunctiveFacet(e)?a.clearRefinements(e):a,o={facetQuery:t,facetName:e};return"number"==typeof r&&(o.maxFacetHits=r),i(n({},s._getHitsSearchParams(c),o))}};e.exports=s},72208:e=>{"use strict";e.exports=function(e){return null!==e&&/^[a-zA-Z0-9_-]{1,64}$/.test(e)}},80130:(e,t,r)=>{"use strict";var n=r(20849),i=r(38657);e.exports=function(e){var t={};return e.forEach((function(e){e.forEach((function(e,r){t[e.objectID]?t[e.objectID]={indexSum:t[e.objectID].indexSum+r,count:t[e.objectID].count+1}:t[e.objectID]={indexSum:r,count:1}}))})),function(e,t){var r=[];return Object.keys(e).forEach((function(n){e[n].count<2&&(e[n].indexSum+=100),r.push({objectID:n,avgOfIndices:e[n].indexSum/t})})),r.sort((function(e,t){return e.avgOfIndices>t.avgOfIndices?1:-1}))}(t,e.length).reduce((function(t,r){var s=n(i(e),(function(e){return e.objectID===r.objectID}));return s?t.concat(s):t}),[])}},16938:e=>{"use strict";e.exports="3.22.5"},83643:function(e){e.exports=function(){"use strict";function e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function r(r){for(var n=1;n=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,i=!1,s=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,s=e}finally{try{n||null==c.return||c.return()}finally{if(i)throw s}}return r}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function s(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then((function(){c();var t=JSON.stringify(e);return s()[t]})).then((function(e){return Promise.all([e?e.value:t(),void 0!==e])})).then((function(e){var t=i(e,2),n=t[0],s=t[1];return Promise.all([n,s||r.miss(n)])})).then((function(e){return i(e,1)[0]}))},set:function(e,t){return Promise.resolve().then((function(){var i=s();return i[JSON.stringify(e)]={timestamp:(new Date).getTime(),value:t},n().setItem(r,JSON.stringify(i)),t}))},delete:function(e){return Promise.resolve().then((function(){var t=s();delete t[JSON.stringify(e)],n().setItem(r,JSON.stringify(t))}))},clear:function(){return Promise.resolve().then((function(){n().removeItem(r)}))}}}function c(e){var t=s(e.caches),r=t.shift();return void 0===r?{get:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return t().then((function(e){return Promise.all([e,r.miss(e)])})).then((function(e){return i(e,1)[0]}))},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return r.get(e,n,i).catch((function(){return c({caches:t}).get(e,n,i)}))},set:function(e,n){return r.set(e,n).catch((function(){return c({caches:t}).set(e,n)}))},delete:function(e){return r.delete(e).catch((function(){return c({caches:t}).delete(e)}))},clear:function(){return r.clear().catch((function(){return c({caches:t}).clear()}))}}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(r,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},s=JSON.stringify(r);if(s in t)return Promise.resolve(e.serializable?JSON.parse(t[s]):t[s]);var a=n(),c=i&&i.miss||function(){return Promise.resolve()};return a.then((function(e){return c(e)})).then((function(){return a}))},set:function(r,n){return t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function u(e){for(var t=e.length-1;t>0;t--){var r=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[r],e[r]=n}return e}function h(e,t){return t?(Object.keys(t).forEach((function(r){e[r]=t[r](e)})),e):e}function f(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0?n:void 0,timeout:r.timeout||t,headers:r.headers||{},queryParameters:r.queryParameters||{},cacheable:r.cacheable}}var d={Read:1,Write:2,Any:3},p=1,g=2,v=3;function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p;return r(r({},e),{},{status:t,lastUpdate:Date.now()})}function R(e){return"string"==typeof e?{protocol:"https",url:e,accept:d.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||d.Any}}var F="GET",b="POST";function j(e,t){return Promise.all(t.map((function(t){return e.get(t,(function(){return Promise.resolve(y(t))}))}))).then((function(e){var r=e.filter((function(e){return function(e){return e.status===p||Date.now()-e.lastUpdate>12e4}(e)})),n=e.filter((function(e){return function(e){return e.status===v&&Date.now()-e.lastUpdate<=12e4}(e)})),i=[].concat(s(r),s(n));return{getTimeout:function(e,t){return(0===n.length&&0===e?1:n.length+3+e)*t},statelessHosts:i.length>0?i.map((function(e){return R(e)})):t}}))}function P(e,t,n,i){var a=[],c=function(e,t){if(e.method!==F&&(void 0!==e.data||void 0!==t.data)){var n=Array.isArray(e.data)?e.data:r(r({},e.data),t.data);return JSON.stringify(n)}}(n,i),o=function(e,t){var n=r(r({},e.headers),t.headers),i={};return Object.keys(n).forEach((function(e){var t=n[e];i[e.toLowerCase()]=t})),i}(e,i),u=n.method,h=n.method!==F?{}:r(r({},n.data),i.data),f=r(r(r({"x-algolia-agent":e.userAgent.value},e.queryParameters),h),i.queryParameters),l=0,m=function t(r,s){var h=r.pop();if(void 0===h)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support .",transporterStackTrace:O(a)};var m={data:c,headers:o,method:u,url:x(h,n.path,f),connectTimeout:s(l,e.timeouts.connect),responseTimeout:s(l,i.timeout)},d=function(e){var t={request:m,response:e,host:h,triesLeft:r.length};return a.push(t),t},p={onSuccess:function(e){return function(e){try{return JSON.parse(e.content)}catch(t){throw function(e,t){return{name:"DeserializationError",message:e,response:t}}(t.message,e)}}(e)},onRetry:function(n){var i=d(n);return n.isTimedOut&&l++,Promise.all([e.logger.info("Retryable failure",w(i)),e.hostsCache.set(h,y(h,n.isTimedOut?v:g))]).then((function(){return t(r,s)}))},onFail:function(e){throw d(e),function(e,t){var r=e.content,n=e.status,i=r;try{i=JSON.parse(r).message}catch(e){}return function(e,t,r){return{name:"ApiError",message:e,status:t,transporterStackTrace:r}}(i,n,t)}(e,O(a))}};return e.requester.send(m).then((function(e){return function(e,t){return function(e){var t=e.status;return e.isTimedOut||function(e){var t=e.isTimedOut,r=e.status;return!t&&!~~r}(e)||2!=~~(t/100)&&4!=~~(t/100)}(e)?t.onRetry(e):2==~~(e.status/100)?t.onSuccess(e):t.onFail(e)}(e,p)}))};return j(e.hostsCache,t).then((function(e){return m(s(e.statelessHosts).reverse(),e.getTimeout)}))}function _(e){var t={value:"Algolia for JavaScript (".concat(e,")"),add:function(e){var r="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return-1===t.value.indexOf(r)&&(t.value="".concat(t.value).concat(r)),t}};return t}function x(e,t,r){var n=E(r),i="".concat(e.protocol,"://").concat(e.url,"/").concat("/"===t.charAt(0)?t.substr(1):t);return n.length&&(i+="?".concat(n)),i}function E(e){return Object.keys(e).map((function(t){return f("%s=%s",t,(r=e[t],"[object Object]"===Object.prototype.toString.call(r)||"[object Array]"===Object.prototype.toString.call(r)?JSON.stringify(e[t]):e[t]));var r})).join("&")}function O(e){return e.map((function(e){return w(e)}))}function w(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return r(r({},e),{},{request:r(r({},e.request),{},{headers:r(r({},e.request.headers),t)})})}var S=function(e){var t=e.appId,n=function(e,t,r){var n={"x-algolia-api-key":r,"x-algolia-application-id":t};return{headers:function(){return e===l.WithinHeaders?n:{}},queryParameters:function(){return e===l.WithinQueryParameters?n:{}}}}(void 0!==e.authMode?e.authMode:l.WithinHeaders,t,e.apiKey),s=function(e){var t=e.hostsCache,r=e.logger,n=e.requester,s=e.requestsCache,a=e.responsesCache,c=e.timeouts,o=e.userAgent,u=e.hosts,h=e.queryParameters,f={hostsCache:t,logger:r,requester:n,requestsCache:s,responsesCache:a,timeouts:c,userAgent:o,headers:e.headers,queryParameters:h,hosts:u.map((function(e){return R(e)})),read:function(e,t){var r=m(t,f.timeouts.read),n=function(){return P(f,f.hosts.filter((function(e){return!!(e.accept&d.Read)})),e,r)};if(!0!==(void 0!==r.cacheable?r.cacheable:e.cacheable))return n();var s={request:e,mappedRequestOptions:r,transporter:{queryParameters:f.queryParameters,headers:f.headers}};return f.responsesCache.get(s,(function(){return f.requestsCache.get(s,(function(){return f.requestsCache.set(s,n()).then((function(e){return Promise.all([f.requestsCache.delete(s),e])}),(function(e){return Promise.all([f.requestsCache.delete(s),Promise.reject(e)])})).then((function(e){var t=i(e,2);return t[0],t[1]}))}))}),{miss:function(e){return f.responsesCache.set(s,e)}})},write:function(e,t){return P(f,f.hosts.filter((function(e){return!!(e.accept&d.Write)})),e,m(t,f.timeouts.write))}};return f}(r(r({hosts:[{url:"".concat(t,"-dsn.algolia.net"),accept:d.Read},{url:"".concat(t,".algolia.net"),accept:d.Write}].concat(u([{url:"".concat(t,"-1.algolianet.com")},{url:"".concat(t,"-2.algolianet.com")},{url:"".concat(t,"-3.algolianet.com")}]))},e),{},{headers:r(r(r({},n.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:r(r({},n.queryParameters()),e.queryParameters)}));return h({transporter:s,appId:t,addAlgoliaAgent:function(e,t){s.userAgent.add({segment:e,version:t})},clearCache:function(){return Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then((function(){}))}},e.methods)},A=function(e){return function(t,r){return t.method===F?e.transporter.read(t,r):e.transporter.write(t,r)}},N=function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return h({transporter:e.transporter,appId:e.appId,indexName:t},r.methods)}},T=function(e){return function(t,n){var i=t.map((function(e){return r(r({},e),{},{params:E(e.params||{})})}));return e.transporter.read({method:b,path:"1/indexes/*/queries",data:{requests:i},cacheable:!0},n)}},H=function(e){return function(t,i){return Promise.all(t.map((function(t){var s=t.params,a=s.facetName,c=s.facetQuery,o=n(s,["facetName","facetQuery"]);return N(e)(t.indexName,{methods:{searchForFacetValues:I}}).searchForFacetValues(a,c,r(r({},i),o))})))}},Q=function(e){return function(t,r,n){return e.transporter.read({method:b,path:f("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:r},cacheable:!0},n)}},C=function(e){return function(t,r){return e.transporter.read({method:b,path:f("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},r)}},I=function(e){return function(t,r,n){return e.transporter.read({method:b,path:f("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:r},cacheable:!0},n)}},D=1,k=2,q=3,L=function(e){return function(t,n){var i=t.map((function(e){return r(r({},e),{},{threshold:e.threshold||0})}));return e.transporter.read({method:b,path:"1/indexes/*/recommendations",data:{requests:i},cacheable:!0},n)}};function V(e,t,n){var i,s={appId:e,apiKey:t,timeouts:{connect:1,read:2,write:30},requester:{send:function(e){return new Promise((function(t){var r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach((function(t){return r.setRequestHeader(t,e.headers[t])}));var n,i=function(e,n){return setTimeout((function(){r.abort(),t({status:0,content:n,isTimedOut:!0})}),1e3*e)},s=i(e.connectTimeout,"Connection timeout");r.onreadystatechange=function(){r.readyState>r.OPENED&&void 0===n&&(clearTimeout(s),n=i(e.responseTimeout,"Socket timeout"))},r.onerror=function(){0===r.status&&(clearTimeout(s),clearTimeout(n),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=function(){clearTimeout(s),clearTimeout(n),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)}))}},logger:(i=q,{debug:function(e,t){return D>=i&&console.debug(e,t),Promise.resolve()},info:function(e,t){return k>=i&&console.info(e,t),Promise.resolve()},error:function(e,t){return console.error(e,t),Promise.resolve()}}),responsesCache:o(),requestsCache:o({serializable:!1}),hostsCache:c({caches:[a({key:"".concat("4.24.0","-").concat(e)}),o()]}),userAgent:_("4.24.0").add({segment:"Browser",version:"lite"}),authMode:l.WithinQueryParameters};return S(r(r(r({},s),n),{},{methods:{search:T,searchForFacetValues:H,multipleQueries:T,multipleSearchForFacetValues:H,customRequest:A,initIndex:function(e){return function(t){return N(e)(t,{methods:{search:C,searchForFacetValues:I,findAnswers:Q}})}},getRecommendations:L}}))}return V.version="4.24.0",V}()},53465:(e,t,r)=>{"use strict";r.d(t,{W:()=>u});var n=r(96540),i=r(44586);const s=["zero","one","two","few","many","other"];function a(e){return s.filter((t=>e.includes(t)))}const c={locale:"en",pluralForms:a(["one","other"]),select:e=>1===e?"one":"other"};function o(){const{i18n:{currentLocale:e}}=(0,i.default)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:a(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),c}}),[e])}function u(){const e=o();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const i=r.select(t),s=r.pluralForms.indexOf(i);return n[Math.min(s,n.length-1)]}(r,t,e)}}},74604:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>w});var n=r(96540),i=r(34164),s=r(74103),a=r.n(s),c=r(83643),o=r.n(c),u=r(38193),h=r(5260),f=r(28774),l=r(44070),m=r(53465),d=r(24255),p=r(89532),g=r(45500),v=r(20481),y=r(21312),R=r(44586),F=r(38126),b=r(51062),j=r(70680),P=r(51107);const _={searchQueryInput:"searchQueryInput_u2C7",searchVersionInput:"searchVersionInput_m0Ui",searchResultsColumn:"searchResultsColumn_JPFH",algoliaLogo:"algoliaLogo_rT1R",algoliaLogoPathFill:"algoliaLogoPathFill_WdUC",searchResultItem:"searchResultItem_Tv2o",searchResultItemHeading:"searchResultItemHeading_KbCB",searchResultItemPath:"searchResultItemPath_lhe1",searchResultItemSummary:"searchResultItemSummary_AEaO",searchQueryColumn:"searchQueryColumn_RTkw",searchVersionColumn:"searchVersionColumn_ypXd",searchLogoColumn:"searchLogoColumn_rJIA",loadingSpinner:"loadingSpinner_XVxU","loading-spin":"loading-spin_vzvp",loader:"loader_vvXV"};var x=r(74848);function E(e){let{docsSearchVersionsHelpers:t}=e;const r=Object.entries(t.allDocsData).filter((e=>{let[,t]=e;return t.versions.length>1}));return(0,x.jsx)("div",{className:(0,i.A)("col","col--3","padding-left--none",_.searchVersionColumn),children:r.map((e=>{let[n,i]=e;const s=r.length>1?`${n}: `:"";return(0,x.jsx)("select",{onChange:e=>t.setSearchVersion(n,e.target.value),defaultValue:t.searchVersions[n],className:_.searchVersionInput,children:i.versions.map(((e,t)=>(0,x.jsx)("option",{label:`${s}${e.label}`,value:e.name},t)))},n)}))})}function O(){const{i18n:{currentLocale:e}}=(0,R.default)(),{algolia:{appId:t,apiKey:r,indexName:s,contextualSearch:c}}=(0,F.c)(),g=(0,b.C)(),O=function(){const{selectMessage:e}=(0,m.W)();return t=>e(t,(0,y.T)({id:"theme.SearchPage.documentsFound.plurals",description:'Pluralized label for "{count} documents found". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One document found|{count} documents found"},{count:t}))}(),w=function(){const e=(0,l.useAllDocsData)(),[t,r]=(0,n.useState)((()=>Object.entries(e).reduce(((e,t)=>{let[r,n]=t;return{...e,[r]:n.versions[0].name}}),{}))),i=Object.values(e).some((e=>e.versions.length>1));return{allDocsData:e,versioningEnabled:i,searchVersions:t,setSearchVersion:(e,t)=>r((r=>({...r,[e]:t})))}}(),[S,A]=(0,d.b)(),N={items:[],query:null,totalResults:null,totalPages:null,lastPage:null,hasMore:null,loading:null},[T,H]=(0,n.useReducer)(((e,t)=>{switch(t.type){case"reset":return N;case"loading":return{...e,loading:!0};case"update":return S!==t.value.query?e:{...t.value,items:0===t.value.lastPage?t.value.items:e.items.concat(t.value.items)};case"advance":{const t=e.totalPages>e.lastPage+1;return{...e,lastPage:t?e.lastPage+1:e.lastPage,hasMore:t}}default:return e}}),N),Q=c?["language","docusaurus_tag"]:[],C=o()(t,r),I=a()(C,s,{hitsPerPage:15,advancedSyntax:!0,disjunctiveFacets:Q});I.on("result",(e=>{let{results:{query:t,hits:r,page:n,nbHits:i,nbPages:s}}=e;if(""===t||!Array.isArray(r))return void H({type:"reset"});const a=e=>e.replace(/algolia-docsearch-suggestion--highlight/g,"search-result-match"),c=r.map((e=>{let{url:t,_highlightResult:{hierarchy:r},_snippetResult:n={}}=e;const i=Object.keys(r).map((e=>a(r[e].value)));return{title:i.pop(),url:g(t),summary:n.content?`${a(n.content.value)}...`:"",breadcrumbs:i}}));H({type:"update",value:{items:c,query:t,totalResults:i,totalPages:s,lastPage:n,hasMore:s>n+1,loading:!1}})}));const[D,k]=(0,n.useState)(null),q=(0,n.useRef)(0),L=(0,n.useRef)(u.A.canUseIntersectionObserver&&new IntersectionObserver((e=>{const{isIntersecting:t,boundingClientRect:{y:r}}=e[0];t&&q.current>r&&H({type:"advance"}),q.current=r}),{threshold:1})),V=()=>S?(0,y.T)({id:"theme.SearchPage.existingResultsTitle",message:'Search results for "{query}"',description:"The search page title for non-empty query"},{query:S}):(0,y.T)({id:"theme.SearchPage.emptyResultsTitle",message:"Search the documentation",description:"The search page title for empty query"}),B=(0,p._q)((function(t){void 0===t&&(t=0),c&&(I.addDisjunctiveFacetRefinement("docusaurus_tag","default"),I.addDisjunctiveFacetRefinement("language",e),Object.entries(w.searchVersions).forEach((e=>{let[t,r]=e;I.addDisjunctiveFacetRefinement("docusaurus_tag",`docs-${t}-${r}`)}))),I.setQuery(S).setPage(t).search()}));return(0,n.useEffect)((()=>{if(!D)return;const e=L.current;return e?(e.observe(D),()=>e.unobserve(D)):()=>!0}),[D]),(0,n.useEffect)((()=>{H({type:"reset"}),S&&(H({type:"loading"}),setTimeout((()=>{B()}),300))}),[S,w.searchVersions,B]),(0,n.useEffect)((()=>{T.lastPage&&0!==T.lastPage&&B(T.lastPage)}),[B,T.lastPage]),(0,x.jsxs)(j.A,{children:[(0,x.jsxs)(h.A,{children:[(0,x.jsx)("title",{children:(0,v.s)(V())}),(0,x.jsx)("meta",{property:"robots",content:"noindex, follow"})]}),(0,x.jsxs)("div",{className:"container margin-vert--lg",children:[(0,x.jsx)(P.default,{as:"h1",children:V()}),(0,x.jsxs)("form",{className:"row",onSubmit:e=>e.preventDefault(),children:[(0,x.jsx)("div",{className:(0,i.A)("col",_.searchQueryColumn,{"col--9":w.versioningEnabled,"col--12":!w.versioningEnabled}),children:(0,x.jsx)("input",{type:"search",name:"q",className:_.searchQueryInput,placeholder:(0,y.T)({id:"theme.SearchPage.inputPlaceholder",message:"Type your search here",description:"The placeholder for search page input"}),"aria-label":(0,y.T)({id:"theme.SearchPage.inputLabel",message:"Search",description:"The ARIA label for search page input"}),onChange:e=>A(e.target.value),value:S,autoComplete:"off",autoFocus:!0})}),c&&w.versioningEnabled&&(0,x.jsx)(E,{docsSearchVersionsHelpers:w})]}),(0,x.jsxs)("div",{className:"row",children:[(0,x.jsx)("div",{className:(0,i.A)("col","col--8",_.searchResultsColumn),children:!!T.totalResults&&O(T.totalResults)}),(0,x.jsx)("div",{className:(0,i.A)("col","col--4","text--right",_.searchLogoColumn),children:(0,x.jsx)(f.default,{to:"https://www.algolia.com/","aria-label":(0,y.T)({id:"theme.SearchPage.algoliaLabel",message:"Search by Algolia",description:"The ARIA label for Algolia mention"}),children:(0,x.jsx)("svg",{viewBox:"0 0 168 24",className:_.algoliaLogo,children:(0,x.jsxs)("g",{fill:"none",children:[(0,x.jsx)("path",{className:_.algoliaLogoPathFill,d:"M120.925 18.804c-4.386.02-4.386-3.54-4.386-4.106l-.007-13.336 2.675-.424v13.254c0 .322 0 2.358 1.718 2.364v2.248zm-10.846-2.18c.821 0 1.43-.047 1.855-.129v-2.719a6.334 6.334 0 0 0-1.574-.199 5.7 5.7 0 0 0-.897.069 2.699 2.699 0 0 0-.814.24c-.24.116-.439.28-.582.491-.15.212-.219.335-.219.656 0 .628.219.991.616 1.23s.938.362 1.615.362zm-.233-9.7c.883 0 1.629.109 2.231.328.602.218 1.088.525 1.444.915.363.396.609.922.76 1.483.157.56.232 1.175.232 1.85v6.874a32.5 32.5 0 0 1-1.868.314c-.834.123-1.772.185-2.813.185-.69 0-1.327-.069-1.895-.198a4.001 4.001 0 0 1-1.471-.636 3.085 3.085 0 0 1-.951-1.134c-.226-.465-.343-1.12-.343-1.803 0-.656.13-1.073.384-1.525a3.24 3.24 0 0 1 1.047-1.106c.445-.287.95-.492 1.532-.615a8.8 8.8 0 0 1 1.82-.185 8.404 8.404 0 0 1 1.972.24v-.438c0-.307-.035-.6-.11-.874a1.88 1.88 0 0 0-.384-.73 1.784 1.784 0 0 0-.724-.493 3.164 3.164 0 0 0-1.143-.205c-.616 0-1.177.075-1.69.164a7.735 7.735 0 0 0-1.26.307l-.321-2.192c.335-.117.834-.233 1.478-.349a10.98 10.98 0 0 1 2.073-.178zm52.842 9.626c.822 0 1.43-.048 1.854-.13V13.7a6.347 6.347 0 0 0-1.574-.199c-.294 0-.595.021-.896.069a2.7 2.7 0 0 0-.814.24 1.46 1.46 0 0 0-.582.491c-.15.212-.218.335-.218.656 0 .628.218.991.615 1.23.404.245.938.362 1.615.362zm-.226-9.694c.883 0 1.629.108 2.231.327.602.219 1.088.526 1.444.915.355.39.609.923.759 1.483a6.8 6.8 0 0 1 .233 1.852v6.873c-.41.088-1.034.19-1.868.314-.834.123-1.772.184-2.813.184-.69 0-1.327-.068-1.895-.198a4.001 4.001 0 0 1-1.471-.635 3.085 3.085 0 0 1-.951-1.134c-.226-.465-.343-1.12-.343-1.804 0-.656.13-1.073.384-1.524.26-.45.608-.82 1.047-1.107.445-.286.95-.491 1.532-.614a8.803 8.803 0 0 1 2.751-.13c.329.034.671.096 1.04.185v-.437a3.3 3.3 0 0 0-.109-.875 1.873 1.873 0 0 0-.384-.731 1.784 1.784 0 0 0-.724-.492 3.165 3.165 0 0 0-1.143-.205c-.616 0-1.177.075-1.69.164a7.75 7.75 0 0 0-1.26.307l-.321-2.193c.335-.116.834-.232 1.478-.348a11.633 11.633 0 0 1 2.073-.177zm-8.034-1.271a1.626 1.626 0 0 1-1.628-1.62c0-.895.725-1.62 1.628-1.62.904 0 1.63.725 1.63 1.62 0 .895-.733 1.62-1.63 1.62zm1.348 13.22h-2.689V7.27l2.69-.423v11.956zm-4.714 0c-4.386.02-4.386-3.54-4.386-4.107l-.008-13.336 2.676-.424v13.254c0 .322 0 2.358 1.718 2.364v2.248zm-8.698-5.903c0-1.156-.253-2.119-.746-2.788-.493-.677-1.183-1.01-2.067-1.01-.882 0-1.574.333-2.065 1.01-.493.676-.733 1.632-.733 2.788 0 1.168.246 1.953.74 2.63.492.683 1.183 1.018 2.066 1.018.882 0 1.574-.342 2.067-1.019.492-.683.738-1.46.738-2.63zm2.737-.007c0 .902-.13 1.584-.397 2.33a5.52 5.52 0 0 1-1.128 1.906 4.986 4.986 0 0 1-1.752 1.223c-.685.286-1.739.45-2.265.45-.528-.006-1.574-.157-2.252-.45a5.096 5.096 0 0 1-1.744-1.223c-.487-.527-.863-1.162-1.137-1.906a6.345 6.345 0 0 1-.41-2.33c0-.902.123-1.77.397-2.508a5.554 5.554 0 0 1 1.15-1.892 5.133 5.133 0 0 1 1.75-1.216c.679-.287 1.425-.423 2.232-.423.808 0 1.553.142 2.237.423a4.88 4.88 0 0 1 1.753 1.216 5.644 5.644 0 0 1 1.135 1.892c.287.738.431 1.606.431 2.508zm-20.138 0c0 1.12.246 2.363.738 2.882.493.52 1.13.78 1.91.78.424 0 .828-.062 1.204-.178.377-.116.677-.253.917-.417V9.33a10.476 10.476 0 0 0-1.766-.226c-.971-.028-1.71.37-2.23 1.004-.513.636-.773 1.75-.773 2.788zm7.438 5.274c0 1.824-.466 3.156-1.404 4.004-.936.846-2.367 1.27-4.296 1.27-.705 0-2.17-.137-3.34-.396l.431-2.118c.98.205 2.272.26 2.95.26 1.074 0 1.84-.219 2.299-.656.459-.437.684-1.086.684-1.948v-.437a8.07 8.07 0 0 1-1.047.397c-.43.13-.93.198-1.492.198-.739 0-1.41-.116-2.018-.349a4.206 4.206 0 0 1-1.567-1.025c-.431-.45-.774-1.017-1.013-1.694-.24-.677-.363-1.885-.363-2.773 0-.834.13-1.88.384-2.577.26-.696.629-1.298 1.129-1.796.493-.498 1.095-.881 1.8-1.162a6.605 6.605 0 0 1 2.428-.457c.87 0 1.67.109 2.45.24.78.129 1.444.265 1.985.415V18.17zM6.972 6.677v1.627c-.712-.446-1.52-.67-2.425-.67-.585 0-1.045.13-1.38.391a1.24 1.24 0 0 0-.502 1.03c0 .425.164.765.494 1.02.33.256.835.532 1.516.83.447.192.795.356 1.045.495.25.138.537.332.862.582.324.25.563.548.718.894.154.345.23.741.23 1.188 0 .947-.334 1.691-1.004 2.234-.67.542-1.537.814-2.601.814-1.18 0-2.16-.229-2.936-.686v-1.708c.84.628 1.814.942 2.92.942.585 0 1.048-.136 1.388-.407.34-.271.51-.646.51-1.125 0-.287-.1-.55-.302-.79-.203-.24-.42-.42-.655-.542-.234-.123-.585-.29-1.053-.503a61.27 61.27 0 0 1-.582-.271 13.67 13.67 0 0 1-.55-.287 4.275 4.275 0 0 1-.567-.351 6.92 6.92 0 0 1-.455-.4c-.18-.17-.31-.34-.39-.51-.08-.17-.155-.37-.224-.598a2.553 2.553 0 0 1-.104-.742c0-.915.333-1.638.998-2.17.664-.532 1.523-.798 2.576-.798.968 0 1.793.17 2.473.51zm7.468 5.696v-.287c-.022-.607-.187-1.088-.495-1.444-.309-.357-.75-.535-1.324-.535-.532 0-.99.194-1.373.583-.382.388-.622.949-.717 1.683h3.909zm1.005 2.792v1.404c-.596.34-1.383.51-2.362.51-1.255 0-2.255-.377-3-1.132-.744-.755-1.116-1.744-1.116-2.968 0-1.297.34-2.316 1.021-3.055.68-.74 1.548-1.11 2.6-1.11 1.033 0 1.852.323 2.458.966.606.644.91 1.572.91 2.784 0 .33-.033.676-.096 1.038h-5.314c.107.702.405 1.239.894 1.611.49.372 1.106.558 1.85.558.862 0 1.58-.202 2.155-.606zm6.605-1.77h-1.212c-.596 0-1.045.116-1.349.35-.303.234-.454.532-.454.894 0 .372.117.664.35.877.235.213.575.32 1.022.32.51 0 .912-.142 1.204-.424.293-.281.44-.651.44-1.108v-.91zm-4.068-2.554V9.325c.627-.361 1.457-.542 2.489-.542 2.116 0 3.175 1.026 3.175 3.08V17h-1.548v-.957c-.415.68-1.143 1.02-2.186 1.02-.766 0-1.38-.22-1.843-.661-.462-.442-.694-1.003-.694-1.684 0-.776.293-1.38.878-1.81.585-.431 1.404-.647 2.457-.647h1.34V11.8c0-.554-.133-.971-.399-1.253-.266-.282-.707-.423-1.324-.423a4.07 4.07 0 0 0-2.345.718zm9.333-1.93v1.42c.394-1 1.101-1.5 2.123-1.5.148 0 .313.016.494.048v1.531a1.885 1.885 0 0 0-.75-.143c-.542 0-.989.24-1.34.718-.351.479-.527 1.048-.527 1.707V17h-1.563V8.91h1.563zm5.01 4.084c.022.82.272 1.492.75 2.019.479.526 1.15.79 2.01.79.639 0 1.235-.176 1.788-.527v1.404c-.521.319-1.186.479-1.995.479-1.265 0-2.276-.4-3.031-1.197-.755-.798-1.133-1.792-1.133-2.984 0-1.16.38-2.151 1.14-2.975.761-.825 1.79-1.237 3.088-1.237.702 0 1.346.149 1.93.447v1.436a3.242 3.242 0 0 0-1.77-.495c-.84 0-1.513.266-2.019.798-.505.532-.758 1.213-.758 2.042zM40.24 5.72v4.579c.458-1 1.293-1.5 2.505-1.5.787 0 1.42.245 1.899.734.479.49.718 1.17.718 2.042V17h-1.564v-5.106c0-.553-.14-.98-.422-1.284-.282-.303-.652-.455-1.11-.455-.531 0-1.002.202-1.411.606-.41.405-.615 1.022-.615 1.851V17h-1.563V5.72h1.563zm14.966 10.02c.596 0 1.096-.253 1.5-.758.404-.506.606-1.157.606-1.955 0-.915-.202-1.62-.606-2.114-.404-.495-.92-.742-1.548-.742-.553 0-1.05.224-1.491.67-.442.447-.662 1.133-.662 2.058 0 .958.212 1.67.638 2.138.425.469.946.703 1.563.703zM53.004 5.72v4.42c.574-.894 1.388-1.341 2.44-1.341 1.022 0 1.857.383 2.506 1.149.649.766.973 1.781.973 3.047 0 1.138-.309 2.109-.925 2.912-.617.803-1.463 1.205-2.537 1.205-1.075 0-1.894-.447-2.457-1.34V17h-1.58V5.72h1.58zm9.908 11.104l-3.223-7.913h1.739l1.005 2.632 1.26 3.415c.096-.32.48-1.458 1.15-3.415l.909-2.632h1.66l-2.92 7.866c-.777 2.074-1.963 3.11-3.559 3.11a2.92 2.92 0 0 1-.734-.079v-1.34c.17.042.351.064.543.064 1.032 0 1.755-.57 2.17-1.708z"}),(0,x.jsx)("path",{fill:"#5468FF",d:"M78.988.938h16.594a2.968 2.968 0 0 1 2.966 2.966V20.5a2.967 2.967 0 0 1-2.966 2.964H78.988a2.967 2.967 0 0 1-2.966-2.964V3.897A2.961 2.961 0 0 1 78.988.938z"}),(0,x.jsx)("path",{fill:"white",d:"M89.632 5.967v-.772a.978.978 0 0 0-.978-.977h-2.28a.978.978 0 0 0-.978.977v.793c0 .088.082.15.171.13a7.127 7.127 0 0 1 1.984-.28c.65 0 1.295.088 1.917.259.082.02.164-.04.164-.13m-6.248 1.01l-.39-.389a.977.977 0 0 0-1.382 0l-.465.465a.973.973 0 0 0 0 1.38l.383.383c.062.061.15.047.205-.014.226-.307.472-.601.746-.874.281-.28.568-.526.883-.751.068-.042.075-.137.02-.2m4.16 2.453v3.341c0 .096.104.165.192.117l2.97-1.537c.068-.034.089-.117.055-.184a3.695 3.695 0 0 0-3.08-1.866c-.068 0-.136.054-.136.13m0 8.048a4.489 4.489 0 0 1-4.49-4.482 4.488 4.488 0 0 1 4.49-4.482 4.488 4.488 0 0 1 4.489 4.482 4.484 4.484 0 0 1-4.49 4.482m0-10.85a6.363 6.363 0 1 0 0 12.729 6.37 6.37 0 0 0 6.372-6.368 6.358 6.358 0 0 0-6.371-6.36"})]})})})})]}),T.items.length>0?(0,x.jsx)("main",{children:T.items.map(((e,t)=>{let{title:r,url:n,summary:s,breadcrumbs:a}=e;return(0,x.jsxs)("article",{className:_.searchResultItem,children:[(0,x.jsx)(P.default,{as:"h2",className:_.searchResultItemHeading,children:(0,x.jsx)(f.default,{to:n,dangerouslySetInnerHTML:{__html:r}})}),a.length>0&&(0,x.jsx)("nav",{"aria-label":"breadcrumbs",children:(0,x.jsx)("ul",{className:(0,i.A)("breadcrumbs",_.searchResultItemPath),children:a.map(((e,t)=>(0,x.jsx)("li",{className:"breadcrumbs__item",dangerouslySetInnerHTML:{__html:e}},t)))})}),s&&(0,x.jsx)("p",{className:_.searchResultItemSummary,dangerouslySetInnerHTML:{__html:s}})]},t)}))}):[S&&!T.loading&&(0,x.jsx)("p",{children:(0,x.jsx)(y.A,{id:"theme.SearchPage.noResultsText",description:"The paragraph for empty search result",children:"No results were found"})},"no-results"),!!T.loading&&(0,x.jsx)("div",{className:_.loadingSpinner},"spinner")],T.hasMore&&(0,x.jsx)("div",{className:_.loader,ref:k,children:(0,x.jsx)(y.A,{id:"theme.SearchPage.fetchingNewResults",description:"The paragraph for fetching new search results",children:"Fetching new results..."})})]})]})}function w(){return(0,x.jsx)(g.e3,{className:"search-page-wrapper",children:(0,x.jsx)(O,{})})}}}]); \ No newline at end of file diff --git a/assets/js/1a4e3797.f70ae51a.js.LICENSE.txt b/assets/js/1a4e3797.edb30e07.js.LICENSE.txt similarity index 100% rename from assets/js/1a4e3797.f70ae51a.js.LICENSE.txt rename to assets/js/1a4e3797.edb30e07.js.LICENSE.txt diff --git a/assets/js/1a4e3797.f70ae51a.js b/assets/js/1a4e3797.f70ae51a.js deleted file mode 100644 index 6075f89a..00000000 --- a/assets/js/1a4e3797.f70ae51a.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 1a4e3797.f70ae51a.js.LICENSE.txt */ -(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2138],{72733:e=>{function t(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function n(e){return"object"==typeof e&&null!==e}function i(e){return void 0===e}e.exports=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},t.prototype.emit=function(e){var t,s,a,c,o,u;if(this._events||(this._events={}),"error"===e&&(!this._events.error||n(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var h=new Error('Uncaught, unspecified "error" event. ('+t+")");throw h.context=t,h}if(i(s=this._events[e]))return!1;if(r(s))switch(arguments.length){case 1:s.call(this);break;case 2:s.call(this,arguments[1]);break;case 3:s.call(this,arguments[1],arguments[2]);break;default:c=Array.prototype.slice.call(arguments,1),s.apply(this,c)}else if(n(s))for(c=Array.prototype.slice.call(arguments,1),a=(u=s.slice()).length,o=0;o0&&this._events[e].length>a&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(e,t){if(!r(t))throw TypeError("listener must be a function");var n=!1;function i(){this.removeListener(e,i),n||(n=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},t.prototype.removeListener=function(e,t){var i,s,a,c;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(a=(i=this._events[e]).length,s=-1,i===t||r(i.listener)&&i.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(n(i)){for(c=a;c-- >0;)if(i[c]===t||i[c].listener&&i[c].listener===t){s=c;break}if(s<0)return this;1===i.length?(i.length=0,delete this._events[e]):i.splice(s,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},t.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},t.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},t.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},t.listenerCount=function(e,t){return e.listenerCount(t)}},74103:(e,t,r)=>{"use strict";var n=r(36571),i=r(19127),s=r(42223),a=r(33371),c=r(67691);function o(e,t,r,i){return new n(e,t,r,i)}o.version=r(16938),o.AlgoliaSearchHelper=n,o.SearchParameters=a,o.RecommendParameters=i,o.SearchResults=c,o.RecommendResults=s,e.exports=o},46732:(e,t,r)=>{"use strict";var n=r(72733);function i(e,t,r){this.main=e,this.fn=t,this.recommendFn=r,this.lastResults=null,this.lastRecommendResults=null}r(73014)(i,n),i.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},i.prototype.getModifiedState=function(e){return this.fn(e)},i.prototype.getModifiedRecommendState=function(e){return this.recommendFn(e)},e.exports=i},19127:e=>{"use strict";function t(e){e=e||{},this.params=e.params||[]}t.prototype={constructor:t,addParams:function(e){var r=this.params.slice();return r.push(e),new t({params:r})},removeParams:function(e){return new t({params:this.params.filter((function(t){return t.$$id!==e}))})},addFrequentlyBoughtTogether:function(e){return this.addParams(Object.assign({},e,{model:"bought-together"}))},addRelatedProducts:function(e){return this.addParams(Object.assign({},e,{model:"related-products"}))},addTrendingItems:function(e){return this.addParams(Object.assign({},e,{model:"trending-items"}))},addTrendingFacets:function(e){return this.addParams(Object.assign({},e,{model:"trending-facets"}))},addLookingSimilar:function(e){return this.addParams(Object.assign({},e,{model:"looking-similar"}))},_buildQueries:function(e,t){return this.params.filter((function(e){return void 0===t[e.$$id]})).map((function(t){var r=Object.assign({},t,{indexName:e,threshold:t.threshold||0});return delete r.$$id,r}))}},e.exports=t},42223:e=>{"use strict";function t(e,t){this._state=e,this._rawResults={};var r=this;e.params.forEach((function(e){var n=e.$$id;r[n]=t[n],r._rawResults[n]=t[n]}))}t.prototype={constructor:t},e.exports=t},44054:(e,t,r)=>{"use strict";var n=r(29110),i=r(40317),s=r(21383),a={addRefinement:function(e,t,r){if(a.isRefined(e,t,r))return e;var i=""+r,s=e[t]?e[t].concat(i):[i],c={};return c[t]=s,n({},c,e)},removeRefinement:function(e,t,r){if(void 0===r)return a.clearRefinement(e,(function(e,r){return t===r}));var n=""+r;return a.clearRefinement(e,(function(e,r){return t===r&&n===e}))},toggleRefinement:function(e,t,r){if(void 0===r)throw new Error("toggleRefinement should be used with a value");return a.isRefined(e,t,r)?a.removeRefinement(e,t,r):a.addRefinement(e,t,r)},clearRefinement:function(e,t,r){if(void 0===t)return i(e)?{}:e;if("string"==typeof t)return s(e,[t]);if("function"==typeof t){var n=!1,a=Object.keys(e).reduce((function(i,s){var a=e[s]||[],c=a.filter((function(e){return!t(e,s,r)}));return c.length!==a.length&&(n=!0),i[s]=c,i}),{});return n?a:e}},isRefined:function(e,t,r){var n=Boolean(e[t])&&e[t].length>0;if(void 0===r||!n)return n;var i=""+r;return-1!==e[t].indexOf(i)}};e.exports=a},33371:(e,t,r)=>{"use strict";var n=r(29110),i=r(20849),s=r(14843),a=r(44728),c=r(40317),o=r(21383),u=r(17507),h=r(72208),f=r(44054);function l(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((function(e,r){return l(t[r],e)})):e===t}function m(e){var t=e?m._parseNumbers(e):{};void 0===t.userToken||h(t.userToken)||console.warn("[algoliasearch-helper] The `userToken` parameter is invalid. This can lead to wrong analytics.\n - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=t.facets||[],this.disjunctiveFacets=t.disjunctiveFacets||[],this.hierarchicalFacets=t.hierarchicalFacets||[],this.facetsRefinements=t.facetsRefinements||{},this.facetsExcludes=t.facetsExcludes||{},this.disjunctiveFacetsRefinements=t.disjunctiveFacetsRefinements||{},this.numericRefinements=t.numericRefinements||{},this.tagRefinements=t.tagRefinements||[],this.hierarchicalFacetsRefinements=t.hierarchicalFacetsRefinements||{};var r=this;Object.keys(t).forEach((function(e){var n=-1!==m.PARAMETERS.indexOf(e),i=void 0!==t[e];!n&&i&&(r[e]=t[e])}))}m.PARAMETERS=Object.keys(new m),m._parseNumbers=function(e){if(e instanceof m)return e;var t={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"].forEach((function(r){var n=e[r];if("string"==typeof n){var i=parseFloat(n);t[r]=isNaN(i)?n:i}})),Array.isArray(e.insideBoundingBox)&&(t.insideBoundingBox=e.insideBoundingBox.map((function(e){return Array.isArray(e)?e.map((function(e){return parseFloat(e)})):e}))),e.numericRefinements){var r={};Object.keys(e.numericRefinements).forEach((function(t){var n=e.numericRefinements[t]||{};r[t]={},Object.keys(n).forEach((function(e){var i=n[e].map((function(e){return Array.isArray(e)?e.map((function(e){return"string"==typeof e?parseFloat(e):e})):"string"==typeof e?parseFloat(e):e}));r[t][e]=i}))})),t.numericRefinements=r}return a(e,t)},m.make=function(e){var t=new m(e);return(e.hierarchicalFacets||[]).forEach((function(e){if(e.rootPath){var r=t.getHierarchicalRefinement(e.name);r.length>0&&0!==r[0].indexOf(e.rootPath)&&(t=t.clearRefinements(e.name)),0===(r=t.getHierarchicalRefinement(e.name)).length&&(t=t.toggleHierarchicalFacetRefinement(e.name,e.rootPath))}})),t},m.validate=function(e,t){var r=t||{};return e.tagFilters&&r.tagRefinements&&r.tagRefinements.length>0?new Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):e.tagRefinements.length>0&&r.tagFilters?new Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):e.numericFilters&&r.numericRefinements&&c(r.numericRefinements)?new Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):c(e.numericRefinements)&&r.numericFilters?new Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},m.prototype={constructor:m,clearRefinements:function(e){var t={numericRefinements:this._clearNumericRefinements(e),facetsRefinements:f.clearRefinement(this.facetsRefinements,e,"conjunctiveFacet"),facetsExcludes:f.clearRefinement(this.facetsExcludes,e,"exclude"),disjunctiveFacetsRefinements:f.clearRefinement(this.disjunctiveFacetsRefinements,e,"disjunctiveFacet"),hierarchicalFacetsRefinements:f.clearRefinement(this.hierarchicalFacetsRefinements,e,"hierarchicalFacet")};return t.numericRefinements===this.numericRefinements&&t.facetsRefinements===this.facetsRefinements&&t.facetsExcludes===this.facetsExcludes&&t.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&t.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(t)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(e){return e===this.index?this:this.setQueryParameters({index:e})},setQuery:function(e){return e===this.query?this:this.setQueryParameters({query:e})},setPage:function(e){return e===this.page?this:this.setQueryParameters({page:e})},setFacets:function(e){return this.setQueryParameters({facets:e})},setDisjunctiveFacets:function(e){return this.setQueryParameters({disjunctiveFacets:e})},setHitsPerPage:function(e){return this.hitsPerPage===e?this:this.setQueryParameters({hitsPerPage:e})},setTypoTolerance:function(e){return this.typoTolerance===e?this:this.setQueryParameters({typoTolerance:e})},addNumericRefinement:function(e,t,r){var n=u(r);if(this.isNumericRefined(e,t,n))return this;var i=a({},this.numericRefinements);return i[e]=a({},i[e]),i[e][t]?(i[e][t]=i[e][t].slice(),i[e][t].push(n)):i[e][t]=[n],this.setQueryParameters({numericRefinements:i})},getConjunctiveRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsRefinements[e]||[]},getDisjunctiveRefinements:function(e){return this.isDisjunctiveFacet(e)&&this.disjunctiveFacetsRefinements[e]||[]},getHierarchicalRefinement:function(e){return this.hierarchicalFacetsRefinements[e]||[]},getExcludeRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsExcludes[e]||[]},removeNumericRefinement:function(e,t,r){var n=r;return void 0!==n?this.isNumericRefined(e,t,n)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(r,i){return i===e&&r.op===t&&l(r.val,u(n))}))}):this:void 0!==t?this.isNumericRefined(e,t)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(r,n){return n===e&&r.op===t}))}):this:this.isNumericRefined(e)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(t,r){return r===e}))}):this},getNumericRefinements:function(e){return this.numericRefinements[e]||{}},getNumericRefinement:function(e,t){return this.numericRefinements[e]&&this.numericRefinements[e][t]},_clearNumericRefinements:function(e){if(void 0===e)return c(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof e)return o(this.numericRefinements,[e]);if("function"==typeof e){var t=!1,r=this.numericRefinements,n=Object.keys(r).reduce((function(n,i){var s=r[i],a={};return s=s||{},Object.keys(s).forEach((function(r){var n=s[r]||[],c=[];n.forEach((function(t){e({val:t,op:r},i,"numeric")||c.push(t)})),c.length!==n.length&&(t=!0),a[r]=c})),n[i]=a,n}),{});return t?n:this.numericRefinements}},addFacet:function(e){return this.isConjunctiveFacet(e)?this:this.setQueryParameters({facets:this.facets.concat([e])})},addDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([e])})},addHierarchicalFacet:function(e){if(this.isHierarchicalFacet(e.name))throw new Error("Cannot declare two hierarchical facets with the same name: `"+e.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([e])})},addFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsRefinements,e,t)?this:this.setQueryParameters({facetsRefinements:f.addRefinement(this.facetsRefinements,e,t)})},addExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsExcludes,e,t)?this:this.setQueryParameters({facetsExcludes:f.addRefinement(this.facetsExcludes,e,t)})},addDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return f.isRefined(this.disjunctiveFacetsRefinements,e,t)?this:this.setQueryParameters({disjunctiveFacetsRefinements:f.addRefinement(this.disjunctiveFacetsRefinements,e,t)})},addTagRefinement:function(e){if(this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.concat(e)};return this.setQueryParameters(t)},removeFacet:function(e){return this.isConjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({facets:this.facets.filter((function(t){return t!==e}))}):this},removeDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter((function(t){return t!==e}))}):this},removeHierarchicalFacet:function(e){return this.isHierarchicalFacet(e)?this.clearRefinements(e).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter((function(t){return t.name!==e}))}):this},removeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsRefinements,e,t)?this.setQueryParameters({facetsRefinements:f.removeRefinement(this.facetsRefinements,e,t)}):this},removeExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsExcludes,e,t)?this.setQueryParameters({facetsExcludes:f.removeRefinement(this.facetsExcludes,e,t)}):this},removeDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return f.isRefined(this.disjunctiveFacetsRefinements,e,t)?this.setQueryParameters({disjunctiveFacetsRefinements:f.removeRefinement(this.disjunctiveFacetsRefinements,e,t)}):this},removeTagRefinement:function(e){if(!this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.filter((function(t){return t!==e}))};return this.setQueryParameters(t)},toggleRefinement:function(e,t){return this.toggleFacetRefinement(e,t)},toggleFacetRefinement:function(e,t){if(this.isHierarchicalFacet(e))return this.toggleHierarchicalFacetRefinement(e,t);if(this.isConjunctiveFacet(e))return this.toggleConjunctiveFacetRefinement(e,t);if(this.isDisjunctiveFacet(e))return this.toggleDisjunctiveFacetRefinement(e,t);throw new Error("Cannot refine the undeclared facet "+e+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:f.toggleRefinement(this.facetsRefinements,e,t)})},toggleExcludeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:f.toggleRefinement(this.facetsExcludes,e,t)})},toggleDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:f.toggleRefinement(this.disjunctiveFacetsRefinements,e,t)})},toggleHierarchicalFacetRefinement:function(e,t){if(!this.isHierarchicalFacet(e))throw new Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration");var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),i={};return void 0!==this.hierarchicalFacetsRefinements[e]&&this.hierarchicalFacetsRefinements[e].length>0&&(this.hierarchicalFacetsRefinements[e][0]===t||0===this.hierarchicalFacetsRefinements[e][0].indexOf(t+r))?-1===t.indexOf(r)?i[e]=[]:i[e]=[t.slice(0,t.lastIndexOf(r))]:i[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:n({},i,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(e,t){if(this.isHierarchicalFacetRefined(e))throw new Error(e+" is already refined.");if(!this.isHierarchicalFacet(e))throw new Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var r={};return r[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:n({},r,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(e){if(!this.isHierarchicalFacetRefined(e))return this;var t={};return t[e]=[],this.setQueryParameters({hierarchicalFacetsRefinements:n({},t,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(e){return this.isTagRefined(e)?this.removeTagRefinement(e):this.addTagRefinement(e)},isDisjunctiveFacet:function(e){return this.disjunctiveFacets.indexOf(e)>-1},isHierarchicalFacet:function(e){return void 0!==this.getHierarchicalFacetByName(e)},isConjunctiveFacet:function(e){return this.facets.indexOf(e)>-1},isFacetRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&f.isRefined(this.facetsRefinements,e,t)},isExcludeRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&f.isRefined(this.facetsExcludes,e,t)},isDisjunctiveFacetRefined:function(e,t){return!!this.isDisjunctiveFacet(e)&&f.isRefined(this.disjunctiveFacetsRefinements,e,t)},isHierarchicalFacetRefined:function(e,t){if(!this.isHierarchicalFacet(e))return!1;var r=this.getHierarchicalRefinement(e);return t?-1!==r.indexOf(t):r.length>0},isNumericRefined:function(e,t,r){if(void 0===r&&void 0===t)return Boolean(this.numericRefinements[e]);var n=this.numericRefinements[e]&&void 0!==this.numericRefinements[e][t];if(void 0===r||!n)return n;var s,a,c=u(r),o=void 0!==(s=this.numericRefinements[e][t],a=c,i(s,(function(e){return l(e,a)})));return n&&o},isTagRefined:function(e){return-1!==this.tagRefinements.indexOf(e)},getRefinedDisjunctiveFacets:function(){var e=this,t=s(Object.keys(this.numericRefinements).filter((function(t){return Object.keys(e.numericRefinements[t]).length>0})),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter((function(t){return e.disjunctiveFacetsRefinements[t].length>0})).concat(t).concat(this.getRefinedHierarchicalFacets()).sort()},getRefinedHierarchicalFacets:function(){var e=this;return s(this.hierarchicalFacets.map((function(e){return e.name})),Object.keys(this.hierarchicalFacetsRefinements).filter((function(t){return e.hierarchicalFacetsRefinements[t].length>0}))).sort()},getUnrefinedDisjunctiveFacets:function(){var e=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter((function(t){return-1===e.indexOf(t)}))},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","hierarchicalFacets","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacetsRefinements"],getQueryParams:function(){var e=this.managedParameters,t={},r=this;return Object.keys(this).forEach((function(n){var i=r[n];-1===e.indexOf(n)&&void 0!==i&&(t[n]=i)})),t},setQueryParameter:function(e,t){if(this[e]===t)return this;var r={};return r[e]=t,this.setQueryParameters(r)},setQueryParameters:function(e){if(!e)return this;var t=m.validate(this,e);if(t)throw t;var r=this,n=m._parseNumbers(e),i=Object.keys(this).reduce((function(e,t){return e[t]=r[t],e}),{}),s=Object.keys(n).reduce((function(e,t){var r=void 0!==e[t],i=void 0!==n[t];return r&&!i?o(e,[t]):(i&&(e[t]=n[t]),e)}),i);return new this.constructor(s)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(e){return e.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(e){return e.separator||" > "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(e){return i(this.hierarchicalFacets,(function(t){return t.name===e}))},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var t=this.getHierarchicalRefinement(e)[0];if(!t)return[];var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return t.split(r).map((function(e){return e.trim()}))},toString:function(){return JSON.stringify(this,null,2)}},e.exports=m},76673:(e,t,r)=>{"use strict";e.exports=function(e){return function(t,r){var n=e.hierarchicalFacets[r],u=e.hierarchicalFacetsRefinements[n.name]&&e.hierarchicalFacetsRefinements[n.name][0]||"",h=e._getHierarchicalFacetSeparator(n),f=e._getHierarchicalRootPath(n),l=e._getHierarchicalShowParentLevel(n),m=s(e._getHierarchicalFacetSortBy(n)),d=t.every((function(e){return e.exhaustive})),p=function(e,t,r,n,s){return function(u,h,f){var l=u;if(f>0){var m=0;for(l=u;m{"use strict";var n=r(78965),i=r(29110),s=r(2909),a=r(20849),c=r(43917),o=r(7577),u=r(44728),h=r(38601),f=s.escapeFacetValue,l=s.unescapeFacetValue,m=r(76673);function d(e){var t={};return e.forEach((function(e,r){t[e]=r})),t}function p(e,t,r){t&&t[r]&&(e.stats=t[r])}function g(e,t,r){var s=t[0]||{};this._rawResults=t;var o=this;Object.keys(s).forEach((function(e){o[e]=s[e]}));var h=u({persistHierarchicalRootCount:!1},r);Object.keys(h).forEach((function(e){o[e]=h[e]})),this.processingTimeMS=t.reduce((function(e,t){return void 0===t.processingTimeMS?e:e+t.processingTimeMS}),0),this.disjunctiveFacets=[],this.hierarchicalFacets=e.hierarchicalFacets.map((function(){return[]})),this.facets=[];var f=e.getRefinedDisjunctiveFacets(),g=d(e.facets),v=d(e.disjunctiveFacets),y=1,R=s.facets||{};Object.keys(R).forEach((function(t){var r,n,i=R[t],u=(r=e.hierarchicalFacets,n=t,a(r,(function(e){return(e.attributes||[]).indexOf(n)>-1})));if(u){var h=u.attributes.indexOf(t),f=c(e.hierarchicalFacets,(function(e){return e.name===u.name}));o.hierarchicalFacets[f][h]={attribute:t,data:i,exhaustive:s.exhaustiveFacetsCount}}else{var l,m=-1!==e.disjunctiveFacets.indexOf(t),d=-1!==e.facets.indexOf(t);m&&(l=v[t],o.disjunctiveFacets[l]={name:t,data:i,exhaustive:s.exhaustiveFacetsCount},p(o.disjunctiveFacets[l],s.facets_stats,t)),d&&(l=g[t],o.facets[l]={name:t,data:i,exhaustive:s.exhaustiveFacetsCount},p(o.facets[l],s.facets_stats,t))}})),this.hierarchicalFacets=n(this.hierarchicalFacets),f.forEach((function(r){var n=t[y],a=n&&n.facets?n.facets:{},h=e.getHierarchicalFacetByName(r);Object.keys(a).forEach((function(t){var r,f=a[t];if(h){r=c(e.hierarchicalFacets,(function(e){return e.name===h.name}));var m=c(o.hierarchicalFacets[r],(function(e){return e.attribute===t}));if(-1===m)return;o.hierarchicalFacets[r][m].data=u({},o.hierarchicalFacets[r][m].data,f)}else{r=v[t];var d=s.facets&&s.facets[t]||{};o.disjunctiveFacets[r]={name:t,data:i({},f,d),exhaustive:n.exhaustiveFacetsCount},p(o.disjunctiveFacets[r],n.facets_stats,t),e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].forEach((function(n){!o.disjunctiveFacets[r].data[n]&&e.disjunctiveFacetsRefinements[t].indexOf(l(n))>-1&&(o.disjunctiveFacets[r].data[n]=0)}))}})),y++})),e.getRefinedHierarchicalFacets().forEach((function(r){var n=e.getHierarchicalFacetByName(r),s=e._getHierarchicalFacetSeparator(n),a=e.getHierarchicalRefinement(r);0===a.length||a[0].split(s).length<2||t.slice(y).forEach((function(t){var r=t&&t.facets?t.facets:{};Object.keys(r).forEach((function(t){var u=r[t],h=c(e.hierarchicalFacets,(function(e){return e.name===n.name})),f=c(o.hierarchicalFacets[h],(function(e){return e.attribute===t}));if(-1!==f){var l={};if(a.length>0&&!o.persistHierarchicalRootCount){var m=a[0].split(s)[0];l[m]=o.hierarchicalFacets[h][f].data[m]}o.hierarchicalFacets[h][f].data=i(l,u,o.hierarchicalFacets[h][f].data)}})),y++}))})),Object.keys(e.facetsExcludes).forEach((function(t){var r=e.facetsExcludes[t],n=g[t];o.facets[n]={name:t,data:R[t],exhaustive:s.exhaustiveFacetsCount},r.forEach((function(e){o.facets[n]=o.facets[n]||{name:t},o.facets[n].data=o.facets[n].data||{},o.facets[n].data[e]=0}))})),this.hierarchicalFacets=this.hierarchicalFacets.map(m(e)),this.facets=n(this.facets),this.disjunctiveFacets=n(this.disjunctiveFacets),this._state=e}function v(e,t){function r(e){return e.name===t}if(e._state.isConjunctiveFacet(t)){var n=a(e.facets,r);return n?Object.keys(n.data).map((function(r){var i=f(r);return{name:r,escapedValue:i,count:n.data[r],isRefined:e._state.isFacetRefined(t,i),isExcluded:e._state.isExcludeRefined(t,r)}})):[]}if(e._state.isDisjunctiveFacet(t)){var i=a(e.disjunctiveFacets,r);return i?Object.keys(i.data).map((function(r){var n=f(r);return{name:r,escapedValue:n,count:i.data[r],isRefined:e._state.isDisjunctiveFacetRefined(t,n)}})):[]}if(e._state.isHierarchicalFacet(t)){var s=a(e.hierarchicalFacets,r);if(!s)return s;var c=e._state.getHierarchicalFacetByName(t),o=e._state._getHierarchicalFacetSeparator(c),u=l(e._state.getHierarchicalRefinement(t)[0]||"");0===u.indexOf(c.rootPath)&&(u=u.replace(c.rootPath+o,""));var h=u.split(o);return h.unshift(t),y(s,h,0),s}}function y(e,t,r){e.isRefined=e.name===(t[r]&&t[r].trim()),e.data&&e.data.forEach((function(e){y(e,t,r+1)}))}function R(e,t,r,n){if(n=n||0,Array.isArray(t))return e(t,r[n]);if(!t.data||0===t.data.length)return t;var s=t.data.map((function(t){return R(e,t,r,n+1)})),a=e(s,r[n]);return i({data:a},t)}function F(e,t){var r=a(e,(function(e){return e.name===t}));return r&&r.stats}function b(e,t,r,n,i){var s=a(i,(function(e){return e.name===r})),c=s&&s.data&&s.data[n]?s.data[n]:0,o=s&&s.exhaustive||!1;return{type:t,attributeName:r,name:n,count:c,exhaustive:o}}g.prototype.getFacetByName=function(e){function t(t){return t.name===e}return a(this.facets,t)||a(this.disjunctiveFacets,t)||a(this.hierarchicalFacets,t)},g.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],g.prototype.getFacetValues=function(e,t){var r=v(this,e);if(r){var n,s=i({},t,{sortBy:g.DEFAULT_SORT,facetOrdering:!(t&&t.sortBy)}),a=this;if(Array.isArray(r))n=[e];else n=a._state.getHierarchicalFacetByName(r.name).attributes;return R((function(e,t){if(s.facetOrdering){var r=function(e,t){return e.renderingContent&&e.renderingContent.facetOrdering&&e.renderingContent.facetOrdering.values&&e.renderingContent.facetOrdering.values[t]}(a,t);if(r)return function(e,t){var r=[],n=[],i=t.hide||[],s=(t.order||[]).reduce((function(e,t,r){return e[t]=r,e}),{});e.forEach((function(e){var t=e.path||e.name,a=i.indexOf(t)>-1;a||void 0===s[t]?a||n.push(e):r[s[t]]=e})),r=r.filter((function(e){return e}));var a,c=t.sortRemainingBy;return"hidden"===c?r:(a="alpha"===c?[["path","name"],["asc","asc"]]:[["count"],["desc"]],r.concat(h(n,a[0],a[1])))}(e,r)}if(Array.isArray(s.sortBy)){var n=o(s.sortBy,g.DEFAULT_SORT);return h(e,n[0],n[1])}if("function"==typeof s.sortBy)return function(e,t){return t.sort(e)}(s.sortBy,e);throw new Error("options.sortBy is optional but if defined it must be either an array of string (predicates) or a sorting function")}),r,n)}},g.prototype.getFacetStats=function(e){return this._state.isConjunctiveFacet(e)?F(this.facets,e):this._state.isDisjunctiveFacet(e)?F(this.disjunctiveFacets,e):void 0},g.prototype.getRefinements=function(){var e=this._state,t=this,r=[];return Object.keys(e.facetsRefinements).forEach((function(n){e.facetsRefinements[n].forEach((function(i){r.push(b(e,"facet",n,i,t.facets))}))})),Object.keys(e.facetsExcludes).forEach((function(n){e.facetsExcludes[n].forEach((function(i){r.push(b(e,"exclude",n,i,t.facets))}))})),Object.keys(e.disjunctiveFacetsRefinements).forEach((function(n){e.disjunctiveFacetsRefinements[n].forEach((function(i){r.push(b(e,"disjunctive",n,i,t.disjunctiveFacets))}))})),Object.keys(e.hierarchicalFacetsRefinements).forEach((function(n){e.hierarchicalFacetsRefinements[n].forEach((function(i){r.push(function(e,t,r,n){var i=e.getHierarchicalFacetByName(t),s=e._getHierarchicalFacetSeparator(i),c=r.split(s),o=a(n,(function(e){return e.name===t})),u=c.reduce((function(e,t){var r=e&&a(e.data,(function(e){return e.name===t}));return void 0!==r?r:e}),o),h=u&&u.count||0,f=u&&u.exhaustive||!1,l=u&&u.path||"";return{type:"hierarchical",attributeName:t,name:l,count:h,exhaustive:f}}(e,n,i,t.hierarchicalFacets))}))})),Object.keys(e.numericRefinements).forEach((function(t){var n=e.numericRefinements[t];Object.keys(n).forEach((function(e){n[e].forEach((function(n){r.push({type:"numeric",attributeName:t,name:n,numericValue:n,operator:e})}))}))})),e.tagRefinements.forEach((function(e){r.push({type:"tag",attributeName:"_tags",name:e})})),r},e.exports=g},36571:(e,t,r)=>{"use strict";var n=r(72733),i=r(46732),s=r(2909).escapeFacetValue,a=r(73014),c=r(44728),o=r(40317),u=r(21383),h=r(19127),f=r(42223),l=r(49228),m=r(33371),d=r(67691),p=r(57749),g=r(16938);function v(e,t,r,n){"function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+g+")"),this.setClient(e);var i=r||{};i.index=t,this.state=m.make(i),this.recommendState=new h({params:i.recommendState}),this.lastResults=null,this.lastRecommendResults=null,this._queryId=0,this._recommendQueryId=0,this._lastQueryIdReceived=-1,this._lastRecommendQueryIdReceived=-1,this.derivedHelpers=[],this._currentNbQueries=0,this._currentNbRecommendQueries=0,this._searchResultsOptions=n,this._recommendCache={}}function y(e){if(e<0)throw new Error("Page requested below 0.");return this._change({state:this.state.setPage(e),isPageReset:!1}),this}function R(){return this.state.page}a(v,n),v.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},v.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},v.prototype.recommend=function(){return this._recommend(),this},v.prototype.getQuery=function(){var e=this.state;return l._getHitsSearchParams(e)},v.prototype.searchOnce=function(e,t){var r=e?this.state.setQueryParameters(e):this.state,n=l._getQueries(r.index,r),i=this;if(this._currentNbQueries++,this.emit("searchOnce",{state:r}),!t)return this.client.search(n).then((function(e){return i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),{content:new d(r,e.results),state:r,_originalResponse:e}}),(function(e){throw i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),e}));this.client.search(n).then((function(e){i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),t(null,new d(r,e.results),r)})).catch((function(e){i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),t(e,null,r)}))},v.prototype.findAnswers=function(e){console.warn("[algoliasearch-helper] answers is no longer supported");var t=this.state,r=this.derivedHelpers[0];if(!r)return Promise.resolve([]);var n=r.getModifiedState(t),i=c({attributesForPrediction:e.attributesForPrediction,nbHits:e.nbHits},{params:u(l._getHitsSearchParams(n),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),s="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if("function"!=typeof this.client.initIndex)throw new Error(s);var a=this.client.initIndex(n.index);if("function"!=typeof a.findAnswers)throw new Error(s);return a.findAnswers(n.query,e.queryLanguages,i)},v.prototype.searchForFacetValues=function(e,t,r,n){var i="function"==typeof this.client.searchForFacetValues,a="function"==typeof this.client.initIndex;if(!i&&!a&&"function"!=typeof this.client.search)throw new Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var c=this.state.setQueryParameters(n||{}),o=c.isDisjunctiveFacet(e),u=l.getSearchForFacetQuery(e,t,r,c);this._currentNbQueries++;var h,f=this;return i?h=this.client.searchForFacetValues([{indexName:c.index,params:u}]):a?h=this.client.initIndex(c.index).searchForFacetValues(u):(delete u.facetName,h=this.client.search([{type:"facet",facet:e,indexName:c.index,params:u}]).then((function(e){return e.results[0]}))),this.emit("searchForFacetValues",{state:c,facet:e,query:t}),h.then((function(t){return f._currentNbQueries--,0===f._currentNbQueries&&f.emit("searchQueueEmpty"),(t=Array.isArray(t)?t[0]:t).facetHits.forEach((function(t){t.escapedValue=s(t.value),t.isRefined=o?c.isDisjunctiveFacetRefined(e,t.escapedValue):c.isFacetRefined(e,t.escapedValue)})),t}),(function(e){throw f._currentNbQueries--,0===f._currentNbQueries&&f.emit("searchQueueEmpty"),e}))},v.prototype.setQuery=function(e){return this._change({state:this.state.resetPage().setQuery(e),isPageReset:!0}),this},v.prototype.clearRefinements=function(e){return this._change({state:this.state.resetPage().clearRefinements(e),isPageReset:!0}),this},v.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},v.prototype.addDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},v.prototype.addHierarchicalFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.addNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().addNumericRefinement(e,t,r),isPageReset:!0}),this},v.prototype.addFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},v.prototype.addFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().addExcludeRefinement(e,t),isPageReset:!0}),this},v.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},v.prototype.addTag=function(e){return this._change({state:this.state.resetPage().addTagRefinement(e),isPageReset:!0}),this},v.prototype.addFrequentlyBoughtTogether=function(e){return this._recommendChange({state:this.recommendState.addFrequentlyBoughtTogether(e)}),this},v.prototype.addRelatedProducts=function(e){return this._recommendChange({state:this.recommendState.addRelatedProducts(e)}),this},v.prototype.addTrendingItems=function(e){return this._recommendChange({state:this.recommendState.addTrendingItems(e)}),this},v.prototype.addTrendingFacets=function(e){return this._recommendChange({state:this.recommendState.addTrendingFacets(e)}),this},v.prototype.addLookingSimilar=function(e){return this._recommendChange({state:this.recommendState.addLookingSimilar(e)}),this},v.prototype.removeNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().removeNumericRefinement(e,t,r),isPageReset:!0}),this},v.prototype.removeDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},v.prototype.removeHierarchicalFacetRefinement=function(e){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(e),isPageReset:!0}),this},v.prototype.removeFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},v.prototype.removeFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().removeExcludeRefinement(e,t),isPageReset:!0}),this},v.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},v.prototype.removeTag=function(e){return this._change({state:this.state.resetPage().removeTagRefinement(e),isPageReset:!0}),this},v.prototype.removeFrequentlyBoughtTogether=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.removeRelatedProducts=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.removeTrendingItems=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.removeTrendingFacets=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.removeLookingSimilar=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},v.prototype.toggleFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},v.prototype.toggleRefinement=function(e,t){return this.toggleFacetRefinement(e,t)},v.prototype.toggleFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().toggleFacetRefinement(e,t),isPageReset:!0}),this},v.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},v.prototype.toggleTag=function(e){return this._change({state:this.state.resetPage().toggleTagRefinement(e),isPageReset:!0}),this},v.prototype.nextPage=function(){var e=this.state.page||0;return this.setPage(e+1)},v.prototype.previousPage=function(){var e=this.state.page||0;return this.setPage(e-1)},v.prototype.setCurrentPage=y,v.prototype.setPage=y,v.prototype.setIndex=function(e){return this._change({state:this.state.resetPage().setIndex(e),isPageReset:!0}),this},v.prototype.setQueryParameter=function(e,t){return this._change({state:this.state.resetPage().setQueryParameter(e,t),isPageReset:!0}),this},v.prototype.setState=function(e){return this._change({state:m.make(e),isPageReset:!1}),this},v.prototype.overrideStateWithoutTriggeringChangeEvent=function(e){return this.state=new m(e),this},v.prototype.hasRefinements=function(e){return!!o(this.state.getNumericRefinements(e))||(this.state.isConjunctiveFacet(e)?this.state.isFacetRefined(e):this.state.isDisjunctiveFacet(e)?this.state.isDisjunctiveFacetRefined(e):!!this.state.isHierarchicalFacet(e)&&this.state.isHierarchicalFacetRefined(e))},v.prototype.isExcluded=function(e,t){return this.state.isExcludeRefined(e,t)},v.prototype.isDisjunctiveRefined=function(e,t){return this.state.isDisjunctiveFacetRefined(e,t)},v.prototype.hasTag=function(e){return this.state.isTagRefined(e)},v.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},v.prototype.getIndex=function(){return this.state.index},v.prototype.getCurrentPage=R,v.prototype.getPage=R,v.prototype.getTags=function(){return this.state.tagRefinements},v.prototype.getRefinements=function(e){var t=[];if(this.state.isConjunctiveFacet(e))this.state.getConjunctiveRefinements(e).forEach((function(e){t.push({value:e,type:"conjunctive"})})),this.state.getExcludeRefinements(e).forEach((function(e){t.push({value:e,type:"exclude"})}));else if(this.state.isDisjunctiveFacet(e)){this.state.getDisjunctiveRefinements(e).forEach((function(e){t.push({value:e,type:"disjunctive"})}))}var r=this.state.getNumericRefinements(e);return Object.keys(r).forEach((function(e){var n=r[e];t.push({value:n,operator:e,type:"numeric"})})),t},v.prototype.getNumericRefinement=function(e,t){return this.state.getNumericRefinement(e,t)},v.prototype.getHierarchicalFacetBreadcrumb=function(e){return this.state.getHierarchicalFacetBreadcrumb(e)},v.prototype._search=function(e){var t=this.state,r=[],n=[];e.onlyWithDerivedHelpers||(n=l._getQueries(t.index,t),r.push({state:t,queriesCount:n.length,helper:this}),this.emit("search",{state:t,results:this.lastResults}));var i=this.derivedHelpers.map((function(e){var n=e.getModifiedState(t),i=n.index?l._getQueries(n.index,n):[];return r.push({state:n,queriesCount:i.length,helper:e}),e.emit("search",{state:n,results:e.lastResults}),i})),s=Array.prototype.concat.apply(n,i),a=this._queryId++;if(this._currentNbQueries++,!s.length)return Promise.resolve({results:[]}).then(this._dispatchAlgoliaResponse.bind(this,r,a));try{this.client.search(s).then(this._dispatchAlgoliaResponse.bind(this,r,a)).catch(this._dispatchAlgoliaError.bind(this,a))}catch(c){this.emit("error",{error:c})}},v.prototype._recommend=function(){var e=this.state,t=this.recommendState,r=this.getIndex(),n=[{state:t,index:r,helper:this}],i=t.params.map((function(e){return e.$$id}));this.emit("fetch",{recommend:{state:t,results:this.lastRecommendResults}});var s=this._recommendCache,a=this.derivedHelpers.map((function(t){var r=t.getModifiedState(e).index;if(!r)return[];var a=t.getModifiedRecommendState(new h);return n.push({state:a,index:r,helper:t}),i=Array.prototype.concat.apply(i,a.params.map((function(e){return e.$$id}))),t.emit("fetch",{recommend:{state:a,results:t.lastRecommendResults}}),a._buildQueries(r,s)})),c=Array.prototype.concat.apply(this.recommendState._buildQueries(r,s),a);if(0!==c.length)if(c.length>0&&void 0===this.client.getRecommendations)console.warn("Please update algoliasearch/lite to the latest version in order to use recommend widgets.");else{var o=this._recommendQueryId++;this._currentNbRecommendQueries++;try{this.client.getRecommendations(c).then(this._dispatchRecommendResponse.bind(this,o,n,i)).catch(this._dispatchRecommendError.bind(this,o))}catch(u){this.emit("error",{error:u})}}},v.prototype._dispatchAlgoliaResponse=function(e,t,r){var n=this;if(!(t0},v.prototype._change=function(e){var t=e.state,r=e.isPageReset;t!==this.state&&(this.state=t,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:r}))},v.prototype._recommendChange=function(e){var t=e.state;t!==this.recommendState&&(this.recommendState=t,this.emit("recommend:change",{search:{results:this.lastResults,state:this.state},recommend:{results:this.lastRecommendResults,state:this.recommendState}}))},v.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},v.prototype.setClient=function(e){return this.client===e||("function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+g+")"),this.client=e),this},v.prototype.getClient=function(){return this.client},v.prototype.derive=function(e,t){var r=new i(this,e,t);return this.derivedHelpers.push(r),r},v.prototype.detachDerivedHelper=function(e){var t=this.derivedHelpers.indexOf(e);if(-1===t)throw new Error("Derived helper already detached");this.derivedHelpers.splice(t,1)},v.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},e.exports=v},78965:e=>{"use strict";e.exports=function(e){return Array.isArray(e)?e.filter(Boolean):[]}},29110:e=>{"use strict";e.exports=function(){return Array.prototype.slice.call(arguments).reduceRight((function(e,t){return Object.keys(Object(t)).forEach((function(r){void 0!==t[r]&&(void 0!==e[r]&&delete e[r],e[r]=t[r])})),e}),{})}},2909:e=>{"use strict";e.exports={escapeFacetValue:function(e){return"string"!=typeof e?e:String(e).replace(/^-/,"\\-")},unescapeFacetValue:function(e){return"string"!=typeof e?e:e.replace(/^\\-/,"-")}}},20849:e=>{"use strict";e.exports=function(e,t){if(Array.isArray(e))for(var r=0;r{"use strict";e.exports=function(e,t){if(!Array.isArray(e))return-1;for(var r=0;r{e.exports=function(e){return e.reduce((function(e,t){return e.concat(t)}),[])}},7577:(e,t,r)=>{"use strict";var n=r(20849);e.exports=function(e,t){var r=(t||[]).map((function(e){return e.split(":")}));return e.reduce((function(e,t){var i=t.split(":"),s=n(r,(function(e){return e[0]===i[0]}));return i.length>1||!s?(e[0].push(i[0]),e[1].push(i[1]),e):(e[0].push(s[0]),e[1].push(s[1]),e)}),[[],[]])}},73014:e=>{"use strict";e.exports=function(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}},14843:e=>{"use strict";e.exports=function(e,t){return e.filter((function(r,n){return t.indexOf(r)>-1&&e.indexOf(r)===n}))}},44728:e=>{"use strict";function t(e){return"function"==typeof e||Array.isArray(e)||"[object Object]"===Object.prototype.toString.call(e)}function r(e,n){if(e===n)return e;for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&"__proto__"!==i&&"constructor"!==i){var s=n[i],a=e[i];void 0!==a&&void 0===s||(t(a)&&t(s)?e[i]=r(a,s):e[i]="object"==typeof(c=s)&&null!==c?r(Array.isArray(c)?[]:{},c):c)}var c;return e}e.exports=function(e){t(e)||(e={});for(var n=1,i=arguments.length;n{"use strict";e.exports=function(e){return e&&Object.keys(e).length>0}},21383:e=>{"use strict";e.exports=function(e,t){if(null===e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n=0||(i[r]=e[r]);return i}},38601:e=>{"use strict";function t(e,t){if(e!==t){var r=void 0!==e,n=null===e,i=void 0!==t,s=null===t;if(!s&&e>t||n&&i||!r)return 1;if(!n&&e=n.length?s:"desc"===n[i]?-s:s}return e.index-r.index})),i.map((function(e){return e.value}))}},17507:e=>{"use strict";e.exports=function e(t){if("number"==typeof t)return t;if("string"==typeof t)return parseFloat(t);if(Array.isArray(t))return t.map(e);throw new Error("The value should be a number, a parsable string or an array of those.")}},49228:(e,t,r)=>{"use strict";var n=r(44728);function i(e){return Object.keys(e).sort().reduce((function(t,r){return t[r]=e[r],t}),{})}var s={_getQueries:function(e,t){var r=[];return r.push({indexName:e,params:s._getHitsSearchParams(t)}),t.getRefinedDisjunctiveFacets().forEach((function(n){r.push({indexName:e,params:s._getDisjunctiveFacetSearchParams(t,n)})})),t.getRefinedHierarchicalFacets().forEach((function(n){var i=t.getHierarchicalFacetByName(n),a=t.getHierarchicalRefinement(n),c=t._getHierarchicalFacetSeparator(i);if(a.length>0&&a[0].split(c).length>1){var o=a[0].split(c).slice(0,-1).reduce((function(e,t,r){return e.concat({attribute:i.attributes[r],value:0===r?t:[e[e.length-1].value,t].join(c)})}),[]);o.forEach((function(n,a){var c=s._getDisjunctiveFacetSearchParams(t,n.attribute,0===a);function u(e){return i.attributes.some((function(t){return t===e.split(":")[0]}))}var h=(c.facetFilters||[]).reduce((function(e,t){if(Array.isArray(t)){var r=t.filter((function(e){return!u(e)}));r.length>0&&e.push(r)}return"string"!=typeof t||u(t)||e.push(t),e}),[]),f=o[a-1];a>0?c.facetFilters=h.concat(f.attribute+":"+f.value):h.length>0?c.facetFilters=h:delete c.facetFilters,r.push({indexName:e,params:c})}))}})),r},_getHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets).concat(s._getHitsHierarchicalFacetsAttributes(e)).sort(),r=s._getFacetFilters(e),a=s._getNumericFilters(e),c=s._getTagFilters(e),o={};return t.length>0&&(o.facets=t.indexOf("*")>-1?["*"]:t),c.length>0&&(o.tagFilters=c),r.length>0&&(o.facetFilters=r),a.length>0&&(o.numericFilters=a),i(n({},e.getQueryParams(),o))},_getDisjunctiveFacetSearchParams:function(e,t,r){var a=s._getFacetFilters(e,t,r),c=s._getNumericFilters(e,t),o=s._getTagFilters(e),u={hitsPerPage:0,page:0,analytics:!1,clickAnalytics:!1};o.length>0&&(u.tagFilters=o);var h=e.getHierarchicalFacetByName(t);return u.facets=h?s._getDisjunctiveHierarchicalFacetAttribute(e,h,r):t,c.length>0&&(u.numericFilters=c),a.length>0&&(u.facetFilters=a),i(n({},e.getQueryParams(),u))},_getNumericFilters:function(e,t){if(e.numericFilters)return e.numericFilters;var r=[];return Object.keys(e.numericRefinements).forEach((function(n){var i=e.numericRefinements[n]||{};Object.keys(i).forEach((function(e){var s=i[e]||[];t!==n&&s.forEach((function(t){if(Array.isArray(t)){var i=t.map((function(t){return n+e+t}));r.push(i)}else r.push(n+e+t)}))}))})),r},_getTagFilters:function(e){return e.tagFilters?e.tagFilters:e.tagRefinements.join(",")},_getFacetFilters:function(e,t,r){var n=[],i=e.facetsRefinements||{};Object.keys(i).sort().forEach((function(e){(i[e]||[]).slice().sort().forEach((function(t){n.push(e+":"+t)}))}));var s=e.facetsExcludes||{};Object.keys(s).sort().forEach((function(e){(s[e]||[]).sort().forEach((function(t){n.push(e+":-"+t)}))}));var a=e.disjunctiveFacetsRefinements||{};Object.keys(a).sort().forEach((function(e){var r=a[e]||[];if(e!==t&&r&&0!==r.length){var i=[];r.slice().sort().forEach((function(t){i.push(e+":"+t)})),n.push(i)}}));var c=e.hierarchicalFacetsRefinements||{};return Object.keys(c).sort().forEach((function(i){var s=(c[i]||[])[0];if(void 0!==s){var a,o,u=e.getHierarchicalFacetByName(i),h=e._getHierarchicalFacetSeparator(u),f=e._getHierarchicalRootPath(u);if(t===i){if(-1===s.indexOf(h)||!f&&!0===r||f&&f.split(h).length===s.split(h).length)return;f?(o=f.split(h).length-1,s=f):(o=s.split(h).length-2,s=s.slice(0,s.lastIndexOf(h))),a=u.attributes[o]}else o=s.split(h).length-1,a=u.attributes[o];a&&n.push([a+":"+s])}})),n},_getHitsHierarchicalFacetsAttributes:function(e){return e.hierarchicalFacets.reduce((function(t,r){var n=e.getHierarchicalRefinement(r.name)[0];if(!n)return t.push(r.attributes[0]),t;var i=e._getHierarchicalFacetSeparator(r),s=n.split(i).length,a=r.attributes.slice(0,s+1);return t.concat(a)}),[])},_getDisjunctiveHierarchicalFacetAttribute:function(e,t,r){var n=e._getHierarchicalFacetSeparator(t);if(!0===r){var i=e._getHierarchicalRootPath(t),s=0;return i&&(s=i.split(n).length),[t.attributes[s]]}var a=(e.getHierarchicalRefinement(t.name)[0]||"").split(n).length-1;return t.attributes.slice(0,a+1)},getSearchForFacetQuery:function(e,t,r,a){var c=a.isDisjunctiveFacet(e)?a.clearRefinements(e):a,o={facetQuery:t,facetName:e};return"number"==typeof r&&(o.maxFacetHits=r),i(n({},s._getHitsSearchParams(c),o))}};e.exports=s},72208:e=>{"use strict";e.exports=function(e){return null!==e&&/^[a-zA-Z0-9_-]{1,64}$/.test(e)}},57749:(e,t,r)=>{"use strict";var n=r(20849),i=r(38657);e.exports=function(e){var t={};return e.forEach((function(e){e.forEach((function(e,r){t[e.objectID]?t[e.objectID]={indexSum:t[e.objectID].indexSum+r,count:t[e.objectID].count+1}:t[e.objectID]={indexSum:r,count:1}}))})),function(e,t){var r=[];return Object.keys(e).forEach((function(n){e[n].count<2&&(e[n].indexSum+=100),r.push({objectID:n,avgOfIndices:e[n].indexSum/t})})),r.sort((function(e,t){return e.avgOfIndices>t.avgOfIndices?1:-1}))}(t,e.length).reduce((function(t,r){var s=n(i(e),(function(e){return e.objectID===r.objectID}));return s?t.concat(s):t}),[])}},16938:e=>{"use strict";e.exports="3.22.4"},83643:function(e){e.exports=function(){"use strict";function e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function r(r){for(var n=1;n=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,i=!1,s=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,s=e}finally{try{n||null==c.return||c.return()}finally{if(i)throw s}}return r}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function s(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then((function(){c();var t=JSON.stringify(e);return s()[t]})).then((function(e){return Promise.all([e?e.value:t(),void 0!==e])})).then((function(e){var t=i(e,2),n=t[0],s=t[1];return Promise.all([n,s||r.miss(n)])})).then((function(e){return i(e,1)[0]}))},set:function(e,t){return Promise.resolve().then((function(){var i=s();return i[JSON.stringify(e)]={timestamp:(new Date).getTime(),value:t},n().setItem(r,JSON.stringify(i)),t}))},delete:function(e){return Promise.resolve().then((function(){var t=s();delete t[JSON.stringify(e)],n().setItem(r,JSON.stringify(t))}))},clear:function(){return Promise.resolve().then((function(){n().removeItem(r)}))}}}function c(e){var t=s(e.caches),r=t.shift();return void 0===r?{get:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return t().then((function(e){return Promise.all([e,r.miss(e)])})).then((function(e){return i(e,1)[0]}))},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return r.get(e,n,i).catch((function(){return c({caches:t}).get(e,n,i)}))},set:function(e,n){return r.set(e,n).catch((function(){return c({caches:t}).set(e,n)}))},delete:function(e){return r.delete(e).catch((function(){return c({caches:t}).delete(e)}))},clear:function(){return r.clear().catch((function(){return c({caches:t}).clear()}))}}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(r,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},s=JSON.stringify(r);if(s in t)return Promise.resolve(e.serializable?JSON.parse(t[s]):t[s]);var a=n(),c=i&&i.miss||function(){return Promise.resolve()};return a.then((function(e){return c(e)})).then((function(){return a}))},set:function(r,n){return t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function u(e){for(var t=e.length-1;t>0;t--){var r=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[r],e[r]=n}return e}function h(e,t){return t?(Object.keys(t).forEach((function(r){e[r]=t[r](e)})),e):e}function f(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0?n:void 0,timeout:r.timeout||t,headers:r.headers||{},queryParameters:r.queryParameters||{},cacheable:r.cacheable}}var d={Read:1,Write:2,Any:3},p=1,g=2,v=3;function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p;return r(r({},e),{},{status:t,lastUpdate:Date.now()})}function R(e){return"string"==typeof e?{protocol:"https",url:e,accept:d.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||d.Any}}var F="GET",b="POST";function j(e,t){return Promise.all(t.map((function(t){return e.get(t,(function(){return Promise.resolve(y(t))}))}))).then((function(e){var r=e.filter((function(e){return function(e){return e.status===p||Date.now()-e.lastUpdate>12e4}(e)})),n=e.filter((function(e){return function(e){return e.status===v&&Date.now()-e.lastUpdate<=12e4}(e)})),i=[].concat(s(r),s(n));return{getTimeout:function(e,t){return(0===n.length&&0===e?1:n.length+3+e)*t},statelessHosts:i.length>0?i.map((function(e){return R(e)})):t}}))}function P(e,t,n,i){var a=[],c=function(e,t){if(e.method!==F&&(void 0!==e.data||void 0!==t.data)){var n=Array.isArray(e.data)?e.data:r(r({},e.data),t.data);return JSON.stringify(n)}}(n,i),o=function(e,t){var n=r(r({},e.headers),t.headers),i={};return Object.keys(n).forEach((function(e){var t=n[e];i[e.toLowerCase()]=t})),i}(e,i),u=n.method,h=n.method!==F?{}:r(r({},n.data),i.data),f=r(r(r({"x-algolia-agent":e.userAgent.value},e.queryParameters),h),i.queryParameters),l=0,m=function t(r,s){var h=r.pop();if(void 0===h)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support .",transporterStackTrace:O(a)};var m={data:c,headers:o,method:u,url:x(h,n.path,f),connectTimeout:s(l,e.timeouts.connect),responseTimeout:s(l,i.timeout)},d=function(e){var t={request:m,response:e,host:h,triesLeft:r.length};return a.push(t),t},p={onSuccess:function(e){return function(e){try{return JSON.parse(e.content)}catch(t){throw function(e,t){return{name:"DeserializationError",message:e,response:t}}(t.message,e)}}(e)},onRetry:function(n){var i=d(n);return n.isTimedOut&&l++,Promise.all([e.logger.info("Retryable failure",w(i)),e.hostsCache.set(h,y(h,n.isTimedOut?v:g))]).then((function(){return t(r,s)}))},onFail:function(e){throw d(e),function(e,t){var r=e.content,n=e.status,i=r;try{i=JSON.parse(r).message}catch(e){}return function(e,t,r){return{name:"ApiError",message:e,status:t,transporterStackTrace:r}}(i,n,t)}(e,O(a))}};return e.requester.send(m).then((function(e){return function(e,t){return function(e){var t=e.status;return e.isTimedOut||function(e){var t=e.isTimedOut,r=e.status;return!t&&!~~r}(e)||2!=~~(t/100)&&4!=~~(t/100)}(e)?t.onRetry(e):2==~~(e.status/100)?t.onSuccess(e):t.onFail(e)}(e,p)}))};return j(e.hostsCache,t).then((function(e){return m(s(e.statelessHosts).reverse(),e.getTimeout)}))}function _(e){var t={value:"Algolia for JavaScript (".concat(e,")"),add:function(e){var r="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return-1===t.value.indexOf(r)&&(t.value="".concat(t.value).concat(r)),t}};return t}function x(e,t,r){var n=E(r),i="".concat(e.protocol,"://").concat(e.url,"/").concat("/"===t.charAt(0)?t.substr(1):t);return n.length&&(i+="?".concat(n)),i}function E(e){return Object.keys(e).map((function(t){return f("%s=%s",t,(r=e[t],"[object Object]"===Object.prototype.toString.call(r)||"[object Array]"===Object.prototype.toString.call(r)?JSON.stringify(e[t]):e[t]));var r})).join("&")}function O(e){return e.map((function(e){return w(e)}))}function w(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return r(r({},e),{},{request:r(r({},e.request),{},{headers:r(r({},e.request.headers),t)})})}var S=function(e){var t=e.appId,n=function(e,t,r){var n={"x-algolia-api-key":r,"x-algolia-application-id":t};return{headers:function(){return e===l.WithinHeaders?n:{}},queryParameters:function(){return e===l.WithinQueryParameters?n:{}}}}(void 0!==e.authMode?e.authMode:l.WithinHeaders,t,e.apiKey),s=function(e){var t=e.hostsCache,r=e.logger,n=e.requester,s=e.requestsCache,a=e.responsesCache,c=e.timeouts,o=e.userAgent,u=e.hosts,h=e.queryParameters,f={hostsCache:t,logger:r,requester:n,requestsCache:s,responsesCache:a,timeouts:c,userAgent:o,headers:e.headers,queryParameters:h,hosts:u.map((function(e){return R(e)})),read:function(e,t){var r=m(t,f.timeouts.read),n=function(){return P(f,f.hosts.filter((function(e){return!!(e.accept&d.Read)})),e,r)};if(!0!==(void 0!==r.cacheable?r.cacheable:e.cacheable))return n();var s={request:e,mappedRequestOptions:r,transporter:{queryParameters:f.queryParameters,headers:f.headers}};return f.responsesCache.get(s,(function(){return f.requestsCache.get(s,(function(){return f.requestsCache.set(s,n()).then((function(e){return Promise.all([f.requestsCache.delete(s),e])}),(function(e){return Promise.all([f.requestsCache.delete(s),Promise.reject(e)])})).then((function(e){var t=i(e,2);return t[0],t[1]}))}))}),{miss:function(e){return f.responsesCache.set(s,e)}})},write:function(e,t){return P(f,f.hosts.filter((function(e){return!!(e.accept&d.Write)})),e,m(t,f.timeouts.write))}};return f}(r(r({hosts:[{url:"".concat(t,"-dsn.algolia.net"),accept:d.Read},{url:"".concat(t,".algolia.net"),accept:d.Write}].concat(u([{url:"".concat(t,"-1.algolianet.com")},{url:"".concat(t,"-2.algolianet.com")},{url:"".concat(t,"-3.algolianet.com")}]))},e),{},{headers:r(r(r({},n.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:r(r({},n.queryParameters()),e.queryParameters)}));return h({transporter:s,appId:t,addAlgoliaAgent:function(e,t){s.userAgent.add({segment:e,version:t})},clearCache:function(){return Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then((function(){}))}},e.methods)},A=function(e){return function(t,r){return t.method===F?e.transporter.read(t,r):e.transporter.write(t,r)}},N=function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return h({transporter:e.transporter,appId:e.appId,indexName:t},r.methods)}},T=function(e){return function(t,n){var i=t.map((function(e){return r(r({},e),{},{params:E(e.params||{})})}));return e.transporter.read({method:b,path:"1/indexes/*/queries",data:{requests:i},cacheable:!0},n)}},H=function(e){return function(t,i){return Promise.all(t.map((function(t){var s=t.params,a=s.facetName,c=s.facetQuery,o=n(s,["facetName","facetQuery"]);return N(e)(t.indexName,{methods:{searchForFacetValues:I}}).searchForFacetValues(a,c,r(r({},i),o))})))}},Q=function(e){return function(t,r,n){return e.transporter.read({method:b,path:f("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:r},cacheable:!0},n)}},C=function(e){return function(t,r){return e.transporter.read({method:b,path:f("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},r)}},I=function(e){return function(t,r,n){return e.transporter.read({method:b,path:f("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:r},cacheable:!0},n)}},D=1,k=2,q=3,L=function(e){return function(t,n){var i=t.map((function(e){return r(r({},e),{},{threshold:e.threshold||0})}));return e.transporter.read({method:b,path:"1/indexes/*/recommendations",data:{requests:i},cacheable:!0},n)}};function V(e,t,n){var i,s={appId:e,apiKey:t,timeouts:{connect:1,read:2,write:30},requester:{send:function(e){return new Promise((function(t){var r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach((function(t){return r.setRequestHeader(t,e.headers[t])}));var n,i=function(e,n){return setTimeout((function(){r.abort(),t({status:0,content:n,isTimedOut:!0})}),1e3*e)},s=i(e.connectTimeout,"Connection timeout");r.onreadystatechange=function(){r.readyState>r.OPENED&&void 0===n&&(clearTimeout(s),n=i(e.responseTimeout,"Socket timeout"))},r.onerror=function(){0===r.status&&(clearTimeout(s),clearTimeout(n),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=function(){clearTimeout(s),clearTimeout(n),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)}))}},logger:(i=q,{debug:function(e,t){return D>=i&&console.debug(e,t),Promise.resolve()},info:function(e,t){return k>=i&&console.info(e,t),Promise.resolve()},error:function(e,t){return console.error(e,t),Promise.resolve()}}),responsesCache:o(),requestsCache:o({serializable:!1}),hostsCache:c({caches:[a({key:"".concat("4.24.0","-").concat(e)}),o()]}),userAgent:_("4.24.0").add({segment:"Browser",version:"lite"}),authMode:l.WithinQueryParameters};return S(r(r(r({},s),n),{},{methods:{search:T,searchForFacetValues:H,multipleQueries:T,multipleSearchForFacetValues:H,customRequest:A,initIndex:function(e){return function(t){return N(e)(t,{methods:{search:C,searchForFacetValues:I,findAnswers:Q}})}},getRecommendations:L}}))}return V.version="4.24.0",V}()},53465:(e,t,r)=>{"use strict";r.d(t,{W:()=>u});var n=r(96540),i=r(44586);const s=["zero","one","two","few","many","other"];function a(e){return s.filter((t=>e.includes(t)))}const c={locale:"en",pluralForms:a(["one","other"]),select:e=>1===e?"one":"other"};function o(){const{i18n:{currentLocale:e}}=(0,i.default)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:a(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),c}}),[e])}function u(){const e=o();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const i=r.select(t),s=r.pluralForms.indexOf(i);return n[Math.min(s,n.length-1)]}(r,t,e)}}},74604:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>w});var n=r(96540),i=r(34164),s=r(74103),a=r.n(s),c=r(83643),o=r.n(c),u=r(38193),h=r(5260),f=r(28774),l=r(44070),m=r(53465),d=r(24255),p=r(89532),g=r(45500),v=r(20481),y=r(21312),R=r(44586),F=r(38126),b=r(51062),j=r(70680),P=r(51107);const _={searchQueryInput:"searchQueryInput_u2C7",searchVersionInput:"searchVersionInput_m0Ui",searchResultsColumn:"searchResultsColumn_JPFH",algoliaLogo:"algoliaLogo_rT1R",algoliaLogoPathFill:"algoliaLogoPathFill_WdUC",searchResultItem:"searchResultItem_Tv2o",searchResultItemHeading:"searchResultItemHeading_KbCB",searchResultItemPath:"searchResultItemPath_lhe1",searchResultItemSummary:"searchResultItemSummary_AEaO",searchQueryColumn:"searchQueryColumn_RTkw",searchVersionColumn:"searchVersionColumn_ypXd",searchLogoColumn:"searchLogoColumn_rJIA",loadingSpinner:"loadingSpinner_XVxU","loading-spin":"loading-spin_vzvp",loader:"loader_vvXV"};var x=r(74848);function E(e){let{docsSearchVersionsHelpers:t}=e;const r=Object.entries(t.allDocsData).filter((e=>{let[,t]=e;return t.versions.length>1}));return(0,x.jsx)("div",{className:(0,i.A)("col","col--3","padding-left--none",_.searchVersionColumn),children:r.map((e=>{let[n,i]=e;const s=r.length>1?`${n}: `:"";return(0,x.jsx)("select",{onChange:e=>t.setSearchVersion(n,e.target.value),defaultValue:t.searchVersions[n],className:_.searchVersionInput,children:i.versions.map(((e,t)=>(0,x.jsx)("option",{label:`${s}${e.label}`,value:e.name},t)))},n)}))})}function O(){const{i18n:{currentLocale:e}}=(0,R.default)(),{algolia:{appId:t,apiKey:r,indexName:s,contextualSearch:c}}=(0,F.c)(),g=(0,b.C)(),O=function(){const{selectMessage:e}=(0,m.W)();return t=>e(t,(0,y.T)({id:"theme.SearchPage.documentsFound.plurals",description:'Pluralized label for "{count} documents found". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One document found|{count} documents found"},{count:t}))}(),w=function(){const e=(0,l.useAllDocsData)(),[t,r]=(0,n.useState)((()=>Object.entries(e).reduce(((e,t)=>{let[r,n]=t;return{...e,[r]:n.versions[0].name}}),{}))),i=Object.values(e).some((e=>e.versions.length>1));return{allDocsData:e,versioningEnabled:i,searchVersions:t,setSearchVersion:(e,t)=>r((r=>({...r,[e]:t})))}}(),[S,A]=(0,d.b)(),N={items:[],query:null,totalResults:null,totalPages:null,lastPage:null,hasMore:null,loading:null},[T,H]=(0,n.useReducer)(((e,t)=>{switch(t.type){case"reset":return N;case"loading":return{...e,loading:!0};case"update":return S!==t.value.query?e:{...t.value,items:0===t.value.lastPage?t.value.items:e.items.concat(t.value.items)};case"advance":{const t=e.totalPages>e.lastPage+1;return{...e,lastPage:t?e.lastPage+1:e.lastPage,hasMore:t}}default:return e}}),N),Q=c?["language","docusaurus_tag"]:[],C=o()(t,r),I=a()(C,s,{hitsPerPage:15,advancedSyntax:!0,disjunctiveFacets:Q});I.on("result",(e=>{let{results:{query:t,hits:r,page:n,nbHits:i,nbPages:s}}=e;if(""===t||!Array.isArray(r))return void H({type:"reset"});const a=e=>e.replace(/algolia-docsearch-suggestion--highlight/g,"search-result-match"),c=r.map((e=>{let{url:t,_highlightResult:{hierarchy:r},_snippetResult:n={}}=e;const i=Object.keys(r).map((e=>a(r[e].value)));return{title:i.pop(),url:g(t),summary:n.content?`${a(n.content.value)}...`:"",breadcrumbs:i}}));H({type:"update",value:{items:c,query:t,totalResults:i,totalPages:s,lastPage:n,hasMore:s>n+1,loading:!1}})}));const[D,k]=(0,n.useState)(null),q=(0,n.useRef)(0),L=(0,n.useRef)(u.A.canUseIntersectionObserver&&new IntersectionObserver((e=>{const{isIntersecting:t,boundingClientRect:{y:r}}=e[0];t&&q.current>r&&H({type:"advance"}),q.current=r}),{threshold:1})),V=()=>S?(0,y.T)({id:"theme.SearchPage.existingResultsTitle",message:'Search results for "{query}"',description:"The search page title for non-empty query"},{query:S}):(0,y.T)({id:"theme.SearchPage.emptyResultsTitle",message:"Search the documentation",description:"The search page title for empty query"}),B=(0,p._q)((function(t){void 0===t&&(t=0),c&&(I.addDisjunctiveFacetRefinement("docusaurus_tag","default"),I.addDisjunctiveFacetRefinement("language",e),Object.entries(w.searchVersions).forEach((e=>{let[t,r]=e;I.addDisjunctiveFacetRefinement("docusaurus_tag",`docs-${t}-${r}`)}))),I.setQuery(S).setPage(t).search()}));return(0,n.useEffect)((()=>{if(!D)return;const e=L.current;return e?(e.observe(D),()=>e.unobserve(D)):()=>!0}),[D]),(0,n.useEffect)((()=>{H({type:"reset"}),S&&(H({type:"loading"}),setTimeout((()=>{B()}),300))}),[S,w.searchVersions,B]),(0,n.useEffect)((()=>{T.lastPage&&0!==T.lastPage&&B(T.lastPage)}),[B,T.lastPage]),(0,x.jsxs)(j.A,{children:[(0,x.jsxs)(h.A,{children:[(0,x.jsx)("title",{children:(0,v.s)(V())}),(0,x.jsx)("meta",{property:"robots",content:"noindex, follow"})]}),(0,x.jsxs)("div",{className:"container margin-vert--lg",children:[(0,x.jsx)(P.default,{as:"h1",children:V()}),(0,x.jsxs)("form",{className:"row",onSubmit:e=>e.preventDefault(),children:[(0,x.jsx)("div",{className:(0,i.A)("col",_.searchQueryColumn,{"col--9":w.versioningEnabled,"col--12":!w.versioningEnabled}),children:(0,x.jsx)("input",{type:"search",name:"q",className:_.searchQueryInput,placeholder:(0,y.T)({id:"theme.SearchPage.inputPlaceholder",message:"Type your search here",description:"The placeholder for search page input"}),"aria-label":(0,y.T)({id:"theme.SearchPage.inputLabel",message:"Search",description:"The ARIA label for search page input"}),onChange:e=>A(e.target.value),value:S,autoComplete:"off",autoFocus:!0})}),c&&w.versioningEnabled&&(0,x.jsx)(E,{docsSearchVersionsHelpers:w})]}),(0,x.jsxs)("div",{className:"row",children:[(0,x.jsx)("div",{className:(0,i.A)("col","col--8",_.searchResultsColumn),children:!!T.totalResults&&O(T.totalResults)}),(0,x.jsx)("div",{className:(0,i.A)("col","col--4","text--right",_.searchLogoColumn),children:(0,x.jsx)(f.default,{to:"https://www.algolia.com/","aria-label":(0,y.T)({id:"theme.SearchPage.algoliaLabel",message:"Search by Algolia",description:"The ARIA label for Algolia mention"}),children:(0,x.jsx)("svg",{viewBox:"0 0 168 24",className:_.algoliaLogo,children:(0,x.jsxs)("g",{fill:"none",children:[(0,x.jsx)("path",{className:_.algoliaLogoPathFill,d:"M120.925 18.804c-4.386.02-4.386-3.54-4.386-4.106l-.007-13.336 2.675-.424v13.254c0 .322 0 2.358 1.718 2.364v2.248zm-10.846-2.18c.821 0 1.43-.047 1.855-.129v-2.719a6.334 6.334 0 0 0-1.574-.199 5.7 5.7 0 0 0-.897.069 2.699 2.699 0 0 0-.814.24c-.24.116-.439.28-.582.491-.15.212-.219.335-.219.656 0 .628.219.991.616 1.23s.938.362 1.615.362zm-.233-9.7c.883 0 1.629.109 2.231.328.602.218 1.088.525 1.444.915.363.396.609.922.76 1.483.157.56.232 1.175.232 1.85v6.874a32.5 32.5 0 0 1-1.868.314c-.834.123-1.772.185-2.813.185-.69 0-1.327-.069-1.895-.198a4.001 4.001 0 0 1-1.471-.636 3.085 3.085 0 0 1-.951-1.134c-.226-.465-.343-1.12-.343-1.803 0-.656.13-1.073.384-1.525a3.24 3.24 0 0 1 1.047-1.106c.445-.287.95-.492 1.532-.615a8.8 8.8 0 0 1 1.82-.185 8.404 8.404 0 0 1 1.972.24v-.438c0-.307-.035-.6-.11-.874a1.88 1.88 0 0 0-.384-.73 1.784 1.784 0 0 0-.724-.493 3.164 3.164 0 0 0-1.143-.205c-.616 0-1.177.075-1.69.164a7.735 7.735 0 0 0-1.26.307l-.321-2.192c.335-.117.834-.233 1.478-.349a10.98 10.98 0 0 1 2.073-.178zm52.842 9.626c.822 0 1.43-.048 1.854-.13V13.7a6.347 6.347 0 0 0-1.574-.199c-.294 0-.595.021-.896.069a2.7 2.7 0 0 0-.814.24 1.46 1.46 0 0 0-.582.491c-.15.212-.218.335-.218.656 0 .628.218.991.615 1.23.404.245.938.362 1.615.362zm-.226-9.694c.883 0 1.629.108 2.231.327.602.219 1.088.526 1.444.915.355.39.609.923.759 1.483a6.8 6.8 0 0 1 .233 1.852v6.873c-.41.088-1.034.19-1.868.314-.834.123-1.772.184-2.813.184-.69 0-1.327-.068-1.895-.198a4.001 4.001 0 0 1-1.471-.635 3.085 3.085 0 0 1-.951-1.134c-.226-.465-.343-1.12-.343-1.804 0-.656.13-1.073.384-1.524.26-.45.608-.82 1.047-1.107.445-.286.95-.491 1.532-.614a8.803 8.803 0 0 1 2.751-.13c.329.034.671.096 1.04.185v-.437a3.3 3.3 0 0 0-.109-.875 1.873 1.873 0 0 0-.384-.731 1.784 1.784 0 0 0-.724-.492 3.165 3.165 0 0 0-1.143-.205c-.616 0-1.177.075-1.69.164a7.75 7.75 0 0 0-1.26.307l-.321-2.193c.335-.116.834-.232 1.478-.348a11.633 11.633 0 0 1 2.073-.177zm-8.034-1.271a1.626 1.626 0 0 1-1.628-1.62c0-.895.725-1.62 1.628-1.62.904 0 1.63.725 1.63 1.62 0 .895-.733 1.62-1.63 1.62zm1.348 13.22h-2.689V7.27l2.69-.423v11.956zm-4.714 0c-4.386.02-4.386-3.54-4.386-4.107l-.008-13.336 2.676-.424v13.254c0 .322 0 2.358 1.718 2.364v2.248zm-8.698-5.903c0-1.156-.253-2.119-.746-2.788-.493-.677-1.183-1.01-2.067-1.01-.882 0-1.574.333-2.065 1.01-.493.676-.733 1.632-.733 2.788 0 1.168.246 1.953.74 2.63.492.683 1.183 1.018 2.066 1.018.882 0 1.574-.342 2.067-1.019.492-.683.738-1.46.738-2.63zm2.737-.007c0 .902-.13 1.584-.397 2.33a5.52 5.52 0 0 1-1.128 1.906 4.986 4.986 0 0 1-1.752 1.223c-.685.286-1.739.45-2.265.45-.528-.006-1.574-.157-2.252-.45a5.096 5.096 0 0 1-1.744-1.223c-.487-.527-.863-1.162-1.137-1.906a6.345 6.345 0 0 1-.41-2.33c0-.902.123-1.77.397-2.508a5.554 5.554 0 0 1 1.15-1.892 5.133 5.133 0 0 1 1.75-1.216c.679-.287 1.425-.423 2.232-.423.808 0 1.553.142 2.237.423a4.88 4.88 0 0 1 1.753 1.216 5.644 5.644 0 0 1 1.135 1.892c.287.738.431 1.606.431 2.508zm-20.138 0c0 1.12.246 2.363.738 2.882.493.52 1.13.78 1.91.78.424 0 .828-.062 1.204-.178.377-.116.677-.253.917-.417V9.33a10.476 10.476 0 0 0-1.766-.226c-.971-.028-1.71.37-2.23 1.004-.513.636-.773 1.75-.773 2.788zm7.438 5.274c0 1.824-.466 3.156-1.404 4.004-.936.846-2.367 1.27-4.296 1.27-.705 0-2.17-.137-3.34-.396l.431-2.118c.98.205 2.272.26 2.95.26 1.074 0 1.84-.219 2.299-.656.459-.437.684-1.086.684-1.948v-.437a8.07 8.07 0 0 1-1.047.397c-.43.13-.93.198-1.492.198-.739 0-1.41-.116-2.018-.349a4.206 4.206 0 0 1-1.567-1.025c-.431-.45-.774-1.017-1.013-1.694-.24-.677-.363-1.885-.363-2.773 0-.834.13-1.88.384-2.577.26-.696.629-1.298 1.129-1.796.493-.498 1.095-.881 1.8-1.162a6.605 6.605 0 0 1 2.428-.457c.87 0 1.67.109 2.45.24.78.129 1.444.265 1.985.415V18.17zM6.972 6.677v1.627c-.712-.446-1.52-.67-2.425-.67-.585 0-1.045.13-1.38.391a1.24 1.24 0 0 0-.502 1.03c0 .425.164.765.494 1.02.33.256.835.532 1.516.83.447.192.795.356 1.045.495.25.138.537.332.862.582.324.25.563.548.718.894.154.345.23.741.23 1.188 0 .947-.334 1.691-1.004 2.234-.67.542-1.537.814-2.601.814-1.18 0-2.16-.229-2.936-.686v-1.708c.84.628 1.814.942 2.92.942.585 0 1.048-.136 1.388-.407.34-.271.51-.646.51-1.125 0-.287-.1-.55-.302-.79-.203-.24-.42-.42-.655-.542-.234-.123-.585-.29-1.053-.503a61.27 61.27 0 0 1-.582-.271 13.67 13.67 0 0 1-.55-.287 4.275 4.275 0 0 1-.567-.351 6.92 6.92 0 0 1-.455-.4c-.18-.17-.31-.34-.39-.51-.08-.17-.155-.37-.224-.598a2.553 2.553 0 0 1-.104-.742c0-.915.333-1.638.998-2.17.664-.532 1.523-.798 2.576-.798.968 0 1.793.17 2.473.51zm7.468 5.696v-.287c-.022-.607-.187-1.088-.495-1.444-.309-.357-.75-.535-1.324-.535-.532 0-.99.194-1.373.583-.382.388-.622.949-.717 1.683h3.909zm1.005 2.792v1.404c-.596.34-1.383.51-2.362.51-1.255 0-2.255-.377-3-1.132-.744-.755-1.116-1.744-1.116-2.968 0-1.297.34-2.316 1.021-3.055.68-.74 1.548-1.11 2.6-1.11 1.033 0 1.852.323 2.458.966.606.644.91 1.572.91 2.784 0 .33-.033.676-.096 1.038h-5.314c.107.702.405 1.239.894 1.611.49.372 1.106.558 1.85.558.862 0 1.58-.202 2.155-.606zm6.605-1.77h-1.212c-.596 0-1.045.116-1.349.35-.303.234-.454.532-.454.894 0 .372.117.664.35.877.235.213.575.32 1.022.32.51 0 .912-.142 1.204-.424.293-.281.44-.651.44-1.108v-.91zm-4.068-2.554V9.325c.627-.361 1.457-.542 2.489-.542 2.116 0 3.175 1.026 3.175 3.08V17h-1.548v-.957c-.415.68-1.143 1.02-2.186 1.02-.766 0-1.38-.22-1.843-.661-.462-.442-.694-1.003-.694-1.684 0-.776.293-1.38.878-1.81.585-.431 1.404-.647 2.457-.647h1.34V11.8c0-.554-.133-.971-.399-1.253-.266-.282-.707-.423-1.324-.423a4.07 4.07 0 0 0-2.345.718zm9.333-1.93v1.42c.394-1 1.101-1.5 2.123-1.5.148 0 .313.016.494.048v1.531a1.885 1.885 0 0 0-.75-.143c-.542 0-.989.24-1.34.718-.351.479-.527 1.048-.527 1.707V17h-1.563V8.91h1.563zm5.01 4.084c.022.82.272 1.492.75 2.019.479.526 1.15.79 2.01.79.639 0 1.235-.176 1.788-.527v1.404c-.521.319-1.186.479-1.995.479-1.265 0-2.276-.4-3.031-1.197-.755-.798-1.133-1.792-1.133-2.984 0-1.16.38-2.151 1.14-2.975.761-.825 1.79-1.237 3.088-1.237.702 0 1.346.149 1.93.447v1.436a3.242 3.242 0 0 0-1.77-.495c-.84 0-1.513.266-2.019.798-.505.532-.758 1.213-.758 2.042zM40.24 5.72v4.579c.458-1 1.293-1.5 2.505-1.5.787 0 1.42.245 1.899.734.479.49.718 1.17.718 2.042V17h-1.564v-5.106c0-.553-.14-.98-.422-1.284-.282-.303-.652-.455-1.11-.455-.531 0-1.002.202-1.411.606-.41.405-.615 1.022-.615 1.851V17h-1.563V5.72h1.563zm14.966 10.02c.596 0 1.096-.253 1.5-.758.404-.506.606-1.157.606-1.955 0-.915-.202-1.62-.606-2.114-.404-.495-.92-.742-1.548-.742-.553 0-1.05.224-1.491.67-.442.447-.662 1.133-.662 2.058 0 .958.212 1.67.638 2.138.425.469.946.703 1.563.703zM53.004 5.72v4.42c.574-.894 1.388-1.341 2.44-1.341 1.022 0 1.857.383 2.506 1.149.649.766.973 1.781.973 3.047 0 1.138-.309 2.109-.925 2.912-.617.803-1.463 1.205-2.537 1.205-1.075 0-1.894-.447-2.457-1.34V17h-1.58V5.72h1.58zm9.908 11.104l-3.223-7.913h1.739l1.005 2.632 1.26 3.415c.096-.32.48-1.458 1.15-3.415l.909-2.632h1.66l-2.92 7.866c-.777 2.074-1.963 3.11-3.559 3.11a2.92 2.92 0 0 1-.734-.079v-1.34c.17.042.351.064.543.064 1.032 0 1.755-.57 2.17-1.708z"}),(0,x.jsx)("path",{fill:"#5468FF",d:"M78.988.938h16.594a2.968 2.968 0 0 1 2.966 2.966V20.5a2.967 2.967 0 0 1-2.966 2.964H78.988a2.967 2.967 0 0 1-2.966-2.964V3.897A2.961 2.961 0 0 1 78.988.938z"}),(0,x.jsx)("path",{fill:"white",d:"M89.632 5.967v-.772a.978.978 0 0 0-.978-.977h-2.28a.978.978 0 0 0-.978.977v.793c0 .088.082.15.171.13a7.127 7.127 0 0 1 1.984-.28c.65 0 1.295.088 1.917.259.082.02.164-.04.164-.13m-6.248 1.01l-.39-.389a.977.977 0 0 0-1.382 0l-.465.465a.973.973 0 0 0 0 1.38l.383.383c.062.061.15.047.205-.014.226-.307.472-.601.746-.874.281-.28.568-.526.883-.751.068-.042.075-.137.02-.2m4.16 2.453v3.341c0 .096.104.165.192.117l2.97-1.537c.068-.034.089-.117.055-.184a3.695 3.695 0 0 0-3.08-1.866c-.068 0-.136.054-.136.13m0 8.048a4.489 4.489 0 0 1-4.49-4.482 4.488 4.488 0 0 1 4.49-4.482 4.488 4.488 0 0 1 4.489 4.482 4.484 4.484 0 0 1-4.49 4.482m0-10.85a6.363 6.363 0 1 0 0 12.729 6.37 6.37 0 0 0 6.372-6.368 6.358 6.358 0 0 0-6.371-6.36"})]})})})})]}),T.items.length>0?(0,x.jsx)("main",{children:T.items.map(((e,t)=>{let{title:r,url:n,summary:s,breadcrumbs:a}=e;return(0,x.jsxs)("article",{className:_.searchResultItem,children:[(0,x.jsx)(P.default,{as:"h2",className:_.searchResultItemHeading,children:(0,x.jsx)(f.default,{to:n,dangerouslySetInnerHTML:{__html:r}})}),a.length>0&&(0,x.jsx)("nav",{"aria-label":"breadcrumbs",children:(0,x.jsx)("ul",{className:(0,i.A)("breadcrumbs",_.searchResultItemPath),children:a.map(((e,t)=>(0,x.jsx)("li",{className:"breadcrumbs__item",dangerouslySetInnerHTML:{__html:e}},t)))})}),s&&(0,x.jsx)("p",{className:_.searchResultItemSummary,dangerouslySetInnerHTML:{__html:s}})]},t)}))}):[S&&!T.loading&&(0,x.jsx)("p",{children:(0,x.jsx)(y.A,{id:"theme.SearchPage.noResultsText",description:"The paragraph for empty search result",children:"No results were found"})},"no-results"),!!T.loading&&(0,x.jsx)("div",{className:_.loadingSpinner},"spinner")],T.hasMore&&(0,x.jsx)("div",{className:_.loader,ref:k,children:(0,x.jsx)(y.A,{id:"theme.SearchPage.fetchingNewResults",description:"The paragraph for fetching new search results",children:"Fetching new results..."})})]})]})}function w(){return(0,x.jsx)(g.e3,{className:"search-page-wrapper",children:(0,x.jsx)(O,{})})}}}]); \ No newline at end of file diff --git a/assets/js/1c1d0071.34dac78b.js b/assets/js/1c1d0071.34dac78b.js deleted file mode 100644 index 84ed0e51..00000000 --- a/assets/js/1c1d0071.34dac78b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9748],{26166:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>d,default:()=>g,frontMatter:()=>u,metadata:()=>h,toc:()=>p});var n=s(74848),i=s(28453),l=s(85819);const a=JSON.parse('{"timing":{"repeat":{"when":["MORN","AFT"]}}}');var o=s(11470),r=s(19365),c=s(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,n.jsxs)(o.A,{children:[(0,n.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(c.A,{dosage:a})}),(0,n.jsx)(r.A,{value:"json",label:"Dosage",children:(0,n.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,n.jsx)(t,{...e,children:(0,n.jsx)(m,{...e})}):m()}},816:(e,t,s)=>{s.d(t,{A:()=>r});var n=s(96540),i=s(76300),l=s(52376),a=s(85819),o=s(74848);function r(e){let{dosage:t,config:s}=e;const[r,c]=(0,n.useState)(""),[u,d]=(0,n.useState)(s?.language||"en"),[h,f]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await i.U.build({...s});f(e)}()}),[s]),(0,n.useEffect)((()=>{!async function(){if(h){const e=h.fromDosageToText(t);c(e)}}()}),[t,h]);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(h){await h.changeLanguage(u);const e=h.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(a.default,{language:"markup",children:(p=r,(0,l.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/1c1d0071.6c247cf0.js b/assets/js/1c1d0071.6c247cf0.js new file mode 100644 index 00000000..507f455a --- /dev/null +++ b/assets/js/1c1d0071.6c247cf0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9748],{77264:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>h,default:()=>g,frontMatter:()=>d,metadata:()=>n,toc:()=>p});const n=JSON.parse('{"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":false,"unlisted":false,"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"}}');var i=s(74848),l=s(28453),a=s(85819);const o=JSON.parse('{"timing":{"repeat":{"when":["MORN","AFT"]}}}');var r=s(11470),c=s(19365),u=s(816);const d={description:"when - multiple items",title:"\ud83d\udd52 When (Multiple items)"},h=void 0,f={},p=[];function m(e){return(0,i.jsxs)(r.A,{children:[(0,i.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(u.A,{dosage:o})}),(0,i.jsx)(c.A,{value:"json",label:"Dosage",children:(0,i.jsx)(a.default,{language:"json",children:JSON.stringify(o,null,2)})})]})}function g(e={}){const{wrapper:t}={...(0,l.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:()=>r});var n=s(96540),i=s(76300),l=s(52376),a=s(85819),o=s(74848);function r(e){let{dosage:t,config:s}=e;const[r,c]=(0,n.useState)(""),[u,d]=(0,n.useState)(s?.language||"en"),[h,f]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await i.U.build({...s});f(e)}()}),[s]),(0,n.useEffect)((()=>{!async function(){if(h){const e=h.fromDosageToText(t);c(e)}}()}),[t,h]);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(h){await h.changeLanguage(u);const e=h.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(a.default,{language:"markup",children:(p=r,(0,l.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/1cd656ab.53ec4478.js b/assets/js/1cd656ab.53ec4478.js new file mode 100644 index 00000000..21d4dd52 --- /dev/null +++ b/assets/js/1cd656ab.53ec4478.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4697],{6016:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>p,default:()=>x,frontMatter:()=>u,metadata:()=>i,toc:()=>h});const i=JSON.parse('{"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":false,"unlisted":false,"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"}}');var n=s(74848),a=s(28453),o=s(85819);const r=JSON.parse('{"site":{"coding":[{"system":"http://hl7.org/fhir/ValueSet/approach-site-codes","code":"1910005","display":"Entire ear"}]}}');var c=s(11470),l=s(19365),d=s(816);const u={description:"site",title:"\ud83d\udccd site"},p=void 0,f={},h=[];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.jsxs)(c.A,{children:[(0,n.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(d.A,{dosage:r})}),(0,n.jsx)(l.A,{value:"json",label:"Dosage",children:(0,n.jsx)(o.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/Config",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}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)}},816:(e,t,s)=>{s.d(t,{A:()=>c});var i=s(96540),n=s(76300),a=s(52376),o=s(85819),r=s(74848);function c(e){let{dosage:t,config:s}=e;const[c,l]=(0,i.useState)(""),[d,u]=(0,i.useState)(s?.language||"en"),[p,f]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await n.U.build({...s});f(e)}()}),[s]),(0,i.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)(o.default,{language:"markup",children:(h=c,(0,a.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/1cd656ab.eb36380f.js b/assets/js/1cd656ab.eb36380f.js deleted file mode 100644 index 3c50da85..00000000 --- a/assets/js/1cd656ab.eb36380f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4697],{28001:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>h,contentTitle:()=>u,default:()=>x,frontMatter:()=>d,metadata:()=>p,toc:()=>f});var i=s(74848),n=s(28453),a=s(85819);const o=JSON.parse('{"site":{"coding":[{"system":"http://hl7.org/fhir/ValueSet/approach-site-codes","code":"1910005","display":"Entire ear"}]}}');var r=s(11470),c=s(19365),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"}},h={},f=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,n.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(r.A,{children:[(0,i.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(l.A,{dosage:o})}),(0,i.jsx)(c.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/Config",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(g,{...e})}):g(e)}},816:(e,t,s)=>{s.d(t,{A:()=>c});var i=s(96540),n=s(76300),a=s(52376),o=s(85819),r=s(74848);function c(e){let{dosage:t,config:s}=e;const[c,l]=(0,i.useState)(""),[d,u]=(0,i.useState)(s?.language||"en"),[p,h]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await n.U.build({...s});h(e)}()}),[s]),(0,i.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)(o.default,{language:"markup",children:(f=c,(0,a.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/1f927e7e.08327c6f.js b/assets/js/1f927e7e.08327c6f.js new file mode 100644 index 00000000..ef1eb45c --- /dev/null +++ b/assets/js/1f927e7e.08327c6f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4471],{89885:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>h,contentTitle:()=>u,default:()=>x,frontMatter:()=>d,metadata:()=>s,toc:()=>p});const s=JSON.parse('{"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":false,"unlisted":false,"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"}}');var a=n(74848),o=n(28453),i=n(85819);const r=JSON.parse('{"timing":{"repeat":{"offset":15,"when":["MORN"]}}}');var c=n(11470),l=n(19365),f=n(816);const d={description:"offset and when together",title:"\ud83d\udd52 offset and when"},u=void 0,h={},p=[];function g(e){return(0,a.jsxs)(c.A,{children:[(0,a.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(f.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)})})]})}function x(e={}){const{wrapper:t}={...(0,o.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:()=>c});var s=n(96540),a=n(76300),o=n(52376),i=n(85819),r=n(74848);function c(e){let{dosage:t,config:n}=e;const[c,l]=(0,s.useState)(""),[f,d]=(0,s.useState)(n?.language||"en"),[u,h]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await a.U.build({...n});h(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(t);l(e)}}()}),[t,u]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:f,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(f);const e=u.fromDosageToText(t);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(i.default,{language:"markup",children:(p=c,(0,o.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/1f927e7e.5449a385.js b/assets/js/1f927e7e.5449a385.js deleted file mode 100644 index 2b2ced55..00000000 --- a/assets/js/1f927e7e.5449a385.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4471],{49211:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>h,contentTitle:()=>f,default:()=>x,frontMatter:()=>d,metadata:()=>u,toc:()=>g});var s=n(74848),a=n(28453),o=n(85819);const i=JSON.parse('{"timing":{"repeat":{"offset":15,"when":["MORN"]}}}');var r=n(11470),c=n(19365),l=n(816);const d={description:"offset and when together",title:"\ud83d\udd52 offset and when"},f=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)(l.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:()=>c});var s=n(96540),a=n(76300),o=n(52376),i=n(85819),r=n(74848);function c(e){let{dosage:t,config:n}=e;const[c,l]=(0,s.useState)(""),[d,f]=(0,s.useState)(n?.language||"en"),[u,h]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await a.U.build({...n});h(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(t);l(e)}}()}),[t,u]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:d,onChange:e=>f(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(d);const e=u.fromDosageToText(t);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(i.default,{language:"markup",children:(g=c,(0,o.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/201e0385.a9e82cdb.js b/assets/js/201e0385.a9e82cdb.js deleted file mode 100644 index 5b8541a9..00000000 --- a/assets/js/201e0385.a9e82cdb.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4081],{71021:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>h,frontMatter:()=>l,metadata:()=>m,toc:()=>x});var s=n(74848),i=n(28453),o=n(85819);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 d=n(11470),r=n(19365),u=n(18264);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={},x=[];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/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)(d.A,{children:[(0,s.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(u.A,{dosages:a,config:{}})}),(0,s.jsx)(r.A,{value:"json",label:"Dosage",children:(0,s.jsx)(o.default,{language:"json",children:JSON.stringify(a,null,2)})})]})]})}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)}},18264:(e,t,n)=>{n.d(t,{A:()=>r});var s=n(96540),i=n(76300),o=n(52376),a=n(85819),d=n(74848);function r(e){let{dosages:t,config:n}=e;const[r,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.U.build({...n});p(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);u(e)}}()}),[t,m]);return(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{style:{display:"flex"},children:[(0,d.jsxs)("select",{value:l,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(m){await m.changeLanguage(l);const e=m.fromMultipleDosageToText(t);u(e)}},children:"Confirm"})]}),(0,d.jsx)("div",{style:{marginTop:"10px"},children:(0,d.jsx)(a.default,{language:"markup",children:(x=r,(0,o.decode)(x))})})]});var x}}}]); \ No newline at end of file diff --git a/assets/js/201e0385.b9bedf49.js b/assets/js/201e0385.b9bedf49.js new file mode 100644 index 00000000..b3daf37d --- /dev/null +++ b/assets/js/201e0385.b9bedf49.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4081],{81826:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>m,default:()=>f,frontMatter:()=>c,metadata:()=>s,toc:()=>x});const s=JSON.parse('{"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":false,"unlisted":false,"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"}}');var i=n(74848),o=n(28453),a=n(85819);const d=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(11470),u=n(19365),l=n(18264);const c={description:"Request for Subcutaneous injection with multiple dosage lines - Insulin - Novolog - active - includes reasonCode and note. Dosage includes additionalInstructions as text",title:"medrx0321"},m=void 0,p={},x=[];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/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,i.jsxs)(r.A,{children:[(0,i.jsx)(u.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(l.A,{dosages:d,config:{}})}),(0,i.jsx)(u.A,{value:"json",label:"Dosage",children:(0,i.jsx)(a.default,{language:"json",children:JSON.stringify(d,null,2)})})]})]})}function f(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(g,{...e})}):g(e)}},18264:(e,t,n)=>{n.d(t,{A:()=>r});var s=n(96540),i=n(76300),o=n(52376),a=n(85819),d=n(74848);function r(e){let{dosages:t,config:n}=e;const[r,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.U.build({...n});p(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);u(e)}}()}),[t,m]);return(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{style:{display:"flex"},children:[(0,d.jsxs)("select",{value:l,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(m){await m.changeLanguage(l);const e=m.fromMultipleDosageToText(t);u(e)}},children:"Confirm"})]}),(0,d.jsx)("div",{style:{marginTop:"10px"},children:(0,d.jsx)(a.default,{language:"markup",children:(x=r,(0,o.decode)(x))})})]});var x}}}]); \ No newline at end of file diff --git a/assets/js/20a65861.0e530bab.js b/assets/js/20a65861.0e530bab.js deleted file mode 100644 index b7b00847..00000000 --- a/assets/js/20a65861.0e530bab.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1796],{17907:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>x,frontMatter:()=>l,metadata:()=>m,toc:()=>h});var n=s(74848),i=s(28453),d=s(85819);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=s(11470),r=s(19365),c=s(18264);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,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/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,n.jsxs)(a.A,{children:[(0,n.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(c.A,{dosages:o,config:{}})}),(0,n.jsx)(r.A,{value:"json",label:"Dosage",children:(0,n.jsx)(d.default,{language:"json",children:JSON.stringify(o,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)}},18264:(e,t,s)=>{s.d(t,{A:()=>r});var n=s(96540),i=s(76300),d=s(52376),o=s(85819),a=s(74848);function r(e){let{dosages:t,config:s}=e;const[r,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.U.build({...s});p(e)}()}),[s]),(0,n.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);c(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);c(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(o.default,{language:"markup",children:(h=r,(0,d.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/20a65861.b28a42e0.js b/assets/js/20a65861.b28a42e0.js new file mode 100644 index 00000000..b27eb1ff --- /dev/null +++ b/assets/js/20a65861.b28a42e0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1796],{92380:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>p,contentTitle:()=>m,default:()=>x,frontMatter:()=>u,metadata:()=>n,toc:()=>h});const n=JSON.parse('{"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":false,"unlisted":false,"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"}}');var i=s(74848),d=s(28453),o=s(85819);const a=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 r=s(11470),c=s(19365),l=s(18264);const u={description:"Order for as needed (PRN) dosage - Vicodin - completed with dosageInstruction with additionalInstruction (coded) and as needed with reason, dispenseRequest and substitution",title:"medrx0308"},m=void 0,p={},h=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,d.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/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,i.jsxs)(r.A,{children:[(0,i.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(l.A,{dosages:a,config:{}})}),(0,i.jsx)(c.A,{value:"json",label:"Dosage",children:(0,i.jsx)(o.default,{language:"json",children:JSON.stringify(a,null,2)})})]})]})}function x(e={}){const{wrapper:t}={...(0,d.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(g,{...e})}):g(e)}},18264:(e,t,s)=>{s.d(t,{A:()=>r});var n=s(96540),i=s(76300),d=s(52376),o=s(85819),a=s(74848);function r(e){let{dosages:t,config:s}=e;const[r,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.U.build({...s});p(e)}()}),[s]),(0,n.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);c(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);c(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(o.default,{language:"markup",children:(h=r,(0,d.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/20b5be5c.3004df61.js b/assets/js/20b5be5c.3004df61.js new file mode 100644 index 00000000..fd9aaaf5 --- /dev/null +++ b/assets/js/20b5be5c.3004df61.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6193],{98081:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>h,contentTitle:()=>u,default:()=>x,frontMatter:()=>d,metadata:()=>o,toc:()=>p});const o=JSON.parse('{"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":false,"unlisted":false,"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"}}');var n=t(74848),a=t(28453),f=t(85819);const i=JSON.parse('{"timing":{"repeat":{"offset":1440}}}');var r=t(11470),c=t(19365),l=t(816);const d={description:"offset, expressing day(s)",title:"\ud83d\udd52 offset (Days)"},u=void 0,h={},p=[];function g(e){return(0,n.jsxs)(r.A,{children:[(0,n.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(l.A,{dosage:i})}),(0,n.jsx)(c.A,{value:"json",label:"Dosage",children:(0,n.jsx)(f.default,{language:"json",children:JSON.stringify(i,null,2)})})]})}function x(e={}){const{wrapper:s}={...(0,a.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 o=t(96540),n=t(76300),a=t(52376),f=t(85819),i=t(74848);function r(e){let{dosage:s,config:t}=e;const[r,c]=(0,o.useState)(""),[l,d]=(0,o.useState)(t?.language||"en"),[u,h]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await n.U.build({...t});h(e)}()}),[t]),(0,o.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(s);c(e)}}()}),[s,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(s);c(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(f.default,{language:"markup",children:(p=r,(0,a.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/20b5be5c.e94a14c8.js b/assets/js/20b5be5c.e94a14c8.js deleted file mode 100644 index d46bc8e3..00000000 --- a/assets/js/20b5be5c.e94a14c8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6193],{72272:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>h,contentTitle:()=>d,default:()=>x,frontMatter:()=>l,metadata:()=>u,toc:()=>p});var o=t(74848),n=t(28453),a=t(85819);const f=JSON.parse('{"timing":{"repeat":{"offset":1440}}}');var i=t(11470),r=t(19365),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"}},h={},p=[];function g(e){return(0,o.jsxs)(i.A,{children:[(0,o.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(c.A,{dosage:f})}),(0,o.jsx)(r.A,{value:"json",label:"Dosage",children:(0,o.jsx)(a.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:()=>r});var o=t(96540),n=t(76300),a=t(52376),f=t(85819),i=t(74848);function r(e){let{dosage:s,config:t}=e;const[r,c]=(0,o.useState)(""),[l,d]=(0,o.useState)(t?.language||"en"),[u,h]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await n.U.build({...t});h(e)}()}),[t]),(0,o.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(s);c(e)}}()}),[s,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(s);c(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(f.default,{language:"markup",children:(p=r,(0,a.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/21119077.6bab7c8e.js b/assets/js/21119077.6bab7c8e.js deleted file mode 100644 index 1b834e1d..00000000 --- a/assets/js/21119077.6bab7c8e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6499],{67869:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>m,default:()=>f,frontMatter:()=>u,metadata:()=>c,toc:()=>g});var i=n(74848),o=n(28453),s=n(85819);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 d=n(11470),r=n(19365),l=n(18264);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)(d.A,{children:[(0,i.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(l.A,{dosages:a,config:{}})}),(0,i.jsx)(r.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)}},18264:(e,t,n)=>{n.d(t,{A:()=>r});var i=n(96540),o=n(76300),s=n(52376),a=n(85819),d=n(74848);function r(e){let{dosages:t,config:n}=e;const[r,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.U.build({...n});p(e)}()}),[n]),(0,i.useEffect)((()=>{!async function(){if(c){const e=c.fromMultipleDosageToText(t);l(e)}}()}),[t,c]);return(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{style:{display:"flex"},children:[(0,d.jsxs)("select",{value:u,onChange:e=>m(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(u);const e=c.fromMultipleDosageToText(t);l(e)}},children:"Confirm"})]}),(0,d.jsx)("div",{style:{marginTop:"10px"},children:(0,d.jsx)(a.default,{language:"markup",children:(g=r,(0,s.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/21119077.d4d8e538.js b/assets/js/21119077.d4d8e538.js new file mode 100644 index 00000000..008c9717 --- /dev/null +++ b/assets/js/21119077.d4d8e538.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6499],{31641:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>f,frontMatter:()=>m,metadata:()=>i,toc:()=>g});const i=JSON.parse('{"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":false,"unlisted":false,"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"}}');var o=n(74848),s=n(28453),a=n(85819);const d=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(11470),l=n(19365),u=n(18264);const m={description:"Request for Intravenous Chemotherapy (inpatient order) - Alemtuzumab - completed with multiple dosageInstruction lines",title:"medrx0317"},c=void 0,p={},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.jsx)(t.admonition,{type:"info",children:(0,o.jsxs)(t.p,{children:["Source: ",(0,o.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,o.jsxs)(r.A,{children:[(0,o.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(u.A,{dosages:d,config:{}})}),(0,o.jsx)(l.A,{value:"json",label:"Dosage",children:(0,o.jsx)(a.default,{language:"json",children:JSON.stringify(d,null,2)})})]})]})}function f(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(h,{...e})}):h(e)}},18264:(e,t,n)=>{n.d(t,{A:()=>r});var i=n(96540),o=n(76300),s=n(52376),a=n(85819),d=n(74848);function r(e){let{dosages:t,config:n}=e;const[r,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.U.build({...n});p(e)}()}),[n]),(0,i.useEffect)((()=>{!async function(){if(c){const e=c.fromMultipleDosageToText(t);l(e)}}()}),[t,c]);return(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{style:{display:"flex"},children:[(0,d.jsxs)("select",{value:u,onChange:e=>m(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(u);const e=c.fromMultipleDosageToText(t);l(e)}},children:"Confirm"})]}),(0,d.jsx)("div",{style:{marginTop:"10px"},children:(0,d.jsx)(a.default,{language:"markup",children:(g=r,(0,s.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/254404d2.52ead305.js b/assets/js/254404d2.52ead305.js deleted file mode 100644 index f976a0ce..00000000 --- a/assets/js/254404d2.52ead305.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[7762],{88790:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>c,default:()=>x,frontMatter:()=>u,metadata:()=>p,toc:()=>g});var n=s(74848),a=s(28453),d=s(85819);const o=JSON.parse('{"timing":{"repeat":{"boundsPeriod":{"start":"2011-05-23","end":"2011-05-27"}}}}');var r=s(11470),i=s(19365),l=s(816);const u={description:"Start & end",title:"\u23f3 boundsPeriod (start & end)"},c=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,n.jsxs)(r.A,{children:[(0,n.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(l.A,{dosage:o})}),(0,n.jsx)(i.A,{value:"json",label:"Dosage",children:(0,n.jsx)(d.default,{language:"json",children:JSON.stringify(o,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,s)=>{s.d(t,{A:()=>i});var n=s(96540),a=s(76300),d=s(52376),o=s(85819),r=s(74848);function i(e){let{dosage:t,config:s}=e;const[i,l]=(0,n.useState)(""),[u,c]=(0,n.useState)(s?.language||"en"),[p,f]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await a.U.build({...s});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:u,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(p){await p.changeLanguage(u);const e=p.fromDosageToText(t);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(o.default,{language:"markup",children:(g=i,(0,d.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/254404d2.aaa69585.js b/assets/js/254404d2.aaa69585.js new file mode 100644 index 00000000..485e4016 --- /dev/null +++ b/assets/js/254404d2.aaa69585.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[7762],{88927:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>f,contentTitle:()=>p,default:()=>x,frontMatter:()=>u,metadata:()=>n,toc:()=>g});const n=JSON.parse('{"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":false,"unlisted":false,"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"}}');var a=t(74848),d=t(28453),o=t(85819);const r=JSON.parse('{"timing":{"repeat":{"boundsPeriod":{"start":"2011-05-23","end":"2011-05-27"}}}}');var i=t(11470),l=t(19365),c=t(816);const u={description:"Start & end",title:"\u23f3 boundsPeriod (start & end)"},p=void 0,f={},g=[];function h(e){return(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)(o.default,{language:"json",children:JSON.stringify(r,null,2)})})]})}function x(e={}){const{wrapper:s}={...(0,d.R)(),...e.components};return s?(0,a.jsx)(s,{...e,children:(0,a.jsx)(h,{...e})}):h()}},816:(e,s,t)=>{t.d(s,{A:()=>i});var n=t(96540),a=t(76300),d=t(52376),o=t(85819),r=t(74848);function i(e){let{dosage:s,config:t}=e;const[i,l]=(0,n.useState)(""),[c,u]=(0,n.useState)(t?.language||"en"),[p,f]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await a.U.build({...t});f(e)}()}),[t]),(0,n.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(s);l(e)}}()}),[s,p]);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(p){await p.changeLanguage(c);const e=p.fromDosageToText(s);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(o.default,{language:"markup",children:(g=i,(0,d.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/265a61ea.8220344a.js b/assets/js/265a61ea.8220344a.js deleted file mode 100644 index 6138c426..00000000 --- a/assets/js/265a61ea.8220344a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5184],{61e3:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>g,frontMatter:()=>c,metadata:()=>m,toc:()=>h});var s=i(74848),n=i(28453),a=i(85819);const o=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 r=i(11470),d=i(19365),l=i(18264);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,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/medicationrequest0319.html",children:"HL7"}),' - "Request for Intravenous Antibiotic with a Dosage Rate - Piperacillin - completed with reason code"']})}),"\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 g(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(x,{...e})}):x(e)}},18264:(e,t,i)=>{i.d(t,{A:()=>d});var s=i(96540),n=i(76300),a=i(52376),o=i(85819),r=i(74848);function d(e){let{dosages:t,config:i}=e;const[d,l]=(0,s.useState)(""),[c,u]=(0,s.useState)(i?.language||"en"),[m,p]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await n.U.build({...i});p(e)}()}),[i]),(0,s.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,(0,a.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/265a61ea.dee958e4.js b/assets/js/265a61ea.dee958e4.js new file mode 100644 index 00000000..37a07487 --- /dev/null +++ b/assets/js/265a61ea.dee958e4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5184],{41405:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>p,contentTitle:()=>m,default:()=>f,frontMatter:()=>u,metadata:()=>s,toc:()=>h});const s=JSON.parse('{"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":false,"unlisted":false,"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"}}');var n=i(74848),a=i(28453),o=i(85819);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 d=i(11470),l=i(19365),c=i(18264);const u={description:"Request for Intravenous Antibiotic with a Dosage Rate - Piperacillin - completed with reason code",title:"medrx0319"},m=void 0,p={},h=[];function x(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/medicationrequest0319.html",children:"HL7"}),' - "Request for Intravenous Antibiotic with a Dosage Rate - Piperacillin - completed with reason code"']})}),"\n",(0,n.jsxs)(d.A,{children:[(0,n.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(c.A,{dosages:r,config:{}})}),(0,n.jsx)(l.A,{value:"json",label:"Dosage",children:(0,n.jsx)(o.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function f(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(x,{...e})}):x(e)}},18264:(e,t,i)=>{i.d(t,{A:()=>d});var s=i(96540),n=i(76300),a=i(52376),o=i(85819),r=i(74848);function d(e){let{dosages:t,config:i}=e;const[d,l]=(0,s.useState)(""),[c,u]=(0,s.useState)(i?.language||"en"),[m,p]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await n.U.build({...i});p(e)}()}),[i]),(0,s.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,(0,a.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/2a331aeb.f6fc2877.js b/assets/js/2a331aeb.f6fc2877.js deleted file mode 100644 index 8ea911d8..00000000 --- a/assets/js/2a331aeb.f6fc2877.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5317],{20467:(t,e,n)=>{n.r(e),n.d(e,{assets:()=>p,contentTitle:()=>d,default:()=>h,frontMatter:()=>r,metadata:()=>x,toc:()=>f});var o=n(74848),s=n(28453),a=n(85819);const c=JSON.parse('{"timing":{"repeat":{"count":1}}}');var u=n(11470),i=n(19365),l=n(816);const r={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)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(l.A,{dosage:c})}),(0,o.jsx)(i.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:()=>i});var o=n(96540),s=n(76300),a=n(52376),c=n(85819),u=n(74848);function i(t){let{dosage:e,config:n}=t;const[i,l]=(0,o.useState)(""),[r,d]=(0,o.useState)(n?.language||"en"),[x,p]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const t=await s.U.build({...n});p(t)}()}),[n]),(0,o.useEffect)((()=>{!async function(){if(x){const t=x.fromDosageToText(e);l(t)}}()}),[e,x]);return(0,u.jsxs)("div",{children:[(0,u.jsxs)("div",{style:{display:"flex"},children:[(0,u.jsxs)("select",{value:r,onChange:t=>d(t.target.value),style:{marginRight:"10px"},children:[(0,u.jsx)("option",{value:"en",children:"English"}),(0,u.jsx)("option",{value:"fr",children:"French"}),(0,u.jsx)("option",{value:"nl",children:"Dutch"}),(0,u.jsx)("option",{value:"de",children:"German"})]}),(0,u.jsx)("button",{onClick:async()=>{if(x){await x.changeLanguage(r);const t=x.fromDosageToText(e);l(t)}},children:"Confirm"})]}),(0,u.jsx)("div",{style:{marginTop:"10px"},children:(0,u.jsx)(c.default,{language:"markup",children:(f=i,(0,a.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/2a331aeb.f74d7ec4.js b/assets/js/2a331aeb.f74d7ec4.js new file mode 100644 index 00000000..60cdcb73 --- /dev/null +++ b/assets/js/2a331aeb.f74d7ec4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5317],{50282:(t,e,n)=>{n.r(e),n.d(e,{assets:()=>p,contentTitle:()=>x,default:()=>h,frontMatter:()=>d,metadata:()=>o,toc:()=>f});const o=JSON.parse('{"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":false,"unlisted":false,"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"}}');var s=n(74848),a=n(28453),c=n(85819);const u=JSON.parse('{"timing":{"repeat":{"count":1}}}');var i=n(11470),l=n(19365),r=n(816);const d={description:"count (only)",title:"\ud83d\udd22 count (only)"},x=void 0,p={},f=[];function g(t){return(0,s.jsxs)(i.A,{children:[(0,s.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(r.A,{dosage:u})}),(0,s.jsx)(l.A,{value:"json",label:"Dosage",children:(0,s.jsx)(c.default,{language:"json",children:JSON.stringify(u,null,2)})})]})}function h(t={}){const{wrapper:e}={...(0,a.R)(),...t.components};return e?(0,s.jsx)(e,{...t,children:(0,s.jsx)(g,{...t})}):g()}},816:(t,e,n)=>{n.d(e,{A:()=>i});var o=n(96540),s=n(76300),a=n(52376),c=n(85819),u=n(74848);function i(t){let{dosage:e,config:n}=t;const[i,l]=(0,o.useState)(""),[r,d]=(0,o.useState)(n?.language||"en"),[x,p]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const t=await s.U.build({...n});p(t)}()}),[n]),(0,o.useEffect)((()=>{!async function(){if(x){const t=x.fromDosageToText(e);l(t)}}()}),[e,x]);return(0,u.jsxs)("div",{children:[(0,u.jsxs)("div",{style:{display:"flex"},children:[(0,u.jsxs)("select",{value:r,onChange:t=>d(t.target.value),style:{marginRight:"10px"},children:[(0,u.jsx)("option",{value:"en",children:"English"}),(0,u.jsx)("option",{value:"fr",children:"French"}),(0,u.jsx)("option",{value:"nl",children:"Dutch"}),(0,u.jsx)("option",{value:"de",children:"German"})]}),(0,u.jsx)("button",{onClick:async()=>{if(x){await x.changeLanguage(r);const t=x.fromDosageToText(e);l(t)}},children:"Confirm"})]}),(0,u.jsx)("div",{style:{marginTop:"10px"},children:(0,u.jsx)(c.default,{language:"markup",children:(f=i,(0,a.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/2c4b321a.4aaeae55.js b/assets/js/2c4b321a.4aaeae55.js new file mode 100644 index 00000000..4ed1c54e --- /dev/null +++ b/assets/js/2c4b321a.4aaeae55.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[585],{65701:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>g,contentTitle:()=>h,default:()=>x,frontMatter:()=>c,metadata:()=>t,toc:()=>p});const t=JSON.parse('{"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":false,"unlisted":false,"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"}}');var o=s(74848),a=s(28453),i=s(85819);const r=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 l=s(11470),d=s(19365),u=s(816);const c={description:"Low & High",title:"\ud83d\udcd0 boundsDuration (Low & High)"},h=void 0,g={},p=[];function f(e){const n={a:"a",admonition:"admonition",p:"p",...(0,a.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(l.A,{children:[(0,o.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(u.A,{dosage:r})}),(0,o.jsx)(d.A,{value:"json",label:"Dosage",children:(0,o.jsx)(i.default,{language:"json",children:JSON.stringify(r,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/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(f,{...e})}):f(e)}},816:(e,n,s)=>{s.d(n,{A:()=>l});var t=s(96540),o=s(76300),a=s(52376),i=s(85819),r=s(74848);function l(e){let{dosage:n,config:s}=e;const[l,d]=(0,t.useState)(""),[u,c]=(0,t.useState)(s?.language||"en"),[h,g]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await o.U.build({...s});g(e)}()}),[s]),(0,t.useEffect)((()=>{!async function(){if(h){const e=h.fromDosageToText(n);d(e)}}()}),[n,h]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:u,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(h){await h.changeLanguage(u);const e=h.fromDosageToText(n);d(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(i.default,{language:"markup",children:(p=l,(0,a.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/2c4b321a.e1ca4e0e.js b/assets/js/2c4b321a.e1ca4e0e.js deleted file mode 100644 index 95e316c6..00000000 --- a/assets/js/2c4b321a.e1ca4e0e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[585],{23452:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>g,contentTitle:()=>c,default:()=>x,frontMatter:()=>u,metadata:()=>h,toc:()=>p});var s=t(74848),o=t(28453),i=t(85819);const a=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(11470),d=t(19365),l=t(816);const u={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)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(l.A,{dosage:a})}),(0,s.jsx)(d.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/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(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:()=>d});var s=t(96540),o=t(76300),i=t(52376),a=t(85819),r=t(74848);function d(e){let{dosage:n,config:t}=e;const[d,l]=(0,s.useState)(""),[u,c]=(0,s.useState)(t?.language||"en"),[h,g]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await o.U.build({...t});g(e)}()}),[t]),(0,s.useEffect)((()=>{!async function(){if(h){const e=h.fromDosageToText(n);l(e)}}()}),[n,h]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:u,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(h){await h.changeLanguage(u);const e=h.fromDosageToText(n);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(a.default,{language:"markup",children:(p=d,(0,i.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/3216d4c8.05180b8d.js b/assets/js/3216d4c8.05180b8d.js deleted file mode 100644 index 406bf703..00000000 --- a/assets/js/3216d4c8.05180b8d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4892],{18231:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>m,contentTitle:()=>u,default:()=>g,frontMatter:()=>l,metadata:()=>h,toc:()=>p});var o=s(74848),n=s(28453),a=s(85819),i=s(85286),d=s(11470),r=s(19365),c=s(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,n.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(d.A,{children:[(0,o.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(c.A,{dosage:i})}),(0,o.jsx)(r.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/Config",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function g(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(f,{...e})}):f(e)}},816:(e,t,s)=>{s.d(t,{A:()=>r});var o=s(96540),n=s(76300),a=s(52376),i=s(85819),d=s(74848);function r(e){let{dosage:t,config:s}=e;const[r,c]=(0,o.useState)(""),[l,u]=(0,o.useState)(s?.language||"en"),[h,m]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await n.U.build({...s});m(e)}()}),[s]),(0,o.useEffect)((()=>{!async function(){if(h){const e=h.fromDosageToText(t);c(e)}}()}),[t,h]);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(h){await h.changeLanguage(l);const e=h.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,d.jsx)("div",{style:{marginTop:"10px"},children:(0,d.jsx)(i.default,{language:"markup",children:(p=r,(0,a.decode)(p))})})]});var p}},85286: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/3216d4c8.68a073f7.js b/assets/js/3216d4c8.68a073f7.js new file mode 100644 index 00000000..b1c51533 --- /dev/null +++ b/assets/js/3216d4c8.68a073f7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4892],{43870:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>m,contentTitle:()=>h,default:()=>g,frontMatter:()=>u,metadata:()=>o,toc:()=>p});const o=JSON.parse('{"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":false,"unlisted":false,"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"}}');var n=s(74848),a=s(28453),i=s(85819),d=s(85286),r=s(11470),c=s(19365),l=s(816);const u={description:"method",title:"\ud83d\udee0\ufe0f method"},h=void 0,m={},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.jsxs)(r.A,{children:[(0,n.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(l.A,{dosage:d})}),(0,n.jsx)(c.A,{value:"json",label:"Dosage",children:(0,n.jsx)(i.default,{language:"json",children:JSON.stringify(d,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/Config",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function g(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(f,{...e})}):f(e)}},816:(e,t,s)=>{s.d(t,{A:()=>r});var o=s(96540),n=s(76300),a=s(52376),i=s(85819),d=s(74848);function r(e){let{dosage:t,config:s}=e;const[r,c]=(0,o.useState)(""),[l,u]=(0,o.useState)(s?.language||"en"),[h,m]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await n.U.build({...s});m(e)}()}),[s]),(0,o.useEffect)((()=>{!async function(){if(h){const e=h.fromDosageToText(t);c(e)}}()}),[t,h]);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(h){await h.changeLanguage(l);const e=h.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,d.jsx)("div",{style:{marginTop:"10px"},children:(0,d.jsx)(i.default,{language:"markup",children:(p=r,(0,a.decode)(p))})})]});var p}},85286: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/3347.733c6bc3.js b/assets/js/3347.5287bd59.js similarity index 74% rename from assets/js/3347.733c6bc3.js rename to assets/js/3347.5287bd59.js index c1147079..21675590 100644 --- a/assets/js/3347.733c6bc3.js +++ b/assets/js/3347.5287bd59.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3347],{44096:(e,t,a)=>{a.d(t,{in:()=>c,OU:()=>C,Ki:()=>_,kJ:()=>p,x:()=>i,e7:()=>u,J_:()=>x,Gx:()=>M});var n=a(96540),s=a(89532),r=a(36803),l=a(74848);function i(){const e=(0,r.A)(),t=e?.data?.blogMetadata;if(!t)throw new Error("useBlogMetadata() can't be called on the current route because the blog metadata could not be found in route context");return t}const o=n.createContext(null);function c(e){let{children:t,content:a,isBlogPostPage:s=!1}=e;const r=function(e){let{content:t,isBlogPostPage:a}=e;return(0,n.useMemo)((()=>({metadata:t.metadata,frontMatter:t.frontMatter,assets:t.assets,toc:t.toc,isBlogPostPage:a})),[t,a])}({content:a,isBlogPostPage:s});return(0,l.jsx)(o.Provider,{value:r,children:t})}function u(){const e=(0,n.useContext)(o);if(null===e)throw new s.dV("BlogPostProvider");return e}var m=a(86025),h=a(44586);const d=e=>new Date(e).toISOString();function g(e){const t=e.map(v);return{author:1===t.length?t[0]:t}}function f(e,t,a){return e?{image:j({imageUrl:t(e,{absolute:!0}),caption:`title image for the blog post: ${a}`})}:{}}function p(e){const{siteConfig:t}=(0,h.default)(),{withBaseUrl:a}=(0,m.hH)(),{metadata:{blogDescription:n,blogTitle:s,permalink:r}}=e,l=`${t.url}${r}`;return{"@context":"https://schema.org","@type":"Blog","@id":l,mainEntityOfPage:l,headline:s,description:n,blogPost:e.items.map((e=>function(e,t,a){const{assets:n,frontMatter:s,metadata:r}=e,{date:l,title:i,description:o,lastUpdatedAt:c}=r,u=n.image??s.image,m=s.keywords??[],h=`${t.url}${r.permalink}`,p=c?d(c):void 0;return{"@type":"BlogPosting","@id":h,mainEntityOfPage:h,url:h,headline:i,name:i,description:o,datePublished:l,...p?{dateModified:p}:{},...g(r.authors),...f(u,a,i),...m?{keywords:m}:{}}}(e.content,t,a)))}}function x(){const e=i(),{assets:t,metadata:a}=u(),{siteConfig:n}=(0,h.default)(),{withBaseUrl:s}=(0,m.hH)(),{date:r,title:l,description:o,frontMatter:c,lastUpdatedAt:p}=a,x=t.image??c.image,v=c.keywords??[],j=p?d(p):void 0,b=`${n.url}${a.permalink}`;return{"@context":"https://schema.org","@type":"BlogPosting","@id":b,mainEntityOfPage:b,url:b,headline:l,name:l,description:o,datePublished:r,...j?{dateModified:j}:{},...g(a.authors),...f(x,s,l),...v?{keywords:v}:{},isPartOf:{"@type":"Blog","@id":`${n.url}${e.blogBasePath}`,name:e.blogTitle}}}function v(e){return{"@type":"Person",...e.name?{name:e.name}:{},...e.title?{description:e.title}:{},...e.url?{url:e.url}:{},...e.email?{email:e.email}:{},...e.imageURL?{image:e.imageURL}:{}}}function j(e){let{imageUrl:t,caption:a}=e;return{"@type":"ImageObject","@id":t,url:t,contentUrl:t,caption:a}}var b=a(56347),w=a(28774),N=a(31682),k=a(99169);function M(e){const{pathname:t}=(0,b.zy)();return(0,n.useMemo)((()=>e.filter((e=>function(e,t){return!(e.unlisted&&!(0,k.ys)(e.permalink,t))}(e,t)))),[e,t])}function _(e){const t=(0,N.$z)(e,(e=>`${new Date(e.date).getFullYear()}`)),a=Object.entries(t);return a.reverse(),a}function C(e){let{items:t,ulClassName:a,liClassName:n,linkClassName:s,linkActiveClassName:r}=e;return(0,l.jsx)("ul",{className:a,children:t.map((e=>(0,l.jsx)("li",{className:n,children:(0,l.jsx)(w.default,{isNavLink:!0,to:e.permalink,className:s,activeClassName:r,children:e.title})},e.permalink)))})}},56913:(e,t,a)=>{a.d(t,{A:()=>j});a(96540);var n=a(34164),s=a(28774),r=a(74848);const l="githubSvg_Uu4N";const i="xSvg_y3PF";const o=function(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...e,children:[(0,r.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,r.jsx)("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),(0,r.jsx)("path",{d:"M3.6 9h16.8"}),(0,r.jsx)("path",{d:"M3.6 15h16.8"}),(0,r.jsx)("path",{d:"M11.5 3a17 17 0 0 0 0 18"}),(0,r.jsx)("path",{d:"M12.5 3a17 17 0 0 1 0 18"})]})},c={authorSocials:"authorSocials_rSDt",authorSocialLink:"authorSocialLink_owbf",authorSocialIcon:"authorSocialIcon_XYv3"},u={twitter:{Icon:function(e){return(0,r.jsx)("svg",{viewBox:"0 0 256 209",width:"1em",height:"1em",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid",...e,children:(0,r.jsx)("path",{d:"M256 25.45c-9.42 4.177-19.542 7-30.166 8.27 10.845-6.5 19.172-16.793 23.093-29.057a105.183 105.183 0 0 1-33.351 12.745C205.995 7.201 192.346.822 177.239.822c-29.006 0-52.523 23.516-52.523 52.52 0 4.117.465 8.125 1.36 11.97-43.65-2.191-82.35-23.1-108.255-54.876-4.52 7.757-7.11 16.78-7.11 26.404 0 18.222 9.273 34.297 23.365 43.716a52.312 52.312 0 0 1-23.79-6.57c-.003.22-.003.44-.003.661 0 25.447 18.104 46.675 42.13 51.5a52.592 52.592 0 0 1-23.718.9c6.683 20.866 26.08 36.05 49.062 36.475-17.975 14.086-40.622 22.483-65.228 22.483-4.24 0-8.42-.249-12.529-.734 23.243 14.902 50.85 23.597 80.51 23.597 96.607 0 149.434-80.031 149.434-149.435 0-2.278-.05-4.543-.152-6.795A106.748 106.748 0 0 0 256 25.45",fill:"#55acee"})})},label:"Twitter"},github:{Icon:function(e){return(0,r.jsx)("svg",{viewBox:"0 0 256 250",width:"1em",height:"1em",...e,className:(0,n.A)(e.className,l),xmlns:"http://www.w3.org/2000/svg",style:{"--dark":"#000","--light":"#fff"},preserveAspectRatio:"xMidYMid",children:(0,r.jsx)("path",{d:"M128.001 0C57.317 0 0 57.307 0 128.001c0 56.554 36.676 104.535 87.535 121.46 6.397 1.185 8.746-2.777 8.746-6.158 0-3.052-.12-13.135-.174-23.83-35.61 7.742-43.124-15.103-43.124-15.103-5.823-14.795-14.213-18.73-14.213-18.73-11.613-7.944.876-7.78.876-7.78 12.853.902 19.621 13.19 19.621 13.19 11.417 19.568 29.945 13.911 37.249 10.64 1.149-8.272 4.466-13.92 8.127-17.116-28.431-3.236-58.318-14.212-58.318-63.258 0-13.975 5-25.394 13.188-34.358-1.329-3.224-5.71-16.242 1.24-33.874 0 0 10.749-3.44 35.21 13.121 10.21-2.836 21.16-4.258 32.038-4.307 10.878.049 21.837 1.47 32.066 4.307 24.431-16.56 35.165-13.12 35.165-13.12 6.967 17.63 2.584 30.65 1.255 33.873 8.207 8.964 13.173 20.383 13.173 34.358 0 49.163-29.944 59.988-58.447 63.157 4.591 3.972 8.682 11.762 8.682 23.704 0 17.126-.148 30.91-.148 35.126 0 3.407 2.304 7.398 8.792 6.14C219.37 232.5 256 184.537 256 128.002 256 57.307 198.691 0 128.001 0Zm-80.06 182.34c-.282.636-1.283.827-2.194.39-.929-.417-1.45-1.284-1.15-1.922.276-.655 1.279-.838 2.205-.399.93.418 1.46 1.293 1.139 1.931Zm6.296 5.618c-.61.566-1.804.303-2.614-.591-.837-.892-.994-2.086-.375-2.66.63-.566 1.787-.301 2.626.591.838.903 1 2.088.363 2.66Zm4.32 7.188c-.785.545-2.067.034-2.86-1.104-.784-1.138-.784-2.503.017-3.05.795-.547 2.058-.055 2.861 1.075.782 1.157.782 2.522-.019 3.08Zm7.304 8.325c-.701.774-2.196.566-3.29-.49-1.119-1.032-1.43-2.496-.726-3.27.71-.776 2.213-.558 3.315.49 1.11 1.03 1.45 2.505.701 3.27Zm9.442 2.81c-.31 1.003-1.75 1.459-3.199 1.033-1.448-.439-2.395-1.613-2.103-2.626.301-1.01 1.747-1.484 3.207-1.028 1.446.436 2.396 1.602 2.095 2.622Zm10.744 1.193c.036 1.055-1.193 1.93-2.715 1.95-1.53.034-2.769-.82-2.786-1.86 0-1.065 1.202-1.932 2.733-1.958 1.522-.03 2.768.818 2.768 1.868Zm10.555-.405c.182 1.03-.875 2.088-2.387 2.37-1.485.271-2.861-.365-3.05-1.386-.184-1.056.893-2.114 2.376-2.387 1.514-.263 2.868.356 3.061 1.403Z"})})},label:"GitHub"},stackoverflow:{Icon:function(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 169.61 200",width:"1em",height:"1em",...e,children:[(0,r.jsx)("path",{d:"M140.44 178.38v-48.65h21.61V200H0v-70.27h21.61v48.65z",fill:"#bcbbbb"}),(0,r.jsx)("path",{d:"M124.24 140.54l4.32-16.22-86.97-17.83-3.78 17.83zM49.7 82.16L130.72 120l7.56-16.22-81.02-37.83zm22.68-40l68.06 57.3 11.35-13.51-68.6-57.3-11.35 13.51zM116.14 0l-14.59 10.81 53.48 71.89 14.58-10.81zM37.81 162.16h86.43v-16.21H37.81z",fill:"#f48024"})]})},label:"Stack Overflow"},linkedin:{Icon:function(e){return(0,r.jsx)("svg",{width:"1em",height:"1em",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid",viewBox:"0 0 256 256",...e,children:(0,r.jsx)("path",{d:"M218.123 218.127h-37.931v-59.403c0-14.165-.253-32.4-19.728-32.4-19.756 0-22.779 15.434-22.779 31.369v60.43h-37.93V95.967h36.413v16.694h.51a39.907 39.907 0 0 1 35.928-19.733c38.445 0 45.533 25.288 45.533 58.186l-.016 67.013ZM56.955 79.27c-12.157.002-22.014-9.852-22.016-22.009-.002-12.157 9.851-22.014 22.008-22.016 12.157-.003 22.014 9.851 22.016 22.008A22.013 22.013 0 0 1 56.955 79.27m18.966 138.858H37.95V95.967h37.97v122.16ZM237.033.018H18.89C8.58-.098.125 8.161-.001 18.471v219.053c.122 10.315 8.576 18.582 18.89 18.474h218.144c10.336.128 18.823-8.139 18.966-18.474V18.454c-.147-10.33-8.635-18.588-18.966-18.453",fill:"#0A66C2"})})},label:"LinkedIn"},x:{Icon:function(e){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 1200 1227",...e,className:(0,n.A)(e.className,i),style:{"--dark":"#000","--light":"#fff"},children:(0,r.jsx)("path",{d:"M714.163 519.284 1160.89 0h-105.86L667.137 450.887 357.328 0H0l468.492 681.821L0 1226.37h105.866l409.625-476.152 327.181 476.152H1200L714.137 519.284h.026ZM569.165 687.828l-47.468-67.894-377.686-540.24h162.604l304.797 435.991 47.468 67.894 396.2 566.721H892.476L569.165 687.854v-.026Z"})})},label:"X"}};function m(e){let{platform:t,link:a}=e;const{Icon:l,label:i}=u[m=t]??{Icon:o,label:m};var m;return(0,r.jsx)(s.default,{className:c.authorSocialLink,href:a,title:i,children:(0,r.jsx)(l,{className:(0,n.A)(c.authorSocialLink)})})}function h(e){let{author:t}=e;const a=Object.entries(t.socials??{});return(0,r.jsx)("div",{className:c.authorSocials,children:a.map((e=>{let[t,a]=e;return(0,r.jsx)(m,{platform:t,link:a},t)}))})}var d=a(51107);const g={authorImage:"authorImage_XqGP","author-as-h1":"author-as-h1_n9oJ","author-as-h2":"author-as-h2_gXvM",authorDetails:"authorDetails_lV9A",authorName:"authorName_yefp",authorTitle:"authorTitle_nd0D",authorBlogPostCount:"authorBlogPostCount_iiJ5"};function f(e){return e.href?(0,r.jsx)(s.default,{...e}):(0,r.jsx)(r.Fragment,{children:e.children})}function p(e){let{title:t}=e;return(0,r.jsx)("small",{className:g.authorTitle,title:t,children:t})}function x(e){let{name:t,as:a}=e;return a?(0,r.jsx)(d.default,{as:a,className:g.authorName,children:t}):(0,r.jsx)("span",{className:g.authorName,children:t})}function v(e){let{count:t}=e;return(0,r.jsx)("span",{className:(0,n.A)(g.authorBlogPostCount),children:t})}function j(e){let{as:t,author:a,className:s,count:l}=e;const{name:i,title:o,url:c,imageURL:u,email:m,page:d}=a,j=d?.permalink||c||m&&`mailto:${m}`||void 0;return(0,r.jsxs)("div",{className:(0,n.A)("avatar margin-bottom--sm",s,g[`author-as-${t}`]),children:[u&&(0,r.jsx)(f,{href:j,className:"avatar__photo-link",children:(0,r.jsx)("img",{className:(0,n.A)("avatar__photo",g.authorImage),src:u,alt:i})}),(i||o)&&(0,r.jsxs)("div",{className:(0,n.A)("avatar__intro",g.authorDetails),children:[(0,r.jsxs)("div",{className:"avatar__name",children:[i&&(0,r.jsx)(f,{href:j,children:(0,r.jsx)(x,{name:i,as:t})}),l&&(0,r.jsx)(v,{count:l})]}),!!o&&(0,r.jsx)(p,{title:o}),(0,r.jsx)(h,{author:a})]})]})}},28027:(e,t,a)=>{a.d(t,{A:()=>L});var n=a(96540),s=a(34164),r=a(70680),l=a(24581),i=a(21312),o=a(44096),c=a(6342),u=a(51107),m=a(74848);function h(e){let{year:t,yearGroupHeadingClassName:a,children:n}=e;return(0,m.jsxs)("div",{role:"group",children:[(0,m.jsx)(u.default,{as:"h3",className:a,children:t}),n]})}function d(e){let{items:t,yearGroupHeadingClassName:a,ListComponent:n}=e;if((0,c.p)().blog.sidebar.groupByYear){const e=(0,o.Ki)(t);return(0,m.jsx)(m.Fragment,{children:e.map((e=>{let[t,s]=e;return(0,m.jsx)(h,{year:t,yearGroupHeadingClassName:a,children:(0,m.jsx)(n,{items:s})},t)}))})}return(0,m.jsx)(n,{items:t})}const g=(0,n.memo)(d),f="sidebar_re4s",p="sidebarItemTitle_pO2u",x="sidebarItemList_Yudw",v="sidebarItem__DBe",j="sidebarItemLink_mo7H",b="sidebarItemLinkActive_I1ZP",w="yearGroupHeading_rMGB",N=e=>{let{items:t}=e;return(0,m.jsx)(o.OU,{items:t,ulClassName:(0,s.A)(x,"clean-list"),liClassName:v,linkClassName:j,linkActiveClassName:b})};function k(e){let{sidebar:t}=e;const a=(0,o.Gx)(t.items);return(0,m.jsx)("aside",{className:"col col--3",children:(0,m.jsxs)("nav",{className:(0,s.A)(f,"thin-scrollbar"),"aria-label":(0,i.T)({id:"theme.blog.sidebar.navAriaLabel",message:"Blog recent posts navigation",description:"The ARIA label for recent posts in the blog sidebar"}),children:[(0,m.jsx)("div",{className:(0,s.A)(p,"margin-bottom--md"),children:t.title}),(0,m.jsx)(g,{items:a,ListComponent:N,yearGroupHeadingClassName:w})]})})}const M=(0,n.memo)(k);var _=a(75600);const C={yearGroupHeading:"yearGroupHeading_QT03"},y=e=>{let{items:t}=e;return(0,m.jsx)(o.OU,{items:t,ulClassName:"menu__list",liClassName:"menu__list-item",linkClassName:"menu__link",linkActiveClassName:"menu__link--active"})};function A(e){let{sidebar:t}=e;const a=(0,o.Gx)(t.items);return(0,m.jsx)(g,{items:a,ListComponent:y,yearGroupHeadingClassName:C.yearGroupHeading})}function P(e){return(0,m.jsx)(_.GX,{component:A,props:e})}const B=(0,n.memo)(P);function I(e){let{sidebar:t}=e;const a=(0,l.l)();return t?.items.length?"mobile"===a?(0,m.jsx)(B,{sidebar:t}):(0,m.jsx)(M,{sidebar:t}):null}function L(e){const{sidebar:t,toc:a,children:n,...l}=e,i=t&&t.items.length>0;return(0,m.jsx)(r.A,{...l,children:(0,m.jsx)("div",{className:"container margin-vert--lg",children:(0,m.jsxs)("div",{className:"row",children:[(0,m.jsx)(I,{sidebar:t}),(0,m.jsx)("main",{className:(0,s.A)("col",{"col--7":i,"col--9 col--offset-1":!i}),children:n}),a&&(0,m.jsx)("div",{className:"col col--2",children:a})]})})})}},53465:(e,t,a)=>{a.d(t,{W:()=>c});var n=a(96540),s=a(44586);const r=["zero","one","two","few","many","other"];function l(e){return r.filter((t=>e.includes(t)))}const i={locale:"en",pluralForms:l(["one","other"]),select:e=>1===e?"one":"other"};function o(){const{i18n:{currentLocale:e}}=(0,s.default)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:l(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),i}}),[e])}function c(){const e=o();return{selectMessage:(t,a)=>function(e,t,a){const n=e.split("|");if(1===n.length)return n[0];n.length>a.pluralForms.length&&console.error(`For locale=${a.locale}, a maximum of ${a.pluralForms.length} plural forms are expected (${a.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const s=a.select(t),r=a.pluralForms.indexOf(s);return n[Math.min(r,n.length-1)]}(a,t,e)}}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3347],{44096:(e,t,a)=>{a.d(t,{in:()=>c,OU:()=>C,Ki:()=>_,kJ:()=>p,x:()=>i,e7:()=>u,J_:()=>x,Gx:()=>M});var n=a(96540),s=a(89532),r=a(36803),l=a(74848);function i(){const e=(0,r.A)(),t=e?.data?.blogMetadata;if(!t)throw new Error("useBlogMetadata() can't be called on the current route because the blog metadata could not be found in route context");return t}const o=n.createContext(null);function c(e){let{children:t,content:a,isBlogPostPage:s=!1}=e;const r=function(e){let{content:t,isBlogPostPage:a}=e;return(0,n.useMemo)((()=>({metadata:t.metadata,frontMatter:t.frontMatter,assets:t.assets,toc:t.toc,isBlogPostPage:a})),[t,a])}({content:a,isBlogPostPage:s});return(0,l.jsx)(o.Provider,{value:r,children:t})}function u(){const e=(0,n.useContext)(o);if(null===e)throw new s.dV("BlogPostProvider");return e}var m=a(86025),h=a(44586);const d=e=>new Date(e).toISOString();function g(e){const t=e.map(v);return{author:1===t.length?t[0]:t}}function f(e,t,a){return e?{image:j({imageUrl:t(e,{absolute:!0}),caption:`title image for the blog post: ${a}`})}:{}}function p(e){const{siteConfig:t}=(0,h.default)(),{withBaseUrl:a}=(0,m.hH)(),{metadata:{blogDescription:n,blogTitle:s,permalink:r}}=e,l=`${t.url}${r}`;return{"@context":"https://schema.org","@type":"Blog","@id":l,mainEntityOfPage:l,headline:s,description:n,blogPost:e.items.map((e=>function(e,t,a){const{assets:n,frontMatter:s,metadata:r}=e,{date:l,title:i,description:o,lastUpdatedAt:c}=r,u=n.image??s.image,m=s.keywords??[],h=`${t.url}${r.permalink}`,p=c?d(c):void 0;return{"@type":"BlogPosting","@id":h,mainEntityOfPage:h,url:h,headline:i,name:i,description:o,datePublished:l,...p?{dateModified:p}:{},...g(r.authors),...f(u,a,i),...m?{keywords:m}:{}}}(e.content,t,a)))}}function x(){const e=i(),{assets:t,metadata:a}=u(),{siteConfig:n}=(0,h.default)(),{withBaseUrl:s}=(0,m.hH)(),{date:r,title:l,description:o,frontMatter:c,lastUpdatedAt:p}=a,x=t.image??c.image,v=c.keywords??[],j=p?d(p):void 0,b=`${n.url}${a.permalink}`;return{"@context":"https://schema.org","@type":"BlogPosting","@id":b,mainEntityOfPage:b,url:b,headline:l,name:l,description:o,datePublished:r,...j?{dateModified:j}:{},...g(a.authors),...f(x,s,l),...v?{keywords:v}:{},isPartOf:{"@type":"Blog","@id":`${n.url}${e.blogBasePath}`,name:e.blogTitle}}}function v(e){return{"@type":"Person",...e.name?{name:e.name}:{},...e.title?{description:e.title}:{},...e.url?{url:e.url}:{},...e.email?{email:e.email}:{},...e.imageURL?{image:e.imageURL}:{}}}function j(e){let{imageUrl:t,caption:a}=e;return{"@type":"ImageObject","@id":t,url:t,contentUrl:t,caption:a}}var b=a(56347),w=a(28774),N=a(31682),k=a(99169);function M(e){const{pathname:t}=(0,b.zy)();return(0,n.useMemo)((()=>e.filter((e=>function(e,t){return!(e.unlisted&&!(0,k.ys)(e.permalink,t))}(e,t)))),[e,t])}function _(e){const t=(0,N.$z)(e,(e=>`${new Date(e.date).getFullYear()}`)),a=Object.entries(t);return a.reverse(),a}function C(e){let{items:t,ulClassName:a,liClassName:n,linkClassName:s,linkActiveClassName:r}=e;return(0,l.jsx)("ul",{className:a,children:t.map((e=>(0,l.jsx)("li",{className:n,children:(0,l.jsx)(w.default,{isNavLink:!0,to:e.permalink,className:s,activeClassName:r,children:e.title})},e.permalink)))})}},56913:(e,t,a)=>{a.d(t,{A:()=>j});a(96540);var n=a(34164),s=a(28774),r=a(74848);const l="githubSvg_Uu4N";const i="xSvg_y3PF";const o=function(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...e,children:[(0,r.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,r.jsx)("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),(0,r.jsx)("path",{d:"M3.6 9h16.8"}),(0,r.jsx)("path",{d:"M3.6 15h16.8"}),(0,r.jsx)("path",{d:"M11.5 3a17 17 0 0 0 0 18"}),(0,r.jsx)("path",{d:"M12.5 3a17 17 0 0 1 0 18"})]})},c={authorSocials:"authorSocials_rSDt",authorSocialLink:"authorSocialLink_owbf",authorSocialIcon:"authorSocialIcon_XYv3"},u={twitter:{Icon:function(e){return(0,r.jsx)("svg",{viewBox:"0 0 256 209",width:"1em",height:"1em",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid",...e,children:(0,r.jsx)("path",{d:"M256 25.45c-9.42 4.177-19.542 7-30.166 8.27 10.845-6.5 19.172-16.793 23.093-29.057a105.183 105.183 0 0 1-33.351 12.745C205.995 7.201 192.346.822 177.239.822c-29.006 0-52.523 23.516-52.523 52.52 0 4.117.465 8.125 1.36 11.97-43.65-2.191-82.35-23.1-108.255-54.876-4.52 7.757-7.11 16.78-7.11 26.404 0 18.222 9.273 34.297 23.365 43.716a52.312 52.312 0 0 1-23.79-6.57c-.003.22-.003.44-.003.661 0 25.447 18.104 46.675 42.13 51.5a52.592 52.592 0 0 1-23.718.9c6.683 20.866 26.08 36.05 49.062 36.475-17.975 14.086-40.622 22.483-65.228 22.483-4.24 0-8.42-.249-12.529-.734 23.243 14.902 50.85 23.597 80.51 23.597 96.607 0 149.434-80.031 149.434-149.435 0-2.278-.05-4.543-.152-6.795A106.748 106.748 0 0 0 256 25.45",fill:"#55acee"})})},label:"Twitter"},github:{Icon:function(e){return(0,r.jsx)("svg",{viewBox:"0 0 256 250",width:"1em",height:"1em",...e,className:(0,n.A)(e.className,l),xmlns:"http://www.w3.org/2000/svg",style:{"--dark":"#000","--light":"#fff"},preserveAspectRatio:"xMidYMid",children:(0,r.jsx)("path",{d:"M128.001 0C57.317 0 0 57.307 0 128.001c0 56.554 36.676 104.535 87.535 121.46 6.397 1.185 8.746-2.777 8.746-6.158 0-3.052-.12-13.135-.174-23.83-35.61 7.742-43.124-15.103-43.124-15.103-5.823-14.795-14.213-18.73-14.213-18.73-11.613-7.944.876-7.78.876-7.78 12.853.902 19.621 13.19 19.621 13.19 11.417 19.568 29.945 13.911 37.249 10.64 1.149-8.272 4.466-13.92 8.127-17.116-28.431-3.236-58.318-14.212-58.318-63.258 0-13.975 5-25.394 13.188-34.358-1.329-3.224-5.71-16.242 1.24-33.874 0 0 10.749-3.44 35.21 13.121 10.21-2.836 21.16-4.258 32.038-4.307 10.878.049 21.837 1.47 32.066 4.307 24.431-16.56 35.165-13.12 35.165-13.12 6.967 17.63 2.584 30.65 1.255 33.873 8.207 8.964 13.173 20.383 13.173 34.358 0 49.163-29.944 59.988-58.447 63.157 4.591 3.972 8.682 11.762 8.682 23.704 0 17.126-.148 30.91-.148 35.126 0 3.407 2.304 7.398 8.792 6.14C219.37 232.5 256 184.537 256 128.002 256 57.307 198.691 0 128.001 0Zm-80.06 182.34c-.282.636-1.283.827-2.194.39-.929-.417-1.45-1.284-1.15-1.922.276-.655 1.279-.838 2.205-.399.93.418 1.46 1.293 1.139 1.931Zm6.296 5.618c-.61.566-1.804.303-2.614-.591-.837-.892-.994-2.086-.375-2.66.63-.566 1.787-.301 2.626.591.838.903 1 2.088.363 2.66Zm4.32 7.188c-.785.545-2.067.034-2.86-1.104-.784-1.138-.784-2.503.017-3.05.795-.547 2.058-.055 2.861 1.075.782 1.157.782 2.522-.019 3.08Zm7.304 8.325c-.701.774-2.196.566-3.29-.49-1.119-1.032-1.43-2.496-.726-3.27.71-.776 2.213-.558 3.315.49 1.11 1.03 1.45 2.505.701 3.27Zm9.442 2.81c-.31 1.003-1.75 1.459-3.199 1.033-1.448-.439-2.395-1.613-2.103-2.626.301-1.01 1.747-1.484 3.207-1.028 1.446.436 2.396 1.602 2.095 2.622Zm10.744 1.193c.036 1.055-1.193 1.93-2.715 1.95-1.53.034-2.769-.82-2.786-1.86 0-1.065 1.202-1.932 2.733-1.958 1.522-.03 2.768.818 2.768 1.868Zm10.555-.405c.182 1.03-.875 2.088-2.387 2.37-1.485.271-2.861-.365-3.05-1.386-.184-1.056.893-2.114 2.376-2.387 1.514-.263 2.868.356 3.061 1.403Z"})})},label:"GitHub"},stackoverflow:{Icon:function(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 169.61 200",width:"1em",height:"1em",...e,children:[(0,r.jsx)("path",{d:"M140.44 178.38v-48.65h21.61V200H0v-70.27h21.61v48.65z",fill:"#bcbbbb"}),(0,r.jsx)("path",{d:"M124.24 140.54l4.32-16.22-86.97-17.83-3.78 17.83zM49.7 82.16L130.72 120l7.56-16.22-81.02-37.83zm22.68-40l68.06 57.3 11.35-13.51-68.6-57.3-11.35 13.51zM116.14 0l-14.59 10.81 53.48 71.89 14.58-10.81zM37.81 162.16h86.43v-16.21H37.81z",fill:"#f48024"})]})},label:"Stack Overflow"},linkedin:{Icon:function(e){return(0,r.jsx)("svg",{width:"1em",height:"1em",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid",viewBox:"0 0 256 256",...e,children:(0,r.jsx)("path",{d:"M218.123 218.127h-37.931v-59.403c0-14.165-.253-32.4-19.728-32.4-19.756 0-22.779 15.434-22.779 31.369v60.43h-37.93V95.967h36.413v16.694h.51a39.907 39.907 0 0 1 35.928-19.733c38.445 0 45.533 25.288 45.533 58.186l-.016 67.013ZM56.955 79.27c-12.157.002-22.014-9.852-22.016-22.009-.002-12.157 9.851-22.014 22.008-22.016 12.157-.003 22.014 9.851 22.016 22.008A22.013 22.013 0 0 1 56.955 79.27m18.966 138.858H37.95V95.967h37.97v122.16ZM237.033.018H18.89C8.58-.098.125 8.161-.001 18.471v219.053c.122 10.315 8.576 18.582 18.89 18.474h218.144c10.336.128 18.823-8.139 18.966-18.474V18.454c-.147-10.33-8.635-18.588-18.966-18.453",fill:"#0A66C2"})})},label:"LinkedIn"},x:{Icon:function(e){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 1200 1227",...e,className:(0,n.A)(e.className,i),style:{"--dark":"#000","--light":"#fff"},children:(0,r.jsx)("path",{d:"M714.163 519.284 1160.89 0h-105.86L667.137 450.887 357.328 0H0l468.492 681.821L0 1226.37h105.866l409.625-476.152 327.181 476.152H1200L714.137 519.284h.026ZM569.165 687.828l-47.468-67.894-377.686-540.24h162.604l304.797 435.991 47.468 67.894 396.2 566.721H892.476L569.165 687.854v-.026Z"})})},label:"X"}};function m(e){let{platform:t,link:a}=e;const{Icon:l,label:i}=u[m=t]??{Icon:o,label:m};var m;return(0,r.jsx)(s.default,{className:c.authorSocialLink,href:a,title:i,children:(0,r.jsx)(l,{className:(0,n.A)(c.authorSocialLink)})})}function h(e){let{author:t}=e;const a=Object.entries(t.socials??{});return(0,r.jsx)("div",{className:c.authorSocials,children:a.map((e=>{let[t,a]=e;return(0,r.jsx)(m,{platform:t,link:a},t)}))})}var d=a(51107);const g={authorImage:"authorImage_XqGP","author-as-h1":"author-as-h1_n9oJ","author-as-h2":"author-as-h2_gXvM",authorDetails:"authorDetails_lV9A",authorName:"authorName_yefp",authorTitle:"authorTitle_nd0D",authorBlogPostCount:"authorBlogPostCount_iiJ5"};function f(e){return e.href?(0,r.jsx)(s.default,{...e}):(0,r.jsx)(r.Fragment,{children:e.children})}function p(e){let{title:t}=e;return(0,r.jsx)("small",{className:g.authorTitle,title:t,children:t})}function x(e){let{name:t,as:a}=e;return a?(0,r.jsx)(d.default,{as:a,className:g.authorName,children:t}):(0,r.jsx)("span",{className:g.authorName,children:t})}function v(e){let{count:t}=e;return(0,r.jsx)("span",{className:(0,n.A)(g.authorBlogPostCount),children:t})}function j(e){let{as:t,author:a,className:s,count:l}=e;const{name:i,title:o,url:c,imageURL:u,email:m,page:d}=a,j=d?.permalink||c||m&&`mailto:${m}`||void 0;return(0,r.jsxs)("div",{className:(0,n.A)("avatar margin-bottom--sm",s,g[`author-as-${t}`]),children:[u&&(0,r.jsx)(f,{href:j,className:"avatar__photo-link",children:(0,r.jsx)("img",{className:(0,n.A)("avatar__photo",g.authorImage),src:u,alt:i})}),(i||o)&&(0,r.jsxs)("div",{className:(0,n.A)("avatar__intro",g.authorDetails),children:[(0,r.jsxs)("div",{className:"avatar__name",children:[i&&(0,r.jsx)(f,{href:j,children:(0,r.jsx)(x,{name:i,as:t})}),void 0!==l&&(0,r.jsx)(v,{count:l})]}),!!o&&(0,r.jsx)(p,{title:o}),(0,r.jsx)(h,{author:a})]})]})}},28027:(e,t,a)=>{a.d(t,{A:()=>L});var n=a(96540),s=a(34164),r=a(70680),l=a(24581),i=a(21312),o=a(44096),c=a(6342),u=a(51107),m=a(74848);function h(e){let{year:t,yearGroupHeadingClassName:a,children:n}=e;return(0,m.jsxs)("div",{role:"group",children:[(0,m.jsx)(u.default,{as:"h3",className:a,children:t}),n]})}function d(e){let{items:t,yearGroupHeadingClassName:a,ListComponent:n}=e;if((0,c.p)().blog.sidebar.groupByYear){const e=(0,o.Ki)(t);return(0,m.jsx)(m.Fragment,{children:e.map((e=>{let[t,s]=e;return(0,m.jsx)(h,{year:t,yearGroupHeadingClassName:a,children:(0,m.jsx)(n,{items:s})},t)}))})}return(0,m.jsx)(n,{items:t})}const g=(0,n.memo)(d),f="sidebar_re4s",p="sidebarItemTitle_pO2u",x="sidebarItemList_Yudw",v="sidebarItem__DBe",j="sidebarItemLink_mo7H",b="sidebarItemLinkActive_I1ZP",w="yearGroupHeading_rMGB",N=e=>{let{items:t}=e;return(0,m.jsx)(o.OU,{items:t,ulClassName:(0,s.A)(x,"clean-list"),liClassName:v,linkClassName:j,linkActiveClassName:b})};function k(e){let{sidebar:t}=e;const a=(0,o.Gx)(t.items);return(0,m.jsx)("aside",{className:"col col--3",children:(0,m.jsxs)("nav",{className:(0,s.A)(f,"thin-scrollbar"),"aria-label":(0,i.T)({id:"theme.blog.sidebar.navAriaLabel",message:"Blog recent posts navigation",description:"The ARIA label for recent posts in the blog sidebar"}),children:[(0,m.jsx)("div",{className:(0,s.A)(p,"margin-bottom--md"),children:t.title}),(0,m.jsx)(g,{items:a,ListComponent:N,yearGroupHeadingClassName:w})]})})}const M=(0,n.memo)(k);var _=a(75600);const C={yearGroupHeading:"yearGroupHeading_QT03"},y=e=>{let{items:t}=e;return(0,m.jsx)(o.OU,{items:t,ulClassName:"menu__list",liClassName:"menu__list-item",linkClassName:"menu__link",linkActiveClassName:"menu__link--active"})};function A(e){let{sidebar:t}=e;const a=(0,o.Gx)(t.items);return(0,m.jsx)(g,{items:a,ListComponent:y,yearGroupHeadingClassName:C.yearGroupHeading})}function P(e){return(0,m.jsx)(_.GX,{component:A,props:e})}const B=(0,n.memo)(P);function I(e){let{sidebar:t}=e;const a=(0,l.l)();return t?.items.length?"mobile"===a?(0,m.jsx)(B,{sidebar:t}):(0,m.jsx)(M,{sidebar:t}):null}function L(e){const{sidebar:t,toc:a,children:n,...l}=e,i=t&&t.items.length>0;return(0,m.jsx)(r.A,{...l,children:(0,m.jsx)("div",{className:"container margin-vert--lg",children:(0,m.jsxs)("div",{className:"row",children:[(0,m.jsx)(I,{sidebar:t}),(0,m.jsx)("main",{className:(0,s.A)("col",{"col--7":i,"col--9 col--offset-1":!i}),children:n}),a&&(0,m.jsx)("div",{className:"col col--2",children:a})]})})})}},53465:(e,t,a)=>{a.d(t,{W:()=>c});var n=a(96540),s=a(44586);const r=["zero","one","two","few","many","other"];function l(e){return r.filter((t=>e.includes(t)))}const i={locale:"en",pluralForms:l(["one","other"]),select:e=>1===e?"one":"other"};function o(){const{i18n:{currentLocale:e}}=(0,s.default)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:l(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),i}}),[e])}function c(){const e=o();return{selectMessage:(t,a)=>function(e,t,a){const n=e.split("|");if(1===n.length)return n[0];n.length>a.pluralForms.length&&console.error(`For locale=${a.locale}, a maximum of ${a.pluralForms.length} plural forms are expected (${a.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const s=a.select(t),r=a.pluralForms.indexOf(s);return n[Math.min(r,n.length-1)]}(a,t,e)}}}}]); \ No newline at end of file diff --git a/assets/js/36cdde70.30885b75.js b/assets/js/36cdde70.30885b75.js new file mode 100644 index 00000000..cf4d2c8f --- /dev/null +++ b/assets/js/36cdde70.30885b75.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2229],{44583:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>p,contentTitle:()=>m,default:()=>g,frontMatter:()=>u,metadata:()=>i,toc:()=>h});const i=JSON.parse('{"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":false,"unlisted":false,"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"}}');var o=s(74848),n=s(28453),d=s(85819);const a=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 r=s(11470),c=s(19365),l=s(18264);const u={description:"Order with as needed (PRN) dosage with pre-condition - Oxycodone - active with reasonCode, note, dispenseRequest and substitution",title:"medrx0301"},m=void 0,p={},h=[];function x(e){const t={a:"a",admonition:"admonition",p:"p",...(0,n.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/medicationrequest0301.html",children:"HL7"}),' - "Order with as needed (PRN) dosage with pre-condition - Oxycodone - active with reasonCode, note, dispenseRequest and substitution"']})}),"\n",(0,o.jsxs)(r.A,{children:[(0,o.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(l.A,{dosages:a,config:{}})}),(0,o.jsx)(c.A,{value:"json",label:"Dosage",children:(0,o.jsx)(d.default,{language:"json",children:JSON.stringify(a,null,2)})})]})]})}function g(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(x,{...e})}):x(e)}},18264:(e,t,s)=>{s.d(t,{A:()=>r});var i=s(96540),o=s(76300),n=s(52376),d=s(85819),a=s(74848);function r(e){let{dosages:t,config:s}=e;const[r,c]=(0,i.useState)(""),[l,u]=(0,i.useState)(s?.language||"en"),[m,p]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await o.U.build({...s});p(e)}()}),[s]),(0,i.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);c(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);c(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(d.default,{language:"markup",children:(h=r,(0,n.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/36cdde70.7448a3d2.js b/assets/js/36cdde70.7448a3d2.js deleted file mode 100644 index f45eb158..00000000 --- a/assets/js/36cdde70.7448a3d2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2229],{17801:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>g,frontMatter:()=>l,metadata:()=>m,toc:()=>h});var o=i(74848),s=i(28453),n=i(85819);const d=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 a=i(11470),r=i(19365),c=i(18264);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 x(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/medicationrequest0301.html",children:"HL7"}),' - "Order with as needed (PRN) dosage with pre-condition - Oxycodone - active with reasonCode, note, dispenseRequest and substitution"']})}),"\n",(0,o.jsxs)(a.A,{children:[(0,o.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(c.A,{dosages:d,config:{}})}),(0,o.jsx)(r.A,{value:"json",label:"Dosage",children:(0,o.jsx)(n.default,{language:"json",children:JSON.stringify(d,null,2)})})]})]})}function g(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(x,{...e})}):x(e)}},18264:(e,t,i)=>{i.d(t,{A:()=>r});var o=i(96540),s=i(76300),n=i(52376),d=i(85819),a=i(74848);function r(e){let{dosages:t,config:i}=e;const[r,c]=(0,o.useState)(""),[l,u]=(0,o.useState)(i?.language||"en"),[m,p]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await s.U.build({...i});p(e)}()}),[i]),(0,o.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);c(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);c(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(d.default,{language:"markup",children:(h=r,(0,n.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/3766ff12.9e21b0fc.js b/assets/js/3766ff12.9e21b0fc.js new file mode 100644 index 00000000..8608a5b3 --- /dev/null +++ b/assets/js/3766ff12.9e21b0fc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8952],{72158:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>h,contentTitle:()=>m,default:()=>x,frontMatter:()=>u,metadata:()=>n,toc:()=>p});const n=JSON.parse('{"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":false,"unlisted":false,"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"}}');var o=s(74848),i=s(28453),r=s(85819);const a=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 d=s(11470),l=s(19365),c=s(18264);const u={description:"Request for Over the Counter Medication - Tylenol PM - with dosage range as needed with pre-condition for use",title:"medrx0310"},m=void 0,h={},p=[];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/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)(d.A,{children:[(0,o.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(c.A,{dosages:a,config:{}})}),(0,o.jsx)(l.A,{value:"json",label:"Dosage",children:(0,o.jsx)(r.default,{language:"json",children:JSON.stringify(a,null,2)})})]})]})}function x(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(g,{...e})}):g(e)}},18264:(e,t,s)=>{s.d(t,{A:()=>d});var n=s(96540),o=s(76300),i=s(52376),r=s(85819),a=s(74848);function d(e){let{dosages:t,config:s}=e;const[d,l]=(0,n.useState)(""),[c,u]=(0,n.useState)(s?.language||"en"),[m,h]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await o.U.build({...s});h(e)}()}),[s]),(0,n.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);l(e)}}()}),[t,m]);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(m){await m.changeLanguage(c);const e=m.fromMultipleDosageToText(t);l(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(r.default,{language:"markup",children:(p=d,(0,i.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/3766ff12.f43a3516.js b/assets/js/3766ff12.f43a3516.js deleted file mode 100644 index cd887920..00000000 --- a/assets/js/3766ff12.f43a3516.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8952],{67357:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>h,contentTitle:()=>u,default:()=>x,frontMatter:()=>c,metadata:()=>m,toc:()=>p});var n=s(74848),o=s(28453),i=s(85819);const r=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=s(11470),d=s(19365),l=s(18264);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,o.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/medicationrequest0310.html",children:"HL7"}),' - "Request for Over the Counter Medication - Tylenol PM - with dosage range as needed with pre-condition for use"']})}),"\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,o.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(g,{...e})}):g(e)}},18264:(e,t,s)=>{s.d(t,{A:()=>d});var n=s(96540),o=s(76300),i=s(52376),r=s(85819),a=s(74848);function d(e){let{dosages:t,config:s}=e;const[d,l]=(0,n.useState)(""),[c,u]=(0,n.useState)(s?.language||"en"),[m,h]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await o.U.build({...s});h(e)}()}),[s]),(0,n.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);l(e)}}()}),[t,m]);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(m){await m.changeLanguage(c);const e=m.fromMultipleDosageToText(t);l(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(r.default,{language:"markup",children:(p=d,(0,i.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/38ae24f3.08ea48d9.js b/assets/js/38ae24f3.08ea48d9.js deleted file mode 100644 index 76c5c85d..00000000 --- a/assets/js/38ae24f3.08ea48d9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8035],{72170:(t,n,e)=>{e.r(n),e.d(n,{assets:()=>p,contentTitle:()=>l,default:()=>h,frontMatter:()=>d,metadata:()=>x,toc:()=>f});var a=e(74848),o=e(28453),c=e(85819);const s=JSON.parse('{"timing":{"repeat":{"count":1,"countMax":3}}}');var u=e(11470),i=e(19365),r=e(816);const d={description:"count and countMax",title:"\ud83d\udd22 count and countMax"},l=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"}},p={},f=[];function g(t){return(0,a.jsxs)(u.A,{children:[(0,a.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(r.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 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:()=>i});var a=e(96540),o=e(76300),c=e(52376),s=e(85819),u=e(74848);function i(t){let{dosage:n,config:e}=t;const[i,r]=(0,a.useState)(""),[d,l]=(0,a.useState)(e?.language||"en"),[x,p]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const t=await o.U.build({...e});p(t)}()}),[e]),(0,a.useEffect)((()=>{!async function(){if(x){const t=x.fromDosageToText(n);r(t)}}()}),[n,x]);return(0,u.jsxs)("div",{children:[(0,u.jsxs)("div",{style:{display:"flex"},children:[(0,u.jsxs)("select",{value:d,onChange:t=>l(t.target.value),style:{marginRight:"10px"},children:[(0,u.jsx)("option",{value:"en",children:"English"}),(0,u.jsx)("option",{value:"fr",children:"French"}),(0,u.jsx)("option",{value:"nl",children:"Dutch"}),(0,u.jsx)("option",{value:"de",children:"German"})]}),(0,u.jsx)("button",{onClick:async()=>{if(x){await x.changeLanguage(d);const t=x.fromDosageToText(n);r(t)}},children:"Confirm"})]}),(0,u.jsx)("div",{style:{marginTop:"10px"},children:(0,u.jsx)(s.default,{language:"markup",children:(f=i,(0,c.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/38ae24f3.d68ed616.js b/assets/js/38ae24f3.d68ed616.js new file mode 100644 index 00000000..645eba59 --- /dev/null +++ b/assets/js/38ae24f3.d68ed616.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8035],{65980:(t,n,e)=>{e.r(n),e.d(n,{assets:()=>f,contentTitle:()=>x,default:()=>h,frontMatter:()=>d,metadata:()=>a,toc:()=>p});const a=JSON.parse('{"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":false,"unlisted":false,"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"}}');var o=e(74848),s=e(28453),c=e(85819);const u=JSON.parse('{"timing":{"repeat":{"count":1,"countMax":3}}}');var i=e(11470),r=e(19365),l=e(816);const d={description:"count and countMax",title:"\ud83d\udd22 count and countMax"},x=void 0,f={},p=[];function g(t){return(0,o.jsxs)(i.A,{children:[(0,o.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(l.A,{dosage:u})}),(0,o.jsx)(r.A,{value:"json",label:"Dosage",children:(0,o.jsx)(c.default,{language:"json",children:JSON.stringify(u,null,2)})})]})}function h(t={}){const{wrapper:n}={...(0,s.R)(),...t.components};return n?(0,o.jsx)(n,{...t,children:(0,o.jsx)(g,{...t})}):g()}},816:(t,n,e)=>{e.d(n,{A:()=>i});var a=e(96540),o=e(76300),s=e(52376),c=e(85819),u=e(74848);function i(t){let{dosage:n,config:e}=t;const[i,r]=(0,a.useState)(""),[l,d]=(0,a.useState)(e?.language||"en"),[x,f]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const t=await o.U.build({...e});f(t)}()}),[e]),(0,a.useEffect)((()=>{!async function(){if(x){const t=x.fromDosageToText(n);r(t)}}()}),[n,x]);return(0,u.jsxs)("div",{children:[(0,u.jsxs)("div",{style:{display:"flex"},children:[(0,u.jsxs)("select",{value:l,onChange:t=>d(t.target.value),style:{marginRight:"10px"},children:[(0,u.jsx)("option",{value:"en",children:"English"}),(0,u.jsx)("option",{value:"fr",children:"French"}),(0,u.jsx)("option",{value:"nl",children:"Dutch"}),(0,u.jsx)("option",{value:"de",children:"German"})]}),(0,u.jsx)("button",{onClick:async()=>{if(x){await x.changeLanguage(l);const t=x.fromDosageToText(n);r(t)}},children:"Confirm"})]}),(0,u.jsx)("div",{style:{marginTop:"10px"},children:(0,u.jsx)(c.default,{language:"markup",children:(p=i,(0,s.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/3903b0d4.393da9c4.js b/assets/js/3903b0d4.393da9c4.js deleted file mode 100644 index 559116e2..00000000 --- a/assets/js/3903b0d4.393da9c4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4726],{42796:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>f,contentTitle:()=>u,default:()=>x,frontMatter:()=>l,metadata:()=>p,toc:()=>h});var a=t(74848),n=t(28453),d=t(85819);const o=JSON.parse('{"asNeededFor":[{"text":"reason 1"},{"text":"reason 2"}]}');var r=t(11470),i=t(19365),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={},h=[];function g(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:o})}),(0,a.jsx)(i.A,{value:"json",label:"Dosage",children:(0,a.jsx)(d.default,{language:"json",children:JSON.stringify(o,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/Config",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)(g,{...e})}):g(e)}},816:(e,s,t)=>{t.d(s,{A:()=>i});var a=t(96540),n=t(76300),d=t(52376),o=t(85819),r=t(74848);function i(e){let{dosage:s,config:t}=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.U.build({...t});f(e)}()}),[t]),(0,a.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(s);c(e)}}()}),[s,p]);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(p){await p.changeLanguage(l);const e=p.fromDosageToText(s);c(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(o.default,{language:"markup",children:(h=i,(0,d.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/3903b0d4.a57c0c3f.js b/assets/js/3903b0d4.a57c0c3f.js new file mode 100644 index 00000000..ae525200 --- /dev/null +++ b/assets/js/3903b0d4.a57c0c3f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4726],{33432:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>f,contentTitle:()=>p,default:()=>x,frontMatter:()=>u,metadata:()=>a,toc:()=>h});const a=JSON.parse('{"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":false,"unlisted":false,"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"}}');var n=t(74848),o=t(28453),d=t(85819);const r=JSON.parse('{"asNeededFor":[{"text":"reason 1"},{"text":"reason 2"}]}');var i=t(11470),c=t(19365),l=t(816);const u={description:"asNeededFor",title:"\ud83e\uddec asNeededFor"},p=void 0,f={},h=[];function g(e){const s={a:"a",admonition:"admonition",p:"p",...(0,o.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(i.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)(d.default,{language:"json",children:JSON.stringify(r,null,2)})})]}),"\n",(0,n.jsx)(s.admonition,{type:"tip",children:(0,n.jsxs)(s.p,{children:["Don't forget you can use ",(0,n.jsx)(s.a,{href:"/api/interface/Config",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}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(e)}},816:(e,s,t)=>{t.d(s,{A:()=>i});var a=t(96540),n=t(76300),o=t(52376),d=t(85819),r=t(74848);function i(e){let{dosage:s,config:t}=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.U.build({...t});f(e)}()}),[t]),(0,a.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(s);c(e)}}()}),[s,p]);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(p){await p.changeLanguage(l);const e=p.fromDosageToText(s);c(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(d.default,{language:"markup",children:(h=i,(0,o.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/3d23bc21.7594365f.js b/assets/js/3d23bc21.7594365f.js new file mode 100644 index 00000000..e4d3b1e2 --- /dev/null +++ b/assets/js/3d23bc21.7594365f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[85],{40718:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>f,contentTitle:()=>p,default:()=>h,frontMatter:()=>d,metadata:()=>t,toc:()=>g});const t=JSON.parse('{"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":false,"unlisted":false,"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"}}');var c=s(74848),i=s(28453),r=s(85819);const u=JSON.parse('[{"sequence":1,"text":"Instructions 1"},{"sequence":2,"text":"Instructions 2A"},{"sequence":2,"text":"Instructions 2B"}]');var o=s(11470),a=s(19365),l=s(18264);const d={description:"Concurrent instructions",title:"\u27a1\ufe0f sequence (Concurrent instructions)"},p=void 0,f={},g=[];function x(e){return(0,c.jsxs)(o.A,{children:[(0,c.jsx)(a.A,{value:"text",label:"Human readable text",default:!0,children:(0,c.jsx)(l.A,{dosages:u,config:{displayOrder:["text"]}})}),(0,c.jsx)(a.A,{value:"json",label:"Dosage",children:(0,c.jsx)(r.default,{language:"json",children:JSON.stringify(u,null,2)})})]})}function h(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,c.jsx)(n,{...e,children:(0,c.jsx)(x,{...e})}):x()}},18264:(e,n,s)=>{s.d(n,{A:()=>o});var t=s(96540),c=s(76300),i=s(52376),r=s(85819),u=s(74848);function o(e){let{dosages:n,config:s}=e;const[o,a]=(0,t.useState)(""),[l,d]=(0,t.useState)(s?.language||"en"),[p,f]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await c.U.build({...s});f(e)}()}),[s]),(0,t.useEffect)((()=>{!async function(){if(p){const e=p.fromMultipleDosageToText(n);a(e)}}()}),[n,p]);return(0,u.jsxs)("div",{children:[(0,u.jsxs)("div",{style:{display:"flex"},children:[(0,u.jsxs)("select",{value:l,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,u.jsx)("option",{value:"en",children:"English"}),(0,u.jsx)("option",{value:"fr",children:"French"}),(0,u.jsx)("option",{value:"nl",children:"Dutch"}),(0,u.jsx)("option",{value:"de",children:"German"})]}),(0,u.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(l);const e=p.fromMultipleDosageToText(n);a(e)}},children:"Confirm"})]}),(0,u.jsx)("div",{style:{marginTop:"10px"},children:(0,u.jsx)(r.default,{language:"markup",children:(g=o,(0,i.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/3d23bc21.e2fe4c5e.js b/assets/js/3d23bc21.e2fe4c5e.js deleted file mode 100644 index c4685ab9..00000000 --- a/assets/js/3d23bc21.e2fe4c5e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[85],{46021:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>f,contentTitle:()=>d,default:()=>h,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var s=t(74848),c=t(28453),i=t(85819);const r=JSON.parse('[{"sequence":1,"text":"Instructions 1"},{"sequence":2,"text":"Instructions 2A"},{"sequence":2,"text":"Instructions 2B"}]');var u=t(11470),o=t(19365),a=t(18264);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 x(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:r,config:{displayOrder:["text"]}})}),(0,s.jsx)(o.A,{value:"json",label:"Dosage",children:(0,s.jsx)(i.default,{language:"json",children:JSON.stringify(r,null,2)})})]})}function h(e={}){const{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(x,{...e})}):x()}},18264:(e,n,t)=>{t.d(n,{A:()=>o});var s=t(96540),c=t(76300),i=t(52376),r=t(85819),u=t(74848);function o(e){let{dosages:n,config:t}=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 c.U.build({...t});f(e)}()}),[t]),(0,s.useEffect)((()=>{!async function(){if(p){const e=p.fromMultipleDosageToText(n);a(e)}}()}),[n,p]);return(0,u.jsxs)("div",{children:[(0,u.jsxs)("div",{style:{display:"flex"},children:[(0,u.jsxs)("select",{value:l,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,u.jsx)("option",{value:"en",children:"English"}),(0,u.jsx)("option",{value:"fr",children:"French"}),(0,u.jsx)("option",{value:"nl",children:"Dutch"}),(0,u.jsx)("option",{value:"de",children:"German"})]}),(0,u.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(l);const e=p.fromMultipleDosageToText(n);a(e)}},children:"Confirm"})]}),(0,u.jsx)("div",{style:{marginTop:"10px"},children:(0,u.jsx)(r.default,{language:"markup",children:(g=o,(0,i.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/3f237283.28e32e11.js b/assets/js/3f237283.28e32e11.js new file mode 100644 index 00000000..e3e11ca4 --- /dev/null +++ b/assets/js/3f237283.28e32e11.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2309],{96666:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>h,contentTitle:()=>g,default:()=>x,frontMatter:()=>u,metadata:()=>a,toc:()=>p});const a=JSON.parse('{"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":false,"unlisted":false,"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"}}');var s=t(74848),i=t(28453),o=t(85819);const r=JSON.parse('{"doseAndRate":[{"rateRange":{"low":{"value":3,"unit":"pills"},"high":{"value":5,"unit":"pills"}}}]}');var l=t(11470),c=t(19365),d=t(816);const u={description:"Low & High",title:"\u2696\ufe0f rateRange (Low & High)"},g=void 0,h={},p=[];function f(e){const n={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(l.A,{children:[(0,s.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(d.A,{dosage:r})}),(0,s.jsx)(c.A,{value:"json",label:"Dosage",children:(0,s.jsx)(o.default,{language:"json",children:JSON.stringify(r,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/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,i.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:()=>l});var a=t(96540),s=t(76300),i=t(52376),o=t(85819),r=t(74848);function l(e){let{dosage:n,config:t}=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.U.build({...t});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)(o.default,{language:"markup",children:(p=l,(0,i.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/3f237283.5fd31c18.js b/assets/js/3f237283.5fd31c18.js deleted file mode 100644 index 4febb7c8..00000000 --- a/assets/js/3f237283.5fd31c18.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2309],{9545:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>h,contentTitle:()=>u,default:()=>x,frontMatter:()=>d,metadata:()=>g,toc:()=>p});var a=t(74848),s=t(28453),i=t(85819);const o=JSON.parse('{"doseAndRate":[{"rateRange":{"low":{"value":3,"unit":"pills"},"high":{"value":5,"unit":"pills"}}}]}');var r=t(11470),l=t(19365),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/Config",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:()=>l});var a=t(96540),s=t(76300),i=t(52376),o=t(85819),r=t(74848);function l(e){let{dosage:n,config:t}=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.U.build({...t});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)(o.default,{language:"markup",children:(p=l,(0,i.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/3fb26655.0519bb11.js b/assets/js/3fb26655.0519bb11.js new file mode 100644 index 00000000..da6f576a --- /dev/null +++ b/assets/js/3fb26655.0519bb11.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8678],{82107:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>x,contentTitle:()=>m,default:()=>h,frontMatter:()=>u,metadata:()=>o,toc:()=>p});const o=JSON.parse('{"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":false,"unlisted":false,"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"}}');var r=t(74848),n=t(28453),a=t(85819);const i=JSON.parse('{"maxDosePerPeriod":[{"numerator":{"value":3,"unit":"pills"},"denominator":{"value":5,"unit":"hours"}},{"numerator":{"value":1000,"unit":"mg"},"denominator":{"value":1,"unit":"hour"}}]}');var d=t(11470),c=t(19365),l=t(816);const u={description:"maxDosePerPeriod (R5)",title:"\u23f3 maxDosePerPeriod (R5)"},m=void 0,x={},p=[];function f(e){const s={a:"a",admonition:"admonition",p:"p",...(0,n.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(d.A,{children:[(0,r.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,r.jsx)(l.A,{dosage:i})}),(0,r.jsx)(c.A,{value:"json",label:"Dosage",children:(0,r.jsx)(a.default,{language:"json",children:JSON.stringify(i,null,2)})})]}),"\n",(0,r.jsx)(s.admonition,{type:"tip",children:(0,r.jsxs)(s.p,{children:["Don't forget you can use ",(0,r.jsx)(s.a,{href:"/api/interface/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function h(e={}){const{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(f,{...e})}):f(e)}},816:(e,s,t)=>{t.d(s,{A:()=>d});var o=t(96540),r=t(76300),n=t(52376),a=t(85819),i=t(74848);function d(e){let{dosage:s,config:t}=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 r.U.build({...t});x(e)}()}),[t]),(0,o.useEffect)((()=>{!async function(){if(m){const e=m.fromDosageToText(s);c(e)}}()}),[s,m]);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(m){await m.changeLanguage(l);const e=m.fromDosageToText(s);c(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(a.default,{language:"markup",children:(p=d,(0,n.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/3fb26655.b185812f.js b/assets/js/3fb26655.b185812f.js deleted file mode 100644 index 34f15d88..00000000 --- a/assets/js/3fb26655.b185812f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8678],{54948:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>x,contentTitle:()=>u,default:()=>f,frontMatter:()=>l,metadata:()=>m,toc:()=>p});var o=t(74848),r=t(28453),n=t(85819);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(11470),d=t(19365),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 h(e){const s={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)(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)(s.admonition,{type:"tip",children:(0,o.jsxs)(s.p,{children:["Don't forget you can use ",(0,o.jsx)(s.a,{href:"/api/interface/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function f(e={}){const{wrapper:s}={...(0,r.R)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(h,{...e})}):h(e)}},816:(e,s,t)=>{t.d(s,{A:()=>d});var o=t(96540),r=t(76300),n=t(52376),a=t(85819),i=t(74848);function d(e){let{dosage:s,config:t}=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 r.U.build({...t});x(e)}()}),[t]),(0,o.useEffect)((()=>{!async function(){if(m){const e=m.fromDosageToText(s);c(e)}}()}),[s,m]);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(m){await m.changeLanguage(l);const e=m.fromDosageToText(s);c(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(a.default,{language:"markup",children:(p=d,(0,n.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/40c0f713.0cc630f9.js b/assets/js/40c0f713.0cc630f9.js deleted file mode 100644 index 9e271fe9..00000000 --- a/assets/js/40c0f713.0cc630f9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5251],{46974:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>g,contentTitle:()=>c,default:()=>x,frontMatter:()=>u,metadata:()=>p,toc:()=>f});var n=s(74848),o=s(28453),a=s(85819);const r=JSON.parse('{"timing":{"repeat":{"boundsPeriod":{"start":"2015-02-07T13:28:17"}}}}');var i=s(11470),d=s(19365),l=s(816);const u={description:"start only",title:"\u23f3 boundsPeriod (start only)"},c=void 0,p={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"}},g={},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:r})}),(0,n.jsx)(d.A,{value:"json",label:"Dosage",children:(0,n.jsx)(a.default,{language:"json",children:JSON.stringify(r,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:()=>d});var n=s(96540),o=s(76300),a=s(52376),r=s(85819),i=s(74848);function d(e){let{dosage:t,config:s}=e;const[d,l]=(0,n.useState)(""),[u,c]=(0,n.useState)(s?.language||"en"),[p,g]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await o.U.build({...s});g(e)}()}),[s]),(0,n.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(t);l(e)}}()}),[t,p]);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(p){await p.changeLanguage(u);const e=p.fromDosageToText(t);l(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(r.default,{language:"markup",children:(f=d,(0,a.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/40c0f713.2fba84f3.js b/assets/js/40c0f713.2fba84f3.js new file mode 100644 index 00000000..28a09391 --- /dev/null +++ b/assets/js/40c0f713.2fba84f3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5251],{69120:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>f,contentTitle:()=>p,default:()=>x,frontMatter:()=>u,metadata:()=>n,toc:()=>g});const n=JSON.parse('{"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":false,"unlisted":false,"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"}}');var o=t(74848),a=t(28453),r=t(85819);const i=JSON.parse('{"timing":{"repeat":{"boundsPeriod":{"start":"2015-02-07T13:28:17"}}}}');var d=t(11470),l=t(19365),c=t(816);const u={description:"start only",title:"\u23f3 boundsPeriod (start only)"},p=void 0,f={},g=[];function h(e){return(0,o.jsxs)(d.A,{children:[(0,o.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(c.A,{dosage:i})}),(0,o.jsx)(l.A,{value:"json",label:"Dosage",children:(0,o.jsx)(r.default,{language:"json",children:JSON.stringify(i,null,2)})})]})}function x(e={}){const{wrapper:s}={...(0,a.R)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(h,{...e})}):h()}},816:(e,s,t)=>{t.d(s,{A:()=>d});var n=t(96540),o=t(76300),a=t(52376),r=t(85819),i=t(74848);function d(e){let{dosage:s,config:t}=e;const[d,l]=(0,n.useState)(""),[c,u]=(0,n.useState)(t?.language||"en"),[p,f]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await o.U.build({...t});f(e)}()}),[t]),(0,n.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(s);l(e)}}()}),[s,p]);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(p){await p.changeLanguage(c);const e=p.fromDosageToText(s);l(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(r.default,{language:"markup",children:(g=d,(0,a.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/430bd102.a748706c.js b/assets/js/430bd102.a748706c.js deleted file mode 100644 index 6d191038..00000000 --- a/assets/js/430bd102.a748706c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2485],{68407:(t,n,e)=>{e.r(n),e.d(n,{assets:()=>m,contentTitle:()=>d,default:()=>p,frontMatter:()=>c,metadata:()=>h,toc:()=>g});var i=e(74848),s=e(28453),o=e(85819);const r=JSON.parse('{"doseAndRate":[{"doseQuantity":{"value":"25","system":"http://unitsofmeasure.org","code":"ug"}}]}');var a=e(11470),l=e(19365),u=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,h={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"}},m={},g=[];function f(t){const n={a:"a",admonition:"admonition",code:"code",li:"li",ol:"ol",p:"p",pre:"pre",ul:"ul",...(0,s.R)(),...t.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(a.A,{children:[(0,i.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(u.A,{dosage:r,config:{fromFHIRQuantityUnitToString:({quantity:t,language:n})=>`[${n} translation of "${t.code||t.unit}" (${t.system||""})]`}})}),(0,i.jsx)(l.A,{value:"json",label:"Dosage",children:(0,i.jsx)(o.default,{language:"json",children:JSON.stringify(r,null,2)})}),(0,i.jsx)(l.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'})})})]}),"\n",(0,i.jsxs)(n.admonition,{type:"tip",children:[(0,i.jsx)(n.p,{children:"Possible cases in production :"}),(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:["SNOMED CT - ",(0,i.jsx)(n.a,{href:"http://snomed.info/sct",children:"http://snomed.info/sct"})]}),"\n",(0,i.jsxs)(n.li,{children:["UCUM - ",(0,i.jsx)(n.a,{href:"http://unitsofmeasure.org",children:"http://unitsofmeasure.org"})]}),"\n",(0,i.jsxs)(n.li,{children:["Other Code System than SNOMED CT / UCUM, such as LOINC - ",(0,i.jsx)(n.a,{href:"http://loinc.org/",children:"http://loinc.org/"})]}),"\n",(0,i.jsxs)(n.li,{children:["(Local) Value Set, e.g. ",(0,i.jsx)(n.a,{href:"https://www.ehealth.fgov.be/standards/fhir/core/ValueSet/be-cd-administration-unit",children:"https://www.ehealth.fgov.be/standards/fhir/core/ValueSet/be-cd-administration-unit"})]}),"\n",(0,i.jsx)(n.li,{children:"Hardcoded unit without any system"}),"\n"]}),(0,i.jsxs)(n.p,{children:["To support them all in your ",(0,i.jsx)(n.code,{children:"fromFHIRQuantityUnitToString"})," implementation, here are some hints :"]}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["3rd party library (such as ",(0,i.jsx)(n.a,{href:"https://github.com/LHNCBC/ucum-lhc",children:"@lhncbc/ucum-lhc"}),", ...) to turn your code to human readable text"]}),"\n",(0,i.jsx)(n.li,{children:"3rd party FHIR Terminology / Conversion server"}),"\n",(0,i.jsx)(n.li,{children:"Translation file(s) of your (local) Value Sets"}),"\n",(0,i.jsxs)(n.li,{children:["Extensions put on ",(0,i.jsx)(n.a,{href:"https://build.fhir.org/datatypes.html#Quantity",children:"Quantity"}),", depending of your implementation guide"]}),"\n",(0,i.jsx)(n.li,{children:"..."}),"\n"]})]})]})}function p(t={}){const{wrapper:n}={...(0,s.R)(),...t.components};return n?(0,i.jsx)(n,{...t,children:(0,i.jsx)(f,{...t})}):f(t)}},816:(t,n,e)=>{e.d(n,{A:()=>l});var i=e(96540),s=e(76300),o=e(52376),r=e(85819),a=e(74848);function l(t){let{dosage:n,config:e}=t;const[l,u]=(0,i.useState)(""),[c,d]=(0,i.useState)(e?.language||"en"),[h,m]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const t=await s.U.build({...e});m(t)}()}),[e]),(0,i.useEffect)((()=>{!async function(){if(h){const t=h.fromDosageToText(n);u(t)}}()}),[n,h]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:c,onChange:t=>d(t.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 t=h.fromDosageToText(n);u(t)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(r.default,{language:"markup",children:(g=l,(0,o.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/430bd102.c22e94d2.js b/assets/js/430bd102.c22e94d2.js new file mode 100644 index 00000000..8f3e9634 --- /dev/null +++ b/assets/js/430bd102.c22e94d2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2485],{27451:(t,n,e)=>{e.r(n),e.d(n,{assets:()=>m,contentTitle:()=>h,default:()=>p,frontMatter:()=>d,metadata:()=>i,toc:()=>g});const i=JSON.parse('{"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":false,"unlisted":false,"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"}}');var s=e(74848),o=e(28453),r=e(85819);const a=JSON.parse('{"doseAndRate":[{"doseQuantity":{"value":"25","system":"http://unitsofmeasure.org","code":"ug"}}]}');var l=e(11470),u=e(19365),c=e(816);const d={description:'Function to turn a quantity unit (e.g UCUM "ml") into a string for humans (e.g "militier")',title:"\ud83d\udccf fromFHIRQuantityUnitToString"},h=void 0,m={},g=[];function f(t){const n={a:"a",admonition:"admonition",code:"code",li:"li",ol:"ol",p:"p",pre:"pre",ul:"ul",...(0,o.R)(),...t.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(l.A,{children:[(0,s.jsx)(u.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(c.A,{dosage:a,config:{fromFHIRQuantityUnitToString:({quantity:t,language:n})=>`[${n} translation of "${t.code||t.unit}" (${t.system||""})]`}})}),(0,s.jsx)(u.A,{value:"json",label:"Dosage",children:(0,s.jsx)(r.default,{language:"json",children:JSON.stringify(a,null,2)})}),(0,s.jsx)(u.A,{value:"config",label:"Configuration",children:(0,s.jsx)(n.pre,{children:(0,s.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'})})})]}),"\n",(0,s.jsxs)(n.admonition,{type:"tip",children:[(0,s.jsx)(n.p,{children:"Possible cases in production :"}),(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsxs)(n.li,{children:["SNOMED CT - ",(0,s.jsx)(n.a,{href:"http://snomed.info/sct",children:"http://snomed.info/sct"})]}),"\n",(0,s.jsxs)(n.li,{children:["UCUM - ",(0,s.jsx)(n.a,{href:"http://unitsofmeasure.org",children:"http://unitsofmeasure.org"})]}),"\n",(0,s.jsxs)(n.li,{children:["Other Code System than SNOMED CT / UCUM, such as LOINC - ",(0,s.jsx)(n.a,{href:"http://loinc.org/",children:"http://loinc.org/"})]}),"\n",(0,s.jsxs)(n.li,{children:["(Local) Value Set, e.g. ",(0,s.jsx)(n.a,{href:"https://www.ehealth.fgov.be/standards/fhir/core/ValueSet/be-cd-administration-unit",children:"https://www.ehealth.fgov.be/standards/fhir/core/ValueSet/be-cd-administration-unit"})]}),"\n",(0,s.jsx)(n.li,{children:"Hardcoded unit without any system"}),"\n"]}),(0,s.jsxs)(n.p,{children:["To support them all in your ",(0,s.jsx)(n.code,{children:"fromFHIRQuantityUnitToString"})," implementation, here are some hints :"]}),(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["3rd party library (such as ",(0,s.jsx)(n.a,{href:"https://github.com/LHNCBC/ucum-lhc",children:"@lhncbc/ucum-lhc"}),", ...) to turn your code to human readable text"]}),"\n",(0,s.jsx)(n.li,{children:"3rd party FHIR Terminology / Conversion server"}),"\n",(0,s.jsx)(n.li,{children:"Translation file(s) of your (local) Value Sets"}),"\n",(0,s.jsxs)(n.li,{children:["Extensions put on ",(0,s.jsx)(n.a,{href:"https://build.fhir.org/datatypes.html#Quantity",children:"Quantity"}),", depending of your implementation guide"]}),"\n",(0,s.jsx)(n.li,{children:"..."}),"\n"]})]})]})}function p(t={}){const{wrapper:n}={...(0,o.R)(),...t.components};return n?(0,s.jsx)(n,{...t,children:(0,s.jsx)(f,{...t})}):f(t)}},816:(t,n,e)=>{e.d(n,{A:()=>l});var i=e(96540),s=e(76300),o=e(52376),r=e(85819),a=e(74848);function l(t){let{dosage:n,config:e}=t;const[l,u]=(0,i.useState)(""),[c,d]=(0,i.useState)(e?.language||"en"),[h,m]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const t=await s.U.build({...e});m(t)}()}),[e]),(0,i.useEffect)((()=>{!async function(){if(h){const t=h.fromDosageToText(n);u(t)}}()}),[n,h]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:c,onChange:t=>d(t.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 t=h.fromDosageToText(n);u(t)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(r.default,{language:"markup",children:(g=l,(0,o.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/460a5c5b.61c74f90.js b/assets/js/460a5c5b.61c74f90.js new file mode 100644 index 00000000..2b5c3f8d --- /dev/null +++ b/assets/js/460a5c5b.61c74f90.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2453],{47199:(a,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>x,default:()=>h,frontMatter:()=>l,metadata:()=>e,toc:()=>f});const e=JSON.parse('{"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":false,"unlisted":false,"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"}}');var i=n(74848),r=n(28453),o=n(85819);const s=JSON.parse('{"timing":{"repeat":{"duration":1,"durationMax":3,"durationUnit":"d"}}}');var d=n(11470),u=n(19365),c=n(816);const l={description:"duration and durationMax",title:"\u23f0 duration and durationMax"},x=void 0,p={},f=[];function g(a){return(0,i.jsxs)(d.A,{children:[(0,i.jsx)(u.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(c.A,{dosage:s})}),(0,i.jsx)(u.A,{value:"json",label:"Dosage",children:(0,i.jsx)(o.default,{language:"json",children:JSON.stringify(s,null,2)})})]})}function h(a={}){const{wrapper:t}={...(0,r.R)(),...a.components};return t?(0,i.jsx)(t,{...a,children:(0,i.jsx)(g,{...a})}):g()}},816:(a,t,n)=>{n.d(t,{A:()=>d});var e=n(96540),i=n(76300),r=n(52376),o=n(85819),s=n(74848);function d(a){let{dosage:t,config:n}=a;const[d,u]=(0,e.useState)(""),[c,l]=(0,e.useState)(n?.language||"en"),[x,p]=(0,e.useState)(null);(0,e.useEffect)((()=>{!async function(){const a=await i.U.build({...n});p(a)}()}),[n]),(0,e.useEffect)((()=>{!async function(){if(x){const a=x.fromDosageToText(t);u(a)}}()}),[t,x]);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsxs)("select",{value:c,onChange:a=>l(a.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(c);const a=x.fromDosageToText(t);u(a)}},children:"Confirm"})]}),(0,s.jsx)("div",{style:{marginTop:"10px"},children:(0,s.jsx)(o.default,{language:"markup",children:(f=d,(0,r.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/460a5c5b.739c9bab.js b/assets/js/460a5c5b.739c9bab.js deleted file mode 100644 index 0fdafa97..00000000 --- a/assets/js/460a5c5b.739c9bab.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2453],{85956:(a,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>h,frontMatter:()=>c,metadata:()=>x,toc:()=>f});var e=n(74848),i=n(28453),r=n(85819);const o=JSON.parse('{"timing":{"repeat":{"duration":1,"durationMax":3,"durationUnit":"d"}}}');var d=n(11470),s=n(19365),u=n(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)(d.A,{children:[(0,e.jsx)(s.A,{value:"text",label:"Human readable text",default:!0,children:(0,e.jsx)(u.A,{dosage:o})}),(0,e.jsx)(s.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(96540),i=n(76300),r=n(52376),o=n(85819),d=n(74848);function s(a){let{dosage:t,config:n}=a;const[s,u]=(0,e.useState)(""),[c,l]=(0,e.useState)(n?.language||"en"),[x,p]=(0,e.useState)(null);(0,e.useEffect)((()=>{!async function(){const a=await i.U.build({...n});p(a)}()}),[n]),(0,e.useEffect)((()=>{!async function(){if(x){const a=x.fromDosageToText(t);u(a)}}()}),[t,x]);return(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{style:{display:"flex"},children:[(0,d.jsxs)("select",{value:c,onChange:a=>l(a.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(x){await x.changeLanguage(c);const a=x.fromDosageToText(t);u(a)}},children:"Confirm"})]}),(0,d.jsx)("div",{style:{marginTop:"10px"},children:(0,d.jsx)(o.default,{language:"markup",children:(f=s,(0,r.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/4628893b.06151eda.js b/assets/js/4628893b.06151eda.js new file mode 100644 index 00000000..7a36dc2d --- /dev/null +++ b/assets/js/4628893b.06151eda.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2857],{13789:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>p,contentTitle:()=>m,default:()=>g,frontMatter:()=>u,metadata:()=>s,toc:()=>h});const s=JSON.parse('{"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":false,"unlisted":false,"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"}}');var n=o(74848),i=o(28453),a=o(85819);const d=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 r=o(11470),l=o(19365),c=o(18264);const u={description:"Order with Dosage with a Pre-Condition - Alprazolam - dosageInstructions includes boundsPeriod with periodMax and asNeededCodeableConcept",title:"medrx0305"},m=void 0,p={},h=[];function x(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)(r.A,{children:[(0,n.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(c.A,{dosages:d,config:{}})}),(0,n.jsx)(l.A,{value:"json",label:"Dosage",children:(0,n.jsx)(a.default,{language:"json",children:JSON.stringify(d,null,2)})})]})]})}function g(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(x,{...e})}):x(e)}},18264:(e,t,o)=>{o.d(t,{A:()=>r});var s=o(96540),n=o(76300),i=o(52376),a=o(85819),d=o(74848);function r(e){let{dosages:t,config:o}=e;const[r,l]=(0,s.useState)(""),[c,u]=(0,s.useState)(o?.language||"en"),[m,p]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await n.U.build({...o});p(e)}()}),[o]),(0,s.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);l(e)}}()}),[t,m]);return(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{style:{display:"flex"},children:[(0,d.jsxs)("select",{value:c,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(m){await m.changeLanguage(c);const e=m.fromMultipleDosageToText(t);l(e)}},children:"Confirm"})]}),(0,d.jsx)("div",{style:{marginTop:"10px"},children:(0,d.jsx)(a.default,{language:"markup",children:(h=r,(0,i.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/4628893b.ebf2049d.js b/assets/js/4628893b.ebf2049d.js deleted file mode 100644 index ba9de90d..00000000 --- a/assets/js/4628893b.ebf2049d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2857],{62544:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>g,frontMatter:()=>c,metadata:()=>m,toc:()=>h});var s=o(74848),i=o(28453),n=o(85819);const d=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(11470),r=o(19365),l=o(18264);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 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/medicationrequest0305.html",children:"HL7"}),' - "Order with Dosage with a Pre-Condition - Alprazolam - dosageInstructions includes boundsPeriod with periodMax and asNeededCodeableConcept"']})}),"\n",(0,s.jsxs)(a.A,{children:[(0,s.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(l.A,{dosages:d,config:{}})}),(0,s.jsx)(r.A,{value:"json",label:"Dosage",children:(0,s.jsx)(n.default,{language:"json",children:JSON.stringify(d,null,2)})})]})]})}function g(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(x,{...e})}):x(e)}},18264:(e,t,o)=>{o.d(t,{A:()=>r});var s=o(96540),i=o(76300),n=o(52376),d=o(85819),a=o(74848);function r(e){let{dosages:t,config:o}=e;const[r,l]=(0,s.useState)(""),[c,u]=(0,s.useState)(o?.language||"en"),[m,p]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await i.U.build({...o});p(e)}()}),[o]),(0,s.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);l(e)}}()}),[t,m]);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(m){await m.changeLanguage(c);const e=m.fromMultipleDosageToText(t);l(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(d.default,{language:"markup",children:(h=r,(0,n.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/49044b90.09dd9432.js b/assets/js/49044b90.09dd9432.js new file mode 100644 index 00000000..443de73b --- /dev/null +++ b/assets/js/49044b90.09dd9432.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1659],{43138:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>p,default:()=>h,frontMatter:()=>d,metadata:()=>i,toc:()=>m});const i=JSON.parse('{"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":false,"unlisted":false,"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"}}');var a=s(74848),l=s(28453),n=s(85819);const r=JSON.parse('{"timing":{"repeat":{"dayOfWeek":["mon","fri"]}}}');var o=s(11470),c=s(19365),u=s(816);const d={description:"Multiple items",title:"\ud83d\udcc5 Multiple items"},p=void 0,f={},m=[];function g(e){return(0,a.jsxs)(o.A,{children:[(0,a.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(u.A,{dosage:r})}),(0,a.jsx)(c.A,{value:"json",label:"Dosage",children:(0,a.jsx)(n.default,{language:"json",children:JSON.stringify(r,null,2)})})]})}function h(e={}){const{wrapper:t}={...(0,l.R)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(g,{...e})}):g()}},816:(e,t,s)=>{s.d(t,{A:()=>o});var i=s(96540),a=s(76300),l=s(52376),n=s(85819),r=s(74848);function o(e){let{dosage:t,config:s}=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 a.U.build({...s});f(e)}()}),[s]),(0,i.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(t);c(e)}}()}),[t,p]);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(p){await p.changeLanguage(u);const e=p.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(n.default,{language:"markup",children:(m=o,(0,l.decode)(m))})})]});var m}}}]); \ No newline at end of file diff --git a/assets/js/49044b90.7e3ff0c0.js b/assets/js/49044b90.7e3ff0c0.js deleted file mode 100644 index 292eae9d..00000000 --- a/assets/js/49044b90.7e3ff0c0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1659],{95725:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>d,default:()=>h,frontMatter:()=>u,metadata:()=>p,toc:()=>m});var i=s(74848),a=s(28453),n=s(85819);const l=JSON.parse('{"timing":{"repeat":{"dayOfWeek":["mon","fri"]}}}');var r=s(11470),o=s(19365),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:()=>o});var i=s(96540),a=s(76300),n=s(52376),l=s(85819),r=s(74848);function o(e){let{dosage:t,config:s}=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 a.U.build({...s});f(e)}()}),[s]),(0,i.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(t);c(e)}}()}),[t,p]);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(p){await p.changeLanguage(u);const e=p.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(l.default,{language:"markup",children:(m=o,(0,n.decode)(m))})})]});var m}}}]); \ No newline at end of file diff --git a/assets/js/4cbe19c8.1f3d4924.js b/assets/js/4cbe19c8.1f3d4924.js new file mode 100644 index 00000000..223a187a --- /dev/null +++ b/assets/js/4cbe19c8.1f3d4924.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9832],{77015:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>f,contentTitle:()=>p,default:()=>x,frontMatter:()=>d,metadata:()=>n,toc:()=>h});const n=JSON.parse('{"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":false,"unlisted":false,"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"}}');var i=t(74848),u=t(28453),a=t(85819);const c=JSON.parse('[{"text":"Instructions 1"},{"text":"Instructions 2"}]');var o=t(11470),r=t(19365),l=t(18264);const d={description:"Sequential instructions, without sequence",title:"\u27a1\ufe0f sequence (Sequential instructions 2)"},p=void 0,f={},h=[];function g(e){return(0,i.jsxs)(o.A,{children:[(0,i.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(l.A,{dosages:c,config:{displayOrder:["text"]}})}),(0,i.jsx)(r.A,{value:"json",label:"Dosage",children:(0,i.jsx)(a.default,{language:"json",children:JSON.stringify(c,null,2)})})]})}function x(e={}){const{wrapper:s}={...(0,u.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(g,{...e})}):g()}},18264:(e,s,t)=>{t.d(s,{A:()=>o});var n=t(96540),i=t(76300),u=t(52376),a=t(85819),c=t(74848);function o(e){let{dosages:s,config:t}=e;const[o,r]=(0,n.useState)(""),[l,d]=(0,n.useState)(t?.language||"en"),[p,f]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await i.U.build({...t});f(e)}()}),[t]),(0,n.useEffect)((()=>{!async function(){if(p){const e=p.fromMultipleDosageToText(s);r(e)}}()}),[s,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(s);r(e)}},children:"Confirm"})]}),(0,c.jsx)("div",{style:{marginTop:"10px"},children:(0,c.jsx)(a.default,{language:"markup",children:(h=o,(0,u.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/4cbe19c8.4cdcb2af.js b/assets/js/4cbe19c8.4cdcb2af.js deleted file mode 100644 index a18607ff..00000000 --- a/assets/js/4cbe19c8.4cdcb2af.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9832],{59477:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>h,contentTitle:()=>d,default:()=>x,frontMatter:()=>l,metadata:()=>p,toc:()=>f});var n=s(74848),i=s(28453),u=s(85819);const c=JSON.parse('[{"text":"Instructions 1"},{"text":"Instructions 2"}]');var a=s(11470),o=s(19365),r=s(18264);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"}},h={},f=[];function g(e){return(0,n.jsxs)(a.A,{children:[(0,n.jsx)(o.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(r.A,{dosages:c,config:{displayOrder:["text"]}})}),(0,n.jsx)(o.A,{value:"json",label:"Dosage",children:(0,n.jsx)(u.default,{language:"json",children:JSON.stringify(c,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()}},18264:(e,t,s)=>{s.d(t,{A:()=>o});var n=s(96540),i=s(76300),u=s(52376),c=s(85819),a=s(74848);function o(e){let{dosages:t,config:s}=e;const[o,r]=(0,n.useState)(""),[l,d]=(0,n.useState)(s?.language||"en"),[p,h]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await i.U.build({...s});h(e)}()}),[s]),(0,n.useEffect)((()=>{!async function(){if(p){const e=p.fromMultipleDosageToText(t);r(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);r(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(c.default,{language:"markup",children:(f=o,(0,u.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/4e847481.43a03ae7.js b/assets/js/4e847481.43a03ae7.js deleted file mode 100644 index 23726eff..00000000 --- a/assets/js/4e847481.43a03ae7.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9646],{15226:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>g,frontMatter:()=>l,metadata:()=>m,toc:()=>h});var n=s(74848),i=s(28453),o=s(85819);const d=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 r=s(11470),a=s(19365),c=s(18264);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 x(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/medicationrequest0307.html",children:"HL7"}),' - "Order with as needed (PRN) dosage - Percocet - completed with link to encounter, dispenseRequest and substitution"']})}),"\n",(0,n.jsxs)(r.A,{children:[(0,n.jsx)(a.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(c.A,{dosages:d,config:{}})}),(0,n.jsx)(a.A,{value:"json",label:"Dosage",children:(0,n.jsx)(o.default,{language:"json",children:JSON.stringify(d,null,2)})})]})]})}function g(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(x,{...e})}):x(e)}},18264:(e,t,s)=>{s.d(t,{A:()=>a});var n=s(96540),i=s(76300),o=s(52376),d=s(85819),r=s(74848);function a(e){let{dosages:t,config:s}=e;const[a,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.U.build({...s});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)(d.default,{language:"markup",children:(h=a,(0,o.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/4e847481.d1f13cc5.js b/assets/js/4e847481.d1f13cc5.js new file mode 100644 index 00000000..f1785e7c --- /dev/null +++ b/assets/js/4e847481.d1f13cc5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9646],{21538:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>p,contentTitle:()=>m,default:()=>g,frontMatter:()=>u,metadata:()=>n,toc:()=>h});const n=JSON.parse('{"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":false,"unlisted":false,"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"}}');var i=s(74848),o=s(28453),d=s(85819);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 a=s(11470),c=s(19365),l=s(18264);const u={description:"Order with as needed (PRN) dosage - Percocet - completed with link to encounter, dispenseRequest and substitution",title:"medrx0307"},m=void 0,p={},h=[];function x(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/medicationrequest0307.html",children:"HL7"}),' - "Order with as needed (PRN) dosage - Percocet - completed with link to encounter, dispenseRequest and substitution"']})}),"\n",(0,i.jsxs)(a.A,{children:[(0,i.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(l.A,{dosages:r,config:{}})}),(0,i.jsx)(c.A,{value:"json",label:"Dosage",children:(0,i.jsx)(d.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function g(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(x,{...e})}):x(e)}},18264:(e,t,s)=>{s.d(t,{A:()=>a});var n=s(96540),i=s(76300),o=s(52376),d=s(85819),r=s(74848);function a(e){let{dosages:t,config:s}=e;const[a,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.U.build({...s});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)(d.default,{language:"markup",children:(h=a,(0,o.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/4eb59f15.0f52bdd4.js b/assets/js/4eb59f15.0f52bdd4.js new file mode 100644 index 00000000..20446436 --- /dev/null +++ b/assets/js/4eb59f15.0f52bdd4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9218],{22603:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>m,default:()=>h,frontMatter:()=>u,metadata:()=>a,toc:()=>p});const a=JSON.parse('{"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":false,"unlisted":false,"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"}}');var n=s(74848),i=s(28453),r=s(85819);const o=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 d=s(11470),l=s(19365),c=s(18264);const u={description:"Request for a Dosage that needs to be dispensed as different strength tablets - Warfarin - active",title:"medrx0331"},m=void 0,f={},p=[];function x(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/medicationrequest0331.html",children:"HL7"}),' - "Request for a Dosage that needs to be dispensed as different strength tablets - Warfarin - active"']})}),"\n",(0,n.jsxs)(d.A,{children:[(0,n.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(c.A,{dosages:o,config:{}})}),(0,n.jsx)(l.A,{value:"json",label:"Dosage",children:(0,n.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,n.jsx)(t,{...e,children:(0,n.jsx)(x,{...e})}):x(e)}},18264:(e,t,s)=>{s.d(t,{A:()=>d});var a=s(96540),n=s(76300),i=s(52376),r=s(85819),o=s(74848);function d(e){let{dosages:t,config:s}=e;const[d,l]=(0,a.useState)(""),[c,u]=(0,a.useState)(s?.language||"en"),[m,f]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await n.U.build({...s});f(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:(p=d,(0,i.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/4eb59f15.b5d5e048.js b/assets/js/4eb59f15.b5d5e048.js deleted file mode 100644 index 9a5dcccf..00000000 --- a/assets/js/4eb59f15.b5d5e048.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9218],{59064:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>h,frontMatter:()=>c,metadata:()=>m,toc:()=>f});var a=s(74848),n=s(28453),i=s(85819);const r=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(11470),d=s(19365),l=s(18264);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"}},p={},f=[];function x(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:r,config:{}})}),(0,a.jsx)(d.A,{value:"json",label:"Dosage",children:(0,a.jsx)(i.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function h(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(x,{...e})}):x(e)}},18264:(e,t,s)=>{s.d(t,{A:()=>d});var a=s(96540),n=s(76300),i=s(52376),r=s(85819),o=s(74848);function d(e){let{dosages:t,config:s}=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.U.build({...s});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:(f=d,(0,i.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/4faaf014.6e1e5275.js b/assets/js/4faaf014.6e1e5275.js deleted file mode 100644 index 28638bee..00000000 --- a/assets/js/4faaf014.6e1e5275.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6734],{9647:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>x,frontMatter:()=>c,metadata:()=>m,toc:()=>h});var i=s(74848),o=s(28453),n=s(85819);const d=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 r=s(11470),a=s(19365),l=s(18264);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,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/medicationrequest0302.html",children:"HL7"}),' - "Active Order with link to encounter, reasonCode, note multiple dosage lines, dispenseRequest and substitution - Azithromycin"']})}),"\n",(0,i.jsxs)(r.A,{children:[(0,i.jsx)(a.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(l.A,{dosages:d,config:{}})}),(0,i.jsx)(a.A,{value:"json",label:"Dosage",children:(0,i.jsx)(n.default,{language:"json",children:JSON.stringify(d,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)}},18264:(e,t,s)=>{s.d(t,{A:()=>a});var i=s(96540),o=s(76300),n=s(52376),d=s(85819),r=s(74848);function a(e){let{dosages:t,config:s}=e;const[a,l]=(0,i.useState)(""),[c,u]=(0,i.useState)(s?.language||"en"),[m,p]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await o.U.build({...s});p(e)}()}),[s]),(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)(d.default,{language:"markup",children:(h=a,(0,n.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/4faaf014.b71d2278.js b/assets/js/4faaf014.b71d2278.js new file mode 100644 index 00000000..4e6d8f87 --- /dev/null +++ b/assets/js/4faaf014.b71d2278.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6734],{46353:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>p,contentTitle:()=>m,default:()=>x,frontMatter:()=>u,metadata:()=>o,toc:()=>h});const o=JSON.parse('{"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":false,"unlisted":false,"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"}}');var i=s(74848),n=s(28453),d=s(85819);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 a=s(11470),l=s(19365),c=s(18264);const u={description:"Active Order with link to encounter, reasonCode, note multiple dosage lines, dispenseRequest and substitution - Azithromycin",title:"medrx0302"},m=void 0,p={},h=[];function g(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/medicationrequest0302.html",children:"HL7"}),' - "Active Order with link to encounter, reasonCode, note multiple dosage lines, dispenseRequest and substitution - Azithromycin"']})}),"\n",(0,i.jsxs)(a.A,{children:[(0,i.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(c.A,{dosages:r,config:{}})}),(0,i.jsx)(l.A,{value:"json",label:"Dosage",children:(0,i.jsx)(d.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function x(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(g,{...e})}):g(e)}},18264:(e,t,s)=>{s.d(t,{A:()=>a});var o=s(96540),i=s(76300),n=s(52376),d=s(85819),r=s(74848);function a(e){let{dosages:t,config:s}=e;const[a,l]=(0,o.useState)(""),[c,u]=(0,o.useState)(s?.language||"en"),[m,p]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await i.U.build({...s});p(e)}()}),[s]),(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)(d.default,{language:"markup",children:(h=a,(0,n.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/533a8e17.4aa6c23b.js b/assets/js/533a8e17.4aa6c23b.js new file mode 100644 index 00000000..523ef2d3 --- /dev/null +++ b/assets/js/533a8e17.4aa6c23b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1290],{89960:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>g,contentTitle:()=>f,default:()=>h,frontMatter:()=>u,metadata:()=>n,toc:()=>m});const n=JSON.parse('{"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":false,"unlisted":false,"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"}}');var r=o(74848),i=o(28453),a=o(85819),s=o(85286),c=o(11470),d=o(19365),l=o(816);const u={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"},f=void 0,g={},m=[];function p(e){const t={code:"code",pre:"pre",...(0,i.R)(),...e.components};return(0,r.jsxs)(c.A,{children:[(0,r.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,r.jsx)(l.A,{dosage:s,config:{fromCodeableConceptToString:({language:e,code:t})=>{if(void 0===t)return;if(void 0===t.coding||0===t.coding.length)return t.text;let o=t.coding[0];return`${e} translation of ${o.code} (${o.system})`}}})}),(0,r.jsx)(d.A,{value:"json",label:"Dosage",children:(0,r.jsx)(a.default,{language:"json",children:JSON.stringify(s,null,2)})}),(0,r.jsx)(d.A,{value:"config",label:"Configuration",children:(0,r.jsx)(t.pre,{children:(0,r.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,i.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(p,{...e})}):p(e)}},816:(e,t,o)=>{o.d(t,{A:()=>c});var n=o(96540),r=o(76300),i=o(52376),a=o(85819),s=o(74848);function c(e){let{dosage:t,config:o}=e;const[c,d]=(0,n.useState)(""),[l,u]=(0,n.useState)(o?.language||"en"),[f,g]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await r.U.build({...o});g(e)}()}),[o]),(0,n.useEffect)((()=>{!async function(){if(f){const e=f.fromDosageToText(t);d(e)}}()}),[t,f]);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(f){await f.changeLanguage(l);const e=f.fromDosageToText(t);d(e)}},children:"Confirm"})]}),(0,s.jsx)("div",{style:{marginTop:"10px"},children:(0,s.jsx)(a.default,{language:"markup",children:(m=c,(0,i.decode)(m))})})]});var m}},85286: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.f9eaccaf.js b/assets/js/533a8e17.f9eaccaf.js deleted file mode 100644 index 1f6a5711..00000000 --- a/assets/js/533a8e17.f9eaccaf.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1290],{29322:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>f,contentTitle:()=>u,default:()=>h,frontMatter:()=>l,metadata:()=>g,toc:()=>m});var n=o(74848),r=o(28453),i=o(85819),a=o(85286),s=o(11470),c=o(19365),d=o(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={},m=[];function p(e){const t={code:"code",pre:"pre",...(0,r.R)(),...e.components};return(0,n.jsxs)(s.A,{children:[(0,n.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.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 o=t.coding[0];return`${e} translation of ${o.code} (${o.system})`}}})}),(0,n.jsx)(c.A,{value:"json",label:"Dosage",children:(0,n.jsx)(i.default,{language:"json",children:JSON.stringify(a,null,2)})}),(0,n.jsx)(c.A,{value:"config",label:"Configuration",children:(0,n.jsx)(t.pre,{children:(0,n.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,n.jsx)(t,{...e,children:(0,n.jsx)(p,{...e})}):p(e)}},816:(e,t,o)=>{o.d(t,{A:()=>c});var n=o(96540),r=o(76300),i=o(52376),a=o(85819),s=o(74848);function c(e){let{dosage:t,config:o}=e;const[c,d]=(0,n.useState)(""),[l,u]=(0,n.useState)(o?.language||"en"),[g,f]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await r.U.build({...o});f(e)}()}),[o]),(0,n.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(t);d(e)}}()}),[t,g]);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(g){await g.changeLanguage(l);const e=g.fromDosageToText(t);d(e)}},children:"Confirm"})]}),(0,s.jsx)("div",{style:{marginTop:"10px"},children:(0,s.jsx)(a.default,{language:"markup",children:(m=c,(0,i.decode)(m))})})]});var m}},85286: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.0f5baacd.js b/assets/js/55373fd9.0f5baacd.js deleted file mode 100644 index 64b8ddfe..00000000 --- a/assets/js/55373fd9.0f5baacd.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5461],{12620:(e,s,a)=>{a.r(s),a.d(s,{assets:()=>f,contentTitle:()=>u,default:()=>x,frontMatter:()=>r,metadata:()=>p,toc:()=>h});var d=a(74848),t=a(28453),n=a(85819);const o=JSON.parse('{"asNeededBoolean":true}');var l=a(11470),i=a(19365),c=a(816);const r={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={},h=[];function g(e){return(0,d.jsxs)(l.A,{children:[(0,d.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,d.jsx)(c.A,{dosage:o})}),(0,d.jsx)(i.A,{value:"json",label:"Dosage",children:(0,d.jsx)(n.default,{language:"json",children:JSON.stringify(o,null,2)})})]})}function x(e={}){const{wrapper:s}={...(0,t.R)(),...e.components};return s?(0,d.jsx)(s,{...e,children:(0,d.jsx)(g,{...e})}):g()}},816:(e,s,a)=>{a.d(s,{A:()=>i});var d=a(96540),t=a(76300),n=a(52376),o=a(85819),l=a(74848);function i(e){let{dosage:s,config:a}=e;const[i,c]=(0,d.useState)(""),[r,u]=(0,d.useState)(a?.language||"en"),[p,f]=(0,d.useState)(null);(0,d.useEffect)((()=>{!async function(){const e=await t.U.build({...a});f(e)}()}),[a]),(0,d.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(s);c(e)}}()}),[s,p]);return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{style:{display:"flex"},children:[(0,l.jsxs)("select",{value:r,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(p){await p.changeLanguage(r);const e=p.fromDosageToText(s);c(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(o.default,{language:"markup",children:(h=i,(0,n.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/55373fd9.d9b4049f.js b/assets/js/55373fd9.d9b4049f.js new file mode 100644 index 00000000..b4052b7f --- /dev/null +++ b/assets/js/55373fd9.d9b4049f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5461],{93505:(e,s,a)=>{a.r(s),a.d(s,{assets:()=>f,contentTitle:()=>p,default:()=>x,frontMatter:()=>u,metadata:()=>t,toc:()=>h});const t=JSON.parse('{"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":false,"unlisted":false,"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"}}');var d=a(74848),n=a(28453),o=a(85819);const l=JSON.parse('{"asNeededBoolean":true}');var i=a(11470),c=a(19365),r=a(816);const u={description:"asNeededBoolean",title:"\u2705 asNeededBoolean"},p=void 0,f={},h=[];function g(e){return(0,d.jsxs)(i.A,{children:[(0,d.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,d.jsx)(r.A,{dosage:l})}),(0,d.jsx)(c.A,{value:"json",label:"Dosage",children:(0,d.jsx)(o.default,{language:"json",children:JSON.stringify(l,null,2)})})]})}function x(e={}){const{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,d.jsx)(s,{...e,children:(0,d.jsx)(g,{...e})}):g()}},816:(e,s,a)=>{a.d(s,{A:()=>i});var t=a(96540),d=a(76300),n=a(52376),o=a(85819),l=a(74848);function i(e){let{dosage:s,config:a}=e;const[i,c]=(0,t.useState)(""),[r,u]=(0,t.useState)(a?.language||"en"),[p,f]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await d.U.build({...a});f(e)}()}),[a]),(0,t.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(s);c(e)}}()}),[s,p]);return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{style:{display:"flex"},children:[(0,l.jsxs)("select",{value:r,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(p){await p.changeLanguage(r);const e=p.fromDosageToText(s);c(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(o.default,{language:"markup",children:(h=i,(0,n.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/5c2c208f.47cc8d6f.js b/assets/js/5c2c208f.47cc8d6f.js deleted file mode 100644 index 05348b23..00000000 --- a/assets/js/5c2c208f.47cc8d6f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3970],{90790:(e,s,a)=>{a.r(s),a.d(s,{assets:()=>f,contentTitle:()=>u,default:()=>x,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var t=a(74848),d=a(28453),n=a(85819);const i={asNeeded:!0};var o=a(11470),c=a(19365),r=a(816);const l={description:"asNeeded",title:"\ud83d\udccc asNeeded"},u=void 0,p={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"}},f={},g=[];function h(e){return(0,t.jsxs)(o.A,{children:[(0,t.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(r.A,{dosage:i})}),(0,t.jsx)(c.A,{value:"json",label:"Dosage",children:(0,t.jsx)(n.default,{language:"json",children:JSON.stringify(i,null,2)})})]})}function x(e={}){const{wrapper:s}={...(0,d.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:()=>c});var t=a(96540),d=a(76300),n=a(52376),i=a(85819),o=a(74848);function c(e){let{dosage:s,config:a}=e;const[c,r]=(0,t.useState)(""),[l,u]=(0,t.useState)(a?.language||"en"),[p,f]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await d.U.build({...a});f(e)}()}),[a]),(0,t.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(s);r(e)}}()}),[s,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(s);r(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(i.default,{language:"markup",children:(g=c,(0,n.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/5c2c208f.f5db59d6.js b/assets/js/5c2c208f.f5db59d6.js new file mode 100644 index 00000000..53719ea5 --- /dev/null +++ b/assets/js/5c2c208f.f5db59d6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3970],{51504:(e,s,a)=>{a.r(s),a.d(s,{assets:()=>p,contentTitle:()=>f,default:()=>x,frontMatter:()=>u,metadata:()=>t,toc:()=>g});const t=JSON.parse('{"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":false,"unlisted":false,"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"}}');var d=a(74848),n=a(28453),i=a(85819);const o={asNeeded:!0};var c=a(11470),l=a(19365),r=a(816);const u={description:"asNeeded",title:"\ud83d\udccc asNeeded"},f=void 0,p={},g=[];function h(e){return(0,d.jsxs)(c.A,{children:[(0,d.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,d.jsx)(r.A,{dosage:o})}),(0,d.jsx)(l.A,{value:"json",label:"Dosage",children:(0,d.jsx)(i.default,{language:"json",children:JSON.stringify(o,null,2)})})]})}function x(e={}){const{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,d.jsx)(s,{...e,children:(0,d.jsx)(h,{...e})}):h()}},816:(e,s,a)=>{a.d(s,{A:()=>c});var t=a(96540),d=a(76300),n=a(52376),i=a(85819),o=a(74848);function c(e){let{dosage:s,config:a}=e;const[c,l]=(0,t.useState)(""),[r,u]=(0,t.useState)(a?.language||"en"),[f,p]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await d.U.build({...a});p(e)}()}),[a]),(0,t.useEffect)((()=>{!async function(){if(f){const e=f.fromDosageToText(s);l(e)}}()}),[s,f]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:r,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(f){await f.changeLanguage(r);const e=f.fromDosageToText(s);l(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(i.default,{language:"markup",children:(g=c,(0,n.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/5f46c019.58a2ecec.js b/assets/js/5f46c019.58a2ecec.js new file mode 100644 index 00000000..34af080c --- /dev/null +++ b/assets/js/5f46c019.58a2ecec.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9059],{16928:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>p,default:()=>x,frontMatter:()=>d,metadata:()=>o,toc:()=>h});const o=JSON.parse('{"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":false,"unlisted":false,"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"}}');var n=s(74848),r=s(28453),a=s(85819);const i=JSON.parse('{"route":{"coding":[{"system":"http://hl7.org/fhir/ValueSet/route-codes","code":"26643006","display":"Oral route"}]}}');var c=s(11470),u=s(19365),l=s(816);const d={description:"route",title:"\ud83d\udee3\ufe0f route"},p=void 0,f={},h=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,r.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(c.A,{children:[(0,n.jsx)(u.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(l.A,{dosage:i})}),(0,n.jsx)(u.A,{value:"json",label:"Dosage",children:(0,n.jsx)(a.default,{language:"json",children:JSON.stringify(i,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/Config",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(g,{...e})}):g(e)}},816:(e,t,s)=>{s.d(t,{A:()=>c});var o=s(96540),n=s(76300),r=s(52376),a=s(85819),i=s(74848);function c(e){let{dosage:t,config:s}=e;const[c,u]=(0,o.useState)(""),[l,d]=(0,o.useState)(s?.language||"en"),[p,f]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await n.U.build({...s});f(e)}()}),[s]),(0,o.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(t);u(e)}}()}),[t,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.fromDosageToText(t);u(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(a.default,{language:"markup",children:(h=c,(0,r.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/5f46c019.6df3defc.js b/assets/js/5f46c019.6df3defc.js deleted file mode 100644 index 01d34506..00000000 --- a/assets/js/5f46c019.6df3defc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9059],{4847:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>d,default:()=>x,frontMatter:()=>l,metadata:()=>p,toc:()=>h});var o=s(74848),n=s(28453),r=s(85819);const a=JSON.parse('{"route":{"coding":[{"system":"http://hl7.org/fhir/ValueSet/route-codes","code":"26643006","display":"Oral route"}]}}');var i=s(11470),c=s(19365),u=s(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={},h=[];function g(e){const t={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)(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)(r.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/Config",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(g,{...e})}):g(e)}},816:(e,t,s)=>{s.d(t,{A:()=>c});var o=s(96540),n=s(76300),r=s(52376),a=s(85819),i=s(74848);function c(e){let{dosage:t,config:s}=e;const[c,u]=(0,o.useState)(""),[l,d]=(0,o.useState)(s?.language||"en"),[p,f]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await n.U.build({...s});f(e)}()}),[s]),(0,o.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(t);u(e)}}()}),[t,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.fromDosageToText(t);u(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(a.default,{language:"markup",children:(h=c,(0,r.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/614.a9a61b3c.js b/assets/js/614.a9a61b3c.js deleted file mode 100644 index 49138acf..00000000 --- a/assets/js/614.a9a61b3c.js +++ /dev/null @@ -1,160 +0,0 @@ -exports.id = 614; -exports.ids = [614,628]; -exports.modules = { - -/***/ 45628: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. - *--------------------------------------------------------------------------------------------*/ - - - -/***/ }), - -/***/ 47614: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var map = { - "./editorBaseApi": 93059, - "./editorBaseApi.js": 93059, - "./editorSimpleWorker": 14003, - "./editorSimpleWorker.js": 14003, - "./editorWorker": 90304, - "./editorWorker.js": 90304, - "./editorWorkerHost": 96358, - "./editorWorkerHost.js": 96358, - "./findSectionHeaders": 99307, - "./findSectionHeaders.js": 99307, - "./getIconClasses": 78148, - "./getIconClasses.js": 78148, - "./languageFeatureDebounce": 12060, - "./languageFeatureDebounce.js": 12060, - "./languageFeatures": 52230, - "./languageFeatures.js": 52230, - "./languageFeaturesService": 16127, - "./languageFeaturesService.js": 16127, - "./languageService": 83930, - "./languageService.js": 83930, - "./languagesAssociations": 55996, - "./languagesAssociations.js": 55996, - "./languagesRegistry": 66995, - "./languagesRegistry.js": 66995, - "./markerDecorations": 80886, - "./markerDecorations.js": 80886, - "./markerDecorationsService": 90011, - "./markerDecorationsService.js": 90011, - "./model": 64830, - "./model.js": 64830, - "./modelService": 40931, - "./modelService.js": 40931, - "./resolverService": 37042, - "./resolverService.js": 37042, - "./semanticTokensDto": 19376, - "./semanticTokensDto.js": 19376, - "./semanticTokensProviderStyling": 27642, - "./semanticTokensProviderStyling.js": 27642, - "./semanticTokensStyling": 82891, - "./semanticTokensStyling.js": 82891, - "./semanticTokensStylingService": 38148, - "./semanticTokensStylingService.js": 38148, - "./textModelSync/textModelSync.impl": 81171, - "./textModelSync/textModelSync.impl.js": 81171, - "./textModelSync/textModelSync.protocol": 45628, - "./textModelSync/textModelSync.protocol.js": 45628, - "./textResourceConfiguration": 41504, - "./textResourceConfiguration.js": 41504, - "./treeSitterParserService": 35320, - "./treeSitterParserService.js": 35320, - "./treeViewsDnd": 2603, - "./treeViewsDnd.js": 2603, - "./treeViewsDndService": 26756, - "./treeViewsDndService.js": 26756, - "./unicodeTextModelHighlighter": 49887, - "./unicodeTextModelHighlighter.js": 49887, - "monaco-editor/esm/vs/editor/common/services/editorBaseApi": 93059, - "monaco-editor/esm/vs/editor/common/services/editorBaseApi.js": 93059, - "monaco-editor/esm/vs/editor/common/services/editorSimpleWorker": 14003, - "monaco-editor/esm/vs/editor/common/services/editorSimpleWorker.js": 14003, - "monaco-editor/esm/vs/editor/common/services/editorWorker": 90304, - "monaco-editor/esm/vs/editor/common/services/editorWorker.js": 90304, - "monaco-editor/esm/vs/editor/common/services/editorWorkerHost": 96358, - "monaco-editor/esm/vs/editor/common/services/editorWorkerHost.js": 96358, - "monaco-editor/esm/vs/editor/common/services/findSectionHeaders": 99307, - "monaco-editor/esm/vs/editor/common/services/findSectionHeaders.js": 99307, - "monaco-editor/esm/vs/editor/common/services/getIconClasses": 78148, - "monaco-editor/esm/vs/editor/common/services/getIconClasses.js": 78148, - "monaco-editor/esm/vs/editor/common/services/languageFeatureDebounce": 12060, - "monaco-editor/esm/vs/editor/common/services/languageFeatureDebounce.js": 12060, - "monaco-editor/esm/vs/editor/common/services/languageFeatures": 52230, - "monaco-editor/esm/vs/editor/common/services/languageFeatures.js": 52230, - "monaco-editor/esm/vs/editor/common/services/languageFeaturesService": 16127, - "monaco-editor/esm/vs/editor/common/services/languageFeaturesService.js": 16127, - "monaco-editor/esm/vs/editor/common/services/languageService": 83930, - "monaco-editor/esm/vs/editor/common/services/languageService.js": 83930, - "monaco-editor/esm/vs/editor/common/services/languagesAssociations": 55996, - "monaco-editor/esm/vs/editor/common/services/languagesAssociations.js": 55996, - "monaco-editor/esm/vs/editor/common/services/languagesRegistry": 66995, - "monaco-editor/esm/vs/editor/common/services/languagesRegistry.js": 66995, - "monaco-editor/esm/vs/editor/common/services/markerDecorations": 80886, - "monaco-editor/esm/vs/editor/common/services/markerDecorations.js": 80886, - "monaco-editor/esm/vs/editor/common/services/markerDecorationsService": 90011, - "monaco-editor/esm/vs/editor/common/services/markerDecorationsService.js": 90011, - "monaco-editor/esm/vs/editor/common/services/model": 64830, - "monaco-editor/esm/vs/editor/common/services/model.js": 64830, - "monaco-editor/esm/vs/editor/common/services/modelService": 40931, - "monaco-editor/esm/vs/editor/common/services/modelService.js": 40931, - "monaco-editor/esm/vs/editor/common/services/resolverService": 37042, - "monaco-editor/esm/vs/editor/common/services/resolverService.js": 37042, - "monaco-editor/esm/vs/editor/common/services/semanticTokensDto": 19376, - "monaco-editor/esm/vs/editor/common/services/semanticTokensDto.js": 19376, - "monaco-editor/esm/vs/editor/common/services/semanticTokensProviderStyling": 27642, - "monaco-editor/esm/vs/editor/common/services/semanticTokensProviderStyling.js": 27642, - "monaco-editor/esm/vs/editor/common/services/semanticTokensStyling": 82891, - "monaco-editor/esm/vs/editor/common/services/semanticTokensStyling.js": 82891, - "monaco-editor/esm/vs/editor/common/services/semanticTokensStylingService": 38148, - "monaco-editor/esm/vs/editor/common/services/semanticTokensStylingService.js": 38148, - "monaco-editor/esm/vs/editor/common/services/textModelSync/textModelSync.impl": 81171, - "monaco-editor/esm/vs/editor/common/services/textModelSync/textModelSync.impl.js": 81171, - "monaco-editor/esm/vs/editor/common/services/textModelSync/textModelSync.protocol": 45628, - "monaco-editor/esm/vs/editor/common/services/textModelSync/textModelSync.protocol.js": 45628, - "monaco-editor/esm/vs/editor/common/services/textResourceConfiguration": 41504, - "monaco-editor/esm/vs/editor/common/services/textResourceConfiguration.js": 41504, - "monaco-editor/esm/vs/editor/common/services/treeSitterParserService": 35320, - "monaco-editor/esm/vs/editor/common/services/treeSitterParserService.js": 35320, - "monaco-editor/esm/vs/editor/common/services/treeViewsDnd": 2603, - "monaco-editor/esm/vs/editor/common/services/treeViewsDnd.js": 2603, - "monaco-editor/esm/vs/editor/common/services/treeViewsDndService": 26756, - "monaco-editor/esm/vs/editor/common/services/treeViewsDndService.js": 26756, - "monaco-editor/esm/vs/editor/common/services/unicodeTextModelHighlighter": 49887, - "monaco-editor/esm/vs/editor/common/services/unicodeTextModelHighlighter.js": 49887 -}; - - -function webpackContext(req) { - var id = webpackContextResolve(req); - return __webpack_require__(id); -} -function webpackContextResolve(req) { - if(!__webpack_require__.o(map, req)) { - var e = new Error("Cannot find module '" + req + "'"); - e.code = 'MODULE_NOT_FOUND'; - throw e; - } - return map[req]; -} -webpackContext.keys = function webpackContextKeys() { - return Object.keys(map); -}; -webpackContext.resolve = webpackContextResolve; -module.exports = webpackContext; -webpackContext.id = 47614; - -/***/ }) - -}; -; \ No newline at end of file diff --git a/assets/js/628.498b4a10.js b/assets/js/628.498b4a10.js deleted file mode 100644 index fc9734cf..00000000 --- a/assets/js/628.498b4a10.js +++ /dev/null @@ -1,20 +0,0 @@ -"use strict"; -exports.id = 628; -exports.ids = [628]; -exports.modules = { - -/***/ 45628: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. - *--------------------------------------------------------------------------------------------*/ - - - -/***/ }) - -}; -; \ No newline at end of file diff --git a/assets/js/6a4d8b82.6cbcfa2b.js b/assets/js/6a4d8b82.6cbcfa2b.js new file mode 100644 index 00000000..1eb1e778 --- /dev/null +++ b/assets/js/6a4d8b82.6cbcfa2b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9232],{86487:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>p,contentTitle:()=>m,default:()=>x,frontMatter:()=>u,metadata:()=>n,toc:()=>h});const n=JSON.parse('{"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":false,"unlisted":false,"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"}}');var s=i(74848),o=i(28453),r=i(85819);const a=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 d=i(11470),l=i(19365),c=i(18264);const u={description:"Request with a single dosage line - Azithromycin - completed - with link to prior prescription and reason code",title:"medrx0313"},m=void 0,p={},h=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,o.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/medicationrequest0313.html",children:"HL7"}),' - "Request with a single dosage line - Azithromycin - completed - with link to prior prescription and reason code"']})}),"\n",(0,s.jsxs)(d.A,{children:[(0,s.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(c.A,{dosages:a,config:{}})}),(0,s.jsx)(l.A,{value:"json",label:"Dosage",children:(0,s.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,s.jsx)(t,{...e,children:(0,s.jsx)(g,{...e})}):g(e)}},18264:(e,t,i)=>{i.d(t,{A:()=>d});var n=i(96540),s=i(76300),o=i(52376),r=i(85819),a=i(74848);function d(e){let{dosages:t,config:i}=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.U.build({...i});p(e)}()}),[i]),(0,n.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);l(e)}}()}),[t,m]);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(m){await m.changeLanguage(c);const e=m.fromMultipleDosageToText(t);l(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(r.default,{language:"markup",children:(h=d,(0,o.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/6a4d8b82.76b26a41.js b/assets/js/6a4d8b82.76b26a41.js deleted file mode 100644 index c0b05430..00000000 --- a/assets/js/6a4d8b82.76b26a41.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9232],{93377:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>x,frontMatter:()=>c,metadata:()=>m,toc:()=>h});var n=i(74848),s=i(28453),o=i(85819);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(11470),d=i(19365),l=i(18264);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)}},18264:(e,t,i)=>{i.d(t,{A:()=>d});var n=i(96540),s=i(76300),o=i(52376),r=i(85819),a=i(74848);function d(e){let{dosages:t,config:i}=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.U.build({...i});p(e)}()}),[i]),(0,n.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);l(e)}}()}),[t,m]);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(m){await m.changeLanguage(c);const e=m.fromMultipleDosageToText(t);l(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(r.default,{language:"markup",children:(h=d,(0,o.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/6bccb6a0.039d3be6.js b/assets/js/6bccb6a0.039d3be6.js deleted file mode 100644 index 7bf6378e..00000000 --- a/assets/js/6bccb6a0.039d3be6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1286],{46186:(t,e,n)=>{n.r(e),n.d(e,{assets:()=>p,contentTitle:()=>c,default:()=>h,frontMatter:()=>l,metadata:()=>x,toc:()=>f});var a=n(74848),i=n(28453),o=n(85819);const r=JSON.parse('{"timing":{"repeat":{"duration":3,"durationUnit":"d"}}}');var s=n(11470),u=n(19365),d=n(816);const l={description:"duration only",title:"\u23f0 duration"},c=void 0,x={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"}},p={},f=[];function g(t){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:r})}),(0,a.jsx)(u.A,{value:"json",label:"Dosage",children:(0,a.jsx)(o.default,{language:"json",children:JSON.stringify(r,null,2)})})]})}function h(t={}){const{wrapper:e}={...(0,i.R)(),...t.components};return e?(0,a.jsx)(e,{...t,children:(0,a.jsx)(g,{...t})}):g()}},816:(t,e,n)=>{n.d(e,{A:()=>u});var a=n(96540),i=n(76300),o=n(52376),r=n(85819),s=n(74848);function u(t){let{dosage:e,config:n}=t;const[u,d]=(0,a.useState)(""),[l,c]=(0,a.useState)(n?.language||"en"),[x,p]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const t=await i.U.build({...n});p(t)}()}),[n]),(0,a.useEffect)((()=>{!async function(){if(x){const t=x.fromDosageToText(e);d(t)}}()}),[e,x]);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsxs)("select",{value:l,onChange:t=>c(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(x){await x.changeLanguage(l);const t=x.fromDosageToText(e);d(t)}},children:"Confirm"})]}),(0,s.jsx)("div",{style:{marginTop:"10px"},children:(0,s.jsx)(r.default,{language:"markup",children:(f=u,(0,o.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/6bccb6a0.6f149253.js b/assets/js/6bccb6a0.6f149253.js new file mode 100644 index 00000000..8ac930ca --- /dev/null +++ b/assets/js/6bccb6a0.6f149253.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1286],{25402:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>x,default:()=>h,frontMatter:()=>c,metadata:()=>a,toc:()=>f});const a=JSON.parse('{"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":false,"unlisted":false,"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"}}');var i=n(74848),o=n(28453),s=n(85819);const r=JSON.parse('{"timing":{"repeat":{"duration":3,"durationUnit":"d"}}}');var u=n(11470),d=n(19365),l=n(816);const c={description:"duration only",title:"\u23f0 duration"},x=void 0,p={},f=[];function g(e){return(0,i.jsxs)(u.A,{children:[(0,i.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(l.A,{dosage:r})}),(0,i.jsx)(d.A,{value:"json",label:"Dosage",children:(0,i.jsx)(s.default,{language:"json",children:JSON.stringify(r,null,2)})})]})}function h(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(g,{...e})}):g()}},816:(e,t,n)=>{n.d(t,{A:()=>u});var a=n(96540),i=n(76300),o=n(52376),s=n(85819),r=n(74848);function u(e){let{dosage:t,config:n}=e;const[u,d]=(0,a.useState)(""),[l,c]=(0,a.useState)(n?.language||"en"),[x,p]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await i.U.build({...n});p(e)}()}),[n]),(0,a.useEffect)((()=>{!async function(){if(x){const e=x.fromDosageToText(t);d(e)}}()}),[t,x]);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(x){await x.changeLanguage(l);const e=x.fromDosageToText(t);d(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(s.default,{language:"markup",children:(f=u,(0,o.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/72a427b3.85d2da71.js b/assets/js/72a427b3.85d2da71.js deleted file mode 100644 index 73f00ff8..00000000 --- a/assets/js/72a427b3.85d2da71.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5643],{5451:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>c,contentTitle:()=>r,default:()=>l,frontMatter:()=>o,metadata:()=>u,toc:()=>d});var s=i(74848),n=i(28453);const o={title:"\ud83e\udde9 Contributing",description:"How to contribute in fhir-dosage-utils ?"},r=void 0,u={id:"contributing",title:"\ud83e\udde9 Contributing",description:"How to contribute in fhir-dosage-utils ?",source:"@site/docs/contributing.mdx",sourceDirName:".",slug:"/contributing",permalink:"/fhir-dosage-utils/docs/contributing",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/contributing.mdx",tags:[],version:"current",frontMatter:{title:"\ud83e\udde9 Contributing",description:"How to contribute in fhir-dosage-utils ?"},sidebar:"tutorialSidebar",previous:{title:"medrx0339",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0339"},next:{title:"\u2753 FAQ",permalink:"/fhir-dosage-utils/docs/faq"}},c={},d=[{value:"Guide",id:"guide",level:2},{value:"For questions / features requests / ...",id:"for-questions--features-requests--",level:2}];function a(e){const t={a:"a",h2:"h2",p:"p",...(0,n.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:"Since project is completly open source, any kind of contribution is welcome and highly appreciated."}),"\n",(0,s.jsx)(t.h2,{id:"guide",children:"Guide"}),"\n",(0,s.jsxs)(t.p,{children:["Check out the contribution guide on ",(0,s.jsx)(t.a,{href:"https://github.com/jy95/fhir-dosage-utils/blob/main/CONTRIBUTING.md",children:"GitHub"})]}),"\n",(0,s.jsx)(t.h2,{id:"for-questions--features-requests--",children:"For questions / features requests / ..."}),"\n",(0,s.jsxs)(t.p,{children:["Check out the discussions space on ",(0,s.jsx)(t.a,{href:"https://github.com/jy95/fhir-dosage-utils/discussions",children:"Github"})]})]})}function l(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}}}]); \ No newline at end of file diff --git a/assets/js/72a427b3.c4735c70.js b/assets/js/72a427b3.c4735c70.js new file mode 100644 index 00000000..d518580b --- /dev/null +++ b/assets/js/72a427b3.c4735c70.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5643],{93976:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>c,contentTitle:()=>u,default:()=>l,frontMatter:()=>r,metadata:()=>s,toc:()=>a});const s=JSON.parse('{"id":"contributing","title":"\ud83e\udde9 Contributing","description":"How to contribute in fhir-dosage-utils ?","source":"@site/docs/contributing.mdx","sourceDirName":".","slug":"/contributing","permalink":"/fhir-dosage-utils/docs/contributing","draft":false,"unlisted":false,"editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/contributing.mdx","tags":[],"version":"current","frontMatter":{"title":"\ud83e\udde9 Contributing","description":"How to contribute in fhir-dosage-utils ?"},"sidebar":"tutorialSidebar","previous":{"title":"medrx0339","permalink":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0339"},"next":{"title":"\u2753 FAQ","permalink":"/fhir-dosage-utils/docs/faq"}}');var n=i(74848),o=i(28453);const r={title:"\ud83e\udde9 Contributing",description:"How to contribute in fhir-dosage-utils ?"},u=void 0,c={},a=[{value:"Guide",id:"guide",level:2},{value:"For questions / features requests / ...",id:"for-questions--features-requests--",level:2}];function d(e){const t={a:"a",h2:"h2",p:"p",...(0,o.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.p,{children:"Since project is completly open source, any kind of contribution is welcome and highly appreciated."}),"\n",(0,n.jsx)(t.h2,{id:"guide",children:"Guide"}),"\n",(0,n.jsxs)(t.p,{children:["Check out the contribution guide on ",(0,n.jsx)(t.a,{href:"https://github.com/jy95/fhir-dosage-utils/blob/main/CONTRIBUTING.md",children:"GitHub"})]}),"\n",(0,n.jsx)(t.h2,{id:"for-questions--features-requests--",children:"For questions / features requests / ..."}),"\n",(0,n.jsxs)(t.p,{children:["Check out the discussions space on ",(0,n.jsx)(t.a,{href:"https://github.com/jy95/fhir-dosage-utils/discussions",children:"Github"})]})]})}function l(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}}}]); \ No newline at end of file diff --git a/assets/js/7614ce18.47f6181b.js b/assets/js/7614ce18.47f6181b.js deleted file mode 100644 index b2f33672..00000000 --- a/assets/js/7614ce18.47f6181b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1444],{70931:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>f,contentTitle:()=>m,default:()=>g,frontMatter:()=>d,metadata:()=>u,toc:()=>x});var s=i(74848),a=i(28453),n=i(85819);const o=JSON.parse('{"maxDosePerLifetime":{"value":3,"unit":"mg"}}');var r=i(11470),c=i(19365),l=i(816);const d={description:"maxDosePerLifetime",title:"\ud83d\udc96 maxDosePerLifetime"},m=void 0,u={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)(r.A,{children:[(0,s.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(l.A,{dosage:o})}),(0,s.jsx)(c.A,{value:"json",label:"Dosage",children:(0,s.jsx)(n.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/Config",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:()=>c});var s=i(96540),a=i(76300),n=i(52376),o=i(85819),r=i(74848);function c(e){let{dosage:t,config:i}=e;const[c,l]=(0,s.useState)(""),[d,m]=(0,s.useState)(i?.language||"en"),[u,f]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await a.U.build({...i});f(e)}()}),[i]),(0,s.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(t);l(e)}}()}),[t,u]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:d,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(d);const e=u.fromDosageToText(t);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(o.default,{language:"markup",children:(x=c,(0,n.decode)(x))})})]});var x}}}]); \ No newline at end of file diff --git a/assets/js/7614ce18.b43cd9d7.js b/assets/js/7614ce18.b43cd9d7.js new file mode 100644 index 00000000..c421717b --- /dev/null +++ b/assets/js/7614ce18.b43cd9d7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1444],{41445:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>f,contentTitle:()=>u,default:()=>g,frontMatter:()=>m,metadata:()=>s,toc:()=>x});const s=JSON.parse('{"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":false,"unlisted":false,"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"}}');var a=i(74848),n=i(28453),o=i(85819);const r=JSON.parse('{"maxDosePerLifetime":{"value":3,"unit":"mg"}}');var c=i(11470),l=i(19365),d=i(816);const m={description:"maxDosePerLifetime",title:"\ud83d\udc96 maxDosePerLifetime"},u=void 0,f={},x=[];function p(e){const t={a:"a",admonition:"admonition",p:"p",...(0,n.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(c.A,{children:[(0,a.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(d.A,{dosage:r})}),(0,a.jsx)(l.A,{value:"json",label:"Dosage",children:(0,a.jsx)(o.default,{language:"json",children:JSON.stringify(r,null,2)})})]}),"\n",(0,a.jsx)(t.admonition,{type:"tip",children:(0,a.jsxs)(t.p,{children:["Don't forget you can use ",(0,a.jsx)(t.a,{href:"/api/interface/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function g(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(p,{...e})}):p(e)}},816:(e,t,i)=>{i.d(t,{A:()=>c});var s=i(96540),a=i(76300),n=i(52376),o=i(85819),r=i(74848);function c(e){let{dosage:t,config:i}=e;const[c,l]=(0,s.useState)(""),[d,m]=(0,s.useState)(i?.language||"en"),[u,f]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await a.U.build({...i});f(e)}()}),[i]),(0,s.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(t);l(e)}}()}),[t,u]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:d,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(d);const e=u.fromDosageToText(t);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(o.default,{language:"markup",children:(x=c,(0,n.decode)(x))})})]});var x}}}]); \ No newline at end of file diff --git a/assets/js/76aa043d.38408240.js b/assets/js/76aa043d.38408240.js deleted file mode 100644 index 318fca40..00000000 --- a/assets/js/76aa043d.38408240.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6751],{47374:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>h,contentTitle:()=>d,default:()=>g,frontMatter:()=>l,metadata:()=>p,toc:()=>f});var n=t(74848),i=t(28453),c=t(85819);const u=JSON.parse('[{"sequence":1,"text":"Instructions 1"},{"sequence":2,"text":"Instructions 2"}]');var a=t(11470),r=t(19365),o=t(18264);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"}},h={},f=[];function q(e){return(0,n.jsxs)(a.A,{children:[(0,n.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(o.A,{dosages:u,config:{displayOrder:["text"]}})}),(0,n.jsx)(r.A,{value:"json",label:"Dosage",children:(0,n.jsx)(c.default,{language:"json",children:JSON.stringify(u,null,2)})})]})}function g(e={}){const{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(q,{...e})}):q()}},18264:(e,s,t)=>{t.d(s,{A:()=>r});var n=t(96540),i=t(76300),c=t(52376),u=t(85819),a=t(74848);function r(e){let{dosages:s,config:t}=e;const[r,o]=(0,n.useState)(""),[l,d]=(0,n.useState)(t?.language||"en"),[p,h]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await i.U.build({...t});h(e)}()}),[t]),(0,n.useEffect)((()=>{!async function(){if(p){const e=p.fromMultipleDosageToText(s);o(e)}}()}),[s,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(s);o(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(u.default,{language:"markup",children:(f=r,(0,c.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/76aa043d.dff7b834.js b/assets/js/76aa043d.dff7b834.js new file mode 100644 index 00000000..83f6008a --- /dev/null +++ b/assets/js/76aa043d.dff7b834.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6751],{28328:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>f,contentTitle:()=>p,default:()=>g,frontMatter:()=>d,metadata:()=>n,toc:()=>h});const n=JSON.parse('{"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":false,"unlisted":false,"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"}}');var i=t(74848),c=t(28453),u=t(85819);const a=JSON.parse('[{"sequence":1,"text":"Instructions 1"},{"sequence":2,"text":"Instructions 2"}]');var r=t(11470),o=t(19365),l=t(18264);const d={description:"Sequential instructions, with sequence",title:"\u27a1\ufe0f sequence (Sequential instructions 1)"},p=void 0,f={},h=[];function q(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)(l.A,{dosages:a,config:{displayOrder:["text"]}})}),(0,i.jsx)(o.A,{value:"json",label:"Dosage",children:(0,i.jsx)(u.default,{language:"json",children:JSON.stringify(a,null,2)})})]})}function g(e={}){const{wrapper:s}={...(0,c.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(q,{...e})}):q()}},18264:(e,s,t)=>{t.d(s,{A:()=>r});var n=t(96540),i=t(76300),c=t(52376),u=t(85819),a=t(74848);function r(e){let{dosages:s,config:t}=e;const[r,o]=(0,n.useState)(""),[l,d]=(0,n.useState)(t?.language||"en"),[p,f]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await i.U.build({...t});f(e)}()}),[t]),(0,n.useEffect)((()=>{!async function(){if(p){const e=p.fromMultipleDosageToText(s);o(e)}}()}),[s,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(s);o(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(u.default,{language:"markup",children:(h=r,(0,c.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/774b774e.0ba1486a.js b/assets/js/774b774e.0ba1486a.js deleted file mode 100644 index 70c4832e..00000000 --- a/assets/js/774b774e.0ba1486a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5648],{2934:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>y,contentTitle:()=>d,default:()=>g,frontMatter:()=>l,metadata:()=>f,toc:()=>x});var s=t(74848),r=t(28453),a=t(85819);const c=JSON.parse('{"timing":{"repeat":{"frequency":3}}}');var u=t(11470),i=t(19365),o=t(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={},x=[];function p(e){return(0,s.jsxs)(u.A,{children:[(0,s.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(o.A,{dosage:c})}),(0,s.jsx)(i.A,{value:"json",label:"Dosage",children:(0,s.jsx)(a.default,{language:"json",children:JSON.stringify(c,null,2)})})]})}function g(e={}){const{wrapper:n}={...(0,r.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:()=>i});var s=t(96540),r=t(76300),a=t(52376),c=t(85819),u=t(74848);function i(e){let{dosage:n,config:t}=e;const[i,o]=(0,s.useState)(""),[l,d]=(0,s.useState)(t?.language||"en"),[f,y]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await r.U.build({...t});y(e)}()}),[t]),(0,s.useEffect)((()=>{!async function(){if(f){const e=f.fromDosageToText(n);o(e)}}()}),[n,f]);return(0,u.jsxs)("div",{children:[(0,u.jsxs)("div",{style:{display:"flex"},children:[(0,u.jsxs)("select",{value:l,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,u.jsx)("option",{value:"en",children:"English"}),(0,u.jsx)("option",{value:"fr",children:"French"}),(0,u.jsx)("option",{value:"nl",children:"Dutch"}),(0,u.jsx)("option",{value:"de",children:"German"})]}),(0,u.jsx)("button",{onClick:async()=>{if(f){await f.changeLanguage(l);const e=f.fromDosageToText(n);o(e)}},children:"Confirm"})]}),(0,u.jsx)("div",{style:{marginTop:"10px"},children:(0,u.jsx)(c.default,{language:"markup",children:(x=i,(0,a.decode)(x))})})]});var x}}}]); \ No newline at end of file diff --git a/assets/js/774b774e.62004c09.js b/assets/js/774b774e.62004c09.js new file mode 100644 index 00000000..d564e4f4 --- /dev/null +++ b/assets/js/774b774e.62004c09.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5648],{91380:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>y,contentTitle:()=>f,default:()=>g,frontMatter:()=>d,metadata:()=>t,toc:()=>x});const t=JSON.parse('{"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":false,"unlisted":false,"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"}}');var r=s(74848),a=s(28453),c=s(85819);const u=JSON.parse('{"timing":{"repeat":{"frequency":3}}}');var i=s(11470),o=s(19365),l=s(816);const d={description:"frequency only",title:"\ud83d\udd01 frequency"},f=void 0,y={},x=[];function p(e){return(0,r.jsxs)(i.A,{children:[(0,r.jsx)(o.A,{value:"text",label:"Human readable text",default:!0,children:(0,r.jsx)(l.A,{dosage:u})}),(0,r.jsx)(o.A,{value:"json",label:"Dosage",children:(0,r.jsx)(c.default,{language:"json",children:JSON.stringify(u,null,2)})})]})}function g(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(p,{...e})}):p()}},816:(e,n,s)=>{s.d(n,{A:()=>i});var t=s(96540),r=s(76300),a=s(52376),c=s(85819),u=s(74848);function i(e){let{dosage:n,config:s}=e;const[i,o]=(0,t.useState)(""),[l,d]=(0,t.useState)(s?.language||"en"),[f,y]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await r.U.build({...s});y(e)}()}),[s]),(0,t.useEffect)((()=>{!async function(){if(f){const e=f.fromDosageToText(n);o(e)}}()}),[n,f]);return(0,u.jsxs)("div",{children:[(0,u.jsxs)("div",{style:{display:"flex"},children:[(0,u.jsxs)("select",{value:l,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,u.jsx)("option",{value:"en",children:"English"}),(0,u.jsx)("option",{value:"fr",children:"French"}),(0,u.jsx)("option",{value:"nl",children:"Dutch"}),(0,u.jsx)("option",{value:"de",children:"German"})]}),(0,u.jsx)("button",{onClick:async()=>{if(f){await f.changeLanguage(l);const e=f.fromDosageToText(n);o(e)}},children:"Confirm"})]}),(0,u.jsx)("div",{style:{marginTop:"10px"},children:(0,u.jsx)(c.default,{language:"markup",children:(x=i,(0,a.decode)(x))})})]});var x}}}]); \ No newline at end of file diff --git a/assets/js/78f84b63.c5fffeec.js b/assets/js/78f84b63.c5fffeec.js deleted file mode 100644 index 9dfb87c7..00000000 --- a/assets/js/78f84b63.c5fffeec.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2683],{97913:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>f,contentTitle:()=>c,default:()=>y,frontMatter:()=>l,metadata:()=>m,toc:()=>p});var n=o(74848),s=o(28453),a=o(85819),i=o(69763),r=o(11470),d=o(19365),u=o(18264);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 h(e){const t={code:"code",pre:"pre",...(0,s.R)(),...e.components};return(0,n.jsxs)(r.A,{children:[(0,n.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(u.A,{dosages:i,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)(a.default,{language:"json",children:JSON.stringify(i,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 y(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},18264:(e,t,o)=>{o.d(t,{A:()=>d});var n=o(96540),s=o(76300),a=o(52376),i=o(85819),r=o(74848);function d(e){let{dosages:t,config:o}=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 s.U.build({...o});f(e)}()}),[o]),(0,n.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);u(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=>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(m){await m.changeLanguage(l);const e=m.fromMultipleDosageToText(t);u(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(i.default,{language:"markup",children:(p=d,(0,a.decode)(p))})})]});var p}},69763: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/78f84b63.ec5d197f.js b/assets/js/78f84b63.ec5d197f.js new file mode 100644 index 00000000..9a733a85 --- /dev/null +++ b/assets/js/78f84b63.ec5d197f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2683],{91426:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>f,contentTitle:()=>m,default:()=>y,frontMatter:()=>c,metadata:()=>n,toc:()=>p});const n=JSON.parse('{"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":false,"unlisted":false,"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"}}');var s=o(74848),a=o(28453),r=o(85819),i=o(69763),d=o(11470),u=o(19365),l=o(18264);const c={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"},m=void 0,f={},p=[];function h(e){const t={code:"code",pre:"pre",...(0,a.R)(),...e.components};return(0,s.jsxs)(d.A,{children:[(0,s.jsx)(u.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(l.A,{dosages:i,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,s.jsx)(u.A,{value:"json",label:"Dosage",children:(0,s.jsx)(r.default,{language:"json",children:JSON.stringify(i,null,2)})}),(0,s.jsx)(u.A,{value:"config",label:"Configuration",children:(0,s.jsx)(t.pre,{children:(0,s.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 y(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},18264:(e,t,o)=>{o.d(t,{A:()=>d});var n=o(96540),s=o(76300),a=o(52376),r=o(85819),i=o(74848);function d(e){let{dosages:t,config:o}=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 s.U.build({...o});f(e)}()}),[o]),(0,n.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);u(e)}}()}),[t,m]);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(m){await m.changeLanguage(l);const e=m.fromMultipleDosageToText(t);u(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(r.default,{language:"markup",children:(p=d,(0,a.decode)(p))})})]});var p}},69763: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.20f38d63.js b/assets/js/7ebf62b0.20f38d63.js deleted file mode 100644 index 4a17e8da..00000000 --- a/assets/js/7ebf62b0.20f38d63.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[417],{75660:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>l,default:()=>y,frontMatter:()=>c,metadata:()=>p,toc:()=>g});var s=n(74848),a=n(28453),i=n(85819);const o=JSON.parse('{"doseAndRate":[{"doseQuantity":{"value":3,"unit":"pills"}}]}');var d=n(11470),r=n(19365),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)(d.A,{children:[(0,s.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(u.A,{dosage:o})}),(0,s.jsx)(r.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/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function y(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(96540),a=n(76300),i=n(52376),o=n(85819),d=n(74848);function r(e){let{dosage:t,config:n}=e;const[r,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.U.build({...n});f(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(t);u(e)}}()}),[t,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(t);u(e)}},children:"Confirm"})]}),(0,d.jsx)("div",{style:{marginTop:"10px"},children:(0,d.jsx)(o.default,{language:"markup",children:(g=r,(0,i.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/7ebf62b0.54ae80af.js b/assets/js/7ebf62b0.54ae80af.js new file mode 100644 index 00000000..e64a2897 --- /dev/null +++ b/assets/js/7ebf62b0.54ae80af.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[417],{36658:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>p,default:()=>y,frontMatter:()=>l,metadata:()=>n,toc:()=>g});const n=JSON.parse('{"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":false,"unlisted":false,"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"}}');var a=s(74848),i=s(28453),o=s(85819);const d=JSON.parse('{"doseAndRate":[{"doseQuantity":{"value":3,"unit":"pills"}}]}');var r=s(11470),u=s(19365),c=s(816);const l={description:"doseQuantity",title:"\ud83d\udc8a doseQuantity"},p=void 0,f={},g=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(r.A,{children:[(0,a.jsx)(u.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(c.A,{dosage:d})}),(0,a.jsx)(u.A,{value:"json",label:"Dosage",children:(0,a.jsx)(o.default,{language:"json",children:JSON.stringify(d,null,2)})})]}),"\n",(0,a.jsx)(t.admonition,{type:"tip",children:(0,a.jsxs)(t.p,{children:["Don't forget you can use ",(0,a.jsx)(t.a,{href:"/api/interface/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function y(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(h,{...e})}):h(e)}},816:(e,t,s)=>{s.d(t,{A:()=>r});var n=s(96540),a=s(76300),i=s(52376),o=s(85819),d=s(74848);function r(e){let{dosage:t,config:s}=e;const[r,u]=(0,n.useState)(""),[c,l]=(0,n.useState)(s?.language||"en"),[p,f]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await a.U.build({...s});f(e)}()}),[s]),(0,n.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(t);u(e)}}()}),[t,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(t);u(e)}},children:"Confirm"})]}),(0,d.jsx)("div",{style:{marginTop:"10px"},children:(0,d.jsx)(o.default,{language:"markup",children:(g=r,(0,i.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/829c17da.64c4f7db.js b/assets/js/829c17da.64c4f7db.js deleted file mode 100644 index 3bcdd1d4..00000000 --- a/assets/js/829c17da.64c4f7db.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8516],{43172:(n,t,e)=>{e.r(t),e.d(t,{assets:()=>p,contentTitle:()=>d,default:()=>h,frontMatter:()=>r,metadata:()=>x,toc:()=>f});var o=e(74848),a=e(28453),s=e(85819);const c=JSON.parse('{"timing":{"repeat":{"countMax":3}}}');var u=e(11470),i=e(19365),l=e(816);const r={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)(l.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:()=>i});var o=e(96540),a=e(76300),s=e(52376),c=e(85819),u=e(74848);function i(n){let{dosage:t,config:e}=n;const[i,l]=(0,o.useState)(""),[r,d]=(0,o.useState)(e?.language||"en"),[x,p]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const n=await a.U.build({...e});p(n)}()}),[e]),(0,o.useEffect)((()=>{!async function(){if(x){const n=x.fromDosageToText(t);l(n)}}()}),[t,x]);return(0,u.jsxs)("div",{children:[(0,u.jsxs)("div",{style:{display:"flex"},children:[(0,u.jsxs)("select",{value:r,onChange:n=>d(n.target.value),style:{marginRight:"10px"},children:[(0,u.jsx)("option",{value:"en",children:"English"}),(0,u.jsx)("option",{value:"fr",children:"French"}),(0,u.jsx)("option",{value:"nl",children:"Dutch"}),(0,u.jsx)("option",{value:"de",children:"German"})]}),(0,u.jsx)("button",{onClick:async()=>{if(x){await x.changeLanguage(r);const n=x.fromDosageToText(t);l(n)}},children:"Confirm"})]}),(0,u.jsx)("div",{style:{marginTop:"10px"},children:(0,u.jsx)(c.default,{language:"markup",children:(f=i,(0,s.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/829c17da.c2826dfc.js b/assets/js/829c17da.c2826dfc.js new file mode 100644 index 00000000..e036e896 --- /dev/null +++ b/assets/js/829c17da.c2826dfc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8516],{58096:(n,t,e)=>{e.r(t),e.d(t,{assets:()=>p,contentTitle:()=>x,default:()=>h,frontMatter:()=>d,metadata:()=>o,toc:()=>f});const o=JSON.parse('{"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":false,"unlisted":false,"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"}}');var a=e(74848),s=e(28453),c=e(85819);const u=JSON.parse('{"timing":{"repeat":{"countMax":3}}}');var l=e(11470),i=e(19365),r=e(816);const d={description:"countMax (only)",title:"\ud83d\udd22 countMax (only)"},x=void 0,p={},f=[];function g(n){return(0,a.jsxs)(l.A,{children:[(0,a.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(r.A,{dosage:u})}),(0,a.jsx)(i.A,{value:"json",label:"Dosage",children:(0,a.jsx)(c.default,{language:"json",children:JSON.stringify(u,null,2)})})]})}function h(n={}){const{wrapper:t}={...(0,s.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:()=>l});var o=e(96540),a=e(76300),s=e(52376),c=e(85819),u=e(74848);function l(n){let{dosage:t,config:e}=n;const[l,i]=(0,o.useState)(""),[r,d]=(0,o.useState)(e?.language||"en"),[x,p]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const n=await a.U.build({...e});p(n)}()}),[e]),(0,o.useEffect)((()=>{!async function(){if(x){const n=x.fromDosageToText(t);i(n)}}()}),[t,x]);return(0,u.jsxs)("div",{children:[(0,u.jsxs)("div",{style:{display:"flex"},children:[(0,u.jsxs)("select",{value:r,onChange:n=>d(n.target.value),style:{marginRight:"10px"},children:[(0,u.jsx)("option",{value:"en",children:"English"}),(0,u.jsx)("option",{value:"fr",children:"French"}),(0,u.jsx)("option",{value:"nl",children:"Dutch"}),(0,u.jsx)("option",{value:"de",children:"German"})]}),(0,u.jsx)("button",{onClick:async()=>{if(x){await x.changeLanguage(r);const n=x.fromDosageToText(t);i(n)}},children:"Confirm"})]}),(0,u.jsx)("div",{style:{marginTop:"10px"},children:(0,u.jsx)(c.default,{language:"markup",children:(f=l,(0,s.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/839.5dc2e14a.js b/assets/js/839.5dc2e14a.js deleted file mode 100644 index 309f44bd..00000000 --- a/assets/js/839.5dc2e14a.js +++ /dev/null @@ -1,2787 +0,0 @@ -"use strict"; -exports.id = 839; -exports.ids = [839]; -exports.modules = { - -/***/ 44839: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ CompletionAdapter: () => (/* binding */ CompletionAdapter), -/* harmony export */ DefinitionAdapter: () => (/* binding */ DefinitionAdapter), -/* harmony export */ DiagnosticsAdapter: () => (/* binding */ DiagnosticsAdapter), -/* harmony export */ DocumentColorAdapter: () => (/* binding */ DocumentColorAdapter), -/* harmony export */ DocumentFormattingEditProvider: () => (/* binding */ DocumentFormattingEditProvider), -/* harmony export */ DocumentHighlightAdapter: () => (/* binding */ DocumentHighlightAdapter), -/* harmony export */ DocumentLinkAdapter: () => (/* binding */ DocumentLinkAdapter), -/* harmony export */ DocumentRangeFormattingEditProvider: () => (/* binding */ DocumentRangeFormattingEditProvider), -/* harmony export */ DocumentSymbolAdapter: () => (/* binding */ DocumentSymbolAdapter), -/* harmony export */ FoldingRangeAdapter: () => (/* binding */ FoldingRangeAdapter), -/* harmony export */ HoverAdapter: () => (/* binding */ HoverAdapter), -/* harmony export */ ReferenceAdapter: () => (/* binding */ ReferenceAdapter), -/* harmony export */ RenameAdapter: () => (/* binding */ RenameAdapter), -/* harmony export */ SelectionRangeAdapter: () => (/* binding */ SelectionRangeAdapter), -/* harmony export */ WorkerManager: () => (/* binding */ WorkerManager), -/* harmony export */ fromPosition: () => (/* binding */ fromPosition), -/* harmony export */ fromRange: () => (/* binding */ fromRange), -/* harmony export */ getWorker: () => (/* binding */ getWorker), -/* harmony export */ setupMode: () => (/* binding */ setupMode), -/* harmony export */ toRange: () => (/* binding */ toRange), -/* harmony export */ toTextEdit: () => (/* binding */ toTextEdit) -/* harmony export */ }); -/* harmony import */ var _editor_editor_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29482); -/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/ - -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); - -// src/fillers/monaco-editor-core.ts -var monaco_editor_core_exports = {}; -__reExport(monaco_editor_core_exports, _editor_editor_api_js__WEBPACK_IMPORTED_MODULE_0__); - - -// src/language/json/workerManager.ts -var STOP_WHEN_IDLE_FOR = 2 * 60 * 1e3; -var WorkerManager = class { - constructor(defaults) { - this._defaults = defaults; - this._worker = null; - this._client = null; - this._idleCheckInterval = window.setInterval(() => this._checkIfIdle(), 30 * 1e3); - this._lastUsedTime = 0; - this._configChangeListener = this._defaults.onDidChange(() => this._stopWorker()); - } - _stopWorker() { - if (this._worker) { - this._worker.dispose(); - this._worker = null; - } - this._client = null; - } - dispose() { - clearInterval(this._idleCheckInterval); - this._configChangeListener.dispose(); - this._stopWorker(); - } - _checkIfIdle() { - if (!this._worker) { - return; - } - let timePassedSinceLastUsed = Date.now() - this._lastUsedTime; - if (timePassedSinceLastUsed > STOP_WHEN_IDLE_FOR) { - this._stopWorker(); - } - } - _getClient() { - this._lastUsedTime = Date.now(); - if (!this._client) { - this._worker = monaco_editor_core_exports.editor.createWebWorker({ - // module that exports the create() method and returns a `JSONWorker` instance - moduleId: "vs/language/json/jsonWorker", - label: this._defaults.languageId, - // passed in to the create() method - createData: { - languageSettings: this._defaults.diagnosticsOptions, - languageId: this._defaults.languageId, - enableSchemaRequest: this._defaults.diagnosticsOptions.enableSchemaRequest - } - }); - this._client = this._worker.getProxy(); - } - return this._client; - } - getLanguageServiceWorker(...resources) { - let _client; - return this._getClient().then((client) => { - _client = client; - }).then((_) => { - if (this._worker) { - return this._worker.withSyncedResources(resources); - } - }).then((_) => _client); - } -}; - -// node_modules/vscode-languageserver-types/lib/esm/main.js -var DocumentUri; -(function(DocumentUri2) { - function is(value) { - return typeof value === "string"; - } - DocumentUri2.is = is; -})(DocumentUri || (DocumentUri = {})); -var URI; -(function(URI2) { - function is(value) { - return typeof value === "string"; - } - URI2.is = is; -})(URI || (URI = {})); -var integer; -(function(integer2) { - integer2.MIN_VALUE = -2147483648; - integer2.MAX_VALUE = 2147483647; - function is(value) { - return typeof value === "number" && integer2.MIN_VALUE <= value && value <= integer2.MAX_VALUE; - } - integer2.is = is; -})(integer || (integer = {})); -var uinteger; -(function(uinteger2) { - uinteger2.MIN_VALUE = 0; - uinteger2.MAX_VALUE = 2147483647; - function is(value) { - return typeof value === "number" && uinteger2.MIN_VALUE <= value && value <= uinteger2.MAX_VALUE; - } - uinteger2.is = is; -})(uinteger || (uinteger = {})); -var Position; -(function(Position3) { - function create(line, character) { - if (line === Number.MAX_VALUE) { - line = uinteger.MAX_VALUE; - } - if (character === Number.MAX_VALUE) { - character = uinteger.MAX_VALUE; - } - return { line, character }; - } - Position3.create = create; - function is(value) { - let candidate = value; - return Is.objectLiteral(candidate) && Is.uinteger(candidate.line) && Is.uinteger(candidate.character); - } - Position3.is = is; -})(Position || (Position = {})); -var Range; -(function(Range3) { - function create(one, two, three, four) { - if (Is.uinteger(one) && Is.uinteger(two) && Is.uinteger(three) && Is.uinteger(four)) { - return { start: Position.create(one, two), end: Position.create(three, four) }; - } else if (Position.is(one) && Position.is(two)) { - return { start: one, end: two }; - } else { - throw new Error(`Range#create called with invalid arguments[${one}, ${two}, ${three}, ${four}]`); - } - } - Range3.create = create; - function is(value) { - let candidate = value; - return Is.objectLiteral(candidate) && Position.is(candidate.start) && Position.is(candidate.end); - } - Range3.is = is; -})(Range || (Range = {})); -var Location; -(function(Location2) { - function create(uri, range) { - return { uri, range }; - } - Location2.create = create; - function is(value) { - let candidate = value; - return Is.objectLiteral(candidate) && Range.is(candidate.range) && (Is.string(candidate.uri) || Is.undefined(candidate.uri)); - } - Location2.is = is; -})(Location || (Location = {})); -var LocationLink; -(function(LocationLink2) { - function create(targetUri, targetRange, targetSelectionRange, originSelectionRange) { - return { targetUri, targetRange, targetSelectionRange, originSelectionRange }; - } - LocationLink2.create = create; - function is(value) { - let candidate = value; - return Is.objectLiteral(candidate) && Range.is(candidate.targetRange) && Is.string(candidate.targetUri) && Range.is(candidate.targetSelectionRange) && (Range.is(candidate.originSelectionRange) || Is.undefined(candidate.originSelectionRange)); - } - LocationLink2.is = is; -})(LocationLink || (LocationLink = {})); -var Color; -(function(Color2) { - function create(red, green, blue, alpha) { - return { - red, - green, - blue, - alpha - }; - } - Color2.create = create; - function is(value) { - const candidate = value; - return Is.objectLiteral(candidate) && Is.numberRange(candidate.red, 0, 1) && Is.numberRange(candidate.green, 0, 1) && Is.numberRange(candidate.blue, 0, 1) && Is.numberRange(candidate.alpha, 0, 1); - } - Color2.is = is; -})(Color || (Color = {})); -var ColorInformation; -(function(ColorInformation2) { - function create(range, color) { - return { - range, - color - }; - } - ColorInformation2.create = create; - function is(value) { - const candidate = value; - return Is.objectLiteral(candidate) && Range.is(candidate.range) && Color.is(candidate.color); - } - ColorInformation2.is = is; -})(ColorInformation || (ColorInformation = {})); -var ColorPresentation; -(function(ColorPresentation2) { - function create(label, textEdit, additionalTextEdits) { - return { - label, - textEdit, - additionalTextEdits - }; - } - ColorPresentation2.create = create; - function is(value) { - const candidate = value; - return Is.objectLiteral(candidate) && Is.string(candidate.label) && (Is.undefined(candidate.textEdit) || TextEdit.is(candidate)) && (Is.undefined(candidate.additionalTextEdits) || Is.typedArray(candidate.additionalTextEdits, TextEdit.is)); - } - ColorPresentation2.is = is; -})(ColorPresentation || (ColorPresentation = {})); -var FoldingRangeKind; -(function(FoldingRangeKind2) { - FoldingRangeKind2.Comment = "comment"; - FoldingRangeKind2.Imports = "imports"; - FoldingRangeKind2.Region = "region"; -})(FoldingRangeKind || (FoldingRangeKind = {})); -var FoldingRange; -(function(FoldingRange2) { - function create(startLine, endLine, startCharacter, endCharacter, kind, collapsedText) { - const result = { - startLine, - endLine - }; - if (Is.defined(startCharacter)) { - result.startCharacter = startCharacter; - } - if (Is.defined(endCharacter)) { - result.endCharacter = endCharacter; - } - if (Is.defined(kind)) { - result.kind = kind; - } - if (Is.defined(collapsedText)) { - result.collapsedText = collapsedText; - } - return result; - } - FoldingRange2.create = create; - function is(value) { - const candidate = value; - return Is.objectLiteral(candidate) && Is.uinteger(candidate.startLine) && Is.uinteger(candidate.startLine) && (Is.undefined(candidate.startCharacter) || Is.uinteger(candidate.startCharacter)) && (Is.undefined(candidate.endCharacter) || Is.uinteger(candidate.endCharacter)) && (Is.undefined(candidate.kind) || Is.string(candidate.kind)); - } - FoldingRange2.is = is; -})(FoldingRange || (FoldingRange = {})); -var DiagnosticRelatedInformation; -(function(DiagnosticRelatedInformation2) { - function create(location, message) { - return { - location, - message - }; - } - DiagnosticRelatedInformation2.create = create; - function is(value) { - let candidate = value; - return Is.defined(candidate) && Location.is(candidate.location) && Is.string(candidate.message); - } - DiagnosticRelatedInformation2.is = is; -})(DiagnosticRelatedInformation || (DiagnosticRelatedInformation = {})); -var DiagnosticSeverity; -(function(DiagnosticSeverity2) { - DiagnosticSeverity2.Error = 1; - DiagnosticSeverity2.Warning = 2; - DiagnosticSeverity2.Information = 3; - DiagnosticSeverity2.Hint = 4; -})(DiagnosticSeverity || (DiagnosticSeverity = {})); -var DiagnosticTag; -(function(DiagnosticTag2) { - DiagnosticTag2.Unnecessary = 1; - DiagnosticTag2.Deprecated = 2; -})(DiagnosticTag || (DiagnosticTag = {})); -var CodeDescription; -(function(CodeDescription2) { - function is(value) { - const candidate = value; - return Is.objectLiteral(candidate) && Is.string(candidate.href); - } - CodeDescription2.is = is; -})(CodeDescription || (CodeDescription = {})); -var Diagnostic; -(function(Diagnostic2) { - function create(range, message, severity, code, source, relatedInformation) { - let result = { range, message }; - if (Is.defined(severity)) { - result.severity = severity; - } - if (Is.defined(code)) { - result.code = code; - } - if (Is.defined(source)) { - result.source = source; - } - if (Is.defined(relatedInformation)) { - result.relatedInformation = relatedInformation; - } - return result; - } - Diagnostic2.create = create; - function is(value) { - var _a; - let candidate = value; - return Is.defined(candidate) && Range.is(candidate.range) && Is.string(candidate.message) && (Is.number(candidate.severity) || Is.undefined(candidate.severity)) && (Is.integer(candidate.code) || Is.string(candidate.code) || Is.undefined(candidate.code)) && (Is.undefined(candidate.codeDescription) || Is.string((_a = candidate.codeDescription) === null || _a === void 0 ? void 0 : _a.href)) && (Is.string(candidate.source) || Is.undefined(candidate.source)) && (Is.undefined(candidate.relatedInformation) || Is.typedArray(candidate.relatedInformation, DiagnosticRelatedInformation.is)); - } - Diagnostic2.is = is; -})(Diagnostic || (Diagnostic = {})); -var Command; -(function(Command2) { - function create(title, command, ...args) { - let result = { title, command }; - if (Is.defined(args) && args.length > 0) { - result.arguments = args; - } - return result; - } - Command2.create = create; - function is(value) { - let candidate = value; - return Is.defined(candidate) && Is.string(candidate.title) && Is.string(candidate.command); - } - Command2.is = is; -})(Command || (Command = {})); -var TextEdit; -(function(TextEdit2) { - function replace(range, newText) { - return { range, newText }; - } - TextEdit2.replace = replace; - function insert(position, newText) { - return { range: { start: position, end: position }, newText }; - } - TextEdit2.insert = insert; - function del(range) { - return { range, newText: "" }; - } - TextEdit2.del = del; - function is(value) { - const candidate = value; - return Is.objectLiteral(candidate) && Is.string(candidate.newText) && Range.is(candidate.range); - } - TextEdit2.is = is; -})(TextEdit || (TextEdit = {})); -var ChangeAnnotation; -(function(ChangeAnnotation2) { - function create(label, needsConfirmation, description) { - const result = { label }; - if (needsConfirmation !== void 0) { - result.needsConfirmation = needsConfirmation; - } - if (description !== void 0) { - result.description = description; - } - return result; - } - ChangeAnnotation2.create = create; - function is(value) { - const candidate = value; - return Is.objectLiteral(candidate) && Is.string(candidate.label) && (Is.boolean(candidate.needsConfirmation) || candidate.needsConfirmation === void 0) && (Is.string(candidate.description) || candidate.description === void 0); - } - ChangeAnnotation2.is = is; -})(ChangeAnnotation || (ChangeAnnotation = {})); -var ChangeAnnotationIdentifier; -(function(ChangeAnnotationIdentifier2) { - function is(value) { - const candidate = value; - return Is.string(candidate); - } - ChangeAnnotationIdentifier2.is = is; -})(ChangeAnnotationIdentifier || (ChangeAnnotationIdentifier = {})); -var AnnotatedTextEdit; -(function(AnnotatedTextEdit2) { - function replace(range, newText, annotation) { - return { range, newText, annotationId: annotation }; - } - AnnotatedTextEdit2.replace = replace; - function insert(position, newText, annotation) { - return { range: { start: position, end: position }, newText, annotationId: annotation }; - } - AnnotatedTextEdit2.insert = insert; - function del(range, annotation) { - return { range, newText: "", annotationId: annotation }; - } - AnnotatedTextEdit2.del = del; - function is(value) { - const candidate = value; - return TextEdit.is(candidate) && (ChangeAnnotation.is(candidate.annotationId) || ChangeAnnotationIdentifier.is(candidate.annotationId)); - } - AnnotatedTextEdit2.is = is; -})(AnnotatedTextEdit || (AnnotatedTextEdit = {})); -var TextDocumentEdit; -(function(TextDocumentEdit2) { - function create(textDocument, edits) { - return { textDocument, edits }; - } - TextDocumentEdit2.create = create; - function is(value) { - let candidate = value; - return Is.defined(candidate) && OptionalVersionedTextDocumentIdentifier.is(candidate.textDocument) && Array.isArray(candidate.edits); - } - TextDocumentEdit2.is = is; -})(TextDocumentEdit || (TextDocumentEdit = {})); -var CreateFile; -(function(CreateFile2) { - function create(uri, options, annotation) { - let result = { - kind: "create", - uri - }; - if (options !== void 0 && (options.overwrite !== void 0 || options.ignoreIfExists !== void 0)) { - result.options = options; - } - if (annotation !== void 0) { - result.annotationId = annotation; - } - return result; - } - CreateFile2.create = create; - function is(value) { - let candidate = value; - return candidate && candidate.kind === "create" && Is.string(candidate.uri) && (candidate.options === void 0 || (candidate.options.overwrite === void 0 || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === void 0 || Is.boolean(candidate.options.ignoreIfExists))) && (candidate.annotationId === void 0 || ChangeAnnotationIdentifier.is(candidate.annotationId)); - } - CreateFile2.is = is; -})(CreateFile || (CreateFile = {})); -var RenameFile; -(function(RenameFile2) { - function create(oldUri, newUri, options, annotation) { - let result = { - kind: "rename", - oldUri, - newUri - }; - if (options !== void 0 && (options.overwrite !== void 0 || options.ignoreIfExists !== void 0)) { - result.options = options; - } - if (annotation !== void 0) { - result.annotationId = annotation; - } - return result; - } - RenameFile2.create = create; - function is(value) { - let candidate = value; - return candidate && candidate.kind === "rename" && Is.string(candidate.oldUri) && Is.string(candidate.newUri) && (candidate.options === void 0 || (candidate.options.overwrite === void 0 || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === void 0 || Is.boolean(candidate.options.ignoreIfExists))) && (candidate.annotationId === void 0 || ChangeAnnotationIdentifier.is(candidate.annotationId)); - } - RenameFile2.is = is; -})(RenameFile || (RenameFile = {})); -var DeleteFile; -(function(DeleteFile2) { - function create(uri, options, annotation) { - let result = { - kind: "delete", - uri - }; - if (options !== void 0 && (options.recursive !== void 0 || options.ignoreIfNotExists !== void 0)) { - result.options = options; - } - if (annotation !== void 0) { - result.annotationId = annotation; - } - return result; - } - DeleteFile2.create = create; - function is(value) { - let candidate = value; - return candidate && candidate.kind === "delete" && Is.string(candidate.uri) && (candidate.options === void 0 || (candidate.options.recursive === void 0 || Is.boolean(candidate.options.recursive)) && (candidate.options.ignoreIfNotExists === void 0 || Is.boolean(candidate.options.ignoreIfNotExists))) && (candidate.annotationId === void 0 || ChangeAnnotationIdentifier.is(candidate.annotationId)); - } - DeleteFile2.is = is; -})(DeleteFile || (DeleteFile = {})); -var WorkspaceEdit; -(function(WorkspaceEdit2) { - function is(value) { - let candidate = value; - return candidate && (candidate.changes !== void 0 || candidate.documentChanges !== void 0) && (candidate.documentChanges === void 0 || candidate.documentChanges.every((change) => { - if (Is.string(change.kind)) { - return CreateFile.is(change) || RenameFile.is(change) || DeleteFile.is(change); - } else { - return TextDocumentEdit.is(change); - } - })); - } - WorkspaceEdit2.is = is; -})(WorkspaceEdit || (WorkspaceEdit = {})); -var TextDocumentIdentifier; -(function(TextDocumentIdentifier2) { - function create(uri) { - return { uri }; - } - TextDocumentIdentifier2.create = create; - function is(value) { - let candidate = value; - return Is.defined(candidate) && Is.string(candidate.uri); - } - TextDocumentIdentifier2.is = is; -})(TextDocumentIdentifier || (TextDocumentIdentifier = {})); -var VersionedTextDocumentIdentifier; -(function(VersionedTextDocumentIdentifier2) { - function create(uri, version) { - return { uri, version }; - } - VersionedTextDocumentIdentifier2.create = create; - function is(value) { - let candidate = value; - return Is.defined(candidate) && Is.string(candidate.uri) && Is.integer(candidate.version); - } - VersionedTextDocumentIdentifier2.is = is; -})(VersionedTextDocumentIdentifier || (VersionedTextDocumentIdentifier = {})); -var OptionalVersionedTextDocumentIdentifier; -(function(OptionalVersionedTextDocumentIdentifier2) { - function create(uri, version) { - return { uri, version }; - } - OptionalVersionedTextDocumentIdentifier2.create = create; - function is(value) { - let candidate = value; - return Is.defined(candidate) && Is.string(candidate.uri) && (candidate.version === null || Is.integer(candidate.version)); - } - OptionalVersionedTextDocumentIdentifier2.is = is; -})(OptionalVersionedTextDocumentIdentifier || (OptionalVersionedTextDocumentIdentifier = {})); -var TextDocumentItem; -(function(TextDocumentItem2) { - function create(uri, languageId, version, text) { - return { uri, languageId, version, text }; - } - TextDocumentItem2.create = create; - function is(value) { - let candidate = value; - return Is.defined(candidate) && Is.string(candidate.uri) && Is.string(candidate.languageId) && Is.integer(candidate.version) && Is.string(candidate.text); - } - TextDocumentItem2.is = is; -})(TextDocumentItem || (TextDocumentItem = {})); -var MarkupKind; -(function(MarkupKind2) { - MarkupKind2.PlainText = "plaintext"; - MarkupKind2.Markdown = "markdown"; - function is(value) { - const candidate = value; - return candidate === MarkupKind2.PlainText || candidate === MarkupKind2.Markdown; - } - MarkupKind2.is = is; -})(MarkupKind || (MarkupKind = {})); -var MarkupContent; -(function(MarkupContent2) { - function is(value) { - const candidate = value; - return Is.objectLiteral(value) && MarkupKind.is(candidate.kind) && Is.string(candidate.value); - } - MarkupContent2.is = is; -})(MarkupContent || (MarkupContent = {})); -var CompletionItemKind; -(function(CompletionItemKind2) { - CompletionItemKind2.Text = 1; - CompletionItemKind2.Method = 2; - CompletionItemKind2.Function = 3; - CompletionItemKind2.Constructor = 4; - CompletionItemKind2.Field = 5; - CompletionItemKind2.Variable = 6; - CompletionItemKind2.Class = 7; - CompletionItemKind2.Interface = 8; - CompletionItemKind2.Module = 9; - CompletionItemKind2.Property = 10; - CompletionItemKind2.Unit = 11; - CompletionItemKind2.Value = 12; - CompletionItemKind2.Enum = 13; - CompletionItemKind2.Keyword = 14; - CompletionItemKind2.Snippet = 15; - CompletionItemKind2.Color = 16; - CompletionItemKind2.File = 17; - CompletionItemKind2.Reference = 18; - CompletionItemKind2.Folder = 19; - CompletionItemKind2.EnumMember = 20; - CompletionItemKind2.Constant = 21; - CompletionItemKind2.Struct = 22; - CompletionItemKind2.Event = 23; - CompletionItemKind2.Operator = 24; - CompletionItemKind2.TypeParameter = 25; -})(CompletionItemKind || (CompletionItemKind = {})); -var InsertTextFormat; -(function(InsertTextFormat2) { - InsertTextFormat2.PlainText = 1; - InsertTextFormat2.Snippet = 2; -})(InsertTextFormat || (InsertTextFormat = {})); -var CompletionItemTag; -(function(CompletionItemTag2) { - CompletionItemTag2.Deprecated = 1; -})(CompletionItemTag || (CompletionItemTag = {})); -var InsertReplaceEdit; -(function(InsertReplaceEdit2) { - function create(newText, insert, replace) { - return { newText, insert, replace }; - } - InsertReplaceEdit2.create = create; - function is(value) { - const candidate = value; - return candidate && Is.string(candidate.newText) && Range.is(candidate.insert) && Range.is(candidate.replace); - } - InsertReplaceEdit2.is = is; -})(InsertReplaceEdit || (InsertReplaceEdit = {})); -var InsertTextMode; -(function(InsertTextMode2) { - InsertTextMode2.asIs = 1; - InsertTextMode2.adjustIndentation = 2; -})(InsertTextMode || (InsertTextMode = {})); -var CompletionItemLabelDetails; -(function(CompletionItemLabelDetails2) { - function is(value) { - const candidate = value; - return candidate && (Is.string(candidate.detail) || candidate.detail === void 0) && (Is.string(candidate.description) || candidate.description === void 0); - } - CompletionItemLabelDetails2.is = is; -})(CompletionItemLabelDetails || (CompletionItemLabelDetails = {})); -var CompletionItem; -(function(CompletionItem2) { - function create(label) { - return { label }; - } - CompletionItem2.create = create; -})(CompletionItem || (CompletionItem = {})); -var CompletionList; -(function(CompletionList2) { - function create(items, isIncomplete) { - return { items: items ? items : [], isIncomplete: !!isIncomplete }; - } - CompletionList2.create = create; -})(CompletionList || (CompletionList = {})); -var MarkedString; -(function(MarkedString2) { - function fromPlainText(plainText) { - return plainText.replace(/[\\`*_{}[\]()#+\-.!]/g, "\\$&"); - } - MarkedString2.fromPlainText = fromPlainText; - function is(value) { - const candidate = value; - return Is.string(candidate) || Is.objectLiteral(candidate) && Is.string(candidate.language) && Is.string(candidate.value); - } - MarkedString2.is = is; -})(MarkedString || (MarkedString = {})); -var Hover; -(function(Hover2) { - function is(value) { - let candidate = value; - return !!candidate && Is.objectLiteral(candidate) && (MarkupContent.is(candidate.contents) || MarkedString.is(candidate.contents) || Is.typedArray(candidate.contents, MarkedString.is)) && (value.range === void 0 || Range.is(value.range)); - } - Hover2.is = is; -})(Hover || (Hover = {})); -var ParameterInformation; -(function(ParameterInformation2) { - function create(label, documentation) { - return documentation ? { label, documentation } : { label }; - } - ParameterInformation2.create = create; -})(ParameterInformation || (ParameterInformation = {})); -var SignatureInformation; -(function(SignatureInformation2) { - function create(label, documentation, ...parameters) { - let result = { label }; - if (Is.defined(documentation)) { - result.documentation = documentation; - } - if (Is.defined(parameters)) { - result.parameters = parameters; - } else { - result.parameters = []; - } - return result; - } - SignatureInformation2.create = create; -})(SignatureInformation || (SignatureInformation = {})); -var DocumentHighlightKind; -(function(DocumentHighlightKind2) { - DocumentHighlightKind2.Text = 1; - DocumentHighlightKind2.Read = 2; - DocumentHighlightKind2.Write = 3; -})(DocumentHighlightKind || (DocumentHighlightKind = {})); -var DocumentHighlight; -(function(DocumentHighlight2) { - function create(range, kind) { - let result = { range }; - if (Is.number(kind)) { - result.kind = kind; - } - return result; - } - DocumentHighlight2.create = create; -})(DocumentHighlight || (DocumentHighlight = {})); -var SymbolKind; -(function(SymbolKind2) { - SymbolKind2.File = 1; - SymbolKind2.Module = 2; - SymbolKind2.Namespace = 3; - SymbolKind2.Package = 4; - SymbolKind2.Class = 5; - SymbolKind2.Method = 6; - SymbolKind2.Property = 7; - SymbolKind2.Field = 8; - SymbolKind2.Constructor = 9; - SymbolKind2.Enum = 10; - SymbolKind2.Interface = 11; - SymbolKind2.Function = 12; - SymbolKind2.Variable = 13; - SymbolKind2.Constant = 14; - SymbolKind2.String = 15; - SymbolKind2.Number = 16; - SymbolKind2.Boolean = 17; - SymbolKind2.Array = 18; - SymbolKind2.Object = 19; - SymbolKind2.Key = 20; - SymbolKind2.Null = 21; - SymbolKind2.EnumMember = 22; - SymbolKind2.Struct = 23; - SymbolKind2.Event = 24; - SymbolKind2.Operator = 25; - SymbolKind2.TypeParameter = 26; -})(SymbolKind || (SymbolKind = {})); -var SymbolTag; -(function(SymbolTag2) { - SymbolTag2.Deprecated = 1; -})(SymbolTag || (SymbolTag = {})); -var SymbolInformation; -(function(SymbolInformation2) { - function create(name, kind, range, uri, containerName) { - let result = { - name, - kind, - location: { uri, range } - }; - if (containerName) { - result.containerName = containerName; - } - return result; - } - SymbolInformation2.create = create; -})(SymbolInformation || (SymbolInformation = {})); -var WorkspaceSymbol; -(function(WorkspaceSymbol2) { - function create(name, kind, uri, range) { - return range !== void 0 ? { name, kind, location: { uri, range } } : { name, kind, location: { uri } }; - } - WorkspaceSymbol2.create = create; -})(WorkspaceSymbol || (WorkspaceSymbol = {})); -var DocumentSymbol; -(function(DocumentSymbol2) { - function create(name, detail, kind, range, selectionRange, children) { - let result = { - name, - detail, - kind, - range, - selectionRange - }; - if (children !== void 0) { - result.children = children; - } - return result; - } - DocumentSymbol2.create = create; - function is(value) { - let candidate = value; - return candidate && Is.string(candidate.name) && Is.number(candidate.kind) && Range.is(candidate.range) && Range.is(candidate.selectionRange) && (candidate.detail === void 0 || Is.string(candidate.detail)) && (candidate.deprecated === void 0 || Is.boolean(candidate.deprecated)) && (candidate.children === void 0 || Array.isArray(candidate.children)) && (candidate.tags === void 0 || Array.isArray(candidate.tags)); - } - DocumentSymbol2.is = is; -})(DocumentSymbol || (DocumentSymbol = {})); -var CodeActionKind; -(function(CodeActionKind2) { - CodeActionKind2.Empty = ""; - CodeActionKind2.QuickFix = "quickfix"; - CodeActionKind2.Refactor = "refactor"; - CodeActionKind2.RefactorExtract = "refactor.extract"; - CodeActionKind2.RefactorInline = "refactor.inline"; - CodeActionKind2.RefactorRewrite = "refactor.rewrite"; - CodeActionKind2.Source = "source"; - CodeActionKind2.SourceOrganizeImports = "source.organizeImports"; - CodeActionKind2.SourceFixAll = "source.fixAll"; -})(CodeActionKind || (CodeActionKind = {})); -var CodeActionTriggerKind; -(function(CodeActionTriggerKind2) { - CodeActionTriggerKind2.Invoked = 1; - CodeActionTriggerKind2.Automatic = 2; -})(CodeActionTriggerKind || (CodeActionTriggerKind = {})); -var CodeActionContext; -(function(CodeActionContext2) { - function create(diagnostics, only, triggerKind) { - let result = { diagnostics }; - if (only !== void 0 && only !== null) { - result.only = only; - } - if (triggerKind !== void 0 && triggerKind !== null) { - result.triggerKind = triggerKind; - } - return result; - } - CodeActionContext2.create = create; - function is(value) { - let candidate = value; - return Is.defined(candidate) && Is.typedArray(candidate.diagnostics, Diagnostic.is) && (candidate.only === void 0 || Is.typedArray(candidate.only, Is.string)) && (candidate.triggerKind === void 0 || candidate.triggerKind === CodeActionTriggerKind.Invoked || candidate.triggerKind === CodeActionTriggerKind.Automatic); - } - CodeActionContext2.is = is; -})(CodeActionContext || (CodeActionContext = {})); -var CodeAction; -(function(CodeAction2) { - function create(title, kindOrCommandOrEdit, kind) { - let result = { title }; - let checkKind = true; - if (typeof kindOrCommandOrEdit === "string") { - checkKind = false; - result.kind = kindOrCommandOrEdit; - } else if (Command.is(kindOrCommandOrEdit)) { - result.command = kindOrCommandOrEdit; - } else { - result.edit = kindOrCommandOrEdit; - } - if (checkKind && kind !== void 0) { - result.kind = kind; - } - return result; - } - CodeAction2.create = create; - function is(value) { - let candidate = value; - return candidate && Is.string(candidate.title) && (candidate.diagnostics === void 0 || Is.typedArray(candidate.diagnostics, Diagnostic.is)) && (candidate.kind === void 0 || Is.string(candidate.kind)) && (candidate.edit !== void 0 || candidate.command !== void 0) && (candidate.command === void 0 || Command.is(candidate.command)) && (candidate.isPreferred === void 0 || Is.boolean(candidate.isPreferred)) && (candidate.edit === void 0 || WorkspaceEdit.is(candidate.edit)); - } - CodeAction2.is = is; -})(CodeAction || (CodeAction = {})); -var CodeLens; -(function(CodeLens2) { - function create(range, data) { - let result = { range }; - if (Is.defined(data)) { - result.data = data; - } - return result; - } - CodeLens2.create = create; - function is(value) { - let candidate = value; - return Is.defined(candidate) && Range.is(candidate.range) && (Is.undefined(candidate.command) || Command.is(candidate.command)); - } - CodeLens2.is = is; -})(CodeLens || (CodeLens = {})); -var FormattingOptions; -(function(FormattingOptions2) { - function create(tabSize, insertSpaces) { - return { tabSize, insertSpaces }; - } - FormattingOptions2.create = create; - function is(value) { - let candidate = value; - return Is.defined(candidate) && Is.uinteger(candidate.tabSize) && Is.boolean(candidate.insertSpaces); - } - FormattingOptions2.is = is; -})(FormattingOptions || (FormattingOptions = {})); -var DocumentLink; -(function(DocumentLink2) { - function create(range, target, data) { - return { range, target, data }; - } - DocumentLink2.create = create; - function is(value) { - let candidate = value; - return Is.defined(candidate) && Range.is(candidate.range) && (Is.undefined(candidate.target) || Is.string(candidate.target)); - } - DocumentLink2.is = is; -})(DocumentLink || (DocumentLink = {})); -var SelectionRange; -(function(SelectionRange2) { - function create(range, parent) { - return { range, parent }; - } - SelectionRange2.create = create; - function is(value) { - let candidate = value; - return Is.objectLiteral(candidate) && Range.is(candidate.range) && (candidate.parent === void 0 || SelectionRange2.is(candidate.parent)); - } - SelectionRange2.is = is; -})(SelectionRange || (SelectionRange = {})); -var SemanticTokenTypes; -(function(SemanticTokenTypes2) { - SemanticTokenTypes2["namespace"] = "namespace"; - SemanticTokenTypes2["type"] = "type"; - SemanticTokenTypes2["class"] = "class"; - SemanticTokenTypes2["enum"] = "enum"; - SemanticTokenTypes2["interface"] = "interface"; - SemanticTokenTypes2["struct"] = "struct"; - SemanticTokenTypes2["typeParameter"] = "typeParameter"; - SemanticTokenTypes2["parameter"] = "parameter"; - SemanticTokenTypes2["variable"] = "variable"; - SemanticTokenTypes2["property"] = "property"; - SemanticTokenTypes2["enumMember"] = "enumMember"; - SemanticTokenTypes2["event"] = "event"; - SemanticTokenTypes2["function"] = "function"; - SemanticTokenTypes2["method"] = "method"; - SemanticTokenTypes2["macro"] = "macro"; - SemanticTokenTypes2["keyword"] = "keyword"; - SemanticTokenTypes2["modifier"] = "modifier"; - SemanticTokenTypes2["comment"] = "comment"; - SemanticTokenTypes2["string"] = "string"; - SemanticTokenTypes2["number"] = "number"; - SemanticTokenTypes2["regexp"] = "regexp"; - SemanticTokenTypes2["operator"] = "operator"; - SemanticTokenTypes2["decorator"] = "decorator"; -})(SemanticTokenTypes || (SemanticTokenTypes = {})); -var SemanticTokenModifiers; -(function(SemanticTokenModifiers2) { - SemanticTokenModifiers2["declaration"] = "declaration"; - SemanticTokenModifiers2["definition"] = "definition"; - SemanticTokenModifiers2["readonly"] = "readonly"; - SemanticTokenModifiers2["static"] = "static"; - SemanticTokenModifiers2["deprecated"] = "deprecated"; - SemanticTokenModifiers2["abstract"] = "abstract"; - SemanticTokenModifiers2["async"] = "async"; - SemanticTokenModifiers2["modification"] = "modification"; - SemanticTokenModifiers2["documentation"] = "documentation"; - SemanticTokenModifiers2["defaultLibrary"] = "defaultLibrary"; -})(SemanticTokenModifiers || (SemanticTokenModifiers = {})); -var SemanticTokens; -(function(SemanticTokens2) { - function is(value) { - const candidate = value; - return Is.objectLiteral(candidate) && (candidate.resultId === void 0 || typeof candidate.resultId === "string") && Array.isArray(candidate.data) && (candidate.data.length === 0 || typeof candidate.data[0] === "number"); - } - SemanticTokens2.is = is; -})(SemanticTokens || (SemanticTokens = {})); -var InlineValueText; -(function(InlineValueText2) { - function create(range, text) { - return { range, text }; - } - InlineValueText2.create = create; - function is(value) { - const candidate = value; - return candidate !== void 0 && candidate !== null && Range.is(candidate.range) && Is.string(candidate.text); - } - InlineValueText2.is = is; -})(InlineValueText || (InlineValueText = {})); -var InlineValueVariableLookup; -(function(InlineValueVariableLookup2) { - function create(range, variableName, caseSensitiveLookup) { - return { range, variableName, caseSensitiveLookup }; - } - InlineValueVariableLookup2.create = create; - function is(value) { - const candidate = value; - return candidate !== void 0 && candidate !== null && Range.is(candidate.range) && Is.boolean(candidate.caseSensitiveLookup) && (Is.string(candidate.variableName) || candidate.variableName === void 0); - } - InlineValueVariableLookup2.is = is; -})(InlineValueVariableLookup || (InlineValueVariableLookup = {})); -var InlineValueEvaluatableExpression; -(function(InlineValueEvaluatableExpression2) { - function create(range, expression) { - return { range, expression }; - } - InlineValueEvaluatableExpression2.create = create; - function is(value) { - const candidate = value; - return candidate !== void 0 && candidate !== null && Range.is(candidate.range) && (Is.string(candidate.expression) || candidate.expression === void 0); - } - InlineValueEvaluatableExpression2.is = is; -})(InlineValueEvaluatableExpression || (InlineValueEvaluatableExpression = {})); -var InlineValueContext; -(function(InlineValueContext2) { - function create(frameId, stoppedLocation) { - return { frameId, stoppedLocation }; - } - InlineValueContext2.create = create; - function is(value) { - const candidate = value; - return Is.defined(candidate) && Range.is(value.stoppedLocation); - } - InlineValueContext2.is = is; -})(InlineValueContext || (InlineValueContext = {})); -var InlayHintKind; -(function(InlayHintKind2) { - InlayHintKind2.Type = 1; - InlayHintKind2.Parameter = 2; - function is(value) { - return value === 1 || value === 2; - } - InlayHintKind2.is = is; -})(InlayHintKind || (InlayHintKind = {})); -var InlayHintLabelPart; -(function(InlayHintLabelPart2) { - function create(value) { - return { value }; - } - InlayHintLabelPart2.create = create; - function is(value) { - const candidate = value; - return Is.objectLiteral(candidate) && (candidate.tooltip === void 0 || Is.string(candidate.tooltip) || MarkupContent.is(candidate.tooltip)) && (candidate.location === void 0 || Location.is(candidate.location)) && (candidate.command === void 0 || Command.is(candidate.command)); - } - InlayHintLabelPart2.is = is; -})(InlayHintLabelPart || (InlayHintLabelPart = {})); -var InlayHint; -(function(InlayHint2) { - function create(position, label, kind) { - const result = { position, label }; - if (kind !== void 0) { - result.kind = kind; - } - return result; - } - InlayHint2.create = create; - function is(value) { - const candidate = value; - return Is.objectLiteral(candidate) && Position.is(candidate.position) && (Is.string(candidate.label) || Is.typedArray(candidate.label, InlayHintLabelPart.is)) && (candidate.kind === void 0 || InlayHintKind.is(candidate.kind)) && candidate.textEdits === void 0 || Is.typedArray(candidate.textEdits, TextEdit.is) && (candidate.tooltip === void 0 || Is.string(candidate.tooltip) || MarkupContent.is(candidate.tooltip)) && (candidate.paddingLeft === void 0 || Is.boolean(candidate.paddingLeft)) && (candidate.paddingRight === void 0 || Is.boolean(candidate.paddingRight)); - } - InlayHint2.is = is; -})(InlayHint || (InlayHint = {})); -var StringValue; -(function(StringValue2) { - function createSnippet(value) { - return { kind: "snippet", value }; - } - StringValue2.createSnippet = createSnippet; -})(StringValue || (StringValue = {})); -var InlineCompletionItem; -(function(InlineCompletionItem2) { - function create(insertText, filterText, range, command) { - return { insertText, filterText, range, command }; - } - InlineCompletionItem2.create = create; -})(InlineCompletionItem || (InlineCompletionItem = {})); -var InlineCompletionList; -(function(InlineCompletionList2) { - function create(items) { - return { items }; - } - InlineCompletionList2.create = create; -})(InlineCompletionList || (InlineCompletionList = {})); -var InlineCompletionTriggerKind; -(function(InlineCompletionTriggerKind2) { - InlineCompletionTriggerKind2.Invoked = 0; - InlineCompletionTriggerKind2.Automatic = 1; -})(InlineCompletionTriggerKind || (InlineCompletionTriggerKind = {})); -var SelectedCompletionInfo; -(function(SelectedCompletionInfo2) { - function create(range, text) { - return { range, text }; - } - SelectedCompletionInfo2.create = create; -})(SelectedCompletionInfo || (SelectedCompletionInfo = {})); -var InlineCompletionContext; -(function(InlineCompletionContext2) { - function create(triggerKind, selectedCompletionInfo) { - return { triggerKind, selectedCompletionInfo }; - } - InlineCompletionContext2.create = create; -})(InlineCompletionContext || (InlineCompletionContext = {})); -var WorkspaceFolder; -(function(WorkspaceFolder2) { - function is(value) { - const candidate = value; - return Is.objectLiteral(candidate) && URI.is(candidate.uri) && Is.string(candidate.name); - } - WorkspaceFolder2.is = is; -})(WorkspaceFolder || (WorkspaceFolder = {})); -var TextDocument; -(function(TextDocument2) { - function create(uri, languageId, version, content) { - return new FullTextDocument(uri, languageId, version, content); - } - TextDocument2.create = create; - function is(value) { - let candidate = value; - return Is.defined(candidate) && Is.string(candidate.uri) && (Is.undefined(candidate.languageId) || Is.string(candidate.languageId)) && Is.uinteger(candidate.lineCount) && Is.func(candidate.getText) && Is.func(candidate.positionAt) && Is.func(candidate.offsetAt) ? true : false; - } - TextDocument2.is = is; - function applyEdits(document, edits) { - let text = document.getText(); - let sortedEdits = mergeSort(edits, (a, b) => { - let diff = a.range.start.line - b.range.start.line; - if (diff === 0) { - return a.range.start.character - b.range.start.character; - } - return diff; - }); - let lastModifiedOffset = text.length; - for (let i = sortedEdits.length - 1; i >= 0; i--) { - let e = sortedEdits[i]; - let startOffset = document.offsetAt(e.range.start); - let endOffset = document.offsetAt(e.range.end); - if (endOffset <= lastModifiedOffset) { - text = text.substring(0, startOffset) + e.newText + text.substring(endOffset, text.length); - } else { - throw new Error("Overlapping edit"); - } - lastModifiedOffset = startOffset; - } - return text; - } - TextDocument2.applyEdits = applyEdits; - function mergeSort(data, compare) { - if (data.length <= 1) { - return data; - } - const p = data.length / 2 | 0; - const left = data.slice(0, p); - const right = data.slice(p); - mergeSort(left, compare); - mergeSort(right, compare); - let leftIdx = 0; - let rightIdx = 0; - let i = 0; - while (leftIdx < left.length && rightIdx < right.length) { - let ret = compare(left[leftIdx], right[rightIdx]); - if (ret <= 0) { - data[i++] = left[leftIdx++]; - } else { - data[i++] = right[rightIdx++]; - } - } - while (leftIdx < left.length) { - data[i++] = left[leftIdx++]; - } - while (rightIdx < right.length) { - data[i++] = right[rightIdx++]; - } - return data; - } -})(TextDocument || (TextDocument = {})); -var FullTextDocument = class { - constructor(uri, languageId, version, content) { - this._uri = uri; - this._languageId = languageId; - this._version = version; - this._content = content; - this._lineOffsets = void 0; - } - get uri() { - return this._uri; - } - get languageId() { - return this._languageId; - } - get version() { - return this._version; - } - getText(range) { - if (range) { - let start = this.offsetAt(range.start); - let end = this.offsetAt(range.end); - return this._content.substring(start, end); - } - return this._content; - } - update(event, version) { - this._content = event.text; - this._version = version; - this._lineOffsets = void 0; - } - getLineOffsets() { - if (this._lineOffsets === void 0) { - let lineOffsets = []; - let text = this._content; - let isLineStart = true; - for (let i = 0; i < text.length; i++) { - if (isLineStart) { - lineOffsets.push(i); - isLineStart = false; - } - let ch = text.charAt(i); - isLineStart = ch === "\r" || ch === "\n"; - if (ch === "\r" && i + 1 < text.length && text.charAt(i + 1) === "\n") { - i++; - } - } - if (isLineStart && text.length > 0) { - lineOffsets.push(text.length); - } - this._lineOffsets = lineOffsets; - } - return this._lineOffsets; - } - positionAt(offset) { - offset = Math.max(Math.min(offset, this._content.length), 0); - let lineOffsets = this.getLineOffsets(); - let low = 0, high = lineOffsets.length; - if (high === 0) { - return Position.create(0, offset); - } - while (low < high) { - let mid = Math.floor((low + high) / 2); - if (lineOffsets[mid] > offset) { - high = mid; - } else { - low = mid + 1; - } - } - let line = low - 1; - return Position.create(line, offset - lineOffsets[line]); - } - offsetAt(position) { - let lineOffsets = this.getLineOffsets(); - if (position.line >= lineOffsets.length) { - return this._content.length; - } else if (position.line < 0) { - return 0; - } - let lineOffset = lineOffsets[position.line]; - let nextLineOffset = position.line + 1 < lineOffsets.length ? lineOffsets[position.line + 1] : this._content.length; - return Math.max(Math.min(lineOffset + position.character, nextLineOffset), lineOffset); - } - get lineCount() { - return this.getLineOffsets().length; - } -}; -var Is; -(function(Is2) { - const toString = Object.prototype.toString; - function defined(value) { - return typeof value !== "undefined"; - } - Is2.defined = defined; - function undefined2(value) { - return typeof value === "undefined"; - } - Is2.undefined = undefined2; - function boolean(value) { - return value === true || value === false; - } - Is2.boolean = boolean; - function string(value) { - return toString.call(value) === "[object String]"; - } - Is2.string = string; - function number(value) { - return toString.call(value) === "[object Number]"; - } - Is2.number = number; - function numberRange(value, min, max) { - return toString.call(value) === "[object Number]" && min <= value && value <= max; - } - Is2.numberRange = numberRange; - function integer2(value) { - return toString.call(value) === "[object Number]" && -2147483648 <= value && value <= 2147483647; - } - Is2.integer = integer2; - function uinteger2(value) { - return toString.call(value) === "[object Number]" && 0 <= value && value <= 2147483647; - } - Is2.uinteger = uinteger2; - function func(value) { - return toString.call(value) === "[object Function]"; - } - Is2.func = func; - function objectLiteral(value) { - return value !== null && typeof value === "object"; - } - Is2.objectLiteral = objectLiteral; - function typedArray(value, check) { - return Array.isArray(value) && value.every(check); - } - Is2.typedArray = typedArray; -})(Is || (Is = {})); - -// src/language/common/lspLanguageFeatures.ts -var DiagnosticsAdapter = class { - constructor(_languageId, _worker, configChangeEvent) { - this._languageId = _languageId; - this._worker = _worker; - this._disposables = []; - this._listener = /* @__PURE__ */ Object.create(null); - const onModelAdd = (model) => { - let modeId = model.getLanguageId(); - if (modeId !== this._languageId) { - return; - } - let handle; - this._listener[model.uri.toString()] = model.onDidChangeContent(() => { - window.clearTimeout(handle); - handle = window.setTimeout(() => this._doValidate(model.uri, modeId), 500); - }); - this._doValidate(model.uri, modeId); - }; - const onModelRemoved = (model) => { - monaco_editor_core_exports.editor.setModelMarkers(model, this._languageId, []); - let uriStr = model.uri.toString(); - let listener = this._listener[uriStr]; - if (listener) { - listener.dispose(); - delete this._listener[uriStr]; - } - }; - this._disposables.push(monaco_editor_core_exports.editor.onDidCreateModel(onModelAdd)); - this._disposables.push(monaco_editor_core_exports.editor.onWillDisposeModel(onModelRemoved)); - this._disposables.push( - monaco_editor_core_exports.editor.onDidChangeModelLanguage((event) => { - onModelRemoved(event.model); - onModelAdd(event.model); - }) - ); - this._disposables.push( - configChangeEvent((_) => { - monaco_editor_core_exports.editor.getModels().forEach((model) => { - if (model.getLanguageId() === this._languageId) { - onModelRemoved(model); - onModelAdd(model); - } - }); - }) - ); - this._disposables.push({ - dispose: () => { - monaco_editor_core_exports.editor.getModels().forEach(onModelRemoved); - for (let key in this._listener) { - this._listener[key].dispose(); - } - } - }); - monaco_editor_core_exports.editor.getModels().forEach(onModelAdd); - } - dispose() { - this._disposables.forEach((d) => d && d.dispose()); - this._disposables.length = 0; - } - _doValidate(resource, languageId) { - this._worker(resource).then((worker2) => { - return worker2.doValidation(resource.toString()); - }).then((diagnostics) => { - const markers = diagnostics.map((d) => toDiagnostics(resource, d)); - let model = monaco_editor_core_exports.editor.getModel(resource); - if (model && model.getLanguageId() === languageId) { - monaco_editor_core_exports.editor.setModelMarkers(model, languageId, markers); - } - }).then(void 0, (err) => { - console.error(err); - }); - } -}; -function toSeverity(lsSeverity) { - switch (lsSeverity) { - case DiagnosticSeverity.Error: - return monaco_editor_core_exports.MarkerSeverity.Error; - case DiagnosticSeverity.Warning: - return monaco_editor_core_exports.MarkerSeverity.Warning; - case DiagnosticSeverity.Information: - return monaco_editor_core_exports.MarkerSeverity.Info; - case DiagnosticSeverity.Hint: - return monaco_editor_core_exports.MarkerSeverity.Hint; - default: - return monaco_editor_core_exports.MarkerSeverity.Info; - } -} -function toDiagnostics(resource, diag) { - let code = typeof diag.code === "number" ? String(diag.code) : diag.code; - return { - severity: toSeverity(diag.severity), - startLineNumber: diag.range.start.line + 1, - startColumn: diag.range.start.character + 1, - endLineNumber: diag.range.end.line + 1, - endColumn: diag.range.end.character + 1, - message: diag.message, - code, - source: diag.source - }; -} -var CompletionAdapter = class { - constructor(_worker, _triggerCharacters) { - this._worker = _worker; - this._triggerCharacters = _triggerCharacters; - } - get triggerCharacters() { - return this._triggerCharacters; - } - provideCompletionItems(model, position, context, token) { - const resource = model.uri; - return this._worker(resource).then((worker2) => { - return worker2.doComplete(resource.toString(), fromPosition(position)); - }).then((info) => { - if (!info) { - return; - } - const wordInfo = model.getWordUntilPosition(position); - const wordRange = new monaco_editor_core_exports.Range( - position.lineNumber, - wordInfo.startColumn, - position.lineNumber, - wordInfo.endColumn - ); - const items = info.items.map((entry) => { - const item = { - label: entry.label, - insertText: entry.insertText || entry.label, - sortText: entry.sortText, - filterText: entry.filterText, - documentation: entry.documentation, - detail: entry.detail, - command: toCommand(entry.command), - range: wordRange, - kind: toCompletionItemKind(entry.kind) - }; - if (entry.textEdit) { - if (isInsertReplaceEdit(entry.textEdit)) { - item.range = { - insert: toRange(entry.textEdit.insert), - replace: toRange(entry.textEdit.replace) - }; - } else { - item.range = toRange(entry.textEdit.range); - } - item.insertText = entry.textEdit.newText; - } - if (entry.additionalTextEdits) { - item.additionalTextEdits = entry.additionalTextEdits.map(toTextEdit); - } - if (entry.insertTextFormat === InsertTextFormat.Snippet) { - item.insertTextRules = monaco_editor_core_exports.languages.CompletionItemInsertTextRule.InsertAsSnippet; - } - return item; - }); - return { - isIncomplete: info.isIncomplete, - suggestions: items - }; - }); - } -}; -function fromPosition(position) { - if (!position) { - return void 0; - } - return { character: position.column - 1, line: position.lineNumber - 1 }; -} -function fromRange(range) { - if (!range) { - return void 0; - } - return { - start: { - line: range.startLineNumber - 1, - character: range.startColumn - 1 - }, - end: { line: range.endLineNumber - 1, character: range.endColumn - 1 } - }; -} -function toRange(range) { - if (!range) { - return void 0; - } - return new monaco_editor_core_exports.Range( - range.start.line + 1, - range.start.character + 1, - range.end.line + 1, - range.end.character + 1 - ); -} -function isInsertReplaceEdit(edit) { - return typeof edit.insert !== "undefined" && typeof edit.replace !== "undefined"; -} -function toCompletionItemKind(kind) { - const mItemKind = monaco_editor_core_exports.languages.CompletionItemKind; - switch (kind) { - case CompletionItemKind.Text: - return mItemKind.Text; - case CompletionItemKind.Method: - return mItemKind.Method; - case CompletionItemKind.Function: - return mItemKind.Function; - case CompletionItemKind.Constructor: - return mItemKind.Constructor; - case CompletionItemKind.Field: - return mItemKind.Field; - case CompletionItemKind.Variable: - return mItemKind.Variable; - case CompletionItemKind.Class: - return mItemKind.Class; - case CompletionItemKind.Interface: - return mItemKind.Interface; - case CompletionItemKind.Module: - return mItemKind.Module; - case CompletionItemKind.Property: - return mItemKind.Property; - case CompletionItemKind.Unit: - return mItemKind.Unit; - case CompletionItemKind.Value: - return mItemKind.Value; - case CompletionItemKind.Enum: - return mItemKind.Enum; - case CompletionItemKind.Keyword: - return mItemKind.Keyword; - case CompletionItemKind.Snippet: - return mItemKind.Snippet; - case CompletionItemKind.Color: - return mItemKind.Color; - case CompletionItemKind.File: - return mItemKind.File; - case CompletionItemKind.Reference: - return mItemKind.Reference; - } - return mItemKind.Property; -} -function toTextEdit(textEdit) { - if (!textEdit) { - return void 0; - } - return { - range: toRange(textEdit.range), - text: textEdit.newText - }; -} -function toCommand(c) { - return c && c.command === "editor.action.triggerSuggest" ? { id: c.command, title: c.title, arguments: c.arguments } : void 0; -} -var HoverAdapter = class { - constructor(_worker) { - this._worker = _worker; - } - provideHover(model, position, token) { - let resource = model.uri; - return this._worker(resource).then((worker2) => { - return worker2.doHover(resource.toString(), fromPosition(position)); - }).then((info) => { - if (!info) { - return; - } - return { - range: toRange(info.range), - contents: toMarkedStringArray(info.contents) - }; - }); - } -}; -function isMarkupContent(thing) { - return thing && typeof thing === "object" && typeof thing.kind === "string"; -} -function toMarkdownString(entry) { - if (typeof entry === "string") { - return { - value: entry - }; - } - if (isMarkupContent(entry)) { - if (entry.kind === "plaintext") { - return { - value: entry.value.replace(/[\\`*_{}[\]()#+\-.!]/g, "\\$&") - }; - } - return { - value: entry.value - }; - } - return { value: "```" + entry.language + "\n" + entry.value + "\n```\n" }; -} -function toMarkedStringArray(contents) { - if (!contents) { - return void 0; - } - if (Array.isArray(contents)) { - return contents.map(toMarkdownString); - } - return [toMarkdownString(contents)]; -} -var DocumentHighlightAdapter = class { - constructor(_worker) { - this._worker = _worker; - } - provideDocumentHighlights(model, position, token) { - const resource = model.uri; - return this._worker(resource).then((worker2) => worker2.findDocumentHighlights(resource.toString(), fromPosition(position))).then((entries) => { - if (!entries) { - return; - } - return entries.map((entry) => { - return { - range: toRange(entry.range), - kind: toDocumentHighlightKind(entry.kind) - }; - }); - }); - } -}; -function toDocumentHighlightKind(kind) { - switch (kind) { - case DocumentHighlightKind.Read: - return monaco_editor_core_exports.languages.DocumentHighlightKind.Read; - case DocumentHighlightKind.Write: - return monaco_editor_core_exports.languages.DocumentHighlightKind.Write; - case DocumentHighlightKind.Text: - return monaco_editor_core_exports.languages.DocumentHighlightKind.Text; - } - return monaco_editor_core_exports.languages.DocumentHighlightKind.Text; -} -var DefinitionAdapter = class { - constructor(_worker) { - this._worker = _worker; - } - provideDefinition(model, position, token) { - const resource = model.uri; - return this._worker(resource).then((worker2) => { - return worker2.findDefinition(resource.toString(), fromPosition(position)); - }).then((definition) => { - if (!definition) { - return; - } - return [toLocation(definition)]; - }); - } -}; -function toLocation(location) { - return { - uri: monaco_editor_core_exports.Uri.parse(location.uri), - range: toRange(location.range) - }; -} -var ReferenceAdapter = class { - constructor(_worker) { - this._worker = _worker; - } - provideReferences(model, position, context, token) { - const resource = model.uri; - return this._worker(resource).then((worker2) => { - return worker2.findReferences(resource.toString(), fromPosition(position)); - }).then((entries) => { - if (!entries) { - return; - } - return entries.map(toLocation); - }); - } -}; -var RenameAdapter = class { - constructor(_worker) { - this._worker = _worker; - } - provideRenameEdits(model, position, newName, token) { - const resource = model.uri; - return this._worker(resource).then((worker2) => { - return worker2.doRename(resource.toString(), fromPosition(position), newName); - }).then((edit) => { - return toWorkspaceEdit(edit); - }); - } -}; -function toWorkspaceEdit(edit) { - if (!edit || !edit.changes) { - return void 0; - } - let resourceEdits = []; - for (let uri in edit.changes) { - const _uri = monaco_editor_core_exports.Uri.parse(uri); - for (let e of edit.changes[uri]) { - resourceEdits.push({ - resource: _uri, - versionId: void 0, - textEdit: { - range: toRange(e.range), - text: e.newText - } - }); - } - } - return { - edits: resourceEdits - }; -} -var DocumentSymbolAdapter = class { - constructor(_worker) { - this._worker = _worker; - } - provideDocumentSymbols(model, token) { - const resource = model.uri; - return this._worker(resource).then((worker2) => worker2.findDocumentSymbols(resource.toString())).then((items) => { - if (!items) { - return; - } - return items.map((item) => { - if (isDocumentSymbol(item)) { - return toDocumentSymbol(item); - } - return { - name: item.name, - detail: "", - containerName: item.containerName, - kind: toSymbolKind(item.kind), - range: toRange(item.location.range), - selectionRange: toRange(item.location.range), - tags: [] - }; - }); - }); - } -}; -function isDocumentSymbol(symbol) { - return "children" in symbol; -} -function toDocumentSymbol(symbol) { - return { - name: symbol.name, - detail: symbol.detail ?? "", - kind: toSymbolKind(symbol.kind), - range: toRange(symbol.range), - selectionRange: toRange(symbol.selectionRange), - tags: symbol.tags ?? [], - children: (symbol.children ?? []).map((item) => toDocumentSymbol(item)) - }; -} -function toSymbolKind(kind) { - let mKind = monaco_editor_core_exports.languages.SymbolKind; - switch (kind) { - case SymbolKind.File: - return mKind.File; - case SymbolKind.Module: - return mKind.Module; - case SymbolKind.Namespace: - return mKind.Namespace; - case SymbolKind.Package: - return mKind.Package; - case SymbolKind.Class: - return mKind.Class; - case SymbolKind.Method: - return mKind.Method; - case SymbolKind.Property: - return mKind.Property; - case SymbolKind.Field: - return mKind.Field; - case SymbolKind.Constructor: - return mKind.Constructor; - case SymbolKind.Enum: - return mKind.Enum; - case SymbolKind.Interface: - return mKind.Interface; - case SymbolKind.Function: - return mKind.Function; - case SymbolKind.Variable: - return mKind.Variable; - case SymbolKind.Constant: - return mKind.Constant; - case SymbolKind.String: - return mKind.String; - case SymbolKind.Number: - return mKind.Number; - case SymbolKind.Boolean: - return mKind.Boolean; - case SymbolKind.Array: - return mKind.Array; - } - return mKind.Function; -} -var DocumentLinkAdapter = class { - constructor(_worker) { - this._worker = _worker; - } - provideLinks(model, token) { - const resource = model.uri; - return this._worker(resource).then((worker2) => worker2.findDocumentLinks(resource.toString())).then((items) => { - if (!items) { - return; - } - return { - links: items.map((item) => ({ - range: toRange(item.range), - url: item.target - })) - }; - }); - } -}; -var DocumentFormattingEditProvider = class { - constructor(_worker) { - this._worker = _worker; - } - provideDocumentFormattingEdits(model, options, token) { - const resource = model.uri; - return this._worker(resource).then((worker2) => { - return worker2.format(resource.toString(), null, fromFormattingOptions(options)).then((edits) => { - if (!edits || edits.length === 0) { - return; - } - return edits.map(toTextEdit); - }); - }); - } -}; -var DocumentRangeFormattingEditProvider = class { - constructor(_worker) { - this._worker = _worker; - this.canFormatMultipleRanges = false; - } - provideDocumentRangeFormattingEdits(model, range, options, token) { - const resource = model.uri; - return this._worker(resource).then((worker2) => { - return worker2.format(resource.toString(), fromRange(range), fromFormattingOptions(options)).then((edits) => { - if (!edits || edits.length === 0) { - return; - } - return edits.map(toTextEdit); - }); - }); - } -}; -function fromFormattingOptions(options) { - return { - tabSize: options.tabSize, - insertSpaces: options.insertSpaces - }; -} -var DocumentColorAdapter = class { - constructor(_worker) { - this._worker = _worker; - } - provideDocumentColors(model, token) { - const resource = model.uri; - return this._worker(resource).then((worker2) => worker2.findDocumentColors(resource.toString())).then((infos) => { - if (!infos) { - return; - } - return infos.map((item) => ({ - color: item.color, - range: toRange(item.range) - })); - }); - } - provideColorPresentations(model, info, token) { - const resource = model.uri; - return this._worker(resource).then( - (worker2) => worker2.getColorPresentations(resource.toString(), info.color, fromRange(info.range)) - ).then((presentations) => { - if (!presentations) { - return; - } - return presentations.map((presentation) => { - let item = { - label: presentation.label - }; - if (presentation.textEdit) { - item.textEdit = toTextEdit(presentation.textEdit); - } - if (presentation.additionalTextEdits) { - item.additionalTextEdits = presentation.additionalTextEdits.map(toTextEdit); - } - return item; - }); - }); - } -}; -var FoldingRangeAdapter = class { - constructor(_worker) { - this._worker = _worker; - } - provideFoldingRanges(model, context, token) { - const resource = model.uri; - return this._worker(resource).then((worker2) => worker2.getFoldingRanges(resource.toString(), context)).then((ranges) => { - if (!ranges) { - return; - } - return ranges.map((range) => { - const result = { - start: range.startLine + 1, - end: range.endLine + 1 - }; - if (typeof range.kind !== "undefined") { - result.kind = toFoldingRangeKind(range.kind); - } - return result; - }); - }); - } -}; -function toFoldingRangeKind(kind) { - switch (kind) { - case FoldingRangeKind.Comment: - return monaco_editor_core_exports.languages.FoldingRangeKind.Comment; - case FoldingRangeKind.Imports: - return monaco_editor_core_exports.languages.FoldingRangeKind.Imports; - case FoldingRangeKind.Region: - return monaco_editor_core_exports.languages.FoldingRangeKind.Region; - } - return void 0; -} -var SelectionRangeAdapter = class { - constructor(_worker) { - this._worker = _worker; - } - provideSelectionRanges(model, positions, token) { - const resource = model.uri; - return this._worker(resource).then( - (worker2) => worker2.getSelectionRanges( - resource.toString(), - positions.map(fromPosition) - ) - ).then((selectionRanges) => { - if (!selectionRanges) { - return; - } - return selectionRanges.map((selectionRange) => { - const result = []; - while (selectionRange) { - result.push({ range: toRange(selectionRange.range) }); - selectionRange = selectionRange.parent; - } - return result; - }); - }); - } -}; - -// node_modules/jsonc-parser/lib/esm/impl/scanner.js -function createScanner(text, ignoreTrivia = false) { - const len = text.length; - let pos = 0, value = "", tokenOffset = 0, token = 16, lineNumber = 0, lineStartOffset = 0, tokenLineStartOffset = 0, prevTokenLineStartOffset = 0, scanError = 0; - function scanHexDigits(count, exact) { - let digits = 0; - let value2 = 0; - while (digits < count || !exact) { - let ch = text.charCodeAt(pos); - if (ch >= 48 && ch <= 57) { - value2 = value2 * 16 + ch - 48; - } else if (ch >= 65 && ch <= 70) { - value2 = value2 * 16 + ch - 65 + 10; - } else if (ch >= 97 && ch <= 102) { - value2 = value2 * 16 + ch - 97 + 10; - } else { - break; - } - pos++; - digits++; - } - if (digits < count) { - value2 = -1; - } - return value2; - } - function setPosition(newPosition) { - pos = newPosition; - value = ""; - tokenOffset = 0; - token = 16; - scanError = 0; - } - function scanNumber() { - let start = pos; - if (text.charCodeAt(pos) === 48) { - pos++; - } else { - pos++; - while (pos < text.length && isDigit(text.charCodeAt(pos))) { - pos++; - } - } - if (pos < text.length && text.charCodeAt(pos) === 46) { - pos++; - if (pos < text.length && isDigit(text.charCodeAt(pos))) { - pos++; - while (pos < text.length && isDigit(text.charCodeAt(pos))) { - pos++; - } - } else { - scanError = 3; - return text.substring(start, pos); - } - } - let end = pos; - if (pos < text.length && (text.charCodeAt(pos) === 69 || text.charCodeAt(pos) === 101)) { - pos++; - if (pos < text.length && text.charCodeAt(pos) === 43 || text.charCodeAt(pos) === 45) { - pos++; - } - if (pos < text.length && isDigit(text.charCodeAt(pos))) { - pos++; - while (pos < text.length && isDigit(text.charCodeAt(pos))) { - pos++; - } - end = pos; - } else { - scanError = 3; - } - } - return text.substring(start, end); - } - function scanString() { - let result = "", start = pos; - while (true) { - if (pos >= len) { - result += text.substring(start, pos); - scanError = 2; - break; - } - const ch = text.charCodeAt(pos); - if (ch === 34) { - result += text.substring(start, pos); - pos++; - break; - } - if (ch === 92) { - result += text.substring(start, pos); - pos++; - if (pos >= len) { - scanError = 2; - break; - } - const ch2 = text.charCodeAt(pos++); - switch (ch2) { - case 34: - result += '"'; - break; - case 92: - result += "\\"; - break; - case 47: - result += "/"; - break; - case 98: - result += "\b"; - break; - case 102: - result += "\f"; - break; - case 110: - result += "\n"; - break; - case 114: - result += "\r"; - break; - case 116: - result += " "; - break; - case 117: - const ch3 = scanHexDigits(4, true); - if (ch3 >= 0) { - result += String.fromCharCode(ch3); - } else { - scanError = 4; - } - break; - default: - scanError = 5; - } - start = pos; - continue; - } - if (ch >= 0 && ch <= 31) { - if (isLineBreak(ch)) { - result += text.substring(start, pos); - scanError = 2; - break; - } else { - scanError = 6; - } - } - pos++; - } - return result; - } - function scanNext() { - value = ""; - scanError = 0; - tokenOffset = pos; - lineStartOffset = lineNumber; - prevTokenLineStartOffset = tokenLineStartOffset; - if (pos >= len) { - tokenOffset = len; - return token = 17; - } - let code = text.charCodeAt(pos); - if (isWhiteSpace(code)) { - do { - pos++; - value += String.fromCharCode(code); - code = text.charCodeAt(pos); - } while (isWhiteSpace(code)); - return token = 15; - } - if (isLineBreak(code)) { - pos++; - value += String.fromCharCode(code); - if (code === 13 && text.charCodeAt(pos) === 10) { - pos++; - value += "\n"; - } - lineNumber++; - tokenLineStartOffset = pos; - return token = 14; - } - switch (code) { - case 123: - pos++; - return token = 1; - case 125: - pos++; - return token = 2; - case 91: - pos++; - return token = 3; - case 93: - pos++; - return token = 4; - case 58: - pos++; - return token = 6; - case 44: - pos++; - return token = 5; - case 34: - pos++; - value = scanString(); - return token = 10; - case 47: - const start = pos - 1; - if (text.charCodeAt(pos + 1) === 47) { - pos += 2; - while (pos < len) { - if (isLineBreak(text.charCodeAt(pos))) { - break; - } - pos++; - } - value = text.substring(start, pos); - return token = 12; - } - if (text.charCodeAt(pos + 1) === 42) { - pos += 2; - const safeLength = len - 1; - let commentClosed = false; - while (pos < safeLength) { - const ch = text.charCodeAt(pos); - if (ch === 42 && text.charCodeAt(pos + 1) === 47) { - pos += 2; - commentClosed = true; - break; - } - pos++; - if (isLineBreak(ch)) { - if (ch === 13 && text.charCodeAt(pos) === 10) { - pos++; - } - lineNumber++; - tokenLineStartOffset = pos; - } - } - if (!commentClosed) { - pos++; - scanError = 1; - } - value = text.substring(start, pos); - return token = 13; - } - value += String.fromCharCode(code); - pos++; - return token = 16; - case 45: - value += String.fromCharCode(code); - pos++; - if (pos === len || !isDigit(text.charCodeAt(pos))) { - return token = 16; - } - case 48: - case 49: - case 50: - case 51: - case 52: - case 53: - case 54: - case 55: - case 56: - case 57: - value += scanNumber(); - return token = 11; - default: - while (pos < len && isUnknownContentCharacter(code)) { - pos++; - code = text.charCodeAt(pos); - } - if (tokenOffset !== pos) { - value = text.substring(tokenOffset, pos); - switch (value) { - case "true": - return token = 8; - case "false": - return token = 9; - case "null": - return token = 7; - } - return token = 16; - } - value += String.fromCharCode(code); - pos++; - return token = 16; - } - } - function isUnknownContentCharacter(code) { - if (isWhiteSpace(code) || isLineBreak(code)) { - return false; - } - switch (code) { - case 125: - case 93: - case 123: - case 91: - case 34: - case 58: - case 44: - case 47: - return false; - } - return true; - } - function scanNextNonTrivia() { - let result; - do { - result = scanNext(); - } while (result >= 12 && result <= 15); - return result; - } - return { - setPosition, - getPosition: () => pos, - scan: ignoreTrivia ? scanNextNonTrivia : scanNext, - getToken: () => token, - getTokenValue: () => value, - getTokenOffset: () => tokenOffset, - getTokenLength: () => pos - tokenOffset, - getTokenStartLine: () => lineStartOffset, - getTokenStartCharacter: () => tokenOffset - prevTokenLineStartOffset, - getTokenError: () => scanError - }; -} -function isWhiteSpace(ch) { - return ch === 32 || ch === 9; -} -function isLineBreak(ch) { - return ch === 10 || ch === 13; -} -function isDigit(ch) { - return ch >= 48 && ch <= 57; -} -var CharacterCodes; -(function(CharacterCodes2) { - CharacterCodes2[CharacterCodes2["lineFeed"] = 10] = "lineFeed"; - CharacterCodes2[CharacterCodes2["carriageReturn"] = 13] = "carriageReturn"; - CharacterCodes2[CharacterCodes2["space"] = 32] = "space"; - CharacterCodes2[CharacterCodes2["_0"] = 48] = "_0"; - CharacterCodes2[CharacterCodes2["_1"] = 49] = "_1"; - CharacterCodes2[CharacterCodes2["_2"] = 50] = "_2"; - CharacterCodes2[CharacterCodes2["_3"] = 51] = "_3"; - CharacterCodes2[CharacterCodes2["_4"] = 52] = "_4"; - CharacterCodes2[CharacterCodes2["_5"] = 53] = "_5"; - CharacterCodes2[CharacterCodes2["_6"] = 54] = "_6"; - CharacterCodes2[CharacterCodes2["_7"] = 55] = "_7"; - CharacterCodes2[CharacterCodes2["_8"] = 56] = "_8"; - CharacterCodes2[CharacterCodes2["_9"] = 57] = "_9"; - CharacterCodes2[CharacterCodes2["a"] = 97] = "a"; - CharacterCodes2[CharacterCodes2["b"] = 98] = "b"; - CharacterCodes2[CharacterCodes2["c"] = 99] = "c"; - CharacterCodes2[CharacterCodes2["d"] = 100] = "d"; - CharacterCodes2[CharacterCodes2["e"] = 101] = "e"; - CharacterCodes2[CharacterCodes2["f"] = 102] = "f"; - CharacterCodes2[CharacterCodes2["g"] = 103] = "g"; - CharacterCodes2[CharacterCodes2["h"] = 104] = "h"; - CharacterCodes2[CharacterCodes2["i"] = 105] = "i"; - CharacterCodes2[CharacterCodes2["j"] = 106] = "j"; - CharacterCodes2[CharacterCodes2["k"] = 107] = "k"; - CharacterCodes2[CharacterCodes2["l"] = 108] = "l"; - CharacterCodes2[CharacterCodes2["m"] = 109] = "m"; - CharacterCodes2[CharacterCodes2["n"] = 110] = "n"; - CharacterCodes2[CharacterCodes2["o"] = 111] = "o"; - CharacterCodes2[CharacterCodes2["p"] = 112] = "p"; - CharacterCodes2[CharacterCodes2["q"] = 113] = "q"; - CharacterCodes2[CharacterCodes2["r"] = 114] = "r"; - CharacterCodes2[CharacterCodes2["s"] = 115] = "s"; - CharacterCodes2[CharacterCodes2["t"] = 116] = "t"; - CharacterCodes2[CharacterCodes2["u"] = 117] = "u"; - CharacterCodes2[CharacterCodes2["v"] = 118] = "v"; - CharacterCodes2[CharacterCodes2["w"] = 119] = "w"; - CharacterCodes2[CharacterCodes2["x"] = 120] = "x"; - CharacterCodes2[CharacterCodes2["y"] = 121] = "y"; - CharacterCodes2[CharacterCodes2["z"] = 122] = "z"; - CharacterCodes2[CharacterCodes2["A"] = 65] = "A"; - CharacterCodes2[CharacterCodes2["B"] = 66] = "B"; - CharacterCodes2[CharacterCodes2["C"] = 67] = "C"; - CharacterCodes2[CharacterCodes2["D"] = 68] = "D"; - CharacterCodes2[CharacterCodes2["E"] = 69] = "E"; - CharacterCodes2[CharacterCodes2["F"] = 70] = "F"; - CharacterCodes2[CharacterCodes2["G"] = 71] = "G"; - CharacterCodes2[CharacterCodes2["H"] = 72] = "H"; - CharacterCodes2[CharacterCodes2["I"] = 73] = "I"; - CharacterCodes2[CharacterCodes2["J"] = 74] = "J"; - CharacterCodes2[CharacterCodes2["K"] = 75] = "K"; - CharacterCodes2[CharacterCodes2["L"] = 76] = "L"; - CharacterCodes2[CharacterCodes2["M"] = 77] = "M"; - CharacterCodes2[CharacterCodes2["N"] = 78] = "N"; - CharacterCodes2[CharacterCodes2["O"] = 79] = "O"; - CharacterCodes2[CharacterCodes2["P"] = 80] = "P"; - CharacterCodes2[CharacterCodes2["Q"] = 81] = "Q"; - CharacterCodes2[CharacterCodes2["R"] = 82] = "R"; - CharacterCodes2[CharacterCodes2["S"] = 83] = "S"; - CharacterCodes2[CharacterCodes2["T"] = 84] = "T"; - CharacterCodes2[CharacterCodes2["U"] = 85] = "U"; - CharacterCodes2[CharacterCodes2["V"] = 86] = "V"; - CharacterCodes2[CharacterCodes2["W"] = 87] = "W"; - CharacterCodes2[CharacterCodes2["X"] = 88] = "X"; - CharacterCodes2[CharacterCodes2["Y"] = 89] = "Y"; - CharacterCodes2[CharacterCodes2["Z"] = 90] = "Z"; - CharacterCodes2[CharacterCodes2["asterisk"] = 42] = "asterisk"; - CharacterCodes2[CharacterCodes2["backslash"] = 92] = "backslash"; - CharacterCodes2[CharacterCodes2["closeBrace"] = 125] = "closeBrace"; - CharacterCodes2[CharacterCodes2["closeBracket"] = 93] = "closeBracket"; - CharacterCodes2[CharacterCodes2["colon"] = 58] = "colon"; - CharacterCodes2[CharacterCodes2["comma"] = 44] = "comma"; - CharacterCodes2[CharacterCodes2["dot"] = 46] = "dot"; - CharacterCodes2[CharacterCodes2["doubleQuote"] = 34] = "doubleQuote"; - CharacterCodes2[CharacterCodes2["minus"] = 45] = "minus"; - CharacterCodes2[CharacterCodes2["openBrace"] = 123] = "openBrace"; - CharacterCodes2[CharacterCodes2["openBracket"] = 91] = "openBracket"; - CharacterCodes2[CharacterCodes2["plus"] = 43] = "plus"; - CharacterCodes2[CharacterCodes2["slash"] = 47] = "slash"; - CharacterCodes2[CharacterCodes2["formFeed"] = 12] = "formFeed"; - CharacterCodes2[CharacterCodes2["tab"] = 9] = "tab"; -})(CharacterCodes || (CharacterCodes = {})); - -// node_modules/jsonc-parser/lib/esm/impl/string-intern.js -var cachedSpaces = new Array(20).fill(0).map((_, index) => { - return " ".repeat(index); -}); -var maxCachedValues = 200; -var cachedBreakLinesWithSpaces = { - " ": { - "\n": new Array(maxCachedValues).fill(0).map((_, index) => { - return "\n" + " ".repeat(index); - }), - "\r": new Array(maxCachedValues).fill(0).map((_, index) => { - return "\r" + " ".repeat(index); - }), - "\r\n": new Array(maxCachedValues).fill(0).map((_, index) => { - return "\r\n" + " ".repeat(index); - }) - }, - " ": { - "\n": new Array(maxCachedValues).fill(0).map((_, index) => { - return "\n" + " ".repeat(index); - }), - "\r": new Array(maxCachedValues).fill(0).map((_, index) => { - return "\r" + " ".repeat(index); - }), - "\r\n": new Array(maxCachedValues).fill(0).map((_, index) => { - return "\r\n" + " ".repeat(index); - }) - } -}; - -// node_modules/jsonc-parser/lib/esm/impl/parser.js -var ParseOptions; -(function(ParseOptions2) { - ParseOptions2.DEFAULT = { - allowTrailingComma: false - }; -})(ParseOptions || (ParseOptions = {})); - -// node_modules/jsonc-parser/lib/esm/main.js -var createScanner2 = createScanner; -var ScanError; -(function(ScanError2) { - ScanError2[ScanError2["None"] = 0] = "None"; - ScanError2[ScanError2["UnexpectedEndOfComment"] = 1] = "UnexpectedEndOfComment"; - ScanError2[ScanError2["UnexpectedEndOfString"] = 2] = "UnexpectedEndOfString"; - ScanError2[ScanError2["UnexpectedEndOfNumber"] = 3] = "UnexpectedEndOfNumber"; - ScanError2[ScanError2["InvalidUnicode"] = 4] = "InvalidUnicode"; - ScanError2[ScanError2["InvalidEscapeCharacter"] = 5] = "InvalidEscapeCharacter"; - ScanError2[ScanError2["InvalidCharacter"] = 6] = "InvalidCharacter"; -})(ScanError || (ScanError = {})); -var SyntaxKind; -(function(SyntaxKind2) { - SyntaxKind2[SyntaxKind2["OpenBraceToken"] = 1] = "OpenBraceToken"; - SyntaxKind2[SyntaxKind2["CloseBraceToken"] = 2] = "CloseBraceToken"; - SyntaxKind2[SyntaxKind2["OpenBracketToken"] = 3] = "OpenBracketToken"; - SyntaxKind2[SyntaxKind2["CloseBracketToken"] = 4] = "CloseBracketToken"; - SyntaxKind2[SyntaxKind2["CommaToken"] = 5] = "CommaToken"; - SyntaxKind2[SyntaxKind2["ColonToken"] = 6] = "ColonToken"; - SyntaxKind2[SyntaxKind2["NullKeyword"] = 7] = "NullKeyword"; - SyntaxKind2[SyntaxKind2["TrueKeyword"] = 8] = "TrueKeyword"; - SyntaxKind2[SyntaxKind2["FalseKeyword"] = 9] = "FalseKeyword"; - SyntaxKind2[SyntaxKind2["StringLiteral"] = 10] = "StringLiteral"; - SyntaxKind2[SyntaxKind2["NumericLiteral"] = 11] = "NumericLiteral"; - SyntaxKind2[SyntaxKind2["LineCommentTrivia"] = 12] = "LineCommentTrivia"; - SyntaxKind2[SyntaxKind2["BlockCommentTrivia"] = 13] = "BlockCommentTrivia"; - SyntaxKind2[SyntaxKind2["LineBreakTrivia"] = 14] = "LineBreakTrivia"; - SyntaxKind2[SyntaxKind2["Trivia"] = 15] = "Trivia"; - SyntaxKind2[SyntaxKind2["Unknown"] = 16] = "Unknown"; - SyntaxKind2[SyntaxKind2["EOF"] = 17] = "EOF"; -})(SyntaxKind || (SyntaxKind = {})); -var ParseErrorCode; -(function(ParseErrorCode2) { - ParseErrorCode2[ParseErrorCode2["InvalidSymbol"] = 1] = "InvalidSymbol"; - ParseErrorCode2[ParseErrorCode2["InvalidNumberFormat"] = 2] = "InvalidNumberFormat"; - ParseErrorCode2[ParseErrorCode2["PropertyNameExpected"] = 3] = "PropertyNameExpected"; - ParseErrorCode2[ParseErrorCode2["ValueExpected"] = 4] = "ValueExpected"; - ParseErrorCode2[ParseErrorCode2["ColonExpected"] = 5] = "ColonExpected"; - ParseErrorCode2[ParseErrorCode2["CommaExpected"] = 6] = "CommaExpected"; - ParseErrorCode2[ParseErrorCode2["CloseBraceExpected"] = 7] = "CloseBraceExpected"; - ParseErrorCode2[ParseErrorCode2["CloseBracketExpected"] = 8] = "CloseBracketExpected"; - ParseErrorCode2[ParseErrorCode2["EndOfFileExpected"] = 9] = "EndOfFileExpected"; - ParseErrorCode2[ParseErrorCode2["InvalidCommentToken"] = 10] = "InvalidCommentToken"; - ParseErrorCode2[ParseErrorCode2["UnexpectedEndOfComment"] = 11] = "UnexpectedEndOfComment"; - ParseErrorCode2[ParseErrorCode2["UnexpectedEndOfString"] = 12] = "UnexpectedEndOfString"; - ParseErrorCode2[ParseErrorCode2["UnexpectedEndOfNumber"] = 13] = "UnexpectedEndOfNumber"; - ParseErrorCode2[ParseErrorCode2["InvalidUnicode"] = 14] = "InvalidUnicode"; - ParseErrorCode2[ParseErrorCode2["InvalidEscapeCharacter"] = 15] = "InvalidEscapeCharacter"; - ParseErrorCode2[ParseErrorCode2["InvalidCharacter"] = 16] = "InvalidCharacter"; -})(ParseErrorCode || (ParseErrorCode = {})); - -// src/language/json/tokenization.ts -function createTokenizationSupport(supportComments) { - return { - getInitialState: () => new JSONState(null, null, false, null), - tokenize: (line, state) => tokenize(supportComments, line, state) - }; -} -var TOKEN_DELIM_OBJECT = "delimiter.bracket.json"; -var TOKEN_DELIM_ARRAY = "delimiter.array.json"; -var TOKEN_DELIM_COLON = "delimiter.colon.json"; -var TOKEN_DELIM_COMMA = "delimiter.comma.json"; -var TOKEN_VALUE_BOOLEAN = "keyword.json"; -var TOKEN_VALUE_NULL = "keyword.json"; -var TOKEN_VALUE_STRING = "string.value.json"; -var TOKEN_VALUE_NUMBER = "number.json"; -var TOKEN_PROPERTY_NAME = "string.key.json"; -var TOKEN_COMMENT_BLOCK = "comment.block.json"; -var TOKEN_COMMENT_LINE = "comment.line.json"; -var ParentsStack = class _ParentsStack { - constructor(parent, type) { - this.parent = parent; - this.type = type; - } - static pop(parents) { - if (parents) { - return parents.parent; - } - return null; - } - static push(parents, type) { - return new _ParentsStack(parents, type); - } - static equals(a, b) { - if (!a && !b) { - return true; - } - if (!a || !b) { - return false; - } - while (a && b) { - if (a === b) { - return true; - } - if (a.type !== b.type) { - return false; - } - a = a.parent; - b = b.parent; - } - return true; - } -}; -var JSONState = class _JSONState { - constructor(state, scanError, lastWasColon, parents) { - this._state = state; - this.scanError = scanError; - this.lastWasColon = lastWasColon; - this.parents = parents; - } - clone() { - return new _JSONState(this._state, this.scanError, this.lastWasColon, this.parents); - } - equals(other) { - if (other === this) { - return true; - } - if (!other || !(other instanceof _JSONState)) { - return false; - } - return this.scanError === other.scanError && this.lastWasColon === other.lastWasColon && ParentsStack.equals(this.parents, other.parents); - } - getStateData() { - return this._state; - } - setStateData(state) { - this._state = state; - } -}; -function tokenize(comments, line, state, offsetDelta = 0) { - let numberOfInsertedCharacters = 0; - let adjustOffset = false; - switch (state.scanError) { - case 2 /* UnexpectedEndOfString */: - line = '"' + line; - numberOfInsertedCharacters = 1; - break; - case 1 /* UnexpectedEndOfComment */: - line = "/*" + line; - numberOfInsertedCharacters = 2; - break; - } - const scanner = createScanner2(line); - let lastWasColon = state.lastWasColon; - let parents = state.parents; - const ret = { - tokens: [], - endState: state.clone() - }; - while (true) { - let offset = offsetDelta + scanner.getPosition(); - let type = ""; - const kind = scanner.scan(); - if (kind === 17 /* EOF */) { - break; - } - if (offset === offsetDelta + scanner.getPosition()) { - throw new Error( - "Scanner did not advance, next 3 characters are: " + line.substr(scanner.getPosition(), 3) - ); - } - if (adjustOffset) { - offset -= numberOfInsertedCharacters; - } - adjustOffset = numberOfInsertedCharacters > 0; - switch (kind) { - case 1 /* OpenBraceToken */: - parents = ParentsStack.push(parents, 0 /* Object */); - type = TOKEN_DELIM_OBJECT; - lastWasColon = false; - break; - case 2 /* CloseBraceToken */: - parents = ParentsStack.pop(parents); - type = TOKEN_DELIM_OBJECT; - lastWasColon = false; - break; - case 3 /* OpenBracketToken */: - parents = ParentsStack.push(parents, 1 /* Array */); - type = TOKEN_DELIM_ARRAY; - lastWasColon = false; - break; - case 4 /* CloseBracketToken */: - parents = ParentsStack.pop(parents); - type = TOKEN_DELIM_ARRAY; - lastWasColon = false; - break; - case 6 /* ColonToken */: - type = TOKEN_DELIM_COLON; - lastWasColon = true; - break; - case 5 /* CommaToken */: - type = TOKEN_DELIM_COMMA; - lastWasColon = false; - break; - case 8 /* TrueKeyword */: - case 9 /* FalseKeyword */: - type = TOKEN_VALUE_BOOLEAN; - lastWasColon = false; - break; - case 7 /* NullKeyword */: - type = TOKEN_VALUE_NULL; - lastWasColon = false; - break; - case 10 /* StringLiteral */: - const currentParent = parents ? parents.type : 0 /* Object */; - const inArray = currentParent === 1 /* Array */; - type = lastWasColon || inArray ? TOKEN_VALUE_STRING : TOKEN_PROPERTY_NAME; - lastWasColon = false; - break; - case 11 /* NumericLiteral */: - type = TOKEN_VALUE_NUMBER; - lastWasColon = false; - break; - } - if (comments) { - switch (kind) { - case 12 /* LineCommentTrivia */: - type = TOKEN_COMMENT_LINE; - break; - case 13 /* BlockCommentTrivia */: - type = TOKEN_COMMENT_BLOCK; - break; - } - } - ret.endState = new JSONState( - state.getStateData(), - scanner.getTokenError(), - lastWasColon, - parents - ); - ret.tokens.push({ - startIndex: offset, - scopes: type - }); - } - return ret; -} - -// src/language/json/jsonMode.ts -var worker; -function getWorker() { - return new Promise((resolve, reject) => { - if (!worker) { - return reject("JSON not registered!"); - } - resolve(worker); - }); -} -var JSONDiagnosticsAdapter = class extends DiagnosticsAdapter { - constructor(languageId, worker2, defaults) { - super(languageId, worker2, defaults.onDidChange); - this._disposables.push( - monaco_editor_core_exports.editor.onWillDisposeModel((model) => { - this._resetSchema(model.uri); - }) - ); - this._disposables.push( - monaco_editor_core_exports.editor.onDidChangeModelLanguage((event) => { - this._resetSchema(event.model.uri); - }) - ); - } - _resetSchema(resource) { - this._worker().then((worker2) => { - worker2.resetSchema(resource.toString()); - }); - } -}; -function setupMode(defaults) { - const disposables = []; - const providers = []; - const client = new WorkerManager(defaults); - disposables.push(client); - worker = (...uris) => { - return client.getLanguageServiceWorker(...uris); - }; - function registerProviders() { - const { languageId, modeConfiguration: modeConfiguration2 } = defaults; - disposeAll(providers); - if (modeConfiguration2.documentFormattingEdits) { - providers.push( - monaco_editor_core_exports.languages.registerDocumentFormattingEditProvider( - languageId, - new DocumentFormattingEditProvider(worker) - ) - ); - } - if (modeConfiguration2.documentRangeFormattingEdits) { - providers.push( - monaco_editor_core_exports.languages.registerDocumentRangeFormattingEditProvider( - languageId, - new DocumentRangeFormattingEditProvider(worker) - ) - ); - } - if (modeConfiguration2.completionItems) { - providers.push( - monaco_editor_core_exports.languages.registerCompletionItemProvider( - languageId, - new CompletionAdapter(worker, [" ", ":", '"']) - ) - ); - } - if (modeConfiguration2.hovers) { - providers.push( - monaco_editor_core_exports.languages.registerHoverProvider(languageId, new HoverAdapter(worker)) - ); - } - if (modeConfiguration2.documentSymbols) { - providers.push( - monaco_editor_core_exports.languages.registerDocumentSymbolProvider( - languageId, - new DocumentSymbolAdapter(worker) - ) - ); - } - if (modeConfiguration2.tokens) { - providers.push(monaco_editor_core_exports.languages.setTokensProvider(languageId, createTokenizationSupport(true))); - } - if (modeConfiguration2.colors) { - providers.push( - monaco_editor_core_exports.languages.registerColorProvider( - languageId, - new DocumentColorAdapter(worker) - ) - ); - } - if (modeConfiguration2.foldingRanges) { - providers.push( - monaco_editor_core_exports.languages.registerFoldingRangeProvider( - languageId, - new FoldingRangeAdapter(worker) - ) - ); - } - if (modeConfiguration2.diagnostics) { - providers.push(new JSONDiagnosticsAdapter(languageId, worker, defaults)); - } - if (modeConfiguration2.selectionRanges) { - providers.push( - monaco_editor_core_exports.languages.registerSelectionRangeProvider( - languageId, - new SelectionRangeAdapter(worker) - ) - ); - } - } - registerProviders(); - disposables.push(monaco_editor_core_exports.languages.setLanguageConfiguration(defaults.languageId, richEditConfiguration)); - let modeConfiguration = defaults.modeConfiguration; - defaults.onDidChange((newDefaults) => { - if (newDefaults.modeConfiguration !== modeConfiguration) { - modeConfiguration = newDefaults.modeConfiguration; - registerProviders(); - } - }); - disposables.push(asDisposable(providers)); - return asDisposable(disposables); -} -function asDisposable(disposables) { - return { dispose: () => disposeAll(disposables) }; -} -function disposeAll(disposables) { - while (disposables.length) { - disposables.pop().dispose(); - } -} -var richEditConfiguration = { - wordPattern: /(-?\d*\.\d\w*)|([^\[\{\]\}\:\"\,\s]+)/g, - comments: { - lineComment: "//", - blockComment: ["/*", "*/"] - }, - brackets: [ - ["{", "}"], - ["[", "]"] - ], - autoClosingPairs: [ - { open: "{", close: "}", notIn: ["string"] }, - { open: "[", close: "]", notIn: ["string"] }, - { open: '"', close: '"', notIn: ["string"] } - ] -}; - - - -/***/ }) - -}; -; \ No newline at end of file diff --git a/assets/js/87294416.1c8fab42.js b/assets/js/87294416.1c8fab42.js deleted file mode 100644 index df00a834..00000000 --- a/assets/js/87294416.1c8fab42.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1250],{859:(a,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>h,frontMatter:()=>l,metadata:()=>x,toc:()=>f});var e=n(74848),i=n(28453),o=n(85819);const r=JSON.parse('{"timing":{"repeat":{"durationMax":5,"durationUnit":"d"}}}');var s=n(11470),u=n(19365),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:r})}),(0,e.jsx)(u.A,{value:"json",label:"Dosage",children:(0,e.jsx)(o.default,{language:"json",children:JSON.stringify(r,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:()=>u});var e=n(96540),i=n(76300),o=n(52376),r=n(85819),s=n(74848);function u(a){let{dosage:t,config:n}=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.U.build({...n});p(a)}()}),[n]),(0,e.useEffect)((()=>{!async function(){if(x){const a=x.fromDosageToText(t);d(a)}}()}),[t,x]);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsxs)("select",{value:l,onChange:a=>c(a.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 a=x.fromDosageToText(t);d(a)}},children:"Confirm"})]}),(0,s.jsx)("div",{style:{marginTop:"10px"},children:(0,s.jsx)(r.default,{language:"markup",children:(f=u,(0,o.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/87294416.856a4cc6.js b/assets/js/87294416.856a4cc6.js new file mode 100644 index 00000000..1761e149 --- /dev/null +++ b/assets/js/87294416.856a4cc6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1250],{61387:(a,t,e)=>{e.r(t),e.d(t,{assets:()=>p,contentTitle:()=>x,default:()=>h,frontMatter:()=>c,metadata:()=>n,toc:()=>f});const n=JSON.parse('{"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":false,"unlisted":false,"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"}}');var i=e(74848),o=e(28453),r=e(85819);const s=JSON.parse('{"timing":{"repeat":{"durationMax":5,"durationUnit":"d"}}}');var u=e(11470),d=e(19365),l=e(816);const c={description:"durationMax only",title:"\u23f0 durationMax"},x=void 0,p={},f=[];function g(a){return(0,i.jsxs)(u.A,{children:[(0,i.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(l.A,{dosage:s})}),(0,i.jsx)(d.A,{value:"json",label:"Dosage",children:(0,i.jsx)(r.default,{language:"json",children:JSON.stringify(s,null,2)})})]})}function h(a={}){const{wrapper:t}={...(0,o.R)(),...a.components};return t?(0,i.jsx)(t,{...a,children:(0,i.jsx)(g,{...a})}):g()}},816:(a,t,e)=>{e.d(t,{A:()=>u});var n=e(96540),i=e(76300),o=e(52376),r=e(85819),s=e(74848);function u(a){let{dosage:t,config:e}=a;const[u,d]=(0,n.useState)(""),[l,c]=(0,n.useState)(e?.language||"en"),[x,p]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const a=await i.U.build({...e});p(a)}()}),[e]),(0,n.useEffect)((()=>{!async function(){if(x){const a=x.fromDosageToText(t);d(a)}}()}),[t,x]);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsxs)("select",{value:l,onChange:a=>c(a.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 a=x.fromDosageToText(t);d(a)}},children:"Confirm"})]}),(0,s.jsx)("div",{style:{marginTop:"10px"},children:(0,s.jsx)(r.default,{language:"markup",children:(f=u,(0,o.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/883bfc27.5732fd71.js b/assets/js/883bfc27.5732fd71.js deleted file mode 100644 index 9d50f98d..00000000 --- a/assets/js/883bfc27.5732fd71.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4812],{7079:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>u,default:()=>x,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var o=n(74848),s=n(28453),a=n(85819);const c=JSON.parse('{"timing":{"code":{"text":"Take medication in the morning on weekends and days off work"}}}');var i=n(11470),d=n(19365),r=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)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(r.A,{dosage:c})}),(0,o.jsx)(d.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/Config",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:()=>d});var o=n(96540),s=n(76300),a=n(52376),c=n(85819),i=n(74848);function d(e){let{dosage:t,config:n}=e;const[d,r]=(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.U.build({...n});f(e)}()}),[n]),(0,o.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(t);r(e)}}()}),[t,p]);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(p){await p.changeLanguage(l);const e=p.fromDosageToText(t);r(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(c.default,{language:"markup",children:(g=d,(0,a.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/883bfc27.e0f2109e.js b/assets/js/883bfc27.e0f2109e.js new file mode 100644 index 00000000..6f613af0 --- /dev/null +++ b/assets/js/883bfc27.e0f2109e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4812],{4522:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>p,default:()=>x,frontMatter:()=>u,metadata:()=>o,toc:()=>g});const o=JSON.parse('{"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":false,"unlisted":false,"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"}}');var s=n(74848),a=n(28453),c=n(85819);const i=JSON.parse('{"timing":{"code":{"text":"Take medication in the morning on weekends and days off work"}}}');var d=n(11470),r=n(19365),l=n(816);const u={description:"code",title:"\ud83d\udcbb code"},p=void 0,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)(d.A,{children:[(0,s.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(l.A,{dosage:i})}),(0,s.jsx)(r.A,{value:"json",label:"Dosage",children:(0,s.jsx)(c.default,{language:"json",children:JSON.stringify(i,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/Config",children:"fromCodeableConceptToString"})," 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:()=>d});var o=n(96540),s=n(76300),a=n(52376),c=n(85819),i=n(74848);function d(e){let{dosage:t,config:n}=e;const[d,r]=(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.U.build({...n});f(e)}()}),[n]),(0,o.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(t);r(e)}}()}),[t,p]);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(p){await p.changeLanguage(l);const e=p.fromDosageToText(t);r(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(c.default,{language:"markup",children:(g=d,(0,a.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/915d2175.a93f3789.js b/assets/js/915d2175.a93f3789.js deleted file mode 100644 index 4d87bedf..00000000 --- a/assets/js/915d2175.a93f3789.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[7829],{44376:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>u,default:()=>h,frontMatter:()=>d,metadata:()=>g,toc:()=>m});var i=s(74848),n=s(28453),a=s(85819);const l=JSON.parse('{"timing":{"repeat":{"dayOfWeek":["fri"]}}}');var r=s(11470),o=s(19365),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={},m=[];function p(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)(p,{...e})}):p()}},816:(e,t,s)=>{s.d(t,{A:()=>o});var i=s(96540),n=s(76300),a=s(52376),l=s(85819),r=s(74848);function o(e){let{dosage:t,config:s}=e;const[o,c]=(0,i.useState)(""),[d,u]=(0,i.useState)(s?.language||"en"),[g,f]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await n.U.build({...s});f(e)}()}),[s]),(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: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)(l.default,{language:"markup",children:(m=o,(0,a.decode)(m))})})]});var m}}}]); \ No newline at end of file diff --git a/assets/js/915d2175.fa7feda1.js b/assets/js/915d2175.fa7feda1.js new file mode 100644 index 00000000..3e454b29 --- /dev/null +++ b/assets/js/915d2175.fa7feda1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[7829],{21827:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>g,contentTitle:()=>f,default:()=>h,frontMatter:()=>u,metadata:()=>i,toc:()=>p});const i=JSON.parse('{"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":false,"unlisted":false,"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"}}');var n=s(74848),a=s(28453),l=s(85819);const r=JSON.parse('{"timing":{"repeat":{"dayOfWeek":["fri"]}}}');var o=s(11470),c=s(19365),d=s(816);const u={description:"Single item",title:"\ud83d\udcc5 Single item"},f=void 0,g={},p=[];function m(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)(d.A,{dosage:r})}),(0,n.jsx)(c.A,{value:"json",label:"Dosage",children:(0,n.jsx)(l.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)(m,{...e})}):m()}},816:(e,t,s)=>{s.d(t,{A:()=>o});var i=s(96540),n=s(76300),a=s(52376),l=s(85819),r=s(74848);function o(e){let{dosage:t,config:s}=e;const[o,c]=(0,i.useState)(""),[d,u]=(0,i.useState)(s?.language||"en"),[f,g]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await n.U.build({...s});g(e)}()}),[s]),(0,i.useEffect)((()=>{!async function(){if(f){const e=f.fromDosageToText(t);c(e)}}()}),[t,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(t);c(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(l.default,{language:"markup",children:(p=o,(0,a.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/96e7b265.2e1a87e7.js b/assets/js/96e7b265.2e1a87e7.js new file mode 100644 index 00000000..be88071a --- /dev/null +++ b/assets/js/96e7b265.2e1a87e7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3301],{40238:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>h,contentTitle:()=>g,default:()=>x,frontMatter:()=>u,metadata:()=>t,toc:()=>p});const t=JSON.parse('{"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":false,"unlisted":false,"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"}}');var o=s(74848),a=s(28453),i=s(85819);const l=JSON.parse('{"doseAndRate":[{"doseRange":{"low":{"value":3,"unit":"pills"},"high":{"value":5,"unit":"pills"}}}]}');var d=s(11470),r=s(19365),c=s(816);const u={description:"Low & High",title:"\ud83d\udccf doseRange (Low & High)"},g=void 0,h={},p=[];function f(e){const n={a:"a",admonition:"admonition",p:"p",...(0,a.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(d.A,{children:[(0,o.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(c.A,{dosage:l})}),(0,o.jsx)(r.A,{value:"json",label:"Dosage",children:(0,o.jsx)(i.default,{language:"json",children:JSON.stringify(l,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/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(f,{...e})}):f(e)}},816:(e,n,s)=>{s.d(n,{A:()=>d});var t=s(96540),o=s(76300),a=s(52376),i=s(85819),l=s(74848);function d(e){let{dosage:n,config:s}=e;const[d,r]=(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.U.build({...s});h(e)}()}),[s]),(0,t.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(n);r(e)}}()}),[n,g]);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(g){await g.changeLanguage(c);const e=g.fromDosageToText(n);r(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(i.default,{language:"markup",children:(p=d,(0,a.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/96e7b265.6f8d42a9.js b/assets/js/96e7b265.6f8d42a9.js deleted file mode 100644 index 574e7d46..00000000 --- a/assets/js/96e7b265.6f8d42a9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3301],{30220:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>h,contentTitle:()=>u,default:()=>x,frontMatter:()=>c,metadata:()=>g,toc:()=>p});var t=s(74848),o=s(28453),a=s(85819);const i=JSON.parse('{"doseAndRate":[{"doseRange":{"low":{"value":3,"unit":"pills"},"high":{"value":5,"unit":"pills"}}}]}');var l=s(11470),d=s(19365),r=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)(l.A,{children:[(0,t.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(r.A,{dosage:i})}),(0,t.jsx)(d.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/Config",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:()=>d});var t=s(96540),o=s(76300),a=s(52376),i=s(85819),l=s(74848);function d(e){let{dosage:n,config:s}=e;const[d,r]=(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.U.build({...s});h(e)}()}),[s]),(0,t.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(n);r(e)}}()}),[n,g]);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(g){await g.changeLanguage(c);const e=g.fromDosageToText(n);r(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(i.default,{language:"markup",children:(p=d,(0,a.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/97031957.74a6f4a9.js b/assets/js/97031957.74a6f4a9.js new file mode 100644 index 00000000..0a1c7eff --- /dev/null +++ b/assets/js/97031957.74a6f4a9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4222],{48281:(e,n,a)=>{a.r(n),a.d(n,{assets:()=>y,contentTitle:()=>f,default:()=>p,frontMatter:()=>d,metadata:()=>r,toc:()=>x});const r=JSON.parse('{"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":false,"unlisted":false,"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"}}');var c=a(74848),s=a(28453),t=a(85819);const u=JSON.parse('{"timing":{"repeat":{"frequency":1,"frequencyMax":3}}}');var i=a(11470),l=a(19365),o=a(816);const d={description:"frequency and frequencyMax",title:"\ud83d\udd01 frequency and frequencyMax"},f=void 0,y={},x=[];function q(e){return(0,c.jsxs)(i.A,{children:[(0,c.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,c.jsx)(o.A,{dosage:u})}),(0,c.jsx)(l.A,{value:"json",label:"Dosage",children:(0,c.jsx)(t.default,{language:"json",children:JSON.stringify(u,null,2)})})]})}function p(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,c.jsx)(n,{...e,children:(0,c.jsx)(q,{...e})}):q()}},816:(e,n,a)=>{a.d(n,{A:()=>i});var r=a(96540),c=a(76300),s=a(52376),t=a(85819),u=a(74848);function i(e){let{dosage:n,config:a}=e;const[i,l]=(0,r.useState)(""),[o,d]=(0,r.useState)(a?.language||"en"),[f,y]=(0,r.useState)(null);(0,r.useEffect)((()=>{!async function(){const e=await c.U.build({...a});y(e)}()}),[a]),(0,r.useEffect)((()=>{!async function(){if(f){const e=f.fromDosageToText(n);l(e)}}()}),[n,f]);return(0,u.jsxs)("div",{children:[(0,u.jsxs)("div",{style:{display:"flex"},children:[(0,u.jsxs)("select",{value:o,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,u.jsx)("option",{value:"en",children:"English"}),(0,u.jsx)("option",{value:"fr",children:"French"}),(0,u.jsx)("option",{value:"nl",children:"Dutch"}),(0,u.jsx)("option",{value:"de",children:"German"})]}),(0,u.jsx)("button",{onClick:async()=>{if(f){await f.changeLanguage(o);const e=f.fromDosageToText(n);l(e)}},children:"Confirm"})]}),(0,u.jsx)("div",{style:{marginTop:"10px"},children:(0,u.jsx)(t.default,{language:"markup",children:(x=i,(0,s.decode)(x))})})]});var x}}}]); \ No newline at end of file diff --git a/assets/js/97031957.ae455773.js b/assets/js/97031957.ae455773.js deleted file mode 100644 index e072b624..00000000 --- a/assets/js/97031957.ae455773.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4222],{73461:(e,n,a)=>{a.r(n),a.d(n,{assets:()=>y,contentTitle:()=>d,default:()=>p,frontMatter:()=>l,metadata:()=>f,toc:()=>x});var r=a(74848),c=a(28453),s=a(85819);const t=JSON.parse('{"timing":{"repeat":{"frequency":1,"frequencyMax":3}}}');var u=a(11470),i=a(19365),o=a(816);const l={description:"frequency and frequencyMax",title:"\ud83d\udd01 frequency and frequencyMax"},d=void 0,f={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,r.jsxs)(u.A,{children:[(0,r.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,r.jsx)(o.A,{dosage:t})}),(0,r.jsx)(i.A,{value:"json",label:"Dosage",children:(0,r.jsx)(s.default,{language:"json",children:JSON.stringify(t,null,2)})})]})}function p(e={}){const{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(q,{...e})}):q()}},816:(e,n,a)=>{a.d(n,{A:()=>i});var r=a(96540),c=a(76300),s=a(52376),t=a(85819),u=a(74848);function i(e){let{dosage:n,config:a}=e;const[i,o]=(0,r.useState)(""),[l,d]=(0,r.useState)(a?.language||"en"),[f,y]=(0,r.useState)(null);(0,r.useEffect)((()=>{!async function(){const e=await c.U.build({...a});y(e)}()}),[a]),(0,r.useEffect)((()=>{!async function(){if(f){const e=f.fromDosageToText(n);o(e)}}()}),[n,f]);return(0,u.jsxs)("div",{children:[(0,u.jsxs)("div",{style:{display:"flex"},children:[(0,u.jsxs)("select",{value:l,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,u.jsx)("option",{value:"en",children:"English"}),(0,u.jsx)("option",{value:"fr",children:"French"}),(0,u.jsx)("option",{value:"nl",children:"Dutch"}),(0,u.jsx)("option",{value:"de",children:"German"})]}),(0,u.jsx)("button",{onClick:async()=>{if(f){await f.changeLanguage(l);const e=f.fromDosageToText(n);o(e)}},children:"Confirm"})]}),(0,u.jsx)("div",{style:{marginTop:"10px"},children:(0,u.jsx)(t.default,{language:"markup",children:(x=i,(0,s.decode)(x))})})]});var x}}}]); \ No newline at end of file diff --git a/assets/js/9caecde7.3fdac415.js b/assets/js/9caecde7.3fdac415.js new file mode 100644 index 00000000..c1b7ab97 --- /dev/null +++ b/assets/js/9caecde7.3fdac415.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[980],{61822:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>p,contentTitle:()=>m,default:()=>y,frontMatter:()=>u,metadata:()=>s,toc:()=>g});const s=JSON.parse('{"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":false,"unlisted":false,"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"}}');var i=o(74848),n=o(28453),r=o(85819);const d=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 a=o(11470),l=o(19365),c=o(18264);const u={description:"Order for Tapering Dose - Prednisone - active with note and multiple DosageInstructions with boundsPeriod",title:"medrx0303"},m=void 0,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)(a.A,{children:[(0,i.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(c.A,{dosages:d,config:{}})}),(0,i.jsx)(l.A,{value:"json",label:"Dosage",children:(0,i.jsx)(r.default,{language:"json",children:JSON.stringify(d,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)}},18264:(e,t,o)=>{o.d(t,{A:()=>a});var s=o(96540),i=o(76300),n=o(52376),r=o(85819),d=o(74848);function a(e){let{dosages:t,config:o}=e;const[a,l]=(0,s.useState)(""),[c,u]=(0,s.useState)(o?.language||"en"),[m,p]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await i.U.build({...o});p(e)}()}),[o]),(0,s.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);l(e)}}()}),[t,m]);return(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{style:{display:"flex"},children:[(0,d.jsxs)("select",{value:c,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(m){await m.changeLanguage(c);const e=m.fromMultipleDosageToText(t);l(e)}},children:"Confirm"})]}),(0,d.jsx)("div",{style:{marginTop:"10px"},children:(0,d.jsx)(r.default,{language:"markup",children:(g=a,(0,n.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/9caecde7.74f0d7a9.js b/assets/js/9caecde7.74f0d7a9.js deleted file mode 100644 index 379ae475..00000000 --- a/assets/js/9caecde7.74f0d7a9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[980],{84467:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>y,frontMatter:()=>c,metadata:()=>m,toc:()=>g});var s=o(74848),i=o(28453),n=o(85819);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(11470),a=o(19365),l=o(18264);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,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/medicationrequest0303.html",children:"HL7"}),' - "Order for Tapering Dose - Prednisone - active with note and multiple DosageInstructions with boundsPeriod"']})}),"\n",(0,s.jsxs)(d.A,{children:[(0,s.jsx)(a.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(l.A,{dosages:r,config:{}})}),(0,s.jsx)(a.A,{value:"json",label:"Dosage",children:(0,s.jsx)(n.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function y(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},18264:(e,t,o)=>{o.d(t,{A:()=>a});var s=o(96540),i=o(76300),n=o(52376),r=o(85819),d=o(74848);function a(e){let{dosages:t,config:o}=e;const[a,l]=(0,s.useState)(""),[c,u]=(0,s.useState)(o?.language||"en"),[m,p]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await i.U.build({...o});p(e)}()}),[o]),(0,s.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);l(e)}}()}),[t,m]);return(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{style:{display:"flex"},children:[(0,d.jsxs)("select",{value:c,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(m){await m.changeLanguage(c);const e=m.fromMultipleDosageToText(t);l(e)}},children:"Confirm"})]}),(0,d.jsx)("div",{style:{marginTop:"10px"},children:(0,d.jsx)(r.default,{language:"markup",children:(g=a,(0,n.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/a5e5ec5a.09a26d23.js b/assets/js/a5e5ec5a.09a26d23.js new file mode 100644 index 00000000..89c468bb --- /dev/null +++ b/assets/js/a5e5ec5a.09a26d23.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3253],{68823:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>g,contentTitle:()=>p,default:()=>h,frontMatter:()=>u,metadata:()=>s,toc:()=>m});const s=JSON.parse('{"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":false,"unlisted":false,"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"}}');var o=a(74848),r=a(28453),n=a(85819),i=a(69763),l=a(11470),d=a(19365),c=a(18264);const u={description:'Override separator between each part of "Dosage"',title:"\u2796 displaySeparator"},p=void 0,g={},m=[];function f(e){const t={code:"code",pre:"pre",...(0,r.R)(),...e.components};return(0,o.jsxs)(l.A,{children:[(0,o.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(c.A,{dosages:i,config:{displaySeparator:" | "}})}),(0,o.jsx)(d.A,{value:"json",label:"Dosage",children:(0,o.jsx)(n.default,{language:"json",children:JSON.stringify(i,null,2)})}),(0,o.jsx)(d.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)}},18264:(e,t,a)=>{a.d(t,{A:()=>l});var s=a(96540),o=a(76300),r=a(52376),n=a(85819),i=a(74848);function l(e){let{dosages:t,config:a}=e;const[l,d]=(0,s.useState)(""),[c,u]=(0,s.useState)(a?.language||"en"),[p,g]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await o.U.build({...a});g(e)}()}),[a]),(0,s.useEffect)((()=>{!async function(){if(p){const e=p.fromMultipleDosageToText(t);d(e)}}()}),[t,p]);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(p){await p.changeLanguage(c);const e=p.fromMultipleDosageToText(t);d(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(n.default,{language:"markup",children:(m=l,(0,r.decode)(m))})})]});var m}},69763: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/a5e5ec5a.dfa3cf45.js b/assets/js/a5e5ec5a.dfa3cf45.js deleted file mode 100644 index 8fde5938..00000000 --- a/assets/js/a5e5ec5a.dfa3cf45.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3253],{82492:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>g,contentTitle:()=>u,default:()=>h,frontMatter:()=>c,metadata:()=>p,toc:()=>m});var s=a(74848),o=a(28453),r=a(85819),n=a(69763),i=a(11470),l=a(19365),d=a(18264);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,o.R)(),...e.components};return(0,s.jsxs)(i.A,{children:[(0,s.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(d.A,{dosages:n,config:{displaySeparator:" | "}})}),(0,s.jsx)(l.A,{value:"json",label:"Dosage",children:(0,s.jsx)(r.default,{language:"json",children:JSON.stringify(n,null,2)})}),(0,s.jsx)(l.A,{value:"config",label:"Configuration",children:(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-js",children:'{\n displaySeparator: " | "\n}\n'})})})]})}function h(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(f,{...e})}):f(e)}},18264:(e,t,a)=>{a.d(t,{A:()=>l});var s=a(96540),o=a(76300),r=a(52376),n=a(85819),i=a(74848);function l(e){let{dosages:t,config:a}=e;const[l,d]=(0,s.useState)(""),[c,u]=(0,s.useState)(a?.language||"en"),[p,g]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await o.U.build({...a});g(e)}()}),[a]),(0,s.useEffect)((()=>{!async function(){if(p){const e=p.fromMultipleDosageToText(t);d(e)}}()}),[t,p]);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(p){await p.changeLanguage(c);const e=p.fromMultipleDosageToText(t);d(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(n.default,{language:"markup",children:(m=l,(0,r.decode)(m))})})]});var m}},69763: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.56ca09ce.js b/assets/js/aa77b6a8.56ca09ce.js new file mode 100644 index 00000000..ce3566fd --- /dev/null +++ b/assets/js/aa77b6a8.56ca09ce.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4048],{99167:(t,e,n)=>{n.r(e),n.d(e,{assets:()=>f,contentTitle:()=>p,default:()=>x,frontMatter:()=>d,metadata:()=>s,toc:()=>g});const s=JSON.parse('{"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":false,"unlisted":false,"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"}}');var i=n(74848),a=n(28453),r=n(85819);const o=JSON.parse('{"patientInstruction":"patientInstruction"}');var c=n(11470),u=n(19365),l=n(816);const d={description:"patientInstruction",title:"\ud83d\udccb patientInstruction"},p=void 0,f={},g=[];function h(t){return(0,i.jsxs)(c.A,{children:[(0,i.jsx)(u.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(l.A,{dosage:o})}),(0,i.jsx)(u.A,{value:"json",label:"Dosage",children:(0,i.jsx)(r.default,{language:"json",children:JSON.stringify(o,null,2)})})]})}function x(t={}){const{wrapper:e}={...(0,a.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:()=>c});var s=n(96540),i=n(76300),a=n(52376),r=n(85819),o=n(74848);function c(t){let{dosage:e,config:n}=t;const[c,u]=(0,s.useState)(""),[l,d]=(0,s.useState)(n?.language||"en"),[p,f]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const t=await i.U.build({...n});f(t)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(p){const t=p.fromDosageToText(e);u(t)}}()}),[e,p]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:l,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(l);const t=p.fromDosageToText(e);u(t)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(r.default,{language:"markup",children:(g=c,(0,a.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/aa77b6a8.5f77033a.js b/assets/js/aa77b6a8.5f77033a.js deleted file mode 100644 index f456cb50..00000000 --- a/assets/js/aa77b6a8.5f77033a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4048],{72025:(t,e,n)=>{n.r(e),n.d(e,{assets:()=>f,contentTitle:()=>d,default:()=>x,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var i=n(74848),s=n(28453),a=n(85819);const r=JSON.parse('{"patientInstruction":"patientInstruction"}');var o=n(11470),c=n(19365),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:()=>c});var i=n(96540),s=n(76300),a=n(52376),r=n(85819),o=n(74848);function c(t){let{dosage:e,config:n}=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.U.build({...n});f(t)}()}),[n]),(0,i.useEffect)((()=>{!async function(){if(p){const t=p.fromDosageToText(e);u(t)}}()}),[e,p]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:l,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(l);const t=p.fromDosageToText(e);u(t)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(r.default,{language:"markup",children:(g=c,(0,a.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/aa8d6d0b.3846c405.js b/assets/js/aa8d6d0b.3846c405.js new file mode 100644 index 00000000..273f299e --- /dev/null +++ b/assets/js/aa8d6d0b.3846c405.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3281],{92983:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>i,contentTitle:()=>a,default:()=>d,frontMatter:()=>n,metadata:()=>o,toc:()=>c});var o=s(14212),r=s(74848),l=s(28453);const n={slug:"welcome",title:"Welcome",authors:["jy95"],tags:["welcome"]},a=void 0,i={authorsImageUrls:[void 0]},c=[];function u(e){const t={a:"a",br:"br",code:"code",li:"li",p:"p",strong:"strong",ul:"ul",...(0,l.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(t.p,{children:["Welcome to ",(0,r.jsx)(t.code,{children:"fhir-dosage-utils"}),".",(0,r.jsx)(t.br,{}),"\n","Key Features:"]}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.strong,{children:"Compatible:"})," Works with ",(0,r.jsx)(t.a,{href:"https://hl7.org/fhir/R4/dosage.html",children:"Dosage R4"})," and ",(0,r.jsx)(t.a,{href:"https://hl7.org/fhir/R5/dosage.html",children:"Dosage R5"})]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.strong,{children:"Extensibility"})," Easily adaptable and extendable to accommodate your requirements"]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.strong,{children:"Internationalization"})," Seamlessly extendable to other languages with ",(0,r.jsx)(t.code,{children:"i18next"})]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.strong,{children:"Integration Ease"})," Works effortlessly in various environments like the browser, Node.js, ..."]}),"\n"]})]})}function d(e={}){const{wrapper:t}={...(0,l.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},14212:e=>{e.exports=JSON.parse('{"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","tags":[{"inline":true,"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","page":null}],"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"}}')}}]); \ No newline at end of file diff --git a/assets/js/aa8d6d0b.a3f58f5a.js b/assets/js/aa8d6d0b.a3f58f5a.js deleted file mode 100644 index 83da9e4f..00000000 --- a/assets/js/aa8d6d0b.a3f58f5a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3281],{92983:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>a,contentTitle:()=>l,default:()=>u,frontMatter:()=>n,metadata:()=>i,toc:()=>c});var o=s(74848),r=s(28453);const n={slug:"welcome",title:"Welcome",authors:["jy95"],tags:["welcome"]},l=void 0,i={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",tags:[{inline:!0,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",page:null}],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"}},a={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 u(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.a38e9884.js b/assets/js/ab10b176.a38e9884.js new file mode 100644 index 00000000..8ea9248f --- /dev/null +++ b/assets/js/ab10b176.a38e9884.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3421],{90413:(e,i,o)=>{o.r(i),o.d(i,{assets:()=>x,contentTitle:()=>u,default:()=>h,frontMatter:()=>p,metadata:()=>r,toc:()=>f});const r=JSON.parse('{"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":false,"unlisted":false,"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"}}');var a=o(74848),s=o(28453),d=o(85819);const t=JSON.parse('{"timing":{"repeat":{"period":1,"periodMax":3,"periodUnit":"d"}}}');var n=o(11470),l=o(19365),c=o(816);const p={description:"period & periodMax",title:"\u267b\ufe0f period & periodMax"},u=void 0,x={},f=[];function g(e){return(0,a.jsxs)(n.A,{children:[(0,a.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(c.A,{dosage:t})}),(0,a.jsx)(l.A,{value:"json",label:"Dosage",children:(0,a.jsx)(d.default,{language:"json",children:JSON.stringify(t,null,2)})})]})}function h(e={}){const{wrapper:i}={...(0,s.R)(),...e.components};return i?(0,a.jsx)(i,{...e,children:(0,a.jsx)(g,{...e})}):g()}},816:(e,i,o)=>{o.d(i,{A:()=>n});var r=o(96540),a=o(76300),s=o(52376),d=o(85819),t=o(74848);function n(e){let{dosage:i,config:o}=e;const[n,l]=(0,r.useState)(""),[c,p]=(0,r.useState)(o?.language||"en"),[u,x]=(0,r.useState)(null);(0,r.useEffect)((()=>{!async function(){const e=await a.U.build({...o});x(e)}()}),[o]),(0,r.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(i);l(e)}}()}),[i,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(i);l(e)}},children:"Confirm"})]}),(0,t.jsx)("div",{style:{marginTop:"10px"},children:(0,t.jsx)(d.default,{language:"markup",children:(f=n,(0,s.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/ab10b176.e1e3cdcc.js b/assets/js/ab10b176.e1e3cdcc.js deleted file mode 100644 index 23afe744..00000000 --- a/assets/js/ab10b176.e1e3cdcc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3421],{48290:(e,i,o)=>{o.r(i),o.d(i,{assets:()=>x,contentTitle:()=>p,default:()=>h,frontMatter:()=>c,metadata:()=>u,toc:()=>f});var r=o(74848),a=o(28453),d=o(85819);const s=JSON.parse('{"timing":{"repeat":{"period":1,"periodMax":3,"periodUnit":"d"}}}');var t=o(11470),n=o(19365),l=o(816);const c={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,r.jsxs)(t.A,{children:[(0,r.jsx)(n.A,{value:"text",label:"Human readable text",default:!0,children:(0,r.jsx)(l.A,{dosage:s})}),(0,r.jsx)(n.A,{value:"json",label:"Dosage",children:(0,r.jsx)(d.default,{language:"json",children:JSON.stringify(s,null,2)})})]})}function h(e={}){const{wrapper:i}={...(0,a.R)(),...e.components};return i?(0,r.jsx)(i,{...e,children:(0,r.jsx)(g,{...e})}):g()}},816:(e,i,o)=>{o.d(i,{A:()=>n});var r=o(96540),a=o(76300),d=o(52376),s=o(85819),t=o(74848);function n(e){let{dosage:i,config:o}=e;const[n,l]=(0,r.useState)(""),[c,p]=(0,r.useState)(o?.language||"en"),[u,x]=(0,r.useState)(null);(0,r.useEffect)((()=>{!async function(){const e=await a.U.build({...o});x(e)}()}),[o]),(0,r.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(i);l(e)}}()}),[i,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(i);l(e)}},children:"Confirm"})]}),(0,t.jsx)("div",{style:{marginTop:"10px"},children:(0,t.jsx)(s.default,{language:"markup",children:(f=n,(0,d.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/ad90b1c0.74762d54.js b/assets/js/ad90b1c0.74762d54.js deleted file mode 100644 index 5eb00497..00000000 --- a/assets/js/ad90b1c0.74762d54.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[513],{27732:(t,e,a)=>{a.r(e),a.d(e,{assets:()=>f,contentTitle:()=>d,default:()=>y,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var n=a(74848),i=a(28453),s=a(85819);const r=JSON.parse('{"doseAndRate":[{"rateQuantity":{"value":3,"unit":"pills"}}]}');var o=a(11470),u=a(19365),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:r})}),(0,n.jsx)(u.A,{value:"json",label:"Dosage",children:(0,n.jsx)(s.default,{language:"json",children:JSON.stringify(r,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/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function y(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:()=>u});var n=a(96540),i=a(76300),s=a(52376),r=a(85819),o=a(74848);function u(t){let{dosage:e,config:a}=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.U.build({...a});f(t)}()}),[a]),(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:l,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(l);const t=p.fromDosageToText(e);c(t)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(r.default,{language:"markup",children:(g=u,(0,s.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/ad90b1c0.c1a1d37b.js b/assets/js/ad90b1c0.c1a1d37b.js new file mode 100644 index 00000000..a8e42dc3 --- /dev/null +++ b/assets/js/ad90b1c0.c1a1d37b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[513],{10090:(t,e,a)=>{a.r(e),a.d(e,{assets:()=>f,contentTitle:()=>p,default:()=>y,frontMatter:()=>d,metadata:()=>n,toc:()=>g});const n=JSON.parse('{"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":false,"unlisted":false,"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"}}');var s=a(74848),i=a(28453),r=a(85819);const o=JSON.parse('{"doseAndRate":[{"rateQuantity":{"value":3,"unit":"pills"}}]}');var u=a(11470),c=a(19365),l=a(816);const d={description:"rateQuantity",title:"\u23f2\ufe0f rateQuantity"},p=void 0,f={},g=[];function h(t){const e={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...t.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(u.A,{children:[(0,s.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(l.A,{dosage:o})}),(0,s.jsx)(c.A,{value:"json",label:"Dosage",children:(0,s.jsx)(r.default,{language:"json",children:JSON.stringify(o,null,2)})})]}),"\n",(0,s.jsx)(e.admonition,{type:"tip",children:(0,s.jsxs)(e.p,{children:["Don't forget you can use ",(0,s.jsx)(e.a,{href:"/api/interface/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function y(t={}){const{wrapper:e}={...(0,i.R)(),...t.components};return e?(0,s.jsx)(e,{...t,children:(0,s.jsx)(h,{...t})}):h(t)}},816:(t,e,a)=>{a.d(e,{A:()=>u});var n=a(96540),s=a(76300),i=a(52376),r=a(85819),o=a(74848);function u(t){let{dosage:e,config:a}=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 s.U.build({...a});f(t)}()}),[a]),(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:l,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(l);const t=p.fromDosageToText(e);c(t)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(r.default,{language:"markup",children:(g=u,(0,i.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/afe92c27.d16e7e92.js b/assets/js/afe92c27.d16e7e92.js new file mode 100644 index 00000000..20ba3068 --- /dev/null +++ b/assets/js/afe92c27.d16e7e92.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4088],{86022:(e,s,o)=>{o.r(s),o.d(s,{assets:()=>m,contentTitle:()=>x,default:()=>h,frontMatter:()=>u,metadata:()=>r,toc:()=>p});const r=JSON.parse('{"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":false,"unlisted":false,"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"}}');var t=o(74848),a=o(28453),n=o(85819);const i=JSON.parse('{"maxDosePerPeriod":{"numerator":{"value":3,"unit":"pills"},"denominator":{"value":5,"unit":"hours"}}}');var d=o(11470),c=o(19365),l=o(816);const u={description:"maxDosePerPeriod (R4)",title:"\u23f3 maxDosePerPeriod (R4)"},x=void 0,m={},p=[];function f(e){const s={a:"a",admonition:"admonition",p:"p",...(0,a.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(d.A,{children:[(0,t.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(l.A,{dosage:i})}),(0,t.jsx)(c.A,{value:"json",label:"Dosage",children:(0,t.jsx)(n.default,{language:"json",children:JSON.stringify(i,null,2)})})]}),"\n",(0,t.jsx)(s.admonition,{type:"tip",children:(0,t.jsxs)(s.p,{children:["Don't forget you can use ",(0,t.jsx)(s.a,{href:"/api/interface/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function h(e={}){const{wrapper:s}={...(0,a.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(f,{...e})}):f(e)}},816:(e,s,o)=>{o.d(s,{A:()=>d});var r=o(96540),t=o(76300),a=o(52376),n=o(85819),i=o(74848);function d(e){let{dosage:s,config:o}=e;const[d,c]=(0,r.useState)(""),[l,u]=(0,r.useState)(o?.language||"en"),[x,m]=(0,r.useState)(null);(0,r.useEffect)((()=>{!async function(){const e=await t.U.build({...o});m(e)}()}),[o]),(0,r.useEffect)((()=>{!async function(){if(x){const e=x.fromDosageToText(s);c(e)}}()}),[s,x]);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(x){await x.changeLanguage(l);const e=x.fromDosageToText(s);c(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(n.default,{language:"markup",children:(p=d,(0,a.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/afe92c27.e70abf98.js b/assets/js/afe92c27.e70abf98.js deleted file mode 100644 index 4fba5004..00000000 --- a/assets/js/afe92c27.e70abf98.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4088],{5182:(e,s,o)=>{o.r(s),o.d(s,{assets:()=>m,contentTitle:()=>u,default:()=>h,frontMatter:()=>l,metadata:()=>x,toc:()=>p});var r=o(74848),t=o(28453),i=o(85819);const n=JSON.parse('{"maxDosePerPeriod":{"numerator":{"value":3,"unit":"pills"},"denominator":{"value":5,"unit":"hours"}}}');var a=o(11470),d=o(19365),c=o(816);const l={description:"maxDosePerPeriod (R4)",title:"\u23f3 maxDosePerPeriod (R4)"},u=void 0,x={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"}},m={},p=[];function f(e){const s={a:"a",admonition:"admonition",p:"p",...(0,t.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(a.A,{children:[(0,r.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,r.jsx)(c.A,{dosage:n})}),(0,r.jsx)(d.A,{value:"json",label:"Dosage",children:(0,r.jsx)(i.default,{language:"json",children:JSON.stringify(n,null,2)})})]}),"\n",(0,r.jsx)(s.admonition,{type:"tip",children:(0,r.jsxs)(s.p,{children:["Don't forget you can use ",(0,r.jsx)(s.a,{href:"/api/interface/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function h(e={}){const{wrapper:s}={...(0,t.R)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(f,{...e})}):f(e)}},816:(e,s,o)=>{o.d(s,{A:()=>d});var r=o(96540),t=o(76300),i=o(52376),n=o(85819),a=o(74848);function d(e){let{dosage:s,config:o}=e;const[d,c]=(0,r.useState)(""),[l,u]=(0,r.useState)(o?.language||"en"),[x,m]=(0,r.useState)(null);(0,r.useEffect)((()=>{!async function(){const e=await t.U.build({...o});m(e)}()}),[o]),(0,r.useEffect)((()=>{!async function(){if(x){const e=x.fromDosageToText(s);c(e)}}()}),[s,x]);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(x){await x.changeLanguage(l);const e=x.fromDosageToText(s);c(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(n.default,{language:"markup",children:(p=d,(0,i.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/b30e43e1.3fcb3a66.js b/assets/js/b30e43e1.3fcb3a66.js deleted file mode 100644 index 64887078..00000000 --- a/assets/js/b30e43e1.3fcb3a66.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1146],{44200:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>p,contentTitle:()=>u,default:()=>x,frontMatter:()=>c,metadata:()=>g,toc:()=>h});var s=o(74848),t=o(28453),a=o(85819);const i=JSON.parse('{"doseAndRate":[{"doseRange":{"low":{"value":3,"unit":"pills"}}}]}');var l=o(11470),r=o(19365),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={},h=[];function f(e){const n={a:"a",admonition:"admonition",p:"p",...(0,t.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(l.A,{children:[(0,s.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(d.A,{dosage:i})}),(0,s.jsx)(r.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/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(f,{...e})}):f(e)}},816:(e,n,o)=>{o.d(n,{A:()=>r});var s=o(96540),t=o(76300),a=o(52376),i=o(85819),l=o(74848);function r(e){let{dosage:n,config:o}=e;const[r,d]=(0,s.useState)(""),[c,u]=(0,s.useState)(o?.language||"en"),[g,p]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await t.U.build({...o});p(e)}()}),[o]),(0,s.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(n);d(e)}}()}),[n,g]);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(g){await g.changeLanguage(c);const e=g.fromDosageToText(n);d(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(i.default,{language:"markup",children:(h=r,(0,a.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/b30e43e1.a31d7816.js b/assets/js/b30e43e1.a31d7816.js new file mode 100644 index 00000000..02218eaa --- /dev/null +++ b/assets/js/b30e43e1.a31d7816.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1146],{59212:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>p,contentTitle:()=>g,default:()=>x,frontMatter:()=>u,metadata:()=>s,toc:()=>f});const s=JSON.parse('{"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":false,"unlisted":false,"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"}}');var t=o(74848),a=o(28453),i=o(85819);const l=JSON.parse('{"doseAndRate":[{"doseRange":{"low":{"value":3,"unit":"pills"}}}]}');var r=o(11470),d=o(19365),c=o(816);const u={description:"Low only",title:"\ud83d\udccf doseRange (Low only)"},g=void 0,p={},f=[];function h(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)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(c.A,{dosage:l})}),(0,t.jsx)(d.A,{value:"json",label:"Dosage",children:(0,t.jsx)(i.default,{language:"json",children:JSON.stringify(l,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/Config",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)(h,{...e})}):h(e)}},816:(e,n,o)=>{o.d(n,{A:()=>r});var s=o(96540),t=o(76300),a=o(52376),i=o(85819),l=o(74848);function r(e){let{dosage:n,config:o}=e;const[r,d]=(0,s.useState)(""),[c,u]=(0,s.useState)(o?.language||"en"),[g,p]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await t.U.build({...o});p(e)}()}),[o]),(0,s.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(n);d(e)}}()}),[n,g]);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(g){await g.changeLanguage(c);const e=g.fromDosageToText(n);d(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(i.default,{language:"markup",children:(f=r,(0,a.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/b52bbddc.7d564abb.js b/assets/js/b52bbddc.7d564abb.js new file mode 100644 index 00000000..5d10fe84 --- /dev/null +++ b/assets/js/b52bbddc.7d564abb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3361],{79855:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>p,contentTitle:()=>g,default:()=>x,frontMatter:()=>u,metadata:()=>a,toc:()=>f});const a=JSON.parse('{"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":false,"unlisted":false,"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"}}');var s=t(74848),o=t(28453),i=t(85819);const r=JSON.parse('{"doseAndRate":[{"rateRange":{"low":{"value":3,"unit":"pills"}}}]}');var l=t(11470),c=t(19365),d=t(816);const u={description:"Low only",title:"\u2696\ufe0f rateRange (Low only)"},g=void 0,p={},f=[];function h(e){const n={a:"a",admonition:"admonition",p:"p",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(l.A,{children:[(0,s.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(d.A,{dosage:r})}),(0,s.jsx)(c.A,{value:"json",label:"Dosage",children:(0,s.jsx)(i.default,{language:"json",children:JSON.stringify(r,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/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},816:(e,n,t)=>{t.d(n,{A:()=>l});var a=t(96540),s=t(76300),o=t(52376),i=t(85819),r=t(74848);function l(e){let{dosage:n,config:t}=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 s.U.build({...t});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)(i.default,{language:"markup",children:(f=l,(0,o.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/b52bbddc.f2c069f1.js b/assets/js/b52bbddc.f2c069f1.js deleted file mode 100644 index 0c92c4ab..00000000 --- a/assets/js/b52bbddc.f2c069f1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3361],{87065:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>p,contentTitle:()=>u,default:()=>x,frontMatter:()=>d,metadata:()=>g,toc:()=>h});var a=t(74848),o=t(28453),s=t(85819);const i=JSON.parse('{"doseAndRate":[{"rateRange":{"low":{"value":3,"unit":"pills"}}}]}');var r=t(11470),l=t(19365),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={},h=[];function f(e){const n={a:"a",admonition:"admonition",p:"p",...(0,o.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:i})}),(0,a.jsx)(l.A,{value:"json",label:"Dosage",children:(0,a.jsx)(s.default,{language:"json",children:JSON.stringify(i,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/Config",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)(f,{...e})}):f(e)}},816:(e,n,t)=>{t.d(n,{A:()=>l});var a=t(96540),o=t(76300),s=t(52376),i=t(85819),r=t(74848);function l(e){let{dosage:n,config:t}=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.U.build({...t});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)(i.default,{language:"markup",children:(h=l,(0,s.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/bc0994c2.15fbeed5.js b/assets/js/bc0994c2.15fbeed5.js deleted file mode 100644 index 19ae43c1..00000000 --- a/assets/js/bc0994c2.15fbeed5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9643],{88417:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>d,default:()=>h,frontMatter:()=>u,metadata:()=>g,toc:()=>m});var i=n(74848),s=n(28453),a=n(85819),o=n(13180),l=n(11470),r=n(19365),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)(l.A,{children:[(0,i.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(c.A,{dosage:o})}),(0,i.jsx)(r.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/Config",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:()=>r});var i=n(96540),s=n(76300),a=n(52376),o=n(85819),l=n(74848);function r(e){let{dosage:t,config:n}=e;const[r,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.U.build({...n});p(e)}()}),[n]),(0,i.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(t);c(e)}}()}),[t,g]);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(g){await g.changeLanguage(u);const e=g.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(o.default,{language:"markup",children:(m=r,(0,a.decode)(m))})})]});var m}},13180:e=>{e.exports=JSON.parse('{"timing":{"event":["2024-01-01"]}}')}}]); \ No newline at end of file diff --git a/assets/js/bc0994c2.8d7b205a.js b/assets/js/bc0994c2.8d7b205a.js new file mode 100644 index 00000000..291c6622 --- /dev/null +++ b/assets/js/bc0994c2.8d7b205a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9643],{5198:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>g,contentTitle:()=>p,default:()=>h,frontMatter:()=>d,metadata:()=>s,toc:()=>m});const s=JSON.parse('{"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":false,"unlisted":false,"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"}}');var i=n(74848),a=n(28453),o=n(85819),l=n(13180),r=n(11470),c=n(19365),u=n(816);const d={description:"Single item",title:"\u274c Single item"},p=void 0,g={},m=[];function f(e){const t={a:"a",admonition:"admonition",p:"p",...(0,a.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(r.A,{children:[(0,i.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(u.A,{dosage:l})}),(0,i.jsx)(c.A,{value:"json",label:"Dosage",children:(0,i.jsx)(o.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/Config",children:"dateTimeFormatOptions"})," option to fit your needs"]})})]})}function h(e={}){const{wrapper:t}={...(0,a.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 s=n(96540),i=n(76300),a=n(52376),o=n(85819),l=n(74848);function r(e){let{dosage:t,config:n}=e;const[r,c]=(0,s.useState)(""),[u,d]=(0,s.useState)(n?.language||"en"),[p,g]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await i.U.build({...n});g(e)}()}),[n]),(0,s.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)(o.default,{language:"markup",children:(m=r,(0,a.decode)(m))})})]});var m}},13180:e=>{e.exports=JSON.parse('{"timing":{"event":["2024-01-01"]}}')}}]); \ No newline at end of file diff --git a/assets/js/c0086ef4.1ae27f60.js b/assets/js/c0086ef4.1ae27f60.js new file mode 100644 index 00000000..6199e54b --- /dev/null +++ b/assets/js/c0086ef4.1ae27f60.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2495],{44196:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>m,default:()=>x,frontMatter:()=>u,metadata:()=>s,toc:()=>g});const s=JSON.parse('{"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":false,"unlisted":false,"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"}}');var i=n(74848),a=n(28453),o=n(85819);const r=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 d=n(11470),c=n(19365),l=n(18264);const u={description:"Request for an injectable medication - Lorazepam - active - with link to encounter, reasonCode and dosageInstruction",title:"medrx0315"},m=void 0,p={},g=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,a.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)(d.A,{children:[(0,i.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(l.A,{dosages:r,config:{}})}),(0,i.jsx)(c.A,{value:"json",label:"Dosage",children:(0,i.jsx)(o.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function x(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},18264:(e,t,n)=>{n.d(t,{A:()=>d});var s=n(96540),i=n(76300),a=n(52376),o=n(85819),r=n(74848);function d(e){let{dosages:t,config:n}=e;const[d,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.U.build({...n});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:(g=d,(0,a.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/c0086ef4.e912ad3e.js b/assets/js/c0086ef4.e912ad3e.js deleted file mode 100644 index 14d60967..00000000 --- a/assets/js/c0086ef4.e912ad3e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2495],{56855:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>x,frontMatter:()=>u,metadata:()=>m,toc:()=>g});var i=n(74848),s=n(28453),a=n(85819);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(11470),d=n(19365),c=n(18264);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"}},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/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)}},18264:(e,t,n)=>{n.d(t,{A:()=>d});var i=n(96540),s=n(76300),a=n(52376),o=n(85819),r=n(74848);function d(e){let{dosages:t,config:n}=e;const[d,c]=(0,i.useState)(""),[u,l]=(0,i.useState)(n?.language||"en"),[m,p]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await s.U.build({...n});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:u,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(u);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:(g=d,(0,a.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/c179f821.2dcdb50f.js b/assets/js/c179f821.2dcdb50f.js new file mode 100644 index 00000000..167d3111 --- /dev/null +++ b/assets/js/c179f821.2dcdb50f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1110],{86387:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>c,contentTitle:()=>d,default:()=>h,frontMatter:()=>l,metadata:()=>n,toc:()=>u});const n=JSON.parse('{"id":"quick-start","title":"\u26a1 Quick Start","description":"Getting started with fhir-dosage-utils","source":"@site/docs/quick-start.mdx","sourceDirName":".","slug":"/quick-start","permalink":"/fhir-dosage-utils/docs/quick-start","draft":false,"unlisted":false,"editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/quick-start.mdx","tags":[],"version":"current","frontMatter":{"title":"\u26a1 Quick Start","description":"Getting started with fhir-dosage-utils"},"sidebar":"tutorialSidebar","next":{"title":"\ud83d\udca1 Demos","permalink":"/fhir-dosage-utils/docs/demo"}}');var a=t(74848),i=t(28453),o=t(11470),r=t(19365);const l={title:"\u26a1 Quick Start",description:"Getting started with fhir-dosage-utils"},d=void 0,c={},u=[{value:"Installation",id:"installation",level:2},{value:"Usage",id:"usage",level:2},{value:"Output examples",id:"output-examples",level:2}];function g(e){const s={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",h2:"h2",p:"p",pre:"pre",...(0,i.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(s.blockquote,{children:["\n",(0,a.jsxs)(s.p,{children:["Getting started with ",(0,a.jsx)(s.code,{children:"fhir-dosage-utils"})]}),"\n"]}),"\n",(0,a.jsx)(s.h2,{id:"installation",children:"Installation"}),"\n",(0,a.jsxs)(s.p,{children:["Install ",(0,a.jsx)(s.code,{children:"fhir-dosage-utils"})," using your desired package manager :"]}),"\n",(0,a.jsxs)(o.A,{groupId:"npm2yarn",children:[(0,a.jsx)(r.A,{value:"npm",children:(0,a.jsx)(s.pre,{children:(0,a.jsx)(s.code,{className:"language-bash",children:"npm install fhir-dosage-utils\n"})})}),(0,a.jsx)(r.A,{value:"yarn",label:"Yarn",children:(0,a.jsx)(s.pre,{children:(0,a.jsx)(s.code,{className:"language-bash",children:"yarn add fhir-dosage-utils\n"})})}),(0,a.jsx)(r.A,{value:"pnpm",label:"pnpm",children:(0,a.jsx)(s.pre,{children:(0,a.jsx)(s.code,{className:"language-bash",children:"pnpm add fhir-dosage-utils\n"})})})]}),"\n",(0,a.jsx)(s.h2,{id:"usage",children:"Usage"}),"\n",(0,a.jsx)(s.pre,{children:(0,a.jsx)(s.code,{className:"language-jsx",metastring:'title="main.js"',children:'import { FhirDosageUtils } from "fhir-dosage-utils";\n\n// See https://jy95.github.io/fhir-dosage-utils/api/interface/Config for more info about config\nconst config = {\n language: "en",\n};\n\n// A FHIR Dosage example\nconst dosage = {\n timing: {\n repeat: {\n frequency: 1,\n period: 8,\n periodUnit: "h",\n },\n },\n};\n\n// Prepare utility class\nlet dosageUtils = await FhirDosageUtils.build(config);\n\n// 1. You can turn dosage(s) to text\n// display "1 time every 8 hours"\nconsole.log(dosageUtils.fromDosageToText(dosage));\nconsole.log(dosageUtils.fromMultipleDosageToText([dosage]));\n\n// 2. You can extract part(s) of dosage, to your liking\n// display "every 8 hours"\nconsole.log(\n dosageUtils.getFields(dosage, "periodPeriodMax" /*, other parameters*/),\n);\n\n// 3. You can detect if Dosage objects contains only "sequential" instructions\n// display "true"\nconsole.log(dosageUtils.containsOnlySequentialInstructions([dosage]));\n\n// 4. Turn this array of Dosage objects into a data structure useful to handle "sequential" and "concurrent" instructions (cf. "sequence" property).\n// Display "[ [dosage] ]"\nconsole.log(dosageUtils.groupBySequence([dosage]));\n\n// ... And many things\n// Read https://jy95.github.io/fhir-dosage-utils/api/class/FhirDosageUtils for more info\n'})}),"\n",(0,a.jsx)(s.h2,{id:"output-examples",children:"Output examples"}),"\n",(0,a.jsx)(s.admonition,{type:"tip",children:(0,a.jsxs)(s.p,{children:["We have many examples available on ",(0,a.jsx)(s.a,{href:"demo/specs",children:"documentation"})," . Check them to see lib in action \ud83d\ude09"]})})]})}function h(e={}){const{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,a.jsx)(s,{...e,children:(0,a.jsx)(g,{...e})}):g(e)}}}]); \ No newline at end of file diff --git a/assets/js/c179f821.d6edce51.js b/assets/js/c179f821.d6edce51.js deleted file mode 100644 index b7469337..00000000 --- a/assets/js/c179f821.d6edce51.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1110],{30589:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>c,contentTitle:()=>l,default:()=>h,frontMatter:()=>r,metadata:()=>d,toc:()=>u});var n=t(74848),a=t(28453),i=t(11470),o=t(19365);const r={title:"\u26a1 Quick Start",description:"Getting started with fhir-dosage-utils"},l=void 0,d={id:"quick-start",title:"\u26a1 Quick Start",description:"Getting started with fhir-dosage-utils",source:"@site/docs/quick-start.mdx",sourceDirName:".",slug:"/quick-start",permalink:"/fhir-dosage-utils/docs/quick-start",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/quick-start.mdx",tags:[],version:"current",frontMatter:{title:"\u26a1 Quick Start",description:"Getting started with fhir-dosage-utils"},sidebar:"tutorialSidebar",next:{title:"\ud83d\udca1 Demos",permalink:"/fhir-dosage-utils/docs/demo"}},c={},u=[{value:"Installation",id:"installation",level:2},{value:"Usage",id:"usage",level:2},{value:"Output examples",id:"output-examples",level:2}];function g(e){const s={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",h2:"h2",p:"p",pre:"pre",...(0,a.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(s.blockquote,{children:["\n",(0,n.jsxs)(s.p,{children:["Getting started with ",(0,n.jsx)(s.code,{children:"fhir-dosage-utils"})]}),"\n"]}),"\n",(0,n.jsx)(s.h2,{id:"installation",children:"Installation"}),"\n",(0,n.jsxs)(s.p,{children:["Install ",(0,n.jsx)(s.code,{children:"fhir-dosage-utils"})," using your desired package manager :"]}),"\n",(0,n.jsxs)(i.A,{groupId:"npm2yarn",children:[(0,n.jsx)(o.A,{value:"npm",children:(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-bash",children:"npm install fhir-dosage-utils\n"})})}),(0,n.jsx)(o.A,{value:"yarn",label:"Yarn",children:(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-bash",children:"yarn add fhir-dosage-utils\n"})})}),(0,n.jsx)(o.A,{value:"pnpm",label:"pnpm",children:(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-bash",children:"pnpm add fhir-dosage-utils\n"})})})]}),"\n",(0,n.jsx)(s.h2,{id:"usage",children:"Usage"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-jsx",metastring:'title="main.js"',children:'import { FhirDosageUtils } from "fhir-dosage-utils";\n\n// See https://jy95.github.io/fhir-dosage-utils/api/interface/Config for more info about config\nconst config = {\n language: "en",\n};\n\n// A FHIR Dosage example\nconst dosage = {\n timing: {\n repeat: {\n frequency: 1,\n period: 8,\n periodUnit: "h",\n },\n },\n};\n\n// Prepare utility class\nlet dosageUtils = await FhirDosageUtils.build(config);\n\n// 1. You can turn dosage(s) to text\n// display "1 time every 8 hours"\nconsole.log(dosageUtils.fromDosageToText(dosage));\nconsole.log(dosageUtils.fromMultipleDosageToText([dosage]));\n\n// 2. You can extract part(s) of dosage, to your liking\n// display "every 8 hours"\nconsole.log(\n dosageUtils.getFields(dosage, "periodPeriodMax" /*, other parameters*/),\n);\n\n// 3. You can detect if Dosage objects contains only "sequential" instructions\n// display "true"\nconsole.log(dosageUtils.containsOnlySequentialInstructions([dosage]));\n\n// 4. Turn this array of Dosage objects into a data structure useful to handle "sequential" and "concurrent" instructions (cf. "sequence" property).\n// Display "[ [dosage] ]"\nconsole.log(dosageUtils.groupBySequence([dosage]));\n\n// ... And many things\n// Read https://jy95.github.io/fhir-dosage-utils/api/class/FhirDosageUtils for more info\n'})}),"\n",(0,n.jsx)(s.h2,{id:"output-examples",children:"Output examples"}),"\n",(0,n.jsx)(s.admonition,{type:"tip",children:(0,n.jsxs)(s.p,{children:["We have many examples available on ",(0,n.jsx)(s.a,{href:"demo/specs",children:"documentation"})," . Check them to see lib in action \ud83d\ude09"]})})]})}function h(e={}){const{wrapper:s}={...(0,a.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(g,{...e})}):g(e)}}}]); \ No newline at end of file diff --git a/assets/js/c36217b7.0c863d6c.js b/assets/js/c36217b7.0c863d6c.js new file mode 100644 index 00000000..83166ad6 --- /dev/null +++ b/assets/js/c36217b7.0c863d6c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6016],{53875:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>x,default:()=>h,frontMatter:()=>u,metadata:()=>a,toc:()=>p});const a=JSON.parse('{"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":false,"unlisted":false,"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"}}');var n=s(74848),i=s(28453),r=s(85819);const o={text:"SIG"};var c=s(11470),l=s(19365),d=s(816);const u={description:"text",title:"\ud83d\udcdd text"},x=void 0,f={},p=[];function g(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)(d.A,{dosage:o,config:{displayOrder:["text"]}})}),(0,n.jsx)(l.A,{value:"json",label:"Dosage",children:(0,n.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,n.jsx)(t,{...e,children:(0,n.jsx)(g,{...e})}):g()}},816:(e,t,s)=>{s.d(t,{A:()=>c});var a=s(96540),n=s(76300),i=s(52376),r=s(85819),o=s(74848);function c(e){let{dosage:t,config:s}=e;const[c,l]=(0,a.useState)(""),[d,u]=(0,a.useState)(s?.language||"en"),[x,f]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await n.U.build({...s});f(e)}()}),[s]),(0,a.useEffect)((()=>{!async function(){if(x){const e=x.fromDosageToText(t);l(e)}}()}),[t,x]);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(x){await x.changeLanguage(d);const e=x.fromDosageToText(t);l(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(r.default,{language:"markup",children:(p=c,(0,i.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/c36217b7.b51cdfb6.js b/assets/js/c36217b7.b51cdfb6.js deleted file mode 100644 index 9f5ff9d1..00000000 --- a/assets/js/c36217b7.b51cdfb6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6016],{51073:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>u,default:()=>h,frontMatter:()=>d,metadata:()=>x,toc:()=>g});var n=s(74848),a=s(28453),i=s(85819);const r={text:"SIG"};var o=s(11470),c=s(19365),l=s(816);const d={description:"text",title:"\ud83d\udcdd text"},u=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:()=>c});var n=s(96540),a=s(76300),i=s(52376),r=s(85819),o=s(74848);function c(e){let{dosage:t,config:s}=e;const[c,l]=(0,n.useState)(""),[d,u]=(0,n.useState)(s?.language||"en"),[x,f]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await a.U.build({...s});f(e)}()}),[s]),(0,n.useEffect)((()=>{!async function(){if(x){const e=x.fromDosageToText(t);l(e)}}()}),[t,x]);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(x){await x.changeLanguage(d);const e=x.fromDosageToText(t);l(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(r.default,{language:"markup",children:(g=c,(0,i.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/c9387e11.3687e058.js b/assets/js/c9387e11.3687e058.js new file mode 100644 index 00000000..22295652 --- /dev/null +++ b/assets/js/c9387e11.3687e058.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3140],{23884:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>g,contentTitle:()=>f,default:()=>x,frontMatter:()=>m,metadata:()=>a,toc:()=>p});const a=JSON.parse('{"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":false,"unlisted":false,"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"}}');var s=o(74848),n=o(28453),i=o(85819),r=o(13180);const l=JSON.parse('{"dateTimeFormatOptions":{"weekday":"long","year":"numeric","month":"long","day":"numeric"}}');var c=o(11470),d=o(19365),u=o(816);const m={description:"To control the formatting of dateTime objects",title:"\ud83c\udf89 dateTimeFormatOptions"},f=void 0,g={},p=[];function h(e){return(0,s.jsxs)(c.A,{children:[(0,s.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(u.A,{dosage:r,config:l})}),(0,s.jsx)(d.A,{value:"json",label:"Dosage",children:(0,s.jsx)(i.default,{language:"json",children:JSON.stringify(r,null,2)})}),(0,s.jsx)(d.A,{value:"config",label:"Configuration",children:(0,s.jsx)(i.default,{language:"json",children:JSON.stringify(l,null,2)})})]})}function x(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h()}},816:(e,t,o)=>{o.d(t,{A:()=>l});var a=o(96540),s=o(76300),n=o(52376),i=o(85819),r=o(74848);function l(e){let{dosage:t,config:o}=e;const[l,c]=(0,a.useState)(""),[d,u]=(0,a.useState)(o?.language||"en"),[m,f]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await s.U.build({...o});f(e)}()}),[o]),(0,a.useEffect)((()=>{!async function(){if(m){const e=m.fromDosageToText(t);c(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);c(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(i.default,{language:"markup",children:(g=l,(0,n.decode)(g))})})]});var g}},13180:e=>{e.exports=JSON.parse('{"timing":{"event":["2024-01-01"]}}')}}]); \ No newline at end of file diff --git a/assets/js/c9387e11.39c2de77.js b/assets/js/c9387e11.39c2de77.js deleted file mode 100644 index bf5d1a07..00000000 --- a/assets/js/c9387e11.39c2de77.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3140],{25026:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>g,contentTitle:()=>m,default:()=>x,frontMatter:()=>u,metadata:()=>f,toc:()=>p});var n=o(74848),a=o(28453),s=o(85819),i=o(13180);const r=JSON.parse('{"dateTimeFormatOptions":{"weekday":"long","year":"numeric","month":"long","day":"numeric"}}');var l=o(11470),c=o(19365),d=o(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,n.jsxs)(l.A,{children:[(0,n.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(d.A,{dosage:i,config:r})}),(0,n.jsx)(c.A,{value:"json",label:"Dosage",children:(0,n.jsx)(s.default,{language:"json",children:JSON.stringify(i,null,2)})}),(0,n.jsx)(c.A,{value:"config",label:"Configuration",children:(0,n.jsx)(s.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:()=>l});var n=o(96540),a=o(76300),s=o(52376),i=o(85819),r=o(74848);function l(e){let{dosage:t,config:o}=e;const[l,c]=(0,n.useState)(""),[d,u]=(0,n.useState)(o?.language||"en"),[m,f]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await a.U.build({...o});f(e)}()}),[o]),(0,n.useEffect)((()=>{!async function(){if(m){const e=m.fromDosageToText(t);c(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);c(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(i.default,{language:"markup",children:(g=l,(0,s.decode)(g))})})]});var g}},13180:e=>{e.exports=JSON.parse('{"timing":{"event":["2024-01-01"]}}')}}]); \ No newline at end of file diff --git a/assets/js/ccc49370.58d903c5.js b/assets/js/ccc49370.4af249c4.js similarity index 79% rename from assets/js/ccc49370.58d903c5.js rename to assets/js/ccc49370.4af249c4.js index 450ecc66..dc60d87c 100644 --- a/assets/js/ccc49370.58d903c5.js +++ b/assets/js/ccc49370.4af249c4.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3249],{82907:(e,t,a)=>{a.d(t,{A:()=>O});a(96540);var s=a(34164),n=a(44096),r=a(74848);function o(e){let{children:t,className:a}=e;return(0,r.jsx)("article",{className:a,children:t})}var l=a(28774);const i={title:"title_f1Hy"};function c(e){let{className:t}=e;const{metadata:a,isBlogPostPage:o}=(0,n.e7)(),{permalink:c,title:d}=a,m=o?"h1":"h2";return(0,r.jsx)(m,{className:(0,s.A)(i.title,t),children:o?d:(0,r.jsx)(l.default,{to:c,children:d})})}var d=a(21312),m=a(53465),u=a(36266);const g={container:"container_mt6G"};function h(e){let{readingTime:t}=e;const a=function(){const{selectMessage:e}=(0,m.W)();return t=>{const a=Math.ceil(t);return e(a,(0,d.T)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:a}))}}();return(0,r.jsx)(r.Fragment,{children:a(t)})}function p(e){let{date:t,formattedDate:a}=e;return(0,r.jsx)("time",{dateTime:t,children:a})}function x(){return(0,r.jsx)(r.Fragment,{children:" \xb7 "})}function j(e){let{className:t}=e;const{metadata:a}=(0,n.e7)(),{date:o,readingTime:l}=a,i=(0,u.i)({day:"numeric",month:"long",year:"numeric",timeZone:"UTC"});return(0,r.jsxs)("div",{className:(0,s.A)(g.container,"margin-vert--md",t),children:[(0,r.jsx)(p,{date:o,formattedDate:(c=o,i.format(new Date(c)))}),void 0!==l&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x,{}),(0,r.jsx)(h,{readingTime:l})]})]});var c}var b=a(56913);const f={authorCol:"authorCol_Hf19",imageOnlyAuthorRow:"imageOnlyAuthorRow_pa_O",imageOnlyAuthorCol:"imageOnlyAuthorCol_G86a"};function v(e){let{className:t}=e;const{metadata:{authors:a},assets:o}=(0,n.e7)();if(0===a.length)return null;const l=a.every((e=>{let{name:t}=e;return!t})),i=1===a.length;return(0,r.jsx)("div",{className:(0,s.A)("margin-top--md margin-bottom--sm",l?f.imageOnlyAuthorRow:"row",t),children:a.map(((e,t)=>(0,r.jsx)("div",{className:(0,s.A)(!l&&(i?"col col--12":"col col--6"),l?f.imageOnlyAuthorCol:f.authorCol),children:(0,r.jsx)(b.A,{author:{...e,imageURL:o.authorsImageUrls[t]??e.imageURL}})},t)))})}function A(){return(0,r.jsxs)("header",{children:[(0,r.jsx)(c,{}),(0,r.jsx)(j,{}),(0,r.jsx)(v,{})]})}var N=a(70440),y=a(77910);function w(e){let{children:t,className:a}=e;const{isBlogPostPage:o}=(0,n.e7)();return(0,r.jsx)("div",{id:o?N.LU:void 0,className:(0,s.A)("markdown",a),children:(0,r.jsx)(y.default,{children:t})})}var T=a(17559),_=a(4336),P=a(62053);function k(){return(0,r.jsx)("b",{children:(0,r.jsx)(d.A,{id:"theme.blog.post.readMore",description:"The label used in blog post item excerpts to link to full blog posts",children:"Read more"})})}function U(e){const{blogPostTitle:t,...a}=e;return(0,r.jsx)(l.default,{"aria-label":(0,d.T)({message:"Read more about {title}",id:"theme.blog.post.readMoreLabel",description:"The ARIA label for the link to full blog posts from excerpts"},{title:t}),...a,children:(0,r.jsx)(k,{})})}function R(){const{metadata:e,isBlogPostPage:t}=(0,n.e7)(),{tags:a,title:o,editUrl:l,hasTruncateMarker:i,lastUpdatedBy:c,lastUpdatedAt:d}=e,m=!t&&i,u=a.length>0;if(!(u||m||l))return null;if(t){const e=!!(l||d||c);return(0,r.jsxs)("footer",{className:"docusaurus-mt-lg",children:[u&&(0,r.jsx)("div",{className:(0,s.A)("row","margin-top--sm",T.G.blog.blogFooterEditMetaRow),children:(0,r.jsx)("div",{className:"col",children:(0,r.jsx)(P.A,{tags:a})})}),e&&(0,r.jsx)(_.A,{className:(0,s.A)("margin-top--sm",T.G.blog.blogFooterEditMetaRow),editUrl:l,lastUpdatedAt:d,lastUpdatedBy:c})]})}return(0,r.jsxs)("footer",{className:"row docusaurus-mt-lg",children:[u&&(0,r.jsx)("div",{className:(0,s.A)("col",{"col--9":m}),children:(0,r.jsx)(P.A,{tags:a})}),m&&(0,r.jsx)("div",{className:(0,s.A)("col text--right",{"col--3":u}),children:(0,r.jsx)(U,{blogPostTitle:o,to:e.permalink})})]})}function O(e){let{children:t,className:a}=e;const l=function(){const{isBlogPostPage:e}=(0,n.e7)();return e?void 0:"margin-bottom--xl"}();return(0,r.jsxs)(o,{className:(0,s.A)(l,a),children:[(0,r.jsx)(A,{}),(0,r.jsx)(w,{children:t}),(0,r.jsx)(R,{})]})}},73858:(e,t,a)=>{a.r(t),a.d(t,{default:()=>f});a(96540);var s=a(34164),n=a(45500),r=a(17559),o=a(44096),l=a(28027),i=a(82907),c=a(21312),d=a(39022),m=a(74848);function u(e){const{nextItem:t,prevItem:a}=e;return(0,m.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,c.T)({id:"theme.blog.post.paginator.navAriaLabel",message:"Blog post page navigation",description:"The ARIA label for the blog posts pagination"}),children:[a&&(0,m.jsx)(d.A,{...a,subLabel:(0,m.jsx)(c.A,{id:"theme.blog.post.paginator.newerPost",description:"The blog post button label to navigate to the newer/previous post",children:"Newer post"})}),t&&(0,m.jsx)(d.A,{...t,subLabel:(0,m.jsx)(c.A,{id:"theme.blog.post.paginator.olderPost",description:"The blog post button label to navigate to the older/next post",children:"Older post"}),isNext:!0})]})}function g(){const{assets:e,metadata:t}=(0,o.e7)(),{title:a,description:s,date:r,tags:l,authors:i,frontMatter:c}=t,{keywords:d}=c,u=e.image??c.image;return(0,m.jsxs)(n.be,{title:a,description:s,keywords:d,image:u,children:[(0,m.jsx)("meta",{property:"og:type",content:"article"}),(0,m.jsx)("meta",{property:"article:published_time",content:r}),i.some((e=>e.url))&&(0,m.jsx)("meta",{property:"article:author",content:i.map((e=>e.url)).filter(Boolean).join(",")}),l.length>0&&(0,m.jsx)("meta",{property:"article:tag",content:l.map((e=>e.label)).join(",")})]})}var h=a(5260);function p(){const e=(0,o.J_)();return(0,m.jsx)(h.A,{children:(0,m.jsx)("script",{type:"application/ld+json",children:JSON.stringify(e)})})}var x=a(67763),j=a(41689);function b(e){let{sidebar:t,children:a}=e;const{metadata:s,toc:n}=(0,o.e7)(),{nextItem:r,prevItem:c,frontMatter:d}=s,{hide_table_of_contents:g,toc_min_heading_level:h,toc_max_heading_level:p}=d;return(0,m.jsxs)(l.A,{sidebar:t,toc:!g&&n.length>0?(0,m.jsx)(x.default,{toc:n,minHeadingLevel:h,maxHeadingLevel:p}):void 0,children:[(0,m.jsx)(j.A,{metadata:s}),(0,m.jsx)(i.A,{children:a}),(r||c)&&(0,m.jsx)(u,{nextItem:r,prevItem:c})]})}function f(e){const t=e.content;return(0,m.jsx)(o.in,{content:e.content,isBlogPostPage:!0,children:(0,m.jsxs)(n.e3,{className:(0,s.A)(r.G.wrapper.blogPages,r.G.page.blogPostPage),children:[(0,m.jsx)(g,{}),(0,m.jsx)(p,{}),(0,m.jsx)(b,{sidebar:e.sidebar,children:(0,m.jsx)(t,{})})]})})}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3249],{82907:(e,t,a)=>{a.d(t,{A:()=>O});a(96540);var s=a(34164),n=a(44096),r=a(74848);function o(e){let{children:t,className:a}=e;return(0,r.jsx)("article",{className:a,children:t})}var l=a(28774);const i={title:"title_f1Hy"};function c(e){let{className:t}=e;const{metadata:a,isBlogPostPage:o}=(0,n.e7)(),{permalink:c,title:d}=a,m=o?"h1":"h2";return(0,r.jsx)(m,{className:(0,s.A)(i.title,t),children:o?d:(0,r.jsx)(l.default,{to:c,children:d})})}var d=a(21312),m=a(53465),u=a(36266);const g={container:"container_mt6G"};function h(e){let{readingTime:t}=e;const a=function(){const{selectMessage:e}=(0,m.W)();return t=>{const a=Math.ceil(t);return e(a,(0,d.T)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:a}))}}();return(0,r.jsx)(r.Fragment,{children:a(t)})}function p(e){let{date:t,formattedDate:a}=e;return(0,r.jsx)("time",{dateTime:t,children:a})}function x(){return(0,r.jsx)(r.Fragment,{children:" \xb7 "})}function j(e){let{className:t}=e;const{metadata:a}=(0,n.e7)(),{date:o,readingTime:l}=a,i=(0,u.i)({day:"numeric",month:"long",year:"numeric",timeZone:"UTC"});return(0,r.jsxs)("div",{className:(0,s.A)(g.container,"margin-vert--md",t),children:[(0,r.jsx)(p,{date:o,formattedDate:(c=o,i.format(new Date(c)))}),void 0!==l&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x,{}),(0,r.jsx)(h,{readingTime:l})]})]});var c}var b=a(56913);const f={authorCol:"authorCol_Hf19",imageOnlyAuthorRow:"imageOnlyAuthorRow_pa_O",imageOnlyAuthorCol:"imageOnlyAuthorCol_G86a"};function v(e){let{className:t}=e;const{metadata:{authors:a},assets:o}=(0,n.e7)();if(0===a.length)return null;const l=a.every((e=>{let{name:t}=e;return!t})),i=1===a.length;return(0,r.jsx)("div",{className:(0,s.A)("margin-top--md margin-bottom--sm",l?f.imageOnlyAuthorRow:"row",t),children:a.map(((e,t)=>(0,r.jsx)("div",{className:(0,s.A)(!l&&(i?"col col--12":"col col--6"),l?f.imageOnlyAuthorCol:f.authorCol),children:(0,r.jsx)(b.A,{author:{...e,imageURL:o.authorsImageUrls[t]??e.imageURL}})},t)))})}function A(){return(0,r.jsxs)("header",{children:[(0,r.jsx)(c,{}),(0,r.jsx)(j,{}),(0,r.jsx)(v,{})]})}var N=a(70440),y=a(77910);function w(e){let{children:t,className:a}=e;const{isBlogPostPage:o}=(0,n.e7)();return(0,r.jsx)("div",{id:o?N.LU:void 0,className:(0,s.A)("markdown",a),children:(0,r.jsx)(y.default,{children:t})})}var T=a(17559),_=a(4336),P=a(62053);function k(){return(0,r.jsx)("b",{children:(0,r.jsx)(d.A,{id:"theme.blog.post.readMore",description:"The label used in blog post item excerpts to link to full blog posts",children:"Read more"})})}function U(e){const{blogPostTitle:t,...a}=e;return(0,r.jsx)(l.default,{"aria-label":(0,d.T)({message:"Read more about {title}",id:"theme.blog.post.readMoreLabel",description:"The ARIA label for the link to full blog posts from excerpts"},{title:t}),...a,children:(0,r.jsx)(k,{})})}function R(){const{metadata:e,isBlogPostPage:t}=(0,n.e7)(),{tags:a,title:o,editUrl:l,hasTruncateMarker:i,lastUpdatedBy:c,lastUpdatedAt:d}=e,m=!t&&i,u=a.length>0;if(!(u||m||l))return null;if(t){const e=!!(l||d||c);return(0,r.jsxs)("footer",{className:"docusaurus-mt-lg",children:[u&&(0,r.jsx)("div",{className:(0,s.A)("row","margin-top--sm",T.G.blog.blogFooterEditMetaRow),children:(0,r.jsx)("div",{className:"col",children:(0,r.jsx)(P.A,{tags:a})})}),e&&(0,r.jsx)(_.A,{className:(0,s.A)("margin-top--sm",T.G.blog.blogFooterEditMetaRow),editUrl:l,lastUpdatedAt:d,lastUpdatedBy:c})]})}return(0,r.jsxs)("footer",{className:"row docusaurus-mt-lg",children:[u&&(0,r.jsx)("div",{className:(0,s.A)("col",{"col--9":m}),children:(0,r.jsx)(P.A,{tags:a})}),m&&(0,r.jsx)("div",{className:(0,s.A)("col text--right",{"col--3":u}),children:(0,r.jsx)(U,{blogPostTitle:o,to:e.permalink})})]})}function O(e){let{children:t,className:a}=e;const l=function(){const{isBlogPostPage:e}=(0,n.e7)();return e?void 0:"margin-bottom--xl"}();return(0,r.jsxs)(o,{className:(0,s.A)(l,a),children:[(0,r.jsx)(A,{}),(0,r.jsx)(w,{children:t}),(0,r.jsx)(R,{})]})}},73858:(e,t,a)=>{a.r(t),a.d(t,{default:()=>f});a(96540);var s=a(34164),n=a(45500),r=a(17559),o=a(44096),l=a(28027),i=a(82907),c=a(21312),d=a(39022),m=a(74848);function u(e){const{nextItem:t,prevItem:a}=e;return(0,m.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,c.T)({id:"theme.blog.post.paginator.navAriaLabel",message:"Blog post page navigation",description:"The ARIA label for the blog posts pagination"}),children:[a&&(0,m.jsx)(d.A,{...a,subLabel:(0,m.jsx)(c.A,{id:"theme.blog.post.paginator.newerPost",description:"The blog post button label to navigate to the newer/previous post",children:"Newer post"})}),t&&(0,m.jsx)(d.A,{...t,subLabel:(0,m.jsx)(c.A,{id:"theme.blog.post.paginator.olderPost",description:"The blog post button label to navigate to the older/next post",children:"Older post"}),isNext:!0})]})}function g(){const{assets:e,metadata:t}=(0,o.e7)(),{title:a,description:s,date:r,tags:l,authors:i,frontMatter:c}=t,{keywords:d}=c,u=e.image??c.image;return(0,m.jsxs)(n.be,{title:c.title_meta??a,description:s,keywords:d,image:u,children:[(0,m.jsx)("meta",{property:"og:type",content:"article"}),(0,m.jsx)("meta",{property:"article:published_time",content:r}),i.some((e=>e.url))&&(0,m.jsx)("meta",{property:"article:author",content:i.map((e=>e.url)).filter(Boolean).join(",")}),l.length>0&&(0,m.jsx)("meta",{property:"article:tag",content:l.map((e=>e.label)).join(",")})]})}var h=a(5260);function p(){const e=(0,o.J_)();return(0,m.jsx)(h.A,{children:(0,m.jsx)("script",{type:"application/ld+json",children:JSON.stringify(e)})})}var x=a(67763),j=a(41689);function b(e){let{sidebar:t,children:a}=e;const{metadata:s,toc:n}=(0,o.e7)(),{nextItem:r,prevItem:c,frontMatter:d}=s,{hide_table_of_contents:g,toc_min_heading_level:h,toc_max_heading_level:p}=d;return(0,m.jsxs)(l.A,{sidebar:t,toc:!g&&n.length>0?(0,m.jsx)(x.default,{toc:n,minHeadingLevel:h,maxHeadingLevel:p}):void 0,children:[(0,m.jsx)(j.A,{metadata:s}),(0,m.jsx)(i.A,{children:a}),(r||c)&&(0,m.jsx)(u,{nextItem:r,prevItem:c})]})}function f(e){const t=e.content;return(0,m.jsx)(o.in,{content:e.content,isBlogPostPage:!0,children:(0,m.jsxs)(n.e3,{className:(0,s.A)(r.G.wrapper.blogPages,r.G.page.blogPostPage),children:[(0,m.jsx)(g,{}),(0,m.jsx)(p,{}),(0,m.jsx)(b,{sidebar:e.sidebar,children:(0,m.jsx)(t,{})})]})})}}}]); \ No newline at end of file diff --git a/assets/js/cd12752c.360e07a4.js b/assets/js/cd12752c.360e07a4.js deleted file mode 100644 index a02edc07..00000000 --- a/assets/js/cd12752c.360e07a4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6614],{59630:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>f,contentTitle:()=>d,default:()=>m,frontMatter:()=>c,metadata:()=>g,toc:()=>h});var o=t(74848),i=t(28453),s=t(85819);const r=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(11470),u=t(19365),l=t(816);const c={description:"Function to turn extension(s) into a string for humans.",title:"\ud83d\udd0c fromExtensionsToString"},d=void 0,g={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"}},f={},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:r,config:{displayOrder:["extension","timingExtension","timingRepeatExtension"],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)(s.default,{language:"json",children:JSON.stringify(r,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", "timingExtension", "timingRepeatExtension"],\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:()=>u});var o=t(96540),i=t(76300),s=t(52376),r=t(85819),a=t(74848);function u(e){let{dosage:n,config:t}=e;const[u,l]=(0,o.useState)(""),[c,d]=(0,o.useState)(t?.language||"en"),[g,f]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await i.U.build({...t});f(e)}()}),[t]),(0,o.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(n);l(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);l(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(r.default,{language:"markup",children:(h=u,(0,s.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/cd12752c.dc6a2981.js b/assets/js/cd12752c.dc6a2981.js new file mode 100644 index 00000000..fbee1af0 --- /dev/null +++ b/assets/js/cd12752c.dc6a2981.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6614],{58133:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>g,contentTitle:()=>f,default:()=>m,frontMatter:()=>d,metadata:()=>o,toc:()=>h});const o=JSON.parse('{"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":false,"unlisted":false,"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"}}');var i=t(74848),s=t(28453),r=t(85819);const a=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 u=t(11470),l=t(19365),c=t(816);const d={description:"Function to turn extension(s) into a string for humans.",title:"\ud83d\udd0c fromExtensionsToString"},f=void 0,g={},h=[];function x(e){const n={code:"code",pre:"pre",...(0,s.R)(),...e.components};return(0,i.jsxs)(u.A,{children:[(0,i.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(c.A,{dosage:a,config:{displayOrder:["extension","timingExtension","timingRepeatExtension"],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,i.jsx)(l.A,{value:"json",label:"Dosage",children:(0,i.jsx)(r.default,{language:"json",children:JSON.stringify(a,null,2)})}),(0,i.jsx)(l.A,{value:"config",label:"Configuration",children:(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-js",children:'{\n displayOrder: ["extension", "timingExtension", "timingRepeatExtension"],\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,s.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(x,{...e})}):x(e)}},816:(e,n,t)=>{t.d(n,{A:()=>u});var o=t(96540),i=t(76300),s=t(52376),r=t(85819),a=t(74848);function u(e){let{dosage:n,config:t}=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.U.build({...t});g(e)}()}),[t]),(0,o.useEffect)((()=>{!async function(){if(f){const e=f.fromDosageToText(n);l(e)}}()}),[n,f]);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(f){await f.changeLanguage(c);const e=f.fromDosageToText(n);l(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(r.default,{language:"markup",children:(h=u,(0,s.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/d026f85a.53607b1b.js b/assets/js/d026f85a.53607b1b.js new file mode 100644 index 00000000..d2aebea2 --- /dev/null +++ b/assets/js/d026f85a.53607b1b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9307],{78298:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>m,frontMatter:()=>a,metadata:()=>n,toc:()=>u});var n=i(83034),r=i(74848),s=i(28453);const a={slug:"empowerment",title:"Customizing i18next Configuration in Our Library",authors:["jy95"],tags:["features"]},o=void 0,l={authorsImageUrls:[void 0]},u=[];function c(e){const t={li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.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,r.jsx)(t.p,{children:"Benefits :"}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.strong,{children:"Flexibility"})," : Users can adapt i18next settings to suit their project's needs, ensuring a seamless internationalization experience."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.strong,{children:"Customization"})," : Fine-tune language-related functionalities, such as pluralization rules or date formatting, to match project specifications."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.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,s.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(c,{...e})}):c(e)}},83034:e=>{e.exports=JSON.parse('{"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","tags":[{"inline":true,"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","page":null}],"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"}}')}}]); \ No newline at end of file diff --git a/assets/js/d026f85a.53d82ce8.js b/assets/js/d026f85a.53d82ce8.js deleted file mode 100644 index 78a55ba2..00000000 --- a/assets/js/d026f85a.53d82ce8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9307],{78298:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>m,frontMatter:()=>s,metadata:()=>o,toc:()=>u});var n=i(74848),r=i(28453);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",tags:[{inline:!0,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",page:null}],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.37976b23.js b/assets/js/d0a7fa20.37976b23.js deleted file mode 100644 index 9b3dc90b..00000000 --- a/assets/js/d0a7fa20.37976b23.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3462],{24831:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>d,default:()=>m,frontMatter:()=>u,metadata:()=>h,toc:()=>g});var s=n(74848),i=n(28453),a=n(85819);const l=JSON.parse('{"timing":{"repeat":{"when":["MORN"]}}}');var o=n(11470),r=n(19365),c=n(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)(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:t}={...(0,i.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(96540),i=n(76300),a=n(52376),l=n(85819),o=n(74848);function r(e){let{dosage:t,config:n}=e;const[r,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.U.build({...n});f(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(h){const e=h.fromDosageToText(t);c(e)}}()}),[t,h]);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(h){await h.changeLanguage(u);const e=h.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(l.default,{language:"markup",children:(g=r,(0,a.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/d0a7fa20.fa07e025.js b/assets/js/d0a7fa20.fa07e025.js new file mode 100644 index 00000000..780d663d --- /dev/null +++ b/assets/js/d0a7fa20.fa07e025.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3462],{397:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>f,contentTitle:()=>h,default:()=>m,frontMatter:()=>d,metadata:()=>n,toc:()=>g});const n=JSON.parse('{"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":false,"unlisted":false,"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"}}');var i=t(74848),a=t(28453),l=t(85819);const o=JSON.parse('{"timing":{"repeat":{"when":["MORN"]}}}');var r=t(11470),c=t(19365),u=t(816);const d={description:"when - single item",title:"\ud83d\udd52 When (Single item)"},h=void 0,f={},g=[];function p(e){return(0,i.jsxs)(r.A,{children:[(0,i.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(u.A,{dosage:o})}),(0,i.jsx)(c.A,{value:"json",label:"Dosage",children:(0,i.jsx)(l.default,{language:"json",children:JSON.stringify(o,null,2)})})]})}function m(e={}){const{wrapper:s}={...(0,a.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(p,{...e})}):p()}},816:(e,s,t)=>{t.d(s,{A:()=>r});var n=t(96540),i=t(76300),a=t(52376),l=t(85819),o=t(74848);function r(e){let{dosage:s,config:t}=e;const[r,c]=(0,n.useState)(""),[u,d]=(0,n.useState)(t?.language||"en"),[h,f]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await i.U.build({...t});f(e)}()}),[t]),(0,n.useEffect)((()=>{!async function(){if(h){const e=h.fromDosageToText(s);c(e)}}()}),[s,h]);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(h){await h.changeLanguage(u);const e=h.fromDosageToText(s);c(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(l.default,{language:"markup",children:(g=r,(0,a.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/d9a0709a.0d8913ab.js b/assets/js/d9a0709a.0d8913ab.js deleted file mode 100644 index 7321522a..00000000 --- a/assets/js/d9a0709a.0d8913ab.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8154],{97991:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>x,contentTitle:()=>u,default:()=>f,frontMatter:()=>l,metadata:()=>m,toc:()=>p});var a=i(74848),n=i(28453),s=i(85819);const r=JSON.parse('[{"sequence":1,"text":"Take one tablet daily as directed"}]');var o=i(11470),d=i(19365),c=i(18264);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,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/medicationrequestexample2.html",children:"HL7"}),' - "Order for a medication that includes the dosage of a prescription in text"']})}),"\n",(0,a.jsxs)(o.A,{children:[(0,a.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(c.A,{dosages:r,config:{displayOrder:["text"]}})}),(0,a.jsx)(d.A,{value:"json",label:"Dosage",children:(0,a.jsx)(s.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function f(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(h,{...e})}):h(e)}},18264:(e,t,i)=>{i.d(t,{A:()=>d});var a=i(96540),n=i(76300),s=i(52376),r=i(85819),o=i(74848);function d(e){let{dosages:t,config:i}=e;const[d,c]=(0,a.useState)(""),[l,u]=(0,a.useState)(i?.language||"en"),[m,x]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await n.U.build({...i});x(e)}()}),[i]),(0,a.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)(r.default,{language:"markup",children:(p=d,(0,s.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/d9a0709a.4726d5fe.js b/assets/js/d9a0709a.4726d5fe.js new file mode 100644 index 00000000..9045d4df --- /dev/null +++ b/assets/js/d9a0709a.4726d5fe.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8154],{40241:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>x,contentTitle:()=>m,default:()=>f,frontMatter:()=>u,metadata:()=>a,toc:()=>p});const a=JSON.parse('{"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":false,"unlisted":false,"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"}}');var s=i(74848),n=i(28453),r=i(85819);const o=JSON.parse('[{"sequence":1,"text":"Take one tablet daily as directed"}]');var d=i(11470),c=i(19365),l=i(18264);const u={description:"Order for a medication that includes the dosage of a prescription in text",title:"medrx002"},m=void 0,x={},p=[];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/medicationrequestexample2.html",children:"HL7"}),' - "Order for a medication that includes the dosage of a prescription in text"']})}),"\n",(0,s.jsxs)(d.A,{children:[(0,s.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(l.A,{dosages:o,config:{displayOrder:["text"]}})}),(0,s.jsx)(c.A,{value:"json",label:"Dosage",children:(0,s.jsx)(r.default,{language:"json",children:JSON.stringify(o,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)}},18264:(e,t,i)=>{i.d(t,{A:()=>d});var a=i(96540),s=i(76300),n=i(52376),r=i(85819),o=i(74848);function d(e){let{dosages:t,config:i}=e;const[d,c]=(0,a.useState)(""),[l,u]=(0,a.useState)(i?.language||"en"),[m,x]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await s.U.build({...i});x(e)}()}),[i]),(0,a.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)(r.default,{language:"markup",children:(p=d,(0,n.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/e3948197.07b1f2b2.js b/assets/js/e3948197.07b1f2b2.js new file mode 100644 index 00000000..e741856c --- /dev/null +++ b/assets/js/e3948197.07b1f2b2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3733],{74678:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>m,frontMatter:()=>a,metadata:()=>n,toc:()=>u});var n=i(83034),r=i(74848),s=i(28453);const a={slug:"empowerment",title:"Customizing i18next Configuration in Our Library",authors:["jy95"],tags:["features"]},o=void 0,l={authorsImageUrls:[void 0]},u=[];function c(e){const t={li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.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,r.jsx)(t.p,{children:"Benefits :"}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.strong,{children:"Flexibility"})," : Users can adapt i18next settings to suit their project's needs, ensuring a seamless internationalization experience."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.strong,{children:"Customization"})," : Fine-tune language-related functionalities, such as pluralization rules or date formatting, to match project specifications."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.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,s.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(c,{...e})}):c(e)}},83034:e=>{e.exports=JSON.parse('{"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","tags":[{"inline":true,"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","page":null}],"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"}}')}}]); \ No newline at end of file diff --git a/assets/js/e3948197.d1790ba7.js b/assets/js/e3948197.d1790ba7.js deleted file mode 100644 index c496652f..00000000 --- a/assets/js/e3948197.d1790ba7.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3733],{74678:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>m,frontMatter:()=>s,metadata:()=>o,toc:()=>u});var n=i(74848),r=i(28453);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",tags:[{inline:!0,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",page:null}],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.2bd9d5ad.js b/assets/js/e8ce008f.2bd9d5ad.js deleted file mode 100644 index cd799860..00000000 --- a/assets/js/e8ce008f.2bd9d5ad.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2122],{5219:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>h,contentTitle:()=>u,default:()=>x,frontMatter:()=>c,metadata:()=>g,toc:()=>p});var t=s(74848),o=s(28453),a=s(85819);const i=JSON.parse('{"doseAndRate":[{"doseRange":{"high":{"value":5,"unit":"pills"}}}]}');var l=s(11470),r=s(19365),d=s(816);const c={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)(l.A,{children:[(0,t.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(d.A,{dosage:i})}),(0,t.jsx)(r.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/Config",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(96540),o=s(76300),a=s(52376),i=s(85819),l=s(74848);function r(e){let{dosage:n,config:s}=e;const[r,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.U.build({...s});h(e)}()}),[s]),(0,t.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(n);d(e)}}()}),[n,g]);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(g){await g.changeLanguage(c);const e=g.fromDosageToText(n);d(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(i.default,{language:"markup",children:(p=r,(0,a.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/e8ce008f.b1ec9e42.js b/assets/js/e8ce008f.b1ec9e42.js new file mode 100644 index 00000000..b0ce6727 --- /dev/null +++ b/assets/js/e8ce008f.b1ec9e42.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2122],{95270:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>h,contentTitle:()=>g,default:()=>x,frontMatter:()=>u,metadata:()=>t,toc:()=>p});const t=JSON.parse('{"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":false,"unlisted":false,"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"}}');var o=s(74848),a=s(28453),i=s(85819);const l=JSON.parse('{"doseAndRate":[{"doseRange":{"high":{"value":5,"unit":"pills"}}}]}');var r=s(11470),d=s(19365),c=s(816);const u={description:"High only",title:"\ud83d\udccf doseRange (High only)"},g=void 0,h={},p=[];function f(e){const n={a:"a",admonition:"admonition",p:"p",...(0,a.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:l})}),(0,o.jsx)(d.A,{value:"json",label:"Dosage",children:(0,o.jsx)(i.default,{language:"json",children:JSON.stringify(l,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/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(f,{...e})}):f(e)}},816:(e,n,s)=>{s.d(n,{A:()=>r});var t=s(96540),o=s(76300),a=s(52376),i=s(85819),l=s(74848);function r(e){let{dosage:n,config:s}=e;const[r,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.U.build({...s});h(e)}()}),[s]),(0,t.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(n);d(e)}}()}),[n,g]);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(g){await g.changeLanguage(c);const e=g.fromDosageToText(n);d(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(i.default,{language:"markup",children:(p=r,(0,a.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/e9832d3c.4c1bae01.js b/assets/js/e9832d3c.4c1bae01.js new file mode 100644 index 00000000..13b0fddd --- /dev/null +++ b/assets/js/e9832d3c.4c1bae01.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6554],{67313:(e,o,i)=>{i.r(o),i.d(o,{assets:()=>x,contentTitle:()=>u,default:()=>h,frontMatter:()=>p,metadata:()=>a,toc:()=>f});const a=JSON.parse('{"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":false,"unlisted":false,"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"}}');var r=i(74848),s=i(28453),t=i(85819);const n=JSON.parse('{"timing":{"repeat":{"periodMax":3,"periodUnit":"d"}}}');var d=i(11470),l=i(19365),c=i(816);const p={description:"periodMax (only)",title:"\u267b\ufe0f periodMax (only)"},u=void 0,x={},f=[];function g(e){return(0,r.jsxs)(d.A,{children:[(0,r.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,r.jsx)(c.A,{dosage:n})}),(0,r.jsx)(l.A,{value:"json",label:"Dosage",children:(0,r.jsx)(t.default,{language:"json",children:JSON.stringify(n,null,2)})})]})}function h(e={}){const{wrapper:o}={...(0,s.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:()=>d});var a=i(96540),r=i(76300),s=i(52376),t=i(85819),n=i(74848);function d(e){let{dosage:o,config:i}=e;const[d,l]=(0,a.useState)(""),[c,p]=(0,a.useState)(i?.language||"en"),[u,x]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await r.U.build({...i});x(e)}()}),[i]),(0,a.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(o);l(e)}}()}),[o,u]);return(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{style:{display:"flex"},children:[(0,n.jsxs)("select",{value:c,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(c);const e=u.fromDosageToText(o);l(e)}},children:"Confirm"})]}),(0,n.jsx)("div",{style:{marginTop:"10px"},children:(0,n.jsx)(t.default,{language:"markup",children:(f=d,(0,s.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/e9832d3c.56c837d9.js b/assets/js/e9832d3c.56c837d9.js deleted file mode 100644 index c00579cb..00000000 --- a/assets/js/e9832d3c.56c837d9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6554],{29543:(e,i,o)=>{o.r(i),o.d(i,{assets:()=>x,contentTitle:()=>p,default:()=>h,frontMatter:()=>c,metadata:()=>u,toc:()=>f});var a=o(74848),r=o(28453),t=o(85819);const s=JSON.parse('{"timing":{"repeat":{"periodMax":3,"periodUnit":"d"}}}');var n=o(11470),d=o(19365),l=o(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,a.jsxs)(n.A,{children:[(0,a.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(l.A,{dosage:s})}),(0,a.jsx)(d.A,{value:"json",label:"Dosage",children:(0,a.jsx)(t.default,{language:"json",children:JSON.stringify(s,null,2)})})]})}function h(e={}){const{wrapper:i}={...(0,r.R)(),...e.components};return i?(0,a.jsx)(i,{...e,children:(0,a.jsx)(g,{...e})}):g()}},816:(e,i,o)=>{o.d(i,{A:()=>d});var a=o(96540),r=o(76300),t=o(52376),s=o(85819),n=o(74848);function d(e){let{dosage:i,config:o}=e;const[d,l]=(0,a.useState)(""),[c,p]=(0,a.useState)(o?.language||"en"),[u,x]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await r.U.build({...o});x(e)}()}),[o]),(0,a.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(i);l(e)}}()}),[i,u]);return(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{style:{display:"flex"},children:[(0,n.jsxs)("select",{value:c,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(c);const e=u.fromDosageToText(i);l(e)}},children:"Confirm"})]}),(0,n.jsx)("div",{style:{marginTop:"10px"},children:(0,n.jsx)(s.default,{language:"markup",children:(f=d,(0,t.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/ea313555.9b1be162.js b/assets/js/ea313555.9b1be162.js new file mode 100644 index 00000000..1e6c01d8 --- /dev/null +++ b/assets/js/ea313555.9b1be162.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1011],{86280:(e,s,i)=>{i.r(s),i.d(s,{assets:()=>h,contentTitle:()=>o,default:()=>a,frontMatter:()=>l,metadata:()=>n,toc:()=>d});const n=JSON.parse('{"id":"faq","title":"\u2753 FAQ","description":"Frequently Asked Questions","source":"@site/docs/faq.mdx","sourceDirName":".","slug":"/faq","permalink":"/fhir-dosage-utils/docs/faq","draft":false,"unlisted":false,"editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/faq.mdx","tags":[],"version":"current","frontMatter":{"title":"\u2753 FAQ","description":"Frequently Asked Questions"},"sidebar":"tutorialSidebar","previous":{"title":"\ud83e\udde9 Contributing","permalink":"/fhir-dosage-utils/docs/contributing"},"next":{"title":"\ud83d\udea7 Roadmap","permalink":"/fhir-dosage-utils/docs/next-steps"}}');var t=i(74848),r=i(28453);const l={title:"\u2753 FAQ",description:"Frequently Asked Questions"},o=void 0,h={},d=[];function c(e){const s={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",li:"li",ol:"ol",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,r.R)(),...e.components},{Details:i}=s;return i||function(e,s){throw new Error("Expected "+(s?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(s.blockquote,{children:["\n",(0,t.jsx)(s.p,{children:"Frequently asked questions"}),"\n"]}),"\n",(0,t.jsxs)(i,{children:[(0,t.jsx)("summary",{children:"How can I contribute ?"}),(0,t.jsxs)(s.p,{children:["Any contribution is welcome! Read more ",(0,t.jsx)(s.a,{href:"contributing",children:"here"}),"."]})]}),"\n",(0,t.jsxs)(i,{children:[(0,t.jsx)("summary",{children:"How can I customize the default behavior of the library ?"}),(0,t.jsxs)(s.p,{children:["The library was built with that in mind. Read more ",(0,t.jsx)(s.a,{href:"demo/custom",children:"here"}),"."]})]}),"\n",(0,t.jsxs)(i,{children:[(0,t.jsx)("summary",{children:"Compatibility Matrix"}),(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{children:"Version"}),(0,t.jsx)(s.th,{children:"FHIR"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsxs)(s.td,{children:[(0,t.jsx)(s.code,{children:">= 2.0.0"})," (current)"]}),(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"R4 and R5"})})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:">= 1.0.0"})}),(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"R4 and R5"})})]})]})]})]}),"\n",(0,t.jsxs)(i,{children:[(0,t.jsx)("summary",{children:"Why the minimal FHIR version is R4 ?"}),(0,t.jsx)(s.p,{children:"Several reasons :"}),(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsxs)(s.li,{children:["FHIR version R4 is the most widely used version of FHIR, as stated by ",(0,t.jsx)(s.a,{href:"https://smilecdr.com/docs/fhir_repository/fhir_versions.html",children:"many actors like HAPI FHIR creators"})]}),"\n",(0,t.jsx)(s.li,{children:"Many tools don't care anymore for older versions"}),"\n",(0,t.jsx)(s.li,{children:"It fits my needs when I designed this project"}),"\n"]}),(0,t.jsx)(s.admonition,{type:"tip",children:(0,t.jsxs)(s.p,{children:["You can migrate your dosages from R3 to R4 quick easily, as it is just a matter to putting ",(0,t.jsx)(s.code,{children:"dose[x]"})," / ",(0,t.jsx)(s.code,{children:"rate[x]"})," under ",(0,t.jsx)(s.code,{children:"doseAndRate"}),"."]})})]}),"\n",(0,t.jsxs)(i,{children:[(0,t.jsx)("summary",{children:"How can I customize or add my own language ?"}),(0,t.jsx)(s.p,{children:"You can choose your preferred way :"}),(0,t.jsxs)(s.ol,{children:["\n",(0,t.jsxs)(s.li,{children:["Make a pull request on the repository : simply add translations files ",(0,t.jsx)(s.a,{href:"https://github.com/jy95/fhir-dosage-utils/tree/main/src/locales",children:"for your locale"}),"."]}),"\n",(0,t.jsxs)(s.li,{children:["Use a ",(0,t.jsx)(s.a,{href:"https://www.i18next.com/overview/plugins-and-utils#backends",children:"i18next backend"})," like ",(0,t.jsx)(s.a,{href:"custom/i18nConfig",children:"showcast in documentation"})]}),"\n"]}),(0,t.jsxs)(s.p,{children:["You can use ",(0,t.jsx)(s.a,{href:"https://github.com/jy95/fhir-dosage-utils/tree/main/src/locales/en",children:"English files"})," for reference. Each file has a single responsibility :"]}),(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.a,{href:"https://github.com/jy95/fhir-dosage-utils/blob/main/src/locales/en/common.json",children:"common"})," : Anything that isn't related to a specific ValueSet"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.a,{href:"https://github.com/jy95/fhir-dosage-utils/blob/main/src/locales/en/daysOfWeek.json",children:"daysOfWeek"})," : Codes related to ",(0,t.jsx)(s.a,{href:"https://build.fhir.org/valueset-days-of-week.html",children:"Days Of Week"})," ValueSet"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.a,{href:"https://github.com/jy95/fhir-dosage-utils/blob/main/src/locales/en/eventTiming.json",children:"eventTiming"})," : Codes related to ",(0,t.jsx)(s.a,{href:"https://build.fhir.org/valueset-event-timing.html",children:"EventTiming"})," ValueSet"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.a,{href:"https://github.com/jy95/fhir-dosage-utils/blob/main/src/locales/en/unitsOfTime.json",children:"unitsOfTime"})," : Codes related to ",(0,t.jsx)(s.a,{href:"https://build.fhir.org/valueset-units-of-time.html",children:"UnitsOfTime"})," ValueSet"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.a,{href:"https://github.com/jy95/fhir-dosage-utils/blob/main/src/locales/en/quantityComparator.json",children:"quantityComparator"})," : Codes related to ",(0,t.jsx)(s.a,{href:"https://build.fhir.org/valueset-quantity-comparator.html",children:"QuantityComparator"})," ValueSet"]}),"\n"]})]}),"\n",(0,t.jsxs)(i,{children:[(0,t.jsx)("summary",{children:"Which languages are currently built-in ?"}),(0,t.jsxs)(s.p,{children:["4 ",(0,t.jsx)(s.a,{href:"https://github.com/jy95/fhir-dosage-utils/tree/main/src/locales",children:"locales"})," are currently implemented :"]}),(0,t.jsxs)(s.ol,{children:["\n",(0,t.jsx)(s.li,{children:'"en" (English)'}),"\n",(0,t.jsx)(s.li,{children:'"fr" (French)'}),"\n",(0,t.jsx)(s.li,{children:'"nl" (Dutch)'}),"\n",(0,t.jsx)(s.li,{children:'"de" (German)'}),"\n"]})]}),"\n",(0,t.jsxs)(i,{children:[(0,t.jsx)("summary",{children:"Which FHIR extensions should you support ?"}),(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsxs)(s.li,{children:["Your country extensions (e.g. ",(0,t.jsx)(s.a,{href:"https://www.ehealth.fgov.be/standards/fhir/",children:"Belgian ones"}),")"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.a,{href:"https://hl7.org/fhir/extensions/artifacts.html",children:"FHIR Extensions Pack"})," (for international and interoperability reasons)"]}),"\n"]}),(0,t.jsxs)(s.p,{children:["Currently, 5 extensions are known to have impacts with Dosage / Timing with ",(0,t.jsx)(s.a,{href:"https://hl7.org/fhir/extensions/artifacts.html",children:"FHIR Extensions Pack"})," :"]}),(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"https://hl7.org/fhir/extensions/StructureDefinition-dosage-conditions.html",children:"Conditions"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"https://hl7.org/fhir/extensions/StructureDefinition-timing-daysOfCycle.html",children:"Days of cycle"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"https://hl7.org/fhir/extensions/StructureDefinition-timing-dayOfMonth.html",children:"Timing day of month"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"https://hl7.org/fhir/extensions/StructureDefinition-timing-exact.html",children:"Timing Exact"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"https://hl7.org/fhir/extensions/StructureDefinition-dosage-minimumGapBetweenDose.html",children:"Minimum Gap Between Doses"})}),"\n"]})]}),"\n",(0,t.jsxs)(i,{children:[(0,t.jsx)("summary",{children:"Explanations about the choice of license ?"}),(0,t.jsx)(s.p,{children:"The library is licensed under the AGPL 3.0 license to ensure everyone benefits from improvements and keeps the project collaborative and open. Here's a simplified breakdown:"}),(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{children:"Feature"}),(0,t.jsx)(s.th,{children:"Permitted"}),(0,t.jsx)(s.th,{children:"Not Permitted"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:"Use the library in your project (commercial/non-commercial)"}),(0,t.jsx)(s.td,{children:"\u2714"}),(0,t.jsx)(s.td,{})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:"Follow open closed principle"}),(0,t.jsx)(s.td,{children:"\u2714"}),(0,t.jsx)(s.td,{})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:"Distribute a modified version publicly and keep your changes closed-source"}),(0,t.jsx)(s.td,{}),(0,t.jsx)(s.td,{children:"\u2714"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:"Create derivative works (e.g., new libraries based on this code) and distribute them under a different license (if public)"}),(0,t.jsx)(s.td,{}),(0,t.jsx)(s.td,{children:"\u2714"})]})]})]})]}),"\n",(0,t.jsxs)(i,{children:[(0,t.jsx)("summary",{children:"I still have a question ..."}),(0,t.jsxs)(s.p,{children:["Create a ticket to speak about it on our discussions space on ",(0,t.jsx)(s.a,{href:"https://github.com/jy95/fhir-dosage-utils/discussions",children:"Github"})]})]})]})}function a(e={}){const{wrapper:s}={...(0,r.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(c,{...e})}):c(e)}}}]); \ No newline at end of file diff --git a/assets/js/ea313555.de1e3167.js b/assets/js/ea313555.de1e3167.js deleted file mode 100644 index a3f9040f..00000000 --- a/assets/js/ea313555.de1e3167.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1011],{81063:(e,s,i)=>{i.r(s),i.d(s,{assets:()=>h,contentTitle:()=>l,default:()=>a,frontMatter:()=>r,metadata:()=>o,toc:()=>d});var n=i(74848),t=i(28453);const r={title:"\u2753 FAQ",description:"Frequently Asked Questions"},l=void 0,o={id:"faq",title:"\u2753 FAQ",description:"Frequently Asked Questions",source:"@site/docs/faq.mdx",sourceDirName:".",slug:"/faq",permalink:"/fhir-dosage-utils/docs/faq",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/faq.mdx",tags:[],version:"current",frontMatter:{title:"\u2753 FAQ",description:"Frequently Asked Questions"},sidebar:"tutorialSidebar",previous:{title:"\ud83e\udde9 Contributing",permalink:"/fhir-dosage-utils/docs/contributing"},next:{title:"\ud83d\udea7 Roadmap",permalink:"/fhir-dosage-utils/docs/next-steps"}},h={},d=[];function c(e){const s={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",li:"li",ol:"ol",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,t.R)(),...e.components},{Details:i}=s;return i||function(e,s){throw new Error("Expected "+(s?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(s.blockquote,{children:["\n",(0,n.jsx)(s.p,{children:"Frequently asked questions"}),"\n"]}),"\n",(0,n.jsxs)(i,{children:[(0,n.jsx)("summary",{children:"How can I contribute ?"}),(0,n.jsxs)(s.p,{children:["Any contribution is welcome! Read more ",(0,n.jsx)(s.a,{href:"contributing",children:"here"}),"."]})]}),"\n",(0,n.jsxs)(i,{children:[(0,n.jsx)("summary",{children:"How can I customize the default behavior of the library ?"}),(0,n.jsxs)(s.p,{children:["The library was built with that in mind. Read more ",(0,n.jsx)(s.a,{href:"demo/custom",children:"here"}),"."]})]}),"\n",(0,n.jsxs)(i,{children:[(0,n.jsx)("summary",{children:"Compatibility Matrix"}),(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{children:"Version"}),(0,n.jsx)(s.th,{children:"FHIR"})]})}),(0,n.jsxs)(s.tbody,{children:[(0,n.jsxs)(s.tr,{children:[(0,n.jsxs)(s.td,{children:[(0,n.jsx)(s.code,{children:">= 2.0.0"})," (current)"]}),(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"R4 and R5"})})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:">= 1.0.0"})}),(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"R4 and R5"})})]})]})]})]}),"\n",(0,n.jsxs)(i,{children:[(0,n.jsx)("summary",{children:"Why the minimal FHIR version is R4 ?"}),(0,n.jsx)(s.p,{children:"Several reasons :"}),(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:["FHIR version R4 is the most widely used version of FHIR, as stated by ",(0,n.jsx)(s.a,{href:"https://smilecdr.com/docs/fhir_repository/fhir_versions.html",children:"many actors like HAPI FHIR creators"})]}),"\n",(0,n.jsx)(s.li,{children:"Many tools don't care anymore for older versions"}),"\n",(0,n.jsx)(s.li,{children:"It fits my needs when I designed this project"}),"\n"]}),(0,n.jsx)(s.admonition,{type:"tip",children:(0,n.jsxs)(s.p,{children:["You can migrate your dosages from R3 to R4 quick easily, as it is just a matter to putting ",(0,n.jsx)(s.code,{children:"dose[x]"})," / ",(0,n.jsx)(s.code,{children:"rate[x]"})," under ",(0,n.jsx)(s.code,{children:"doseAndRate"}),"."]})})]}),"\n",(0,n.jsxs)(i,{children:[(0,n.jsx)("summary",{children:"How can I customize or add my own language ?"}),(0,n.jsx)(s.p,{children:"You can choose your preferred way :"}),(0,n.jsxs)(s.ol,{children:["\n",(0,n.jsxs)(s.li,{children:["Make a pull request on the repository : simply add translations files ",(0,n.jsx)(s.a,{href:"https://github.com/jy95/fhir-dosage-utils/tree/main/src/locales",children:"for your locale"}),"."]}),"\n",(0,n.jsxs)(s.li,{children:["Use a ",(0,n.jsx)(s.a,{href:"https://www.i18next.com/overview/plugins-and-utils#backends",children:"i18next backend"})," like ",(0,n.jsx)(s.a,{href:"custom/i18nConfig",children:"showcast in documentation"})]}),"\n"]}),(0,n.jsxs)(s.p,{children:["You can use ",(0,n.jsx)(s.a,{href:"https://github.com/jy95/fhir-dosage-utils/tree/main/src/locales/en",children:"English files"})," for reference. Each file has a single responsibility :"]}),(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/jy95/fhir-dosage-utils/blob/main/src/locales/en/common.json",children:"common"})," : Anything that isn't related to a specific ValueSet"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/jy95/fhir-dosage-utils/blob/main/src/locales/en/daysOfWeek.json",children:"daysOfWeek"})," : Codes related to ",(0,n.jsx)(s.a,{href:"https://build.fhir.org/valueset-days-of-week.html",children:"Days Of Week"})," ValueSet"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/jy95/fhir-dosage-utils/blob/main/src/locales/en/eventTiming.json",children:"eventTiming"})," : Codes related to ",(0,n.jsx)(s.a,{href:"https://build.fhir.org/valueset-event-timing.html",children:"EventTiming"})," ValueSet"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/jy95/fhir-dosage-utils/blob/main/src/locales/en/unitsOfTime.json",children:"unitsOfTime"})," : Codes related to ",(0,n.jsx)(s.a,{href:"https://build.fhir.org/valueset-units-of-time.html",children:"UnitsOfTime"})," ValueSet"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/jy95/fhir-dosage-utils/blob/main/src/locales/en/quantityComparator.json",children:"quantityComparator"})," : Codes related to ",(0,n.jsx)(s.a,{href:"https://build.fhir.org/valueset-quantity-comparator.html",children:"QuantityComparator"})," ValueSet"]}),"\n"]})]}),"\n",(0,n.jsxs)(i,{children:[(0,n.jsx)("summary",{children:"Which languages are currently built-in ?"}),(0,n.jsxs)(s.p,{children:["4 ",(0,n.jsx)(s.a,{href:"https://github.com/jy95/fhir-dosage-utils/tree/main/src/locales",children:"locales"})," are currently implemented :"]}),(0,n.jsxs)(s.ol,{children:["\n",(0,n.jsx)(s.li,{children:'"en" (English)'}),"\n",(0,n.jsx)(s.li,{children:'"fr" (French)'}),"\n",(0,n.jsx)(s.li,{children:'"nl" (Dutch)'}),"\n",(0,n.jsx)(s.li,{children:'"de" (German)'}),"\n"]})]}),"\n",(0,n.jsxs)(i,{children:[(0,n.jsx)("summary",{children:"Which FHIR extensions should you support ?"}),(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:["Your country extensions (e.g. ",(0,n.jsx)(s.a,{href:"https://www.ehealth.fgov.be/standards/fhir/",children:"Belgian ones"}),")"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://hl7.org/fhir/extensions/artifacts.html",children:"FHIR Extensions Pack"})," (for international and interoperability reasons)"]}),"\n"]}),(0,n.jsxs)(s.p,{children:["Currently, 5 extensions are known to have impacts with Dosage / Timing with ",(0,n.jsx)(s.a,{href:"https://hl7.org/fhir/extensions/artifacts.html",children:"FHIR Extensions Pack"})," :"]}),(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.a,{href:"https://hl7.org/fhir/extensions/StructureDefinition-dosage-conditions.html",children:"Conditions"})}),"\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.a,{href:"https://hl7.org/fhir/extensions/StructureDefinition-timing-daysOfCycle.html",children:"Days of cycle"})}),"\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.a,{href:"https://hl7.org/fhir/extensions/StructureDefinition-timing-dayOfMonth.html",children:"Timing day of month"})}),"\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.a,{href:"https://hl7.org/fhir/extensions/StructureDefinition-timing-exact.html",children:"Timing Exact"})}),"\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.a,{href:"https://hl7.org/fhir/extensions/StructureDefinition-dosage-minimumGapBetweenDose.html",children:"Minimum Gap Between Doses"})}),"\n"]})]}),"\n",(0,n.jsxs)(i,{children:[(0,n.jsx)("summary",{children:"Explanations about the choice of license ?"}),(0,n.jsx)(s.p,{children:"The library is licensed under the AGPL 3.0 license to ensure everyone benefits from improvements and keeps the project collaborative and open. Here's a simplified breakdown:"}),(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{children:"Feature"}),(0,n.jsx)(s.th,{children:"Permitted"}),(0,n.jsx)(s.th,{children:"Not Permitted"})]})}),(0,n.jsxs)(s.tbody,{children:[(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:"Use the library in your project (commercial/non-commercial)"}),(0,n.jsx)(s.td,{children:"\u2714"}),(0,n.jsx)(s.td,{})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:"Follow open closed principle"}),(0,n.jsx)(s.td,{children:"\u2714"}),(0,n.jsx)(s.td,{})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:"Distribute a modified version publicly and keep your changes closed-source"}),(0,n.jsx)(s.td,{}),(0,n.jsx)(s.td,{children:"\u2714"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:"Create derivative works (e.g., new libraries based on this code) and distribute them under a different license (if public)"}),(0,n.jsx)(s.td,{}),(0,n.jsx)(s.td,{children:"\u2714"})]})]})]})]}),"\n",(0,n.jsxs)(i,{children:[(0,n.jsx)("summary",{children:"I still have a question ..."}),(0,n.jsxs)(s.p,{children:["Create a ticket to speak about it on our discussions space on ",(0,n.jsx)(s.a,{href:"https://github.com/jy95/fhir-dosage-utils/discussions",children:"Github"})]})]})]})}function a(e={}){const{wrapper:s}={...(0,t.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(c,{...e})}):c(e)}}}]); \ No newline at end of file diff --git a/assets/js/ebb1249f.50bc2a91.js b/assets/js/ebb1249f.50bc2a91.js deleted file mode 100644 index 3e006936..00000000 --- a/assets/js/ebb1249f.50bc2a91.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3678],{49461:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>f,frontMatter:()=>c,metadata:()=>m,toc:()=>g});var o=s(74848),i=s(28453),n=s(85819);const a=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 r=s(11470),d=s(19365),l=s(18264);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,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/medicationrequest0339.html",children:"HL7"}),' - "Request for a product that contains multiple dosage forms"']})}),"\n",(0,o.jsxs)(r.A,{children:[(0,o.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(l.A,{dosages:a,config:{}})}),(0,o.jsx)(d.A,{value:"json",label:"Dosage",children:(0,o.jsx)(n.default,{language:"json",children:JSON.stringify(a,null,2)})})]})]})}function f(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(h,{...e})}):h(e)}},18264:(e,t,s)=>{s.d(t,{A:()=>d});var o=s(96540),i=s(76300),n=s(52376),a=s(85819),r=s(74848);function d(e){let{dosages:t,config:s}=e;const[d,l]=(0,o.useState)(""),[c,u]=(0,o.useState)(s?.language||"en"),[m,p]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await i.U.build({...s});p(e)}()}),[s]),(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)(a.default,{language:"markup",children:(g=d,(0,n.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/ebb1249f.91e6aa88.js b/assets/js/ebb1249f.91e6aa88.js new file mode 100644 index 00000000..546a4d58 --- /dev/null +++ b/assets/js/ebb1249f.91e6aa88.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3678],{74006:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>p,contentTitle:()=>m,default:()=>f,frontMatter:()=>u,metadata:()=>o,toc:()=>g});const o=JSON.parse('{"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":false,"unlisted":false,"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"}}');var i=s(74848),n=s(28453),a=s(85819);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 d=s(11470),l=s(19365),c=s(18264);const u={description:"Request for a product that contains multiple dosage forms",title:"medrx0339"},m=void 0,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/medicationrequest0339.html",children:"HL7"}),' - "Request for a product that contains multiple dosage forms"']})}),"\n",(0,i.jsxs)(d.A,{children:[(0,i.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(c.A,{dosages:r,config:{}})}),(0,i.jsx)(l.A,{value:"json",label:"Dosage",children:(0,i.jsx)(a.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function f(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},18264:(e,t,s)=>{s.d(t,{A:()=>d});var o=s(96540),i=s(76300),n=s(52376),a=s(85819),r=s(74848);function d(e){let{dosages:t,config:s}=e;const[d,l]=(0,o.useState)(""),[c,u]=(0,o.useState)(s?.language||"en"),[m,p]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await i.U.build({...s});p(e)}()}),[s]),(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)(a.default,{language:"markup",children:(g=d,(0,n.decode)(g))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/ec99730f.5adeb4e0.js b/assets/js/ec99730f.5adeb4e0.js new file mode 100644 index 00000000..fe0bc70f --- /dev/null +++ b/assets/js/ec99730f.5adeb4e0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2209],{52373:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>o,default:()=>c,frontMatter:()=>a,metadata:()=>i,toc:()=>l});const i=JSON.parse('{"id":"next-steps","title":"\ud83d\udea7 Roadmap","description":"What\'is next in fhir-dosage-utils ?","source":"@site/docs/next-steps.mdx","sourceDirName":".","slug":"/next-steps","permalink":"/fhir-dosage-utils/docs/next-steps","draft":false,"unlisted":false,"editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/next-steps.mdx","tags":[],"version":"current","frontMatter":{"title":"\ud83d\udea7 Roadmap","description":"What\'is next in fhir-dosage-utils ?"},"sidebar":"tutorialSidebar","previous":{"title":"\u2753 FAQ","permalink":"/fhir-dosage-utils/docs/faq"}}');var s=t(74848),r=t(28453);const a={title:"\ud83d\udea7 Roadmap",description:"What'is next in fhir-dosage-utils ?"},o=void 0,d={},l=[{value:"Feedback Gathering",id:"feedback-gathering",level:2},{value:"New Features Integration",id:"new-features-integration",level:2},{value:"Bug Fixes and Stability Improvements",id:"bug-fixes-and-stability-improvements",level:2},{value:"Documentation Updates",id:"documentation-updates",level:2},{value:"Continuous Improvement",id:"continuous-improvement",level:2}];function u(e){const n={h2:"h2",li:"li",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h2,{id:"feedback-gathering",children:"Feedback Gathering"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Collect User Feedback"}),": Gather feedback from users regarding current functionality and usability of the library."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Survey and Interviews"}),": Conduct surveys and interviews to understand user pain points and areas for improvement."]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"new-features-integration",children:"New Features Integration"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Feature Prioritization"}),": Prioritize new features based on the feedback received from users."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Implementation"}),": Implement new features in subsequent releases to address user needs and enhance the utility of the library."]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"bug-fixes-and-stability-improvements",children:"Bug Fixes and Stability Improvements"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Bug Reporting"}),": Address reported bugs and issues to ensure the stability and reliability of the library."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Code Refactoring"}),": Refactor codebase for better maintainability and performance."]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"documentation-updates",children:"Documentation Updates"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Documentation Review"}),": Review and update documentation based on user feedback and evolving requirements."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Clear Usage Guidelines"}),": Provide clear usage guidelines and examples to help users effectively utilize the library."]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"continuous-improvement",children:"Continuous Improvement"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Iterative Development"}),": Follow an iterative development approach to continuously improve the library based on user input and changing needs."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Community Engagement"}),": Encourage community involvement and contribution to foster a vibrant ecosystem around the library."]}),"\n"]})]})}function c(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}}}]); \ No newline at end of file diff --git a/assets/js/ec99730f.6c306e25.js b/assets/js/ec99730f.6c306e25.js deleted file mode 100644 index 5a546aef..00000000 --- a/assets/js/ec99730f.6c306e25.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2209],{32782:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>a,default:()=>c,frontMatter:()=>r,metadata:()=>o,toc:()=>l});var i=t(74848),s=t(28453);const r={title:"\ud83d\udea7 Roadmap",description:"What'is next in fhir-dosage-utils ?"},a=void 0,o={id:"next-steps",title:"\ud83d\udea7 Roadmap",description:"What'is next in fhir-dosage-utils ?",source:"@site/docs/next-steps.mdx",sourceDirName:".",slug:"/next-steps",permalink:"/fhir-dosage-utils/docs/next-steps",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/next-steps.mdx",tags:[],version:"current",frontMatter:{title:"\ud83d\udea7 Roadmap",description:"What'is next in fhir-dosage-utils ?"},sidebar:"tutorialSidebar",previous:{title:"\u2753 FAQ",permalink:"/fhir-dosage-utils/docs/faq"}},d={},l=[{value:"Feedback Gathering",id:"feedback-gathering",level:2},{value:"New Features Integration",id:"new-features-integration",level:2},{value:"Bug Fixes and Stability Improvements",id:"bug-fixes-and-stability-improvements",level:2},{value:"Documentation Updates",id:"documentation-updates",level:2},{value:"Continuous Improvement",id:"continuous-improvement",level:2}];function u(e){const n={h2:"h2",li:"li",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h2,{id:"feedback-gathering",children:"Feedback Gathering"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Collect User Feedback"}),": Gather feedback from users regarding current functionality and usability of the library."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Survey and Interviews"}),": Conduct surveys and interviews to understand user pain points and areas for improvement."]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"new-features-integration",children:"New Features Integration"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Feature Prioritization"}),": Prioritize new features based on the feedback received from users."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Implementation"}),": Implement new features in subsequent releases to address user needs and enhance the utility of the library."]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"bug-fixes-and-stability-improvements",children:"Bug Fixes and Stability Improvements"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Bug Reporting"}),": Address reported bugs and issues to ensure the stability and reliability of the library."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Code Refactoring"}),": Refactor codebase for better maintainability and performance."]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"documentation-updates",children:"Documentation Updates"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Documentation Review"}),": Review and update documentation based on user feedback and evolving requirements."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Clear Usage Guidelines"}),": Provide clear usage guidelines and examples to help users effectively utilize the library."]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"continuous-improvement",children:"Continuous Improvement"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Iterative Development"}),": Follow an iterative development approach to continuously improve the library based on user input and changing needs."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Community Engagement"}),": Encourage community involvement and contribution to foster a vibrant ecosystem around the library."]}),"\n"]})]})}function c(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(u,{...e})}):u(e)}}}]); \ No newline at end of file diff --git a/assets/js/ece64983.0e7ba953.js b/assets/js/ece64983.0e7ba953.js new file mode 100644 index 00000000..923670eb --- /dev/null +++ b/assets/js/ece64983.0e7ba953.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1932],{70644:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>m,contentTitle:()=>p,default:()=>h,frontMatter:()=>d,metadata:()=>n,toc:()=>f});const n=JSON.parse('{"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":false,"unlisted":false,"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"}}');var i=s(74848),a=s(28453),l=s(85819);const o=JSON.parse('{"timing":{"event":["2018","1973-06","1905-08-23"]}}');var r=s(11470),c=s(19365),u=s(816);const d={description:"Multiple items",title:"\u2795 Multiple items"},p=void 0,m={},f=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,a.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(r.A,{children:[(0,i.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(u.A,{dosage:o})}),(0,i.jsx)(c.A,{value:"json",label:"Dosage",children:(0,i.jsx)(l.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/Config",children:"dateTimeFormatOptions"})," option to fit your needs"]})})]})}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(e)}},816:(e,t,s)=>{s.d(t,{A:()=>r});var n=s(96540),i=s(76300),a=s(52376),l=s(85819),o=s(74848);function r(e){let{dosage:t,config:s}=e;const[r,c]=(0,n.useState)(""),[u,d]=(0,n.useState)(s?.language||"en"),[p,m]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await i.U.build({...s});m(e)}()}),[s]),(0,n.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(t);c(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);c(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(l.default,{language:"markup",children:(f=r,(0,a.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/ece64983.7edb4580.js b/assets/js/ece64983.7edb4580.js deleted file mode 100644 index a05fbb58..00000000 --- a/assets/js/ece64983.7edb4580.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1932],{9088:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>m,contentTitle:()=>d,default:()=>h,frontMatter:()=>u,metadata:()=>p,toc:()=>f});var i=s(74848),n=s(28453),a=s(85819);const l=JSON.parse('{"timing":{"event":["2018","1973-06","1905-08-23"]}}');var o=s(11470),r=s(19365),c=s(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,n.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(o.A,{children:[(0,i.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(c.A,{dosage:l})}),(0,i.jsx)(r.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/Config",children:"dateTimeFormatOptions"})," option to fit your needs"]})})]})}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(e)}},816:(e,t,s)=>{s.d(t,{A:()=>r});var i=s(96540),n=s(76300),a=s(52376),l=s(85819),o=s(74848);function r(e){let{dosage:t,config:s}=e;const[r,c]=(0,i.useState)(""),[u,d]=(0,i.useState)(s?.language||"en"),[p,m]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await n.U.build({...s});m(e)}()}),[s]),(0,i.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(t);c(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);c(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(l.default,{language:"markup",children:(f=r,(0,a.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/ee929032.3144727c.js b/assets/js/ee929032.3144727c.js deleted file mode 100644 index 9d9bfb88..00000000 --- a/assets/js/ee929032.3144727c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5236],{86682:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>f,contentTitle:()=>d,default:()=>x,frontMatter:()=>u,metadata:()=>p,toc:()=>h});var i=a(74848),n=a(28453),o=a(85819);const s=JSON.parse('{"doseAndRate":[{"rateRatio":{"numerator":{"value":3,"unit":"pills"},"denominator":{"value":5,"unit":"hours"}}}]}');var r=a(11470),c=a(19365),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={},h=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,n.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(r.A,{children:[(0,i.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(l.A,{dosage:s})}),(0,i.jsx)(c.A,{value:"json",label:"Dosage",children:(0,i.jsx)(o.default,{language:"json",children:JSON.stringify(s,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/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(g,{...e})}):g(e)}},816:(e,t,a)=>{a.d(t,{A:()=>c});var i=a(96540),n=a(76300),o=a(52376),s=a(85819),r=a(74848);function c(e){let{dosage:t,config:a}=e;const[c,l]=(0,i.useState)(""),[u,d]=(0,i.useState)(a?.language||"en"),[p,f]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await n.U.build({...a});f(e)}()}),[a]),(0,i.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: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(p){await p.changeLanguage(u);const e=p.fromDosageToText(t);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(s.default,{language:"markup",children:(h=c,(0,o.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/ee929032.34e75bc3.js b/assets/js/ee929032.34e75bc3.js new file mode 100644 index 00000000..1c9c9dfa --- /dev/null +++ b/assets/js/ee929032.34e75bc3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5236],{10974:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>f,contentTitle:()=>p,default:()=>x,frontMatter:()=>d,metadata:()=>n,toc:()=>h});const n=JSON.parse('{"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":false,"unlisted":false,"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"}}');var i=a(74848),s=a(28453),o=a(85819);const r=JSON.parse('{"doseAndRate":[{"rateRatio":{"numerator":{"value":3,"unit":"pills"},"denominator":{"value":5,"unit":"hours"}}}]}');var c=a(11470),l=a(19365),u=a(816);const d={description:"rateRatio",title:"\ud83d\udcc8 rateRatio"},p=void 0,f={},h=[];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)(c.A,{children:[(0,i.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(u.A,{dosage:r})}),(0,i.jsx)(l.A,{value:"json",label:"Dosage",children:(0,i.jsx)(o.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/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(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,a)=>{a.d(t,{A:()=>c});var n=a(96540),i=a(76300),s=a(52376),o=a(85819),r=a(74848);function c(e){let{dosage:t,config:a}=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.U.build({...a});f(e)}()}),[a]),(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: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(p){await p.changeLanguage(u);const e=p.fromDosageToText(t);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(o.default,{language:"markup",children:(h=c,(0,s.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/ef54304a.081559c4.js b/assets/js/ef54304a.081559c4.js deleted file mode 100644 index 41239a57..00000000 --- a/assets/js/ef54304a.081559c4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3157],{51104:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>h,frontMatter:()=>c,metadata:()=>m,toc:()=>x});var i=s(74848),n=s(28453),a=s(85819),o=s(69763),r=s(11470),d=s(19365),l=s(18264);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={},x=[];function g(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/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,n.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(g,{...e})}):g(e)}},18264:(e,t,s)=>{s.d(t,{A:()=>d});var i=s(96540),n=s(76300),a=s(52376),o=s(85819),r=s(74848);function d(e){let{dosages:t,config:s}=e;const[d,l]=(0,i.useState)(""),[c,u]=(0,i.useState)(s?.language||"en"),[m,p]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await n.U.build({...s});p(e)}()}),[s]),(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)(o.default,{language:"markup",children:(x=d,(0,a.decode)(x))})})]});var x}},69763: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/ef54304a.e2bca2eb.js b/assets/js/ef54304a.e2bca2eb.js new file mode 100644 index 00000000..9a4c579a --- /dev/null +++ b/assets/js/ef54304a.e2bca2eb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3157],{47953:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>p,contentTitle:()=>m,default:()=>h,frontMatter:()=>u,metadata:()=>i,toc:()=>x});const i=JSON.parse('{"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":false,"unlisted":false,"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"}}');var n=s(74848),a=s(28453),o=s(85819),r=s(69763),d=s(11470),l=s(19365),c=s(18264);const u={description:"Request with multiple dosages and timings",title:"medrx004"},m=void 0,p={},x=[];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/medicationrequestexample4.html",children:"HL7"}),' - "Request with multiple dosages and timings"']})}),"\n",(0,n.jsxs)(d.A,{children:[(0,n.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(c.A,{dosages:r,config:{}})}),(0,n.jsx)(l.A,{value:"json",label:"Dosage",children:(0,n.jsx)(o.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)(g,{...e})}):g(e)}},18264:(e,t,s)=>{s.d(t,{A:()=>d});var i=s(96540),n=s(76300),a=s(52376),o=s(85819),r=s(74848);function d(e){let{dosages:t,config:s}=e;const[d,l]=(0,i.useState)(""),[c,u]=(0,i.useState)(s?.language||"en"),[m,p]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await n.U.build({...s});p(e)}()}),[s]),(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)(o.default,{language:"markup",children:(x=d,(0,a.decode)(x))})})]});var x}},69763: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.a125777a.js b/assets/js/f58af7d8.a125777a.js new file mode 100644 index 00000000..c722e1e6 --- /dev/null +++ b/assets/js/f58af7d8.a125777a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4056],{50884:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>p,contentTitle:()=>m,default:()=>h,frontMatter:()=>d,metadata:()=>i,toc:()=>f});const i=JSON.parse('{"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":false,"unlisted":false,"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"}}');var a=s(74848),l=s(28453),n=s(85819);const r=JSON.parse('{"timing":{"repeat":{"timeOfDay":["15:00:00","12:12:12"]}}}');var c=s(11470),o=s(19365),u=s(816);const d={description:"Multiple items",title:"\u2795 Multiple items"},m=void 0,p={},f=[];function g(e){return(0,a.jsxs)(c.A,{children:[(0,a.jsx)(o.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(u.A,{dosage:r})}),(0,a.jsx)(o.A,{value:"json",label:"Dosage",children:(0,a.jsx)(n.default,{language:"json",children:JSON.stringify(r,null,2)})})]})}function h(e={}){const{wrapper:t}={...(0,l.R)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(g,{...e})}):g()}},816:(e,t,s)=>{s.d(t,{A:()=>c});var i=s(96540),a=s(76300),l=s(52376),n=s(85819),r=s(74848);function c(e){let{dosage:t,config:s}=e;const[c,o]=(0,i.useState)(""),[u,d]=(0,i.useState)(s?.language||"en"),[m,p]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await a.U.build({...s});p(e)}()}),[s]),(0,i.useEffect)((()=>{!async function(){if(m){const e=m.fromDosageToText(t);o(e)}}()}),[t,m]);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(m){await m.changeLanguage(u);const e=m.fromDosageToText(t);o(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(n.default,{language:"markup",children:(f=c,(0,l.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/f58af7d8.d2bb4249.js b/assets/js/f58af7d8.d2bb4249.js deleted file mode 100644 index c45910ba..00000000 --- a/assets/js/f58af7d8.d2bb4249.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4056],{51867:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>p,contentTitle:()=>d,default:()=>h,frontMatter:()=>u,metadata:()=>m,toc:()=>f});var s=i(74848),a=i(28453),l=i(85819);const n=JSON.parse('{"timing":{"repeat":{"timeOfDay":["15:00:00","12:12:12"]}}}');var r=i(11470),c=i(19365),o=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)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(o.A,{dosage:n})}),(0,s.jsx)(c.A,{value:"json",label:"Dosage",children:(0,s.jsx)(l.default,{language:"json",children:JSON.stringify(n,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:()=>c});var s=i(96540),a=i(76300),l=i(52376),n=i(85819),r=i(74848);function c(e){let{dosage:t,config:i}=e;const[c,o]=(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.U.build({...i});p(e)}()}),[i]),(0,s.useEffect)((()=>{!async function(){if(m){const e=m.fromDosageToText(t);o(e)}}()}),[t,m]);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(m){await m.changeLanguage(u);const e=m.fromDosageToText(t);o(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(n.default,{language:"markup",children:(f=c,(0,l.decode)(f))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/f71da0e1.7f60bf2c.js b/assets/js/f71da0e1.7f60bf2c.js deleted file mode 100644 index 2a2c1b82..00000000 --- a/assets/js/f71da0e1.7f60bf2c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6720],{90697:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>a,contentTitle:()=>l,default:()=>u,frontMatter:()=>n,metadata:()=>i,toc:()=>c});var o=s(74848),r=s(28453);const n={slug:"welcome",title:"Welcome",authors:["jy95"],tags:["welcome"]},l=void 0,i={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",tags:[{inline:!0,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",page:null}],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"}},a={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 u(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.aeeedc89.js b/assets/js/f71da0e1.aeeedc89.js new file mode 100644 index 00000000..0557e0a9 --- /dev/null +++ b/assets/js/f71da0e1.aeeedc89.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6720],{90697:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>i,contentTitle:()=>a,default:()=>d,frontMatter:()=>n,metadata:()=>o,toc:()=>c});var o=s(14212),r=s(74848),l=s(28453);const n={slug:"welcome",title:"Welcome",authors:["jy95"],tags:["welcome"]},a=void 0,i={authorsImageUrls:[void 0]},c=[];function u(e){const t={a:"a",br:"br",code:"code",li:"li",p:"p",strong:"strong",ul:"ul",...(0,l.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(t.p,{children:["Welcome to ",(0,r.jsx)(t.code,{children:"fhir-dosage-utils"}),".",(0,r.jsx)(t.br,{}),"\n","Key Features:"]}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.strong,{children:"Compatible:"})," Works with ",(0,r.jsx)(t.a,{href:"https://hl7.org/fhir/R4/dosage.html",children:"Dosage R4"})," and ",(0,r.jsx)(t.a,{href:"https://hl7.org/fhir/R5/dosage.html",children:"Dosage R5"})]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.strong,{children:"Extensibility"})," Easily adaptable and extendable to accommodate your requirements"]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.strong,{children:"Internationalization"})," Seamlessly extendable to other languages with ",(0,r.jsx)(t.code,{children:"i18next"})]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.strong,{children:"Integration Ease"})," Works effortlessly in various environments like the browser, Node.js, ..."]}),"\n"]})]})}function d(e={}){const{wrapper:t}={...(0,l.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},14212:e=>{e.exports=JSON.parse('{"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","tags":[{"inline":true,"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","page":null}],"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"}}')}}]); \ No newline at end of file diff --git a/assets/js/f7adbe59.35b642e6.js b/assets/js/f7adbe59.35b642e6.js deleted file mode 100644 index f9341882..00000000 --- a/assets/js/f7adbe59.35b642e6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9280],{93847:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>f,contentTitle:()=>l,default:()=>x,frontMatter:()=>c,metadata:()=>p,toc:()=>h});var s=t(74848),o=t(28453),i=t(85819),a=t(87622),r=t(11470),u=t(19365),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={},h=[];function g(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)(d.A,{dosage:a})}),(0,s.jsx)(u.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/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(g,{...e})}):g(e)}},816:(e,n,t)=>{t.d(n,{A:()=>u});var s=t(96540),o=t(76300),i=t(52376),a=t(85819),r=t(74848);function u(e){let{dosage:n,config:t}=e;const[u,d]=(0,s.useState)(""),[c,l]=(0,s.useState)(t?.language||"en"),[p,f]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await o.U.build({...t});f(e)}()}),[t]),(0,s.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(n);d(e)}}()}),[n,p]);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(p){await p.changeLanguage(c);const e=p.fromDosageToText(n);d(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(a.default,{language:"markup",children:(h=u,(0,i.decode)(h))})})]});var h}},87622: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.e37ce83f.js b/assets/js/f7adbe59.e37ce83f.js new file mode 100644 index 00000000..3e13a9de --- /dev/null +++ b/assets/js/f7adbe59.e37ce83f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9280],{84590:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>f,contentTitle:()=>p,default:()=>x,frontMatter:()=>l,metadata:()=>s,toc:()=>h});const s=JSON.parse('{"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":false,"unlisted":false,"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"}}');var o=t(74848),i=t(28453),a=t(85819),r=t(87622),u=t(11470),d=t(19365),c=t(816);const l={description:"boundsDuration",title:"\ud83d\udd70\ufe0f boundsDuration"},p=void 0,f={},h=[];function g(e){const n={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(u.A,{children:[(0,o.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(c.A,{dosage:r})}),(0,o.jsx)(d.A,{value:"json",label:"Dosage",children:(0,o.jsx)(a.default,{language:"json",children:JSON.stringify(r,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/Config",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(g,{...e})}):g(e)}},816:(e,n,t)=>{t.d(n,{A:()=>u});var s=t(96540),o=t(76300),i=t(52376),a=t(85819),r=t(74848);function u(e){let{dosage:n,config:t}=e;const[u,d]=(0,s.useState)(""),[c,l]=(0,s.useState)(t?.language||"en"),[p,f]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await o.U.build({...t});f(e)}()}),[t]),(0,s.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(n);d(e)}}()}),[n,p]);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(p){await p.changeLanguage(c);const e=p.fromDosageToText(n);d(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(a.default,{language:"markup",children:(h=u,(0,i.decode)(h))})})]});var h}},87622: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/fa572d46.e23af566.js b/assets/js/fa572d46.e23af566.js deleted file mode 100644 index 2258d470..00000000 --- a/assets/js/fa572d46.e23af566.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1616],{61882:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>h,contentTitle:()=>l,default:()=>m,frontMatter:()=>u,metadata:()=>d,toc:()=>p});var n=t(74848),o=t(28453),i=t(85819);const a=JSON.parse('{"timing":{"repeat":{"offset":15}}}');var f=t(11470),r=t(19365),c=t(816);const u={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)(c.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:()=>r});var n=t(96540),o=t(76300),i=t(52376),a=t(85819),f=t(74848);function r(e){let{dosage:s,config:t}=e;const[r,c]=(0,n.useState)(""),[u,l]=(0,n.useState)(t?.language||"en"),[d,h]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await o.U.build({...t});h(e)}()}),[t]),(0,n.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(s);c(e)}}()}),[s,d]);return(0,f.jsxs)("div",{children:[(0,f.jsxs)("div",{style:{display:"flex"},children:[(0,f.jsxs)("select",{value:u,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(u);const e=d.fromDosageToText(s);c(e)}},children:"Confirm"})]}),(0,f.jsx)("div",{style:{marginTop:"10px"},children:(0,f.jsx)(a.default,{language:"markup",children:(p=r,(0,i.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/fa572d46.ffdc7af5.js b/assets/js/fa572d46.ffdc7af5.js new file mode 100644 index 00000000..9cc231b1 --- /dev/null +++ b/assets/js/fa572d46.ffdc7af5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1616],{15237:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>h,contentTitle:()=>d,default:()=>m,frontMatter:()=>l,metadata:()=>n,toc:()=>p});const n=JSON.parse('{"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":false,"unlisted":false,"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"}}');var o=t(74848),i=t(28453),a=t(85819);const f=JSON.parse('{"timing":{"repeat":{"offset":15}}}');var r=t(11470),c=t(19365),u=t(816);const l={description:"offset, expressing minute(s)",title:"\ud83d\udd52 offset (Minutes)"},d=void 0,h={},p=[];function g(e){return(0,o.jsxs)(r.A,{children:[(0,o.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(u.A,{dosage:f})}),(0,o.jsx)(c.A,{value:"json",label:"Dosage",children:(0,o.jsx)(a.default,{language:"json",children:JSON.stringify(f,null,2)})})]})}function m(e={}){const{wrapper:s}={...(0,i.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:()=>r});var n=t(96540),o=t(76300),i=t(52376),a=t(85819),f=t(74848);function r(e){let{dosage:s,config:t}=e;const[r,c]=(0,n.useState)(""),[u,l]=(0,n.useState)(t?.language||"en"),[d,h]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await o.U.build({...t});h(e)}()}),[t]),(0,n.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(s);c(e)}}()}),[s,d]);return(0,f.jsxs)("div",{children:[(0,f.jsxs)("div",{style:{display:"flex"},children:[(0,f.jsxs)("select",{value:u,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(u);const e=d.fromDosageToText(s);c(e)}},children:"Confirm"})]}),(0,f.jsx)("div",{style:{marginTop:"10px"},children:(0,f.jsx)(a.default,{language:"markup",children:(p=r,(0,i.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/fdba5499.1c0bcc54.js b/assets/js/fdba5499.1c0bcc54.js deleted file mode 100644 index 376ac990..00000000 --- a/assets/js/fdba5499.1c0bcc54.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[743],{13859:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>h,contentTitle:()=>u,default:()=>g,frontMatter:()=>c,metadata:()=>m,toc:()=>p});var a=s(74848),n=s(28453),o=s(85819);const d=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(11470),r=s(19365),l=s(18264);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"}},h={},p=[];function x(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)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(l.A,{dosages:d,config:{}})}),(0,a.jsx)(r.A,{value:"json",label:"Dosage",children:(0,a.jsx)(o.default,{language:"json",children:JSON.stringify(d,null,2)})})]})]})}function g(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(x,{...e})}):x(e)}},18264:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(96540),n=s(76300),o=s(52376),d=s(85819),i=s(74848);function r(e){let{dosages:t,config:s}=e;const[r,l]=(0,a.useState)(""),[c,u]=(0,a.useState)(s?.language||"en"),[m,h]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await n.U.build({...s});h(e)}()}),[s]),(0,a.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)(d.default,{language:"markup",children:(p=r,(0,o.decode)(p))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/fdba5499.fd48d8c9.js b/assets/js/fdba5499.fd48d8c9.js new file mode 100644 index 00000000..dfa6694f --- /dev/null +++ b/assets/js/fdba5499.fd48d8c9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[743],{27732:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>p,contentTitle:()=>m,default:()=>g,frontMatter:()=>u,metadata:()=>a,toc:()=>h});const a=JSON.parse('{"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":false,"unlisted":false,"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"}}');var n=s(74848),o=s(28453),d=s(85819);const r=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(11470),l=s(19365),c=s(18264);const u={description:"Request that uses both calculated and ordered dosage",title:"medrx003"},m=void 0,p={},h=[];function x(e){const t={a:"a",admonition:"admonition",p:"p",...(0,o.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/medicationrequestexample3.html",children:"HL7"}),' - "Request that uses both calculated and ordered dosage"']})}),"\n",(0,n.jsxs)(i.A,{children:[(0,n.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(c.A,{dosages:r,config:{}})}),(0,n.jsx)(l.A,{value:"json",label:"Dosage",children:(0,n.jsx)(d.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function g(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(x,{...e})}):x(e)}},18264:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(96540),n=s(76300),o=s(52376),d=s(85819),r=s(74848);function i(e){let{dosages:t,config:s}=e;const[i,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.U.build({...s});p(e)}()}),[s]),(0,a.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)(d.default,{language:"markup",children:(h=i,(0,o.decode)(h))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/main.8d7c9c87.js b/assets/js/main.8d7c9c87.js new file mode 100644 index 00000000..6a753fc9 --- /dev/null +++ b/assets/js/main.8d7c9c87.js @@ -0,0 +1,2 @@ +/*! For license information please see main.8d7c9c87.js.LICENSE.txt */ +(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8792],{55600:(e,t,n)=>{"use strict";n.d(t,{Bc:()=>T,E8:()=>Yn,a1:()=>Qn});var r=n(96540);n(40961);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function x(e,t){return x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},x(e,t)}function w(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){var r,o,a,i,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return s}}(e,t)||k(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 S(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||k(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function k(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function E(e){var t="function"==typeof Map?new Map:void 0;return E=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(h())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&x(o,n.prototype),o}(e,arguments,p(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),x(n,e)},E(e)}function P(){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"}))}function O(){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"}))}var C=["translations"],j="Ctrl",T=r.forwardRef((function(e,t){var n=e.translations,o=void 0===n?{}:n,a=y(e,C),i=o.buttonText,s=void 0===i?"Search":i,l=o.buttonAriaLabel,c=void 0===l?"Search":l,u=w((0,r.useState)(null),2),d=u[0],p=u[1];return(0,r.useEffect)((function(){"undefined"!=typeof navigator&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?p("\u2318"):p(j))}),[]),r.createElement("button",f({type:"button",className:"DocSearch DocSearch-Button","aria-label":c},a,{ref:t}),r.createElement("span",{className:"DocSearch-Button-Container"},r.createElement(O,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(A,{reactsToKey:d===j?j:"Meta"},d===j?r.createElement(P,null):d),r.createElement(A,{reactsToKey:"k"},"K"))))}));function A(e){var t=e.reactsToKey,n=e.children,o=w((0,r.useState)(!1),2),a=o[0],i=o[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:a?"DocSearch-Button-Key DocSearch-Button-Key--pressed":"DocSearch-Button-Key"},n)}function I(e,t){var n=void 0;return function(){for(var r=arguments.length,o=new Array(r),a=0;ae.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Q(e){for(var t=1;t=3||2===n&&r>=4||1===n&&r>=10);function a(t,n,r){if(o&&void 0!==r){var a=r[0].__autocomplete_algoliaCredentials,i={"X-Algolia-Application-Id":a.appId,"X-Algolia-API-Key":a.apiKey};e.apply(void 0,[t].concat(V(n),[{headers:i}]))}else e.apply(void 0,[t].concat(V(n)))}return{init:function(t,n){e("init",{appId:t,apiKey:n})},setUserToken:function(t){e("setUserToken",t)},clickedObjectIDsAfterSearch:function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&a("clickedObjectIDsAfterSearch",Z(t),t[0].items)},clickedObjectIDs:function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&a("clickedObjectIDs",Z(t),t[0].items)},clickedFilters:function(){for(var t=arguments.length,n=new Array(t),r=0;r0&&e.apply(void 0,["clickedFilters"].concat(n))},convertedObjectIDsAfterSearch:function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&a("convertedObjectIDsAfterSearch",Z(t),t[0].items)},convertedObjectIDs:function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&a("convertedObjectIDs",Z(t),t[0].items)},convertedFilters:function(){for(var t=arguments.length,n=new Array(t),r=0;r0&&e.apply(void 0,["convertedFilters"].concat(n))},viewedObjectIDs:function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&t.reduce((function(e,t){var n=t.items,r=K(t,$);return[].concat(V(e),V(function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,n=[],r=0;r0&&e.apply(void 0,["viewedFilters"].concat(n))}}}function J(e){var t=e.items.reduce((function(e,t){var n;return e[t.__autocomplete_indexName]=(null!==(n=e[t.__autocomplete_indexName])&&void 0!==n?n:[]).concat(t),e}),{});return Object.keys(t).map((function(e){return{index:e,items:t[e],algoliaSource:["autocomplete"]}}))}function ee(e){return e.objectID&&e.__autocomplete_indexName&&e.__autocomplete_queryID}function te(e){return te="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},te(e)}function ne(e){return function(e){if(Array.isArray(e))return re(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return re(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?re(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function re(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&ce({onItemsChange:r,items:n,insights:s,state:t}))}}),0);return{name:"aa.algoliaInsightsPlugin",subscribe:function(e){var t=e.setContext,n=e.onSelect,r=e.onActive;i("addAlgoliaAgent","insights-plugin"),t({algoliaInsightsPlugin:{__algoliaSearchParameters:{clickAnalytics:!0},insights:s}}),n((function(e){var t=e.item,n=e.state,r=e.event;ee(t)&&o({state:n,event:r,insights:s,item:t,insightsEvents:[ae({eventName:"Item Selected"},B({item:t,items:l.current}))]})})),r((function(e){var t=e.item,n=e.state,r=e.event;ee(t)&&a({state:n,event:r,insights:s,item:t,insightsEvents:[ae({eventName:"Item Active"},B({item:t,items:l.current}))]})}))},onStateChange:function(e){var t=e.state;c({state:t})},__autocomplete_pluginOptions:e}}function de(e,t){var n=t;return{then:function(t,r){return de(e.then(pe(t,n,e),pe(r,n,e)),n)},catch:function(t){return de(e.catch(pe(t,n,e)),n)},finally:function(t){return t&&n.onCancelList.push(t),de(e.finally(pe(t&&function(){return n.onCancelList=[],t()},n,e)),n)},cancel:function(){n.isCanceled=!0;var e=n.onCancelList;n.onCancelList=[],e.forEach((function(e){e()}))},isCanceled:function(){return!0===n.isCanceled}}}function fe(e){return de(e,{isCanceled:!1,onCancelList:[]})}function pe(e,t,n){return e?function(n){return t.isCanceled?n:e(n)}:n}function me(e,t,n,r){if(!n)return null;if(e<0&&(null===t||null!==r&&0===t))return n+e;var o=(null===t?-1:t)+e;return o<=-1||o>=n?null===r?null:0:o}function he(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ge(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0},reshape:function(e){return e.sources}},e),{},{id:null!==(n=e.id)&&void 0!==n?n:"autocomplete-".concat(D++),plugins:o,initialState:Ae({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},e.initialState),onStateChange:function(t){var n;null===(n=e.onStateChange)||void 0===n||n.call(e,t),o.forEach((function(e){var n;return null===(n=e.onStateChange)||void 0===n?void 0:n.call(e,t)}))},onSubmit:function(t){var n;null===(n=e.onSubmit)||void 0===n||n.call(e,t),o.forEach((function(e){var n;return null===(n=e.onSubmit)||void 0===n?void 0:n.call(e,t)}))},onReset:function(t){var n;null===(n=e.onReset)||void 0===n||n.call(e,t),o.forEach((function(e){var n;return null===(n=e.onReset)||void 0===n?void 0:n.call(e,t)}))},getSources:function(n){return Promise.all([].concat(function(e){return function(e){if(Array.isArray(e))return je(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return je(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?je(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(o.map((function(e){return e.getSources}))),[e.getSources]).filter(Boolean).map((function(e){return function(e,t){var n=[];return Promise.resolve(e(t)).then((function(e){return Promise.all(e.filter((function(e){return Boolean(e)})).map((function(e){if(e.sourceId,n.includes(e.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(e.sourceId)," is not unique."));n.push(e.sourceId);var t={getItemInputValue:function(e){return e.state.query},getItemUrl:function(){},onSelect:function(e){(0,e.setIsOpen)(!1)},onActive:F,onResolve:F};Object.keys(t).forEach((function(e){t[e].__default=!0}));var r=ge(ge({},t),e);return Promise.resolve(r)})))}))}(e,n)}))).then((function(e){return N(e)})).then((function(e){return e.map((function(e){return Ae(Ae({},e),{},{onSelect:function(n){e.onSelect(n),t.forEach((function(e){var t;return null===(t=e.onSelect)||void 0===t?void 0:t.call(e,n)}))},onActive:function(n){e.onActive(n),t.forEach((function(e){var t;return null===(t=e.onActive)||void 0===t?void 0:t.call(e,n)}))},onResolve:function(n){e.onResolve(n),t.forEach((function(e){var t;return null===(t=e.onResolve)||void 0===t?void 0:t.call(e,n)}))}})}))}))},navigator:Ae({navigate:function(e){var t=e.itemUrl;r.location.assign(t)},navigateNewTab:function(e){var t=e.itemUrl,n=r.open(t,"_blank","noopener");null==n||n.focus()},navigateNewWindow:function(e){var t=e.itemUrl;r.open(t,"_blank","noopener")}},e.navigator)})}function De(e){return De="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},De(e)}function Re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Le(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Ke);et&&o.environment.clearTimeout(et);var c=l.setCollections,u=l.setIsOpen,d=l.setQuery,f=l.setActiveItemId,p=l.setStatus;if(d(a),f(o.defaultActiveItemId),!a&&!1===o.openOnFocus){var m,h=s.getState().collections.map((function(e){return Qe(Qe({},e),{},{items:[]})}));p("idle"),c(h),u(null!==(m=r.isOpen)&&void 0!==m?m:o.shouldPanelOpen({state:s.getState()}));var g=fe(tt(h).then((function(){return Promise.resolve()})));return s.pendingRequests.add(g)}p("loading"),et=o.environment.setTimeout((function(){p("stalled")}),o.stallThreshold);var b=fe(tt(o.getSources(Qe({query:a,refresh:i,state:s.getState()},l)).then((function(e){return Promise.all(e.map((function(e){return Promise.resolve(e.getItems(Qe({query:a,refresh:i,state:s.getState()},l))).then((function(t){return function(e,t,n){if(o=e,Boolean(null==o?void 0:o.execute)){var r="algolia"===e.requesterId?Object.assign.apply(Object,[{}].concat(Ue(Object.keys(n.context).map((function(e){var t;return null===(t=n.context[e])||void 0===t?void 0:t.__algoliaSearchParameters}))))):{};return Be(Be({},e),{},{requests:e.queries.map((function(n){return{query:"algolia"===e.requesterId?Be(Be({},n),{},{params:Be(Be({},r),n.params)}):n,sourceId:t,transformResponse:e.transformResponse}}))})}var o;return{items:e,sourceId:t}}(t,e.sourceId,s.getState())}))}))).then(Ve).then((function(t){return function(e,t,n){return t.map((function(t){var r,o=e.filter((function(e){return e.sourceId===t.sourceId})),a=o.map((function(e){return e.items})),i=o[0].transformResponse,s=i?i({results:r=a,hits:r.map((function(e){return e.hits})).filter(Boolean),facetHits:r.map((function(e){var t;return null===(t=e.facetHits)||void 0===t?void 0:t.map((function(e){return{label:e.value,count:e.count,_highlightResult:{label:{value:e.highlighted}}}}))})).filter(Boolean)}):a;return t.onResolve({source:t,results:a,items:s,state:n.getState()}),s.every(Boolean),'The `getItems` function from source "'.concat(t.sourceId,'" must return an array of items but returned ').concat(JSON.stringify(void 0),".\n\nDid you forget to return items?\n\nSee: https://www.algolia.com/doc/ui-libraries/autocomplete/core-concepts/sources/#param-getitems"),{source:t,items:s}}))}(t,e,s)})).then((function(e){return function(e){var t=e.props,n=e.state,r=e.collections.reduce((function(e,t){return Le(Le({},e),{},Me({},t.source.sourceId,Le(Le({},t.source),{},{getItems:function(){return N(t.items)}})))}),{}),o=t.plugins.reduce((function(e,t){return t.reshape?t.reshape(e):e}),{sourcesBySourceId:r,state:n}).sourcesBySourceId;return N(t.reshape({sourcesBySourceId:o,sources:Object.values(o),state:n})).filter(Boolean).map((function(e){return{source:e,items:e.getItems()}}))}({collections:e,props:o,state:s.getState()})}))})))).then((function(e){var n;p("idle"),c(e);var d=o.shouldPanelOpen({state:s.getState()});u(null!==(n=r.isOpen)&&void 0!==n?n:o.openOnFocus&&!a&&d||d);var f=ve(s.getState());if(null!==s.getState().activeItemId&&f){var m=f.item,h=f.itemInputValue,g=f.itemUrl,b=f.source;b.onActive(Qe({event:t,item:m,itemInputValue:h,itemUrl:g,refresh:i,source:b,state:s.getState()},l))}})).finally((function(){p("idle"),et&&o.environment.clearTimeout(et)}));return s.pendingRequests.add(b)}function rt(e){return rt="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},rt(e)}var ot=["event","props","refresh","store"];function at(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function it(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function xt(e){var t=e.props,n=e.refresh,r=e.store,o=vt(e,ct),a=function(e,t){return void 0!==t?"".concat(e,"-").concat(t):e};return{getEnvironmentProps:function(e){var n=e.inputElement,o=e.formElement,a=e.panelElement;function i(e){!r.getState().isOpen&&r.pendingRequests.isEmpty()||e.target===n||!1===[o,a].some((function(t){return(n=t)===(r=e.target)||n.contains(r);var n,r}))&&(r.dispatch("blur",null),t.debug||r.pendingRequests.cancelAll())}return bt({onTouchStart:i,onMouseDown:i,onTouchMove:function(e){!1!==r.getState().isOpen&&n===t.environment.document.activeElement&&e.target!==n&&n.blur()}},vt(e,ut))},getRootProps:function(e){return bt({role:"combobox","aria-expanded":r.getState().isOpen,"aria-haspopup":"listbox","aria-owns":r.getState().isOpen?"".concat(t.id,"-list"):void 0,"aria-labelledby":"".concat(t.id,"-label")},e)},getFormProps:function(e){return e.inputElement,bt({action:"",noValidate:!0,role:"search",onSubmit:function(a){var i;a.preventDefault(),t.onSubmit(bt({event:a,refresh:n,state:r.getState()},o)),r.dispatch("submit",null),null===(i=e.inputElement)||void 0===i||i.blur()},onReset:function(a){var i;a.preventDefault(),t.onReset(bt({event:a,refresh:n,state:r.getState()},o)),r.dispatch("reset",null),null===(i=e.inputElement)||void 0===i||i.focus()}},vt(e,dt))},getLabelProps:function(e){var n=e||{},r=n.sourceIndex,o=vt(n,pt);return bt({htmlFor:"".concat(a(t.id,r),"-input"),id:"".concat(a(t.id,r),"-label")},o)},getInputProps:function(e){var a;function i(e){(t.openOnFocus||Boolean(r.getState().query))&&nt(bt({event:e,props:t,query:r.getState().completion||r.getState().query,refresh:n,store:r},o)),r.dispatch("focus",null)}var s=e||{},l=(s.inputElement,s.maxLength),c=void 0===l?512:l,u=vt(s,ft),d=ve(r.getState()),f=function(e){return Boolean(e&&e.match(xe))}((null===(a=t.environment.navigator)||void 0===a?void 0:a.userAgent)||""),p=null!=d&&d.itemUrl&&!f?"go":"search";return bt({"aria-autocomplete":"both","aria-activedescendant":r.getState().isOpen&&null!==r.getState().activeItemId?"".concat(t.id,"-item-").concat(r.getState().activeItemId):void 0,"aria-controls":r.getState().isOpen?"".concat(t.id,"-list"):void 0,"aria-labelledby":"".concat(t.id,"-label"),value:r.getState().completion||r.getState().query,id:"".concat(t.id,"-input"),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",enterKeyHint:p,spellCheck:"false",autoFocus:t.autoFocus,placeholder:t.placeholder,maxLength:c,type:"search",onChange:function(e){nt(bt({event:e,props:t,query:e.currentTarget.value.slice(0,c),refresh:n,store:r},o))},onKeyDown:function(e){!function(e){var t=e.event,n=e.props,r=e.refresh,o=e.store,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,ot);if("ArrowUp"===t.key||"ArrowDown"===t.key){var i=function(){var e=n.environment.document.getElementById("".concat(n.id,"-item-").concat(o.getState().activeItemId));e&&(e.scrollIntoViewIfNeeded?e.scrollIntoViewIfNeeded(!1):e.scrollIntoView(!1))},s=function(){var e=ve(o.getState());if(null!==o.getState().activeItemId&&e){var n=e.item,i=e.itemInputValue,s=e.itemUrl,l=e.source;l.onActive(it({event:t,item:n,itemInputValue:i,itemUrl:s,refresh:r,source:l,state:o.getState()},a))}};t.preventDefault(),!1===o.getState().isOpen&&(n.openOnFocus||Boolean(o.getState().query))?nt(it({event:t,props:n,query:o.getState().query,refresh:r,store:o},a)).then((function(){o.dispatch(t.key,{nextActiveItemId:n.defaultActiveItemId}),s(),setTimeout(i,0)})):(o.dispatch(t.key,{}),s(),i())}else if("Escape"===t.key)t.preventDefault(),o.dispatch(t.key,null),o.pendingRequests.cancelAll();else if("Tab"===t.key)o.dispatch("blur",null),o.pendingRequests.cancelAll();else if("Enter"===t.key){if(null===o.getState().activeItemId||o.getState().collections.every((function(e){return 0===e.items.length})))return void(n.debug||o.pendingRequests.cancelAll());t.preventDefault();var l=ve(o.getState()),c=l.item,u=l.itemInputValue,d=l.itemUrl,f=l.source;if(t.metaKey||t.ctrlKey)void 0!==d&&(f.onSelect(it({event:t,item:c,itemInputValue:u,itemUrl:d,refresh:r,source:f,state:o.getState()},a)),n.navigator.navigateNewTab({itemUrl:d,item:c,state:o.getState()}));else if(t.shiftKey)void 0!==d&&(f.onSelect(it({event:t,item:c,itemInputValue:u,itemUrl:d,refresh:r,source:f,state:o.getState()},a)),n.navigator.navigateNewWindow({itemUrl:d,item:c,state:o.getState()}));else if(t.altKey);else{if(void 0!==d)return f.onSelect(it({event:t,item:c,itemInputValue:u,itemUrl:d,refresh:r,source:f,state:o.getState()},a)),void n.navigator.navigate({itemUrl:d,item:c,state:o.getState()});nt(it({event:t,nextState:{isOpen:!1},props:n,query:u,refresh:r,store:o},a)).then((function(){f.onSelect(it({event:t,item:c,itemInputValue:u,itemUrl:d,refresh:r,source:f,state:o.getState()},a))}))}}}(bt({event:e,props:t,refresh:n,store:r},o))},onFocus:i,onBlur:F,onClick:function(n){e.inputElement!==t.environment.document.activeElement||r.getState().isOpen||i(n)}},u)},getPanelProps:function(e){return bt({onMouseDown:function(e){e.preventDefault()},onMouseLeave:function(){r.dispatch("mouseleave",null)}},e)},getListProps:function(e){var n=e||{},r=n.sourceIndex,o=vt(n,mt);return bt({role:"listbox","aria-labelledby":"".concat(a(t.id,r),"-label"),id:"".concat(a(t.id,r),"-list")},o)},getItemProps:function(e){var i=e.item,s=e.source,l=e.sourceIndex,c=vt(e,ht);return bt({id:"".concat(a(t.id,l),"-item-").concat(i.__autocomplete_id),role:"option","aria-selected":r.getState().activeItemId===i.__autocomplete_id,onMouseMove:function(e){if(i.__autocomplete_id!==r.getState().activeItemId){r.dispatch("mousemove",i.__autocomplete_id);var t=ve(r.getState());if(null!==r.getState().activeItemId&&t){var a=t.item,s=t.itemInputValue,l=t.itemUrl,c=t.source;c.onActive(bt({event:e,item:a,itemInputValue:s,itemUrl:l,refresh:n,source:c,state:r.getState()},o))}}},onMouseDown:function(e){e.preventDefault()},onClick:function(e){var a=s.getItemInputValue({item:i,state:r.getState()}),l=s.getItemUrl({item:i,state:r.getState()});(l?Promise.resolve():nt(bt({event:e,nextState:{isOpen:!1},props:t,query:a,refresh:n,store:r},o))).then((function(){s.onSelect(bt({event:e,item:i,itemInputValue:a,itemUrl:l,refresh:n,source:s,state:r.getState()},o))}))}},c)}}}function wt(e){return wt="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},wt(e)}function St(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _t(e){for(var t=1;t0&&r.createElement("div",{className:"DocSearch-NoResults-Prefill-List"},r.createElement("p",{className:"DocSearch-Help"},l,":"),r.createElement("ul",null,p.slice(0,3).reduce((function(e,t){return[].concat(S(e),[r.createElement("li",{key:t},r.createElement("button",{className:"DocSearch-Prefill",key:t,type:"button",onClick:function(){o.setQuery(t.toLowerCase()+" "),o.refresh(),o.inputRef.current.focus()}},t))])}),[]))),o.getMissingResultsUrl&&r.createElement("p",{className:"DocSearch-Help"},"".concat(u," "),r.createElement("a",{href:o.getMissingResultsUrl({query:o.state.query}),target:"_blank",rel:"noopener noreferrer"},f)))}var tn=["hit","attribute","tagName"];function nn(e,t){return t.split(".").reduce((function(e,t){return null!=e&&e[t]?e[t]:null}),e)}function rn(e){var t=e.hit,n=e.attribute,o=e.tagName,a=void 0===o?"span":o,i=y(e,tn);return(0,r.createElement)(a,b(b({},i),{},{dangerouslySetInnerHTML:{__html:nn(t,"_snippetResult.".concat(n,".value"))||nn(t,n)}}))}function on(e){return e.collection&&0!==e.collection.items.length?r.createElement("section",{className:"DocSearch-Hits"},r.createElement("div",{className:"DocSearch-Hit-source"},e.title),r.createElement("ul",e.getListProps(),e.collection.items.map((function(t,n){return r.createElement(an,f({key:[e.title,t.objectID].join(":"),item:t,index:n},e))})))):null}function an(e){var t=e.item,n=e.index,o=e.renderIcon,a=e.renderAction,i=e.getItemProps,s=e.onItemClick,l=e.collection,c=e.hitComponent,u=w(r.useState(!1),2),d=u[0],p=u[1],m=w(r.useState(!1),2),h=m[0],g=m[1],b=r.useRef(null),y=c;return r.createElement("li",f({className:["DocSearch-Hit",t.__docsearch_parent&&"DocSearch-Hit--Child",d&&"DocSearch-Hit--deleting",h&&"DocSearch-Hit--favoriting"].filter(Boolean).join(" "),onTransitionEnd:function(){b.current&&b.current()}},i({item:t,source:l.source,onClick:function(e){s(t,e)}})),r.createElement(y,{hit:t},r.createElement("div",{className:"DocSearch-Hit-Container"},o({item:t,index:n}),t.hierarchy[t.type]&&"lvl1"===t.type&&r.createElement("div",{className:"DocSearch-Hit-content-wrapper"},r.createElement(rn,{className:"DocSearch-Hit-title",hit:t,attribute:"hierarchy.lvl1"}),t.content&&r.createElement(rn,{className:"DocSearch-Hit-path",hit:t,attribute:"content"})),t.hierarchy[t.type]&&("lvl2"===t.type||"lvl3"===t.type||"lvl4"===t.type||"lvl5"===t.type||"lvl6"===t.type)&&r.createElement("div",{className:"DocSearch-Hit-content-wrapper"},r.createElement(rn,{className:"DocSearch-Hit-title",hit:t,attribute:"hierarchy.".concat(t.type)}),r.createElement(rn,{className:"DocSearch-Hit-path",hit:t,attribute:"hierarchy.lvl1"})),"content"===t.type&&r.createElement("div",{className:"DocSearch-Hit-content-wrapper"},r.createElement(rn,{className:"DocSearch-Hit-title",hit:t,attribute:"content"}),r.createElement(rn,{className:"DocSearch-Hit-path",hit:t,attribute:"hierarchy.lvl1"})),a({item:t,runDeleteTransition:function(e){p(!0),b.current=e},runFavoriteTransition:function(e){g(!0),b.current=e}}))))}function sn(e,t,n){return e.reduce((function(e,r){var o=t(r);return e.hasOwnProperty(o)||(e[o]=[]),e[o].length<(n||5)&&e[o].push(r),e}),{})}function ln(e){return e}function cn(e){return 1===e.button||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}function un(){}var dn=/(|<\/mark>)/g,fn=RegExp(dn.source);function pn(e){var t,n,r=e;if(!r.__docsearch_parent&&!e._highlightResult)return e.hierarchy.lvl0;var o=r.__docsearch_parent?null===(t=r.__docsearch_parent)||void 0===t||null===(t=t._highlightResult)||void 0===t||null===(t=t.hierarchy)||void 0===t?void 0:t.lvl0:null===(n=e._highlightResult)||void 0===n||null===(n=n.hierarchy)||void 0===n?void 0:n.lvl0;return o?o.value&&fn.test(o.value)?o.value.replace(dn,""):o.value:e.hierarchy.lvl0}function mn(e){return r.createElement("div",{className:"DocSearch-Dropdown-Container"},e.state.collections.map((function(t){if(0===t.items.length)return null;var n=pn(t.items[0]);return r.createElement(on,f({},e,{key:t.source.sourceId,title:n,collection:t,renderIcon:function(e){var n,o=e.item,a=e.index;return r.createElement(r.Fragment,null,o.__docsearch_parent&&r.createElement("svg",{className:"DocSearch-Hit-Tree",viewBox:"0 0 24 54"},r.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},o.__docsearch_parent!==(null===(n=t.items[a+1])||void 0===n?void 0:n.__docsearch_parent)?r.createElement("path",{d:"M8 6v21M20 27H8.3"}):r.createElement("path",{d:"M8 6v42M20 27H8.3"}))),r.createElement("div",{className:"DocSearch-Hit-icon"},r.createElement(Wt,{type:o.type})))},renderAction:function(){return r.createElement("div",{className:"DocSearch-Hit-action"},r.createElement(Ht,null))}}))})),e.resultsFooterComponent&&r.createElement("section",{className:"DocSearch-HitsFooter"},r.createElement(e.resultsFooterComponent,{state:e.state})))}var hn=["translations"];function gn(e){var t=e.translations,n=void 0===t?{}:t,o=y(e,hn),a=n.recentSearchesTitle,i=void 0===a?"Recent":a,s=n.noRecentSearchesText,l=void 0===s?"No recent searches":s,c=n.saveRecentSearchButtonTitle,u=void 0===c?"Save this search":c,d=n.removeRecentSearchButtonTitle,p=void 0===d?"Remove this search from history":d,m=n.favoriteSearchesTitle,h=void 0===m?"Favorite":m,g=n.removeFavoriteSearchButtonTitle,b=void 0===g?"Remove this search from favorites":g;return"idle"===o.state.status&&!1===o.hasCollections?o.disableUserPersonalization?null:r.createElement("div",{className:"DocSearch-StartScreen"},r.createElement("p",{className:"DocSearch-Help"},l)):!1===o.hasCollections?null:r.createElement("div",{className:"DocSearch-Dropdown-Container"},r.createElement(on,f({},o,{title:i,collection:o.state.collections[0],renderIcon:function(){return r.createElement("div",{className:"DocSearch-Hit-icon"},r.createElement(Ut,null))},renderAction:function(e){var t=e.item,n=e.runFavoriteTransition,a=e.runDeleteTransition;return r.createElement(r.Fragment,null,r.createElement("div",{className:"DocSearch-Hit-action"},r.createElement("button",{className:"DocSearch-Hit-action-button",title:u,type:"submit",onClick:function(e){e.preventDefault(),e.stopPropagation(),n((function(){o.favoriteSearches.add(t),o.recentSearches.remove(t),o.refresh()}))}},r.createElement(Qt,null))),r.createElement("div",{className:"DocSearch-Hit-action"},r.createElement("button",{className:"DocSearch-Hit-action-button",title:p,type:"submit",onClick:function(e){e.preventDefault(),e.stopPropagation(),a((function(){o.recentSearches.remove(t),o.refresh()}))}},r.createElement($t,null))))}})),r.createElement(on,f({},o,{title:h,collection:o.state.collections[1],renderIcon:function(){return r.createElement("div",{className:"DocSearch-Hit-icon"},r.createElement(Qt,null))},renderAction:function(e){var t=e.item,n=e.runDeleteTransition;return r.createElement("div",{className:"DocSearch-Hit-action"},r.createElement("button",{className:"DocSearch-Hit-action-button",title:b,type:"submit",onClick:function(e){e.preventDefault(),e.stopPropagation(),n((function(){o.favoriteSearches.remove(t),o.refresh()}))}},r.createElement($t,null)))}})))}var bn=["translations"],yn=r.memo((function(e){var t=e.translations,n=void 0===t?{}:t,o=y(e,bn);if("error"===o.state.status)return r.createElement(Xt,{translations:null==n?void 0:n.errorScreen});var a=o.state.collections.some((function(e){return e.items.length>0}));return o.state.query?!1===a?r.createElement(en,f({},o,{translations:null==n?void 0:n.noResultsScreen})):r.createElement(mn,o):r.createElement(gn,f({},o,{hasCollections:a,translations:null==n?void 0:n.startScreen}))}),(function(e,t){return"loading"===t.state.status||"stalled"===t.state.status})),vn=["translations"];function xn(e){var t=e.translations,n=void 0===t?{}:t,o=y(e,vn),a=n.resetButtonTitle,i=void 0===a?"Clear the query":a,s=n.resetButtonAriaLabel,l=void 0===s?"Clear the query":s,c=n.cancelButtonText,u=void 0===c?"Cancel":c,d=n.cancelButtonAriaLabel,p=void 0===d?"Cancel":d,m=n.searchInputLabel,h=void 0===m?"Search":m,g=o.getFormProps({inputElement:o.inputRef.current}).onReset;return r.useEffect((function(){o.autoFocus&&o.inputRef.current&&o.inputRef.current.focus()}),[o.autoFocus,o.inputRef]),r.useEffect((function(){o.isFromSelection&&o.inputRef.current&&o.inputRef.current.select()}),[o.isFromSelection,o.inputRef]),r.createElement(r.Fragment,null,r.createElement("form",{className:"DocSearch-Form",onSubmit:function(e){e.preventDefault()},onReset:g},r.createElement("label",f({className:"DocSearch-MagnifierLabel"},o.getLabelProps()),r.createElement(O,null),r.createElement("span",{className:"DocSearch-VisuallyHiddenForAccessibility"},h)),r.createElement("div",{className:"DocSearch-LoadingIndicator"},r.createElement(zt,null)),r.createElement("input",f({className:"DocSearch-Input",ref:o.inputRef},o.getInputProps({inputElement:o.inputRef.current,autoFocus:o.autoFocus,maxLength:64}))),r.createElement("button",{type:"reset",title:i,className:"DocSearch-Reset","aria-label":l,hidden:!o.state.query},r.createElement($t,null))),r.createElement("button",{className:"DocSearch-Cancel",type:"reset","aria-label":p,onClick:o.onClose},u))}var wn=["_highlightResult","_snippetResult"];function Sn(e){var t=e.key,n=e.limit,r=void 0===n?5:n,o=function(e){return!1===function(){var e="__TEST_KEY__";try{return localStorage.setItem(e,""),localStorage.removeItem(e),!0}catch(e){return!1}}()?{setItem:function(){},getItem:function(){return[]}}:{setItem:function(t){return window.localStorage.setItem(e,JSON.stringify(t))},getItem:function(){var t=window.localStorage.getItem(e);return t?JSON.parse(t):[]}}}(t),a=o.getItem().slice(0,r);return{add:function(e){var t=e,n=(t._highlightResult,t._snippetResult,y(t,wn)),i=a.findIndex((function(e){return e.objectID===n.objectID}));i>-1&&a.splice(i,1),a.unshift(n),a=a.slice(0,r),o.setItem(a)},remove:function(e){a=a.filter((function(t){return t.objectID!==e.objectID})),o.setItem(a)},getAll:function(){return a}}}function _n(e){var t,n="algolia-client-js-".concat(e.key);function r(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function o(){return JSON.parse(r().getItem(n)||"{}")}function a(e){r().setItem(n,JSON.stringify(e))}return{get:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then((function(){var n,r,i;return n=e.timeToLive?1e3*e.timeToLive:null,r=o(),a(i=Object.fromEntries(Object.entries(r).filter((function(e){return void 0!==w(e,2)[1].timestamp})))),n&&a(Object.fromEntries(Object.entries(i).filter((function(e){var t=w(e,2)[1],r=(new Date).getTime();return!(t.timestamp+n2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return t().then((function(e){return Promise.all([e,n.miss(e)])})).then((function(e){return w(e,1)[0]}))},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(e,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return n.get(e,r,o).catch((function(){return kn({caches:t}).get(e,r,o)}))},set:function(e,r){return n.set(e,r).catch((function(){return kn({caches:t}).set(e,r)}))},delete:function(e){return n.delete(e).catch((function(){return kn({caches:t}).delete(e)}))},clear:function(){return n.clear().catch((function(){return kn({caches:t}).clear()}))}}}function En(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(n,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},a=JSON.stringify(n);if(a in t)return Promise.resolve(e.serializable?JSON.parse(t[a]):t[a]);var i=r();return i.then((function(e){return o.miss(e)})).then((function(){return i}))},set:function(n,r){return t[JSON.stringify(n)]=e.serializable?JSON.stringify(r):r,Promise.resolve(r)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function Pn(e){var t=e.algoliaAgents,n=e.client,r=e.version,o=function(e){var t={value:"Algolia for JavaScript (".concat(e,")"),add:function(e){var n="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return-1===t.value.indexOf(n)&&(t.value="".concat(t.value).concat(n)),t}};return t}(r).add({segment:n,version:r});return t.forEach((function(e){return o.add(e)})),o}var On=12e4;function Cn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"up",n=Date.now();return b(b({},e),{},{status:t,lastUpdate:n,isUp:function(){return"up"===t||Date.now()-n>On},isTimedOut:function(){return"timed out"===t&&Date.now()-n<=On}})}var jn=function(){function e(t,n){var r;return l(this,e),d(r=s(this,e,[t]),"name","AlgoliaError"),n&&(r.name=n),r}return m(e,E(Error)),u(e)}(),Tn=function(){function e(t,n,r){var o;return l(this,e),d(o=s(this,e,[t,r]),"stackTrace",void 0),o.stackTrace=n,o}return m(e,jn),u(e)}(),An=function(){function e(t){return l(this,e),s(this,e,["Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support.",t,"RetryError"])}return m(e,Tn),u(e)}(),In=function(){function e(t,n,r){var o,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"ApiError";return l(this,e),d(o=s(this,e,[t,r,a]),"status",void 0),o.status=n,o}return m(e,Tn),u(e)}(),Nn=function(){function e(t,n){var r;return l(this,e),d(r=s(this,e,[t,"DeserializationError"]),"response",void 0),r.response=n,r}return m(e,jn),u(e)}(),Dn=function(){function e(t,n,r,o){var a;return l(this,e),d(a=s(this,e,[t,n,o,"DetailedApiError"]),"error",void 0),a.error=r,a}return m(e,In),u(e)}();function Rn(e,t,n){var r,o=(r=n,Object.keys(r).filter((function(e){return void 0!==r[e]})).sort().map((function(e){return"".concat(e,"=").concat(encodeURIComponent("[object Array]"===Object.prototype.toString.call(r[e])?r[e].join(","):r[e]).replace(/\+/g,"%20"))})).join("&")),a="".concat(e.protocol,"://").concat(e.url).concat(e.port?":".concat(e.port):"","/").concat("/"===t.charAt(0)?t.substring(1):t);return o.length&&(a+="?".concat(o)),a}function Ln(e,t){if("GET"!==e.method&&(void 0!==e.data||void 0!==t.data)){var n=Array.isArray(e.data)?e.data:b(b({},e.data),t.data);return JSON.stringify(n)}}function Mn(e,t,n){var r=b(b(b({Accept:"application/json"},e),t),n),o={};return Object.keys(r).forEach((function(e){var t=r[e];o[e.toLowerCase()]=t})),o}function Fn(e){try{return JSON.parse(e.content)}catch(t){throw new Nn(t.message,e)}}function qn(e,t){var n=e.content,r=e.status;try{var o=JSON.parse(n);return"error"in o?new Dn(o.message,r,o.error,t):new In(o.message,r,t)}catch(e){}return new In(n,r,t)}function Bn(e){return e.map((function(e){return zn(e)}))}function zn(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return b(b({},e),{},{request:b(b({},e.request),{},{headers:b(b({},e.request.headers),t)})})}var Un=["appId","apiKey","authMode","algoliaAgents"],$n=["params"],Hn="5.12.0";function Vn(e){return[{url:"".concat(e,"-dsn.algolia.net"),accept:"read",protocol:"https"},{url:"".concat(e,".algolia.net"),accept:"write",protocol:"https"}].concat(function(e){for(var t=e,n=e.length-1;n>0;n--){var r=Math.floor(Math.random()*(n+1)),o=e[n];t[n]=e[r],t[r]=o}return t}([{url:"".concat(e,"-1.algolianet.com"),accept:"readWrite",protocol:"https"},{url:"".concat(e,"-2.algolianet.com"),accept:"readWrite",protocol:"https"},{url:"".concat(e,"-3.algolianet.com"),accept:"readWrite",protocol:"https"}]))}var Wn="3.6.3";function Kn(e,t,n){return r.useMemo((function(){var r=function(e,t){if(!e||"string"!=typeof e)throw new Error("`appId` is missing.");if(!t||"string"!=typeof t)throw new Error("`apiKey` is missing.");return function(e){var t=e.appId,n=e.apiKey,r=e.authMode,o=e.algoliaAgents,a=y(e,Un),s=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"WithinHeaders",r={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:function(){return"WithinHeaders"===n?r:{}},queryParameters:function(){return"WithinQueryParameters"===n?r:{}}}}(t,n,r),l=function(e){var t=e.hosts,n=e.hostsCache,r=e.baseHeaders,o=e.logger,a=e.baseQueryParameters,s=e.algoliaAgent,l=e.timeouts,c=e.requester,u=e.requestsCache,d=e.responsesCache;function f(e){return p.apply(this,arguments)}function p(){return(p=i(v().mark((function e(t){var r,o,a,i,s;return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(t.map((function(e){return n.get(e,(function(){return Promise.resolve(Cn(e))}))})));case 2:return r=e.sent,o=r.filter((function(e){return e.isUp()})),a=r.filter((function(e){return e.isTimedOut()})),i=[].concat(S(o),S(a)),s=i.length>0?i:t,e.abrupt("return",{hosts:s,getTimeout:function(e,t){return(0===a.length&&0===e?1:a.length+3+e)*t}});case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function m(e,t){return h.apply(this,arguments)}function h(){return h=i(v().mark((function e(u,d){var p,m,h,g,y,x,w,_,k,E,P,O,C,j=arguments;return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(p=!(j.length>2&&void 0!==j[2])||j[2],m=[],h=Ln(u,d),g=Mn(r,u.headers,d.headers),y="GET"===u.method?b(b({},u.data),d.data):{},x=b(b(b({},a),u.queryParameters),y),s.value&&(x["x-algolia-agent"]=s.value),d&&d.queryParameters)for(w=0,_=Object.keys(d.queryParameters);w<_.length;w++)k=_[w],d.queryParameters[k]&&"[object Object]"!==Object.prototype.toString.call(d.queryParameters[k])?x[k]=d.queryParameters[k].toString():x[k]=d.queryParameters[k];return E=0,P=function(){var e=i(v().mark((function e(t,r){var a,i,s,f,y,w;return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==(a=t.pop())){e.next=3;break}throw new An(Bn(m));case 3:return i=b(b({},l),d.timeouts),s={data:h,headers:g,method:u.method,url:Rn(a,u.path,x),connectTimeout:r(E,i.connect),responseTimeout:r(E,p?i.read:i.write)},f=function(e){var n={request:s,response:e,host:a,triesLeft:t.length};return m.push(n),n},e.next=8,c.send(s);case 8:if(S=(v=y=e.sent).isTimedOut,_=v.status,!(S||function(e){return!e.isTimedOut&&!~~e.status}({isTimedOut:S,status:_})||2!=~~(_/100)&&4!=~~(_/100))){e.next=16;break}return w=f(y),y.isTimedOut&&E++,o.info("Retryable failure",zn(w)),e.next=15,n.set(a,Cn(a,y.isTimedOut?"timed out":"down"));case 15:return e.abrupt("return",P(t,r));case 16:if(2!=~~(y.status/100)){e.next=18;break}return e.abrupt("return",Fn(y));case 18:throw f(y),qn(y,m);case 20:case"end":return e.stop()}var v,S,_}),e)})));return function(t,n){return e.apply(this,arguments)}}(),O=t.filter((function(e){return"readWrite"===e.accept||(p?"read"===e.accept:"write"===e.accept)})),e.next=13,f(O);case 13:return C=e.sent,e.abrupt("return",P(S(C.hosts).reverse(),C.getTimeout));case 15:case"end":return e.stop()}}),e)}))),h.apply(this,arguments)}return{hostsCache:n,requester:c,timeouts:l,logger:o,algoliaAgent:s,baseHeaders:r,baseQueryParameters:a,hosts:t,request:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.useReadTransporter||"GET"===e.method;if(!n)return m(e,t,n);var o=function(){return m(e,t)};if(!0!==(t.cacheable||e.cacheable))return o();var i={request:e,requestOptions:t,transporter:{queryParameters:a,headers:r}};return d.get(i,(function(){return u.get(i,(function(){return u.set(i,o()).then((function(e){return Promise.all([u.delete(i),e])}),(function(e){return Promise.all([u.delete(i),Promise.reject(e)])})).then((function(e){var t=w(e,2);return t[0],t[1]}))}))}),{miss:function(e){return d.set(i,e)}})},requestsCache:u,responsesCache:d}}(b(b({hosts:Vn(t)},a),{},{algoliaAgent:Pn({algoliaAgents:o,client:"Lite",version:Hn}),baseHeaders:b(b({"content-type":"text/plain"},s.headers()),a.baseHeaders),baseQueryParameters:b(b({},s.queryParameters()),a.baseQueryParameters)}));return{transporter:l,appId:t,clearCache:function(){return Promise.all([l.requestsCache.clear(),l.responsesCache.clear()]).then((function(){}))},get _ua(){return l.algoliaAgent.value},addAlgoliaAgent:function(e,t){l.algoliaAgent.add({segment:e,version:t})},setClientApiKey:function(e){var t=e.apiKey;r&&"WithinHeaders"!==r?l.baseQueryParameters["x-algolia-api-key"]=t:l.baseHeaders["x-algolia-api-key"]=t},searchForHits:function(e,t){return this.search(e,t)},searchForFacets:function(e,t){return this.search(e,t)},customPost:function(e,t){var n=e.path,r=e.parameters,o=e.body;if(!n)throw new Error("Parameter `path` is required when calling `customPost`.");var a={method:"POST",path:"/{path}".replace("{path}",n),queryParameters:r||{},headers:{},data:o||{}};return l.request(a,t)},getRecommendations:function(e,t){if(e&&Array.isArray(e)&&(e={requests:e}),!e)throw new Error("Parameter `getRecommendationsParams` is required when calling `getRecommendations`.");if(!e.requests)throw new Error("Parameter `getRecommendationsParams.requests` is required when calling `getRecommendations`.");var n={method:"POST",path:"/1/indexes/*/recommendations",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return l.request(n,t)},search:function(e,t){if(e&&Array.isArray(e)){var n={requests:e.map((function(e){var t=e.params,n=y(e,$n);return"facet"===n.type?b(b(b({},n),t),{},{type:"facet"}):b(b(b({},n),t),{},{facet:void 0,maxFacetHits:void 0,facetQuery:void 0})}))};e=n}if(!e)throw new Error("Parameter `searchMethodParams` is required when calling `search`.");if(!e.requests)throw new Error("Parameter `searchMethodParams.requests` is required when calling `search`.");var r={method:"POST",path:"/1/indexes/*/queries",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return l.request(r,t)}}}(b({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:{debug:function(e,t){return Promise.resolve()},info:function(e,t){return Promise.resolve()},error:function(e,t){return Promise.resolve()}},requester:{send:function(e){return new Promise((function(t){var n=new XMLHttpRequest;n.open(e.method,e.url,!0),Object.keys(e.headers).forEach((function(t){return n.setRequestHeader(t,e.headers[t])}));var r,o=function(e,r){return setTimeout((function(){n.abort(),t({status:0,content:r,isTimedOut:!0})}),e)},a=o(e.connectTimeout,"Connection timeout");n.onreadystatechange=function(){n.readyState>n.OPENED&&void 0===r&&(clearTimeout(a),r=o(e.responseTimeout,"Socket timeout"))},n.onerror=function(){0===n.status&&(clearTimeout(a),clearTimeout(r),t({content:n.responseText||"Network request failed",status:n.status,isTimedOut:!1}))},n.onload=function(){clearTimeout(a),clearTimeout(r),t({content:n.responseText,status:n.status,isTimedOut:!1})},n.send(e.data)}))}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:En(),requestsCache:En({serializable:!1}),hostsCache:kn({caches:[_n({key:"".concat(Hn,"-").concat(e)}),En()]})},void 0))}(e,t);return r.addAlgoliaAgent("docsearch",Wn),!1===/docsearch.js \(.*\)/.test(r.transporter.algoliaAgent.value)&&r.addAlgoliaAgent("docsearch-react",Wn),n(r)}),[e,t,n])}var Gn=["footer","searchBox"];function Qn(e){var t=e.appId,n=e.apiKey,o=e.indexName,a=e.placeholder,i=void 0===a?"Search docs":a,s=e.searchParameters,l=e.maxResultsPerGroup,c=e.onClose,u=void 0===c?un:c,d=e.transformItems,p=void 0===d?ln:d,m=e.hitComponent,h=void 0===m?Bt:m,g=e.resultsFooterComponent,v=void 0===g?function(){return null}:g,x=e.navigator,S=e.initialScrollY,_=void 0===S?0:S,k=e.transformSearchClient,E=void 0===k?ln:k,P=e.disableUserPersonalization,O=void 0!==P&&P,C=e.initialQuery,j=void 0===C?"":C,T=e.translations,A=void 0===T?{}:T,I=e.getMissingResultsUrl,N=e.insights,D=void 0!==N&&N,R=A.footer,L=A.searchBox,M=y(A,Gn),F=w(r.useState({query:"",collections:[],completion:null,context:{},isOpen:!1,activeItemId:null,status:"idle"}),2),q=F[0],B=F[1],z=r.useRef(null),U=r.useRef(null),$=r.useRef(null),H=r.useRef(null),V=r.useRef(null),W=r.useRef(10),K=r.useRef("undefined"!=typeof window?window.getSelection().toString().slice(0,64):"").current,G=r.useRef(j||K).current,Q=Kn(t,n,E),Y=r.useRef(Sn({key:"__DOCSEARCH_FAVORITE_SEARCHES__".concat(o),limit:10})).current,Z=r.useRef(Sn({key:"__DOCSEARCH_RECENT_SEARCHES__".concat(o),limit:0===Y.getAll().length?7:4})).current,X=r.useCallback((function(e){if(!O){var t="content"===e.type?e.__docsearch_parent:e;t&&-1===Y.getAll().findIndex((function(e){return e.objectID===t.objectID}))&&Z.add(t)}}),[Y,Z,O]),J=r.useCallback((function(e){if(q.context.algoliaInsightsPlugin&&e.__autocomplete_id){var t=e,n={eventName:"Item Selected",index:t.__autocomplete_indexName,items:[t],positions:[e.__autocomplete_id],queryID:t.__autocomplete_queryID};q.context.algoliaInsightsPlugin.insights.clickedObjectIDsAfterSearch(n)}}),[q.context.algoliaInsightsPlugin]),ee=r.useMemo((function(){return Lt({id:"docsearch",defaultActiveItemId:0,placeholder:i,openOnFocus:!0,initialState:{query:G,context:{searchSuggestions:[]}},insights:D,navigator:x,onStateChange:function(e){B(e.state)},getSources:function(e){var r=e.query,a=e.state,i=e.setContext,c=e.setStatus;if(!r)return O?[]:[{sourceId:"recentSearches",onSelect:function(e){var t=e.item,n=e.event;X(t),cn(n)||u()},getItemUrl:function(e){return e.item.url},getItems:function(){return Z.getAll()}},{sourceId:"favoriteSearches",onSelect:function(e){var t=e.item,n=e.event;X(t),cn(n)||u()},getItemUrl:function(e){return e.item.url},getItems:function(){return Y.getAll()}}];var d=Boolean(D);return Q.search({requests:[b({query:r,indexName:o,attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:".concat(W.current),"hierarchy.lvl2:".concat(W.current),"hierarchy.lvl3:".concat(W.current),"hierarchy.lvl4:".concat(W.current),"hierarchy.lvl5:".concat(W.current),"hierarchy.lvl6:".concat(W.current),"content:".concat(W.current)],snippetEllipsisText:"\u2026",highlightPreTag:"",highlightPostTag:"",hitsPerPage:20,clickAnalytics:d},s)]}).catch((function(e){throw"RetryError"===e.name&&c("error"),e})).then((function(e){var r=e.results[0],s=r.hits,c=r.nbHits,f=sn(s,(function(e){return pn(e)}),l);a.context.searchSuggestions.length0&&(re(),V.current&&V.current.focus())}),[G,re]),r.useEffect((function(){function e(){if(U.current){var e=.01*window.innerHeight;U.current.style.setProperty("--docsearch-vh","".concat(e,"px"))}}return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),r.createElement("div",f({ref:z},ne({"aria-expanded":!0}),{className:["DocSearch","DocSearch-Container","stalled"===q.status&&"DocSearch-Container--Stalled","error"===q.status&&"DocSearch-Container--Errored"].filter(Boolean).join(" "),role:"button",tabIndex:0,onMouseDown:function(e){e.target===e.currentTarget&&u()}}),r.createElement("div",{className:"DocSearch-Modal",ref:U},r.createElement("header",{className:"DocSearch-SearchBar",ref:$},r.createElement(xn,f({},ee,{state:q,autoFocus:0===G.length,inputRef:V,isFromSelection:Boolean(G)&&G===K,translations:L,onClose:u}))),r.createElement("div",{className:"DocSearch-Dropdown",ref:H},r.createElement(yn,f({},ee,{indexName:o,state:q,hitComponent:h,resultsFooterComponent:v,disableUserPersonalization:O,recentSearches:Z,favoriteSearches:Y,inputRef:V,translations:M,getMissingResultsUrl:I,onItemClick:function(e,t){J(e),X(e),cn(t)||u()}}))),r.createElement("footer",{className:"DocSearch-Footer"},r.createElement(qt,{translations:R}))))}function Yn(e){var t=e.isOpen,n=e.onOpen,o=e.onClose,a=e.onInput,i=e.searchButtonRef;r.useEffect((function(){function e(e){var r;if("Escape"===e.code&&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)return e.preventDefault(),void(t?o():document.body.classList.contains("DocSearch--active")||n());i&&i.current===document.activeElement&&a&&/[a-zA-Z0-9]/.test(String.fromCharCode(e.keyCode))&&a(e)}return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[t,n,o,a,i])}},35947:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});n(96540);var r=n(53259),o=n.n(r),a=n(84054);const i={"01a85c17":[()=>Promise.all([n.e(1869),n.e(8209)]).then(n.bind(n,92463)),"@theme/BlogTagsListPage",92463],"01aca802":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2079)]).then(n.bind(n,6566)),"@site/docs/examples/medicationrequest/medrx0314.mdx",6566],"026611d2":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9301)]).then(n.bind(n,23239)),"@site/docs/custom/i18nConfig.mdx",23239],"03620de3":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2460)]).then(n.bind(n,79135)),"@site/docs/specs/rateRange/high_only.mdx",79135],"04716c54":[()=>Promise.all([n.e(1869),n.e(2076),n.e(8945)]).then(n.bind(n,56275)),"@site/docs/specs/boundsRange/low_only.mdx",56275],"04baef29":[()=>Promise.all([n.e(1869),n.e(7498)]).then(n.t.bind(n,37440,23)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/node_modules/docusaurus-plugin-typedoc-api/lib/components/ApiPage.js",37440],"0530b1c5":[()=>Promise.all([n.e(1869),n.e(2076),n.e(7032)]).then(n.bind(n,57749)),"@site/docs/specs/offsetWhen/offset/offset_hours.mdx",57749],"06a006fb":[()=>Promise.all([n.e(1869),n.e(2076),n.e(4936)]).then(n.bind(n,34970)),"@site/docs/specs/maxDosePerAdministration/maxDosePerAdministration.mdx",34970],"07d383a6":[()=>n.e(9881).then(n.t.bind(n,45228,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-patientinstruction-9c6.json",45228],"0ba7d2cf":[()=>n.e(3592).then(n.t.bind(n,85437,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-maxdoseperlifetime-0e8.json",85437],"118e00e5":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2914)]).then(n.bind(n,72034)),"@site/docs/specs/asNeeded/asNeededCodeableConcept.mdx",72034],"120b932c":[()=>n.e(8897).then(n.t.bind(n,6290,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-\ufe0f-raterange-02f.json",6290],"124c4f9d":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2188)]).then(n.bind(n,1888)),"@site/docs/specs/timeOfDay/single_item.mdx",1888],"12564d99":[()=>Promise.all([n.e(1869),n.e(2076),n.e(8937)]).then(n.bind(n,65693)),"@site/docs/specs/additionalInstruction/single_item.mdx",65693],"12ab42f9":[()=>n.e(8434).then(n.t.bind(n,3521,19)),"@generated/docusaurus-plugin-content-blog/default/p/fhir-dosage-utils-blog-archive-d5b.json",3521],"133d1207":[()=>Promise.all([n.e(1869),n.e(2076),n.e(5276)]).then(n.bind(n,17590)),"@site/docs/specs/frequencyFrequencyMax/frequencyMax_only.mdx",17590],"139f9fbc":[()=>Promise.all([n.e(1869),n.e(2076),n.e(578)]).then(n.bind(n,31829)),"@site/docs/specs/periodPeriodMax/period_only.mdx",31829],"14eb3368":[()=>Promise.all([n.e(1869),n.e(6969)]).then(n.bind(n,34136)),"@theme/DocCategoryGeneratedIndexPage",34136],"15cc94e8":[()=>n.e(5811).then(n.t.bind(n,59426,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-boundsperiod-52b.json",59426],"162bd28d":[()=>Promise.all([n.e(1869),n.e(2076),n.e(1740)]).then(n.bind(n,67458)),"@site/docs/specs/boundsRange/high_only.mdx",67458],"16440cc3":[()=>n.e(6291).then(n.t.bind(n,62111,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-doserange-97d.json",62111],"1668a7c3":[()=>Promise.all([n.e(1869),n.e(2076),n.e(3790)]).then(n.bind(n,50681)),"@site/docs/specs/boundsPeriod/end_only.mdx",50681],17896441:[()=>Promise.all([n.e(1869),n.e(2076),n.e(9761),n.e(792),n.e(8401)]).then(n.bind(n,62822)),"@theme/DocItem",62822],"17a84f1e":[()=>n.e(5040).then(n.t.bind(n,95333,19)),"@generated/docusaurus-plugin-content-blog/default/p/fhir-dosage-utils-blog-tags-c96.json",95333],"17baba0b":[()=>Promise.all([n.e(1869),n.e(2076),n.e(3709)]).then(n.bind(n,73824)),"@site/docs/specs/additionalInstruction/multiple_items.mdx",73824],"1a4e3797":[()=>Promise.all([n.e(1869),n.e(2138)]).then(n.bind(n,74604)),"@theme/SearchPage",74604],"1c1d0071":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9748)]).then(n.bind(n,77264)),"@site/docs/specs/offsetWhen/when/multiple_items.mdx",77264],"1c404b1f":[()=>n.e(5604).then(n.t.bind(n,87362,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-dayofweek-1eb.json",87362],"1cae87f6":[()=>n.e(554).then(n.t.bind(n,38417,19)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/.docusaurus/docusaurus-plugin-typedoc-api/default/packages-current.json",38417],"1cd656ab":[()=>Promise.all([n.e(1869),n.e(2076),n.e(4697)]).then(n.bind(n,6016)),"@site/docs/specs/site/site.mdx",6016],"1ce962e7":[()=>n.e(9945).then(n.t.bind(n,46505,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-demo-5c2.json",46505],"1df93b7f":[()=>Promise.all([n.e(1869),n.e(4583)]).then(n.bind(n,89008)),"@site/src/pages/index.tsx",89008],"1e6a5414":[()=>n.e(1650).then(n.t.bind(n,50050,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-demo-specs-170.json",50050],"1ee75028":[()=>n.e(9960).then(n.t.bind(n,27689,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-\ufe0f-ratequantity-9ce.json",27689],"1f927e7e":[()=>Promise.all([n.e(1869),n.e(2076),n.e(4471)]).then(n.bind(n,89885)),"@site/docs/specs/offsetWhen/when_and_offset.mdx",89885],"201e0385":[()=>Promise.all([n.e(1869),n.e(2076),n.e(4081)]).then(n.bind(n,81826)),"@site/docs/examples/medicationrequest/medrx0321.mdx",81826],"20a65861":[()=>Promise.all([n.e(1869),n.e(2076),n.e(1796)]).then(n.bind(n,92380)),"@site/docs/examples/medicationrequest/medrx0308.mdx",92380],"20b5be5c":[()=>Promise.all([n.e(1869),n.e(2076),n.e(6193)]).then(n.bind(n,98081)),"@site/docs/specs/offsetWhen/offset/offset_days.mdx",98081],21119077:[()=>Promise.all([n.e(1869),n.e(2076),n.e(6499)]).then(n.bind(n,31641)),"@site/docs/examples/medicationrequest/medrx0317.mdx",31641],"216e008c":[()=>n.e(1056).then(n.t.bind(n,66681,19)),"@generated/docusaurus-plugin-content-blog/default/p/fhir-dosage-utils-blog-tags-welcome-9c5.json",66681],24450963:[()=>n.e(4372).then(n.t.bind(n,77422,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-count-countmax-ef5.json",77422],"254404d2":[()=>Promise.all([n.e(1869),n.e(2076),n.e(7762)]).then(n.bind(n,88927)),"@site/docs/specs/boundsPeriod/start_and_end.mdx",88927],"265a61ea":[()=>Promise.all([n.e(1869),n.e(2076),n.e(5184)]).then(n.bind(n,41405)),"@site/docs/examples/medicationrequest/medrx0319.mdx",41405],"27992ad9":[()=>n.e(7670).then(n.t.bind(n,97854,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-\ufe0f-sequence-3de.json",97854],"2a331aeb":[()=>Promise.all([n.e(1869),n.e(2076),n.e(5317)]).then(n.bind(n,50282)),"@site/docs/specs/countCountMax/count.mdx",50282],"2b2f836d":[()=>n.e(8454).then(n.t.bind(n,2111,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-boundsrange-ecd.json",2111],"2c4b321a":[()=>Promise.all([n.e(1869),n.e(2076),n.e(585)]).then(n.bind(n,65701)),"@site/docs/specs/boundsRange/low_and_high.mdx",65701],"2c5679ac":[()=>n.e(3955).then(n.t.bind(n,62792,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-when-168.json",62792],"2eb73d32":[()=>n.e(8599).then(n.t.bind(n,77619,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-code-b21.json",77619],"3216d4c8":[()=>Promise.all([n.e(1869),n.e(2076),n.e(4892)]).then(n.bind(n,43870)),"@site/docs/specs/method/method.mdx",43870],"360ae7c2":[()=>n.e(4282).then(n.t.bind(n,21592,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-timeofday-8d1.json",21592],"36994c47":[()=>n.e(9858).then(n.t.bind(n,45516,19)),"@generated/docusaurus-plugin-content-blog/default/__plugin.json",45516],"36cdde70":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2229)]).then(n.bind(n,44583)),"@site/docs/examples/medicationrequest/medrx0301.mdx",44583],"3766ff12":[()=>Promise.all([n.e(1869),n.e(2076),n.e(8952)]).then(n.bind(n,72158)),"@site/docs/examples/medicationrequest/medrx0310.mdx",72158],"38ae24f3":[()=>Promise.all([n.e(1869),n.e(2076),n.e(8035)]).then(n.bind(n,65980)),"@site/docs/specs/countCountMax/count_and_countMax.mdx",65980],"38ecc968":[()=>n.e(5844).then(n.t.bind(n,47265,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-asneeded-39c.json",47265],"3903b0d4":[()=>Promise.all([n.e(1869),n.e(2076),n.e(4726)]).then(n.bind(n,33432)),"@site/docs/specs/asNeeded/asNeededFor.mdx",33432],"3a473b0c":[()=>n.e(1408).then(n.t.bind(n,67066,19)),"@generated/docusaurus-plugin-content-blog/default/p/fhir-dosage-utils-blog-045.json",67066],"3a796946":[()=>n.e(3406).then(n.t.bind(n,16045,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-site-3bd.json",16045],"3d23bc21":[()=>Promise.all([n.e(1869),n.e(2076),n.e(85)]).then(n.bind(n,40718)),"@site/docs/specs/sequence/concurrent_instructions.mdx",40718],"3f237283":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2309)]).then(n.bind(n,96666)),"@site/docs/specs/rateRange/low_and_high.mdx",96666],"3fb26655":[()=>Promise.all([n.e(1869),n.e(2076),n.e(8678)]).then(n.bind(n,82107)),"@site/docs/specs/maxDosePerPeriod/r5.mdx",82107],"40c0f713":[()=>Promise.all([n.e(1869),n.e(2076),n.e(5251)]).then(n.bind(n,69120)),"@site/docs/specs/boundsPeriod/start_only.mdx",69120],"430bd102":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2485)]).then(n.bind(n,27451)),"@site/docs/custom/fromFHIRQuantityUnitToString.mdx",27451],"460a5c5b":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2453)]).then(n.bind(n,47199)),"@site/docs/specs/durationDurationMax/duration_and_durationMax.mdx",47199],"4628893b":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2857)]).then(n.bind(n,13789)),"@site/docs/examples/medicationrequest/medrx0305.mdx",13789],"49044b90":[()=>Promise.all([n.e(1869),n.e(2076),n.e(1659)]).then(n.bind(n,43138)),"@site/docs/specs/dayOfWeek/multiple_items.mdx",43138],"4cbe19c8":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9832)]).then(n.bind(n,77015)),"@site/docs/specs/sequence/sequential_instructions_2.mdx",77015],"4cfebedc":[()=>n.e(4871).then(n.t.bind(n,78530,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-\ufe0f-periodperiodmax-d21.json",78530],"4e847481":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9646)]).then(n.bind(n,21538)),"@site/docs/examples/medicationrequest/medrx0307.mdx",21538],"4eb59f15":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9218)]).then(n.bind(n,22603)),"@site/docs/examples/medicationrequest/medrx0331.mdx",22603],"4faaf014":[()=>Promise.all([n.e(1869),n.e(2076),n.e(6734)]).then(n.bind(n,46353)),"@site/docs/examples/medicationrequest/medrx0302.mdx",46353],"5094a8b8":[()=>n.e(9466).then(n.t.bind(n,54650,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-demo-custom-f01.json",54650],"52aaae7a":[()=>n.e(2466).then(n.t.bind(n,80003,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-dosequantity-ccd.json",80003],"533a8e17":[()=>Promise.all([n.e(1869),n.e(2076),n.e(1290)]).then(n.bind(n,89960)),"@site/docs/custom/fromCodeableConceptToString.mdx",89960],"55373fd9":[()=>Promise.all([n.e(1869),n.e(2076),n.e(5461)]).then(n.bind(n,93505)),"@site/docs/specs/asNeeded/asNeededBoolean.mdx",93505],"5876b580":[()=>n.e(4100).then(n.t.bind(n,27449,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-offset-when-d64.json",27449],"5c2c208f":[()=>Promise.all([n.e(1869),n.e(2076),n.e(3970)]).then(n.bind(n,51504)),"@site/docs/specs/asNeeded/asNeeded.mdx",51504],"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,16928)),"@site/docs/specs/route/route.mdx",16928],"621db11d":[()=>Promise.all([n.e(1869),n.e(3347),n.e(4212)]).then(n.bind(n,13250)),"@theme/Blog/Pages/BlogAuthorsListPage",13250],"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(3347),n.e(4813)]).then(n.bind(n,33069)),"@theme/BlogTagsPostsPage",33069],"6a4d8b82":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9232)]).then(n.bind(n,86487)),"@site/docs/examples/medicationrequest/medrx0313.mdx",86487],"6bccb6a0":[()=>Promise.all([n.e(1869),n.e(2076),n.e(1286)]).then(n.bind(n,25402)),"@site/docs/specs/durationDurationMax/duration_only.mdx",25402],"6e719b2a":[()=>n.e(9269).then(n.t.bind(n,52521,19)),"@generated/docusaurus-plugin-typedoc-api/default/__plugin.json",52521],"72a427b3":[()=>Promise.all([n.e(2076),n.e(5643)]).then(n.bind(n,93976)),"@site/docs/contributing.mdx",93976],"7614ce18":[()=>Promise.all([n.e(1869),n.e(2076),n.e(1444)]).then(n.bind(n,41445)),"@site/docs/specs/maxDosePerLifetime/maxDosePerLifetime.mdx",41445],"76aa043d":[()=>Promise.all([n.e(1869),n.e(2076),n.e(6751)]).then(n.bind(n,28328)),"@site/docs/specs/sequence/sequential_instructions_1.mdx",28328],"77255a7d":[()=>n.e(3885).then(n.t.bind(n,67404,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-text-9c2.json",67404],"774b774e":[()=>Promise.all([n.e(1869),n.e(2076),n.e(5648)]).then(n.bind(n,91380)),"@site/docs/specs/frequencyFrequencyMax/frequency_only.mdx",91380],"78f84b63":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2683)]).then(n.bind(n,91426)),"@site/docs/custom/displayOrder.mdx",91426],"7d1d5983":[()=>n.e(1944).then(n.t.bind(n,74955,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-demo-examples-5c8.json",74955],"7d7affb4":[()=>n.e(3412).then(n.t.bind(n,96576,19)),"@generated/docusaurus-plugin-content-blog/default/p/fhir-dosage-utils-blog-tags-features-f1d.json",96576],"7ebf62b0":[()=>Promise.all([n.e(1869),n.e(2076),n.e(417)]).then(n.bind(n,36658)),"@site/docs/specs/doseQuantity/doseQuantity.mdx",36658],"80244a0d":[()=>n.e(7376).then(n.t.bind(n,97730,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-d58.json",97730],"814f3328":[()=>n.e(7472).then(n.t.bind(n,55513,19)),"~blog/default/blog-post-list-prop-default.json",55513],"829c17da":[()=>Promise.all([n.e(1869),n.e(2076),n.e(8516)]).then(n.bind(n,58096)),"@site/docs/specs/countCountMax/countMax_only.mdx",58096],87294416:[()=>Promise.all([n.e(1869),n.e(2076),n.e(1250)]).then(n.bind(n,61387)),"@site/docs/specs/durationDurationMax/durationMax_only.mdx",61387],"883bfc27":[()=>Promise.all([n.e(1869),n.e(2076),n.e(4812)]).then(n.bind(n,4522)),"@site/docs/specs/code/code.mdx",4522],"8926b418":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9333),n.e(3663)]).then(n.bind(n,74190)),"@site/src/pages/playground/index.tsx",74190],"8da63d19":[()=>n.e(37).then(n.t.bind(n,57769,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-rateratio-850.json",57769],"915d2175":[()=>Promise.all([n.e(1869),n.e(2076),n.e(7829)]).then(n.bind(n,21827)),"@site/docs/specs/dayOfWeek/single_item.mdx",21827],"933cb006":[()=>n.e(581).then(n.t.bind(n,48392,19)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/.docusaurus/docusaurus-plugin-typedoc-api/default/version-current.json",48392],"96e7b265":[()=>Promise.all([n.e(1869),n.e(2076),n.e(3301)]).then(n.bind(n,40238)),"@site/docs/specs/doseRange/low_and_high.mdx",40238],97031957:[()=>Promise.all([n.e(1869),n.e(2076),n.e(4222)]).then(n.bind(n,48281)),"@site/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax.mdx",48281],"9caecde7":[()=>Promise.all([n.e(1869),n.e(2076),n.e(980)]).then(n.bind(n,61822)),"@site/docs/examples/medicationrequest/medrx0303.mdx",61822],"9e4087bc":[()=>n.e(2711).then(n.bind(n,89331)),"@theme/BlogArchivePage",89331],a59be22a:[()=>n.e(5530).then(n.t.bind(n,61501,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-\ufe0f-boundsduration-ed2.json",61501],a5e5ec5a:[()=>Promise.all([n.e(1869),n.e(2076),n.e(3253)]).then(n.bind(n,68823)),"@site/docs/custom/displaySeparator.mdx",68823],a6aa9e1f:[()=>Promise.all([n.e(1869),n.e(2076),n.e(9761),n.e(3347),n.e(7643)]).then(n.bind(n,35124)),"@theme/BlogListPage",35124],a7456010:[()=>n.e(1235).then(n.t.bind(n,88552,19)),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",88552],a7bd4aaa:[()=>n.e(7098).then(n.bind(n,74532)),"@theme/DocVersionRoot",74532],a94703ab:[()=>Promise.all([n.e(1869),n.e(9048)]).then(n.bind(n,17426)),"@theme/DocRoot",17426],aa77b6a8:[()=>Promise.all([n.e(1869),n.e(2076),n.e(4048)]).then(n.bind(n,99167)),"@site/docs/specs/patientInstruction/patientInstruction.mdx",99167],aa8d6d0b:[()=>Promise.all([n.e(2076),n.e(3281)]).then(n.bind(n,92983)),"@site/blog/2024-03-29-welcome.mdx",92983],ab10b176:[()=>Promise.all([n.e(1869),n.e(2076),n.e(3421)]).then(n.bind(n,90413)),"@site/docs/specs/periodPeriodMax/period_and_periodMax.mdx",90413],aba21aa0:[()=>n.e(5742).then(n.t.bind(n,27093,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",27093],acecf23e:[()=>n.e(1903).then(n.t.bind(n,1912,19)),"~blog/default/blogMetadata-default.json",1912],ad90b1c0:[()=>Promise.all([n.e(1869),n.e(2076),n.e(513)]).then(n.bind(n,10090)),"@site/docs/specs/rateQuantity/rateQuantity.mdx",10090],afe92c27:[()=>Promise.all([n.e(1869),n.e(2076),n.e(4088)]).then(n.bind(n,86022)),"@site/docs/specs/maxDosePerPeriod/r4.mdx",86022],b070991f:[()=>n.e(6224).then(n.t.bind(n,35205,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-demo-examples-medicationrequest-6cb.json",35205],b30e43e1:[()=>Promise.all([n.e(1869),n.e(2076),n.e(1146)]).then(n.bind(n,59212)),"@site/docs/specs/doseRange/low_only.mdx",59212],b31f2dc3:[()=>n.e(4019).then(n.t.bind(n,66673,19)),"@generated/docusaurus-plugin-content-blog/default/p/fhir-dosage-utils-blog-authors-843.json",66673],b52bbddc:[()=>Promise.all([n.e(1869),n.e(2076),n.e(3361)]).then(n.bind(n,79855)),"@site/docs/specs/rateRange/low_only.mdx",79855],ba8b53a7:[()=>n.e(3158).then(n.t.bind(n,23553,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-maxdoseperadministration-ee2.json",23553],bc0994c2:[()=>Promise.all([n.e(1869),n.e(2076),n.e(9643)]).then(n.bind(n,5198)),"@site/docs/specs/event/single_item.mdx",5198],c0086ef4:[()=>Promise.all([n.e(1869),n.e(2076),n.e(2495)]).then(n.bind(n,44196)),"@site/docs/examples/medicationrequest/medrx0315.mdx",44196],c141421f:[()=>n.e(957).then(n.t.bind(n,40936,19)),"@generated/docusaurus-theme-search-algolia/default/__plugin.json",40936],c14d5b58:[()=>n.e(5813).then(n.t.bind(n,1635,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-durationdurationmax-8d0.json",1635],c179f821:[()=>Promise.all([n.e(1869),n.e(2076),n.e(1110)]).then(n.bind(n,86387)),"@site/docs/quick-start.mdx",86387],c36217b7:[()=>Promise.all([n.e(1869),n.e(2076),n.e(6016)]).then(n.bind(n,53875)),"@site/docs/specs/text/text.mdx",53875],c5215184:[()=>n.e(6470).then(n.t.bind(n,81718,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-frequencyfrequencymax-51e.json",81718],c578995c:[()=>Promise.all([n.e(1869),n.e(2076),n.e(9761),n.e(5772)]).then(n.bind(n,89332)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/node_modules/docusaurus-plugin-typedoc-api/lib/components/ApiItem.js",89332],c9387e11:[()=>Promise.all([n.e(1869),n.e(2076),n.e(3140)]).then(n.bind(n,23884)),"@site/docs/custom/dateTimeFormatOptions.mdx",23884],ccc49370:[()=>Promise.all([n.e(1869),n.e(2076),n.e(9761),n.e(3347),n.e(792),n.e(3249)]).then(n.bind(n,73858)),"@theme/BlogPostPage",73858],cd12752c:[()=>Promise.all([n.e(1869),n.e(2076),n.e(6614)]).then(n.bind(n,58133)),"@site/docs/custom/fromExtensionsToString.mdx",58133],ceabf9db:[()=>n.e(4451).then(n.t.bind(n,52866,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-\ufe0f-route-468.json",52866],d026f85a:[()=>Promise.all([n.e(2076),n.e(9307)]).then(n.bind(n,78298)),"@site/blog/2024-04-20-empowerment.mdx?truncated=true",78298],d0a7fa20:[()=>Promise.all([n.e(1869),n.e(2076),n.e(3462)]).then(n.bind(n,397)),"@site/docs/specs/offsetWhen/when/single_item.mdx",397],d276600f:[()=>n.e(9678).then(n.t.bind(n,75909,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-additionalinstruction-863.json",75909],d5205798:[()=>Promise.all([n.e(1869),n.e(2076),n.e(1539)]).then(n.bind(n,69309)),"@site/src/pages/examples/timing/index.tsx",69309],d9a0709a:[()=>Promise.all([n.e(1869),n.e(2076),n.e(8154)]).then(n.bind(n,40241)),"@site/docs/examples/medicationrequest/medrx002.mdx",40241],da10aa23:[()=>n.e(7898).then(n.t.bind(n,61061,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-offset-3d2.json",61061],de252642:[()=>n.e(1855).then(n.t.bind(n,70585,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-\ufe0f-method-3ca.json",70585],e3948197:[()=>Promise.all([n.e(2076),n.e(3733)]).then(n.bind(n,74678)),"@site/blog/2024-04-20-empowerment.mdx",74678],e5b958e6:[()=>n.e(3096).then(n.t.bind(n,19370,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-event-03d.json",19370],e8ce008f:[()=>Promise.all([n.e(1869),n.e(2076),n.e(2122)]).then(n.bind(n,95270)),"@site/docs/specs/doseRange/high_only.mdx",95270],e9832d3c:[()=>Promise.all([n.e(1869),n.e(2076),n.e(6554)]).then(n.bind(n,67313)),"@site/docs/specs/periodPeriodMax/periodMax_only.mdx",67313],ea313555:[()=>Promise.all([n.e(2076),n.e(1011)]).then(n.bind(n,86280)),"@site/docs/faq.mdx",86280],ead5521e:[()=>n.e(4287).then(n.t.bind(n,28733,19)),"@generated/docusaurus-plugin-content-docs/default/p/fhir-dosage-utils-docs-category-maxdoseperperiod-9b2.json",28733],ebb1249f:[()=>Promise.all([n.e(1869),n.e(2076),n.e(3678)]).then(n.bind(n,74006)),"@site/docs/examples/medicationrequest/medrx0339.mdx",74006],ec99730f:[()=>Promise.all([n.e(2076),n.e(2209)]).then(n.bind(n,52373)),"@site/docs/next-steps.mdx",52373],ece64983:[()=>Promise.all([n.e(1869),n.e(2076),n.e(1932)]).then(n.bind(n,70644)),"@site/docs/specs/event/multiple_items.mdx",70644],ee929032:[()=>Promise.all([n.e(1869),n.e(2076),n.e(5236)]).then(n.bind(n,10974)),"@site/docs/specs/rateRatio/rateRatio.mdx",10974],ef54304a:[()=>Promise.all([n.e(1869),n.e(2076),n.e(3157)]).then(n.bind(n,47953)),"@site/docs/examples/medicationrequest/medrx004.mdx",47953],f58af7d8:[()=>Promise.all([n.e(1869),n.e(2076),n.e(4056)]).then(n.bind(n,50884)),"@site/docs/specs/timeOfDay/multiple_items.mdx",50884],f71da0e1:[()=>Promise.all([n.e(2076),n.e(6720)]).then(n.bind(n,90697)),"@site/blog/2024-03-29-welcome.mdx?truncated=true",90697],f7adbe59:[()=>Promise.all([n.e(1869),n.e(2076),n.e(9280)]).then(n.bind(n,84590)),"@site/docs/specs/boundsDuration/boundsDuration.mdx",84590],fa572d46:[()=>Promise.all([n.e(1869),n.e(2076),n.e(1616)]).then(n.bind(n,15237)),"@site/docs/specs/offsetWhen/offset/offset_minutes.mdx",15237],fdba5499:[()=>Promise.all([n.e(1869),n.e(2076),n.e(743)]).then(n.bind(n,27732)),"@site/docs/examples/medicationrequest/medrx003.mdx",27732]};var s=n(74848);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(86921),u=n(53102);function d(e,t){if("*"===e)return o()({loading:l,loader:()=>n.e(2237).then(n.bind(n,82237)),modules:["@theme/NotFound"],webpack:()=>[82237],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=a[`${e}-${t}`],d={},f=[],p=[],m=(0,c.A)(r);return Object.entries(m).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],f.push(r[1]),p.push(r[2]))})),o().Map({loading:l,loader:d,modules:f,webpack:()=>p,render(t,n){const o=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const a=r.default;if(!a)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 a&&"function"!=typeof a||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{a[e]=r[e]}));let i=o;const s=n.split(".");s.slice(0,-1).forEach((e=>{i=i[e]})),i[s[s.length-1]]=a}));const a=o.__comp;delete o.__comp;const i=o.__context;delete o.__context;const l=o.__props;return delete o.__props,(0,s.jsx)(u.W,{value:i,children:(0,s.jsx)(a,{...o,...l,...n})})}})}const f=[{path:"/fhir-dosage-utils/blog",component:d("/fhir-dosage-utils/blog","a4a"),exact:!0},{path:"/fhir-dosage-utils/blog/archive",component:d("/fhir-dosage-utils/blog/archive","a40"),exact:!0},{path:"/fhir-dosage-utils/blog/authors",component:d("/fhir-dosage-utils/blog/authors","6c6"),exact:!0},{path:"/fhir-dosage-utils/blog/empowerment",component:d("/fhir-dosage-utils/blog/empowerment","91f"),exact:!0},{path:"/fhir-dosage-utils/blog/tags",component:d("/fhir-dosage-utils/blog/tags","22d"),exact:!0},{path:"/fhir-dosage-utils/blog/tags/features",component:d("/fhir-dosage-utils/blog/tags/features","b47"),exact:!0},{path:"/fhir-dosage-utils/blog/tags/welcome",component:d("/fhir-dosage-utils/blog/tags/welcome","f7c"),exact:!0},{path:"/fhir-dosage-utils/blog/welcome",component:d("/fhir-dosage-utils/blog/welcome","161"),exact:!0},{path:"/fhir-dosage-utils/examples/timing",component:d("/fhir-dosage-utils/examples/timing","ba5"),exact:!0},{path:"/fhir-dosage-utils/playground",component:d("/fhir-dosage-utils/playground","b6a"),exact:!0},{path:"/fhir-dosage-utils/search",component:d("/fhir-dosage-utils/search","cd6"),exact:!0},{path:"/fhir-dosage-utils/api",component:d("/fhir-dosage-utils/api","0c0"),routes:[{path:"/fhir-dosage-utils/api",component:d("/fhir-dosage-utils/api","f04"),routes:[{path:"/fhir-dosage-utils/api",component:d("/fhir-dosage-utils/api","39e"),routes:[{path:"/fhir-dosage-utils/api",component:d("/fhir-dosage-utils/api","995"),exact:!0,sidebar:"api",id:0},{path:"/fhir-dosage-utils/api/class/FhirDosageUtils",component:d("/fhir-dosage-utils/api/class/FhirDosageUtils","861"),exact:!0,sidebar:"api",id:1},{path:"/fhir-dosage-utils/api/enum/DisplayOrderEnum",component:d("/fhir-dosage-utils/api/enum/DisplayOrderEnum","958"),exact:!0,sidebar:"api",id:58},{path:"/fhir-dosage-utils/api/interface/Config",component:d("/fhir-dosage-utils/api/interface/Config","7fe"),exact:!0,sidebar:"api",id:49}]}]}]},{path:"/fhir-dosage-utils/docs",component:d("/fhir-dosage-utils/docs","08c"),routes:[{path:"/fhir-dosage-utils/docs",component:d("/fhir-dosage-utils/docs","fe5"),routes:[{path:"/fhir-dosage-utils/docs",component:d("/fhir-dosage-utils/docs","405"),routes:[{path:"/fhir-dosage-utils/docs/category/-additionalinstruction",component:d("/fhir-dosage-utils/docs/category/-additionalinstruction","ed8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-asneeded",component:d("/fhir-dosage-utils/docs/category/-asneeded","610"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/\ufe0f-boundsduration",component:d("/fhir-dosage-utils/docs/category/\ufe0f-boundsduration","e3e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-boundsperiod",component:d("/fhir-dosage-utils/docs/category/-boundsperiod","56b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-boundsrange",component:d("/fhir-dosage-utils/docs/category/-boundsrange","89a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-code",component:d("/fhir-dosage-utils/docs/category/-code","0d5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-count--countmax",component:d("/fhir-dosage-utils/docs/category/-count--countmax","015"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-dayofweek",component:d("/fhir-dosage-utils/docs/category/-dayofweek","ca3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-dosequantity",component:d("/fhir-dosage-utils/docs/category/-dosequantity","a06"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-doserange",component:d("/fhir-dosage-utils/docs/category/-doserange","019"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-durationdurationmax",component:d("/fhir-dosage-utils/docs/category/-durationdurationmax","053"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-event",component:d("/fhir-dosage-utils/docs/category/-event","989"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-frequencyfrequencymax",component:d("/fhir-dosage-utils/docs/category/-frequencyfrequencymax","271"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-maxdoseperadministration",component:d("/fhir-dosage-utils/docs/category/-maxdoseperadministration","a50"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-maxdoseperlifetime",component:d("/fhir-dosage-utils/docs/category/-maxdoseperlifetime","17d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-maxdoseperperiod",component:d("/fhir-dosage-utils/docs/category/-maxdoseperperiod","94d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/\ufe0f-method",component:d("/fhir-dosage-utils/docs/category/\ufe0f-method","848"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-offset",component:d("/fhir-dosage-utils/docs/category/-offset","555"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-offset-when",component:d("/fhir-dosage-utils/docs/category/-offset-when","044"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-patientinstruction",component:d("/fhir-dosage-utils/docs/category/-patientinstruction","dd2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/\ufe0f-periodperiodmax",component:d("/fhir-dosage-utils/docs/category/\ufe0f-periodperiodmax","ab9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/\ufe0f-ratequantity",component:d("/fhir-dosage-utils/docs/category/\ufe0f-ratequantity","ee4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/\ufe0f-raterange",component:d("/fhir-dosage-utils/docs/category/\ufe0f-raterange","c5a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-rateratio",component:d("/fhir-dosage-utils/docs/category/-rateratio","0d2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/\ufe0f-route",component:d("/fhir-dosage-utils/docs/category/\ufe0f-route","f6c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/\ufe0f-sequence",component:d("/fhir-dosage-utils/docs/category/\ufe0f-sequence","98f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-site",component:d("/fhir-dosage-utils/docs/category/-site","91a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-text",component:d("/fhir-dosage-utils/docs/category/-text","fcf"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-timeofday",component:d("/fhir-dosage-utils/docs/category/-timeofday","4dd"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-when",component:d("/fhir-dosage-utils/docs/category/-when","fde"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/contributing",component:d("/fhir-dosage-utils/docs/contributing","b12"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/custom/dateTimeFormatOptions",component:d("/fhir-dosage-utils/docs/custom/dateTimeFormatOptions","c67"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/custom/displayOrder",component:d("/fhir-dosage-utils/docs/custom/displayOrder","9b2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/custom/displaySeparator",component:d("/fhir-dosage-utils/docs/custom/displaySeparator","a31"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/custom/fromCodeableConceptToString",component:d("/fhir-dosage-utils/docs/custom/fromCodeableConceptToString","bc5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/custom/fromExtensionsToString",component:d("/fhir-dosage-utils/docs/custom/fromExtensionsToString","642"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/custom/fromFHIRQuantityUnitToString",component:d("/fhir-dosage-utils/docs/custom/fromFHIRQuantityUnitToString","1bc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/custom/i18nConfig",component:d("/fhir-dosage-utils/docs/custom/i18nConfig","ffd"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/demo",component:d("/fhir-dosage-utils/docs/demo","910"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/demo/custom",component:d("/fhir-dosage-utils/docs/demo/custom","4d9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/demo/examples",component:d("/fhir-dosage-utils/docs/demo/examples","6e9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/demo/examples/medicationrequest",component:d("/fhir-dosage-utils/docs/demo/examples/medicationrequest","3b2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/demo/specs",component:d("/fhir-dosage-utils/docs/demo/specs","010"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx002",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx002","d27"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx003",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx003","1b8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx004",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx004","669"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0301",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0301","04c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0302",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0302","8ac"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0303",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0303","b5f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0305",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0305","bdf"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0307",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0307","1d9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0308",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0308","1f6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0310",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0310","6df"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0313",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0313","489"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0314",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0314","d90"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0315",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0315","a53"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0317",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0317","947"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0319",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0319","bd1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0321",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0321","45f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0331",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0331","699"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0339",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0339","a53"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/faq",component:d("/fhir-dosage-utils/docs/faq","f8e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/next-steps",component:d("/fhir-dosage-utils/docs/next-steps","9f1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/quick-start",component:d("/fhir-dosage-utils/docs/quick-start","8b9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/additionalInstruction/multiple_items",component:d("/fhir-dosage-utils/docs/specs/additionalInstruction/multiple_items","5ac"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/additionalInstruction/single_item",component:d("/fhir-dosage-utils/docs/specs/additionalInstruction/single_item","29a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/asNeeded",component:d("/fhir-dosage-utils/docs/specs/asNeeded","791"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededBoolean",component:d("/fhir-dosage-utils/docs/specs/asNeeded/asNeededBoolean","65e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededCodeableConcept",component:d("/fhir-dosage-utils/docs/specs/asNeeded/asNeededCodeableConcept","f3d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededFor",component:d("/fhir-dosage-utils/docs/specs/asNeeded/asNeededFor","4e1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/boundsDuration",component:d("/fhir-dosage-utils/docs/specs/boundsDuration","f80"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/boundsPeriod/end_only",component:d("/fhir-dosage-utils/docs/specs/boundsPeriod/end_only","be9"),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","f20"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/boundsPeriod/start_only",component:d("/fhir-dosage-utils/docs/specs/boundsPeriod/start_only","39f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/boundsRange/high_only",component:d("/fhir-dosage-utils/docs/specs/boundsRange/high_only","33e"),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","ce2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/boundsRange/low_only",component:d("/fhir-dosage-utils/docs/specs/boundsRange/low_only","146"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/code",component:d("/fhir-dosage-utils/docs/specs/code","a8d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/countCountMax/count",component:d("/fhir-dosage-utils/docs/specs/countCountMax/count","c3a"),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","14d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/countCountMax/countMax_only",component:d("/fhir-dosage-utils/docs/specs/countCountMax/countMax_only","3e0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/dayOfWeek/multiple_items",component:d("/fhir-dosage-utils/docs/specs/dayOfWeek/multiple_items","4cb"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/dayOfWeek/single_item",component:d("/fhir-dosage-utils/docs/specs/dayOfWeek/single_item","a56"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/doseQuantity",component:d("/fhir-dosage-utils/docs/specs/doseQuantity","33c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/doseRange/high_only",component:d("/fhir-dosage-utils/docs/specs/doseRange/high_only","4d9"),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","f54"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/doseRange/low_only",component:d("/fhir-dosage-utils/docs/specs/doseRange/low_only","83d"),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","91c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_only",component:d("/fhir-dosage-utils/docs/specs/durationDurationMax/duration_only","bf3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/durationDurationMax/durationMax_only",component:d("/fhir-dosage-utils/docs/specs/durationDurationMax/durationMax_only","9e7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/event/multiple_items",component:d("/fhir-dosage-utils/docs/specs/event/multiple_items","9ef"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/event/single_item",component:d("/fhir-dosage-utils/docs/specs/event/single_item","bc5"),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","adf"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_only",component:d("/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_only","896"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequencyMax_only",component:d("/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequencyMax_only","042"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/maxDosePerAdministration",component:d("/fhir-dosage-utils/docs/specs/maxDosePerAdministration","632"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/maxDosePerLifetime",component:d("/fhir-dosage-utils/docs/specs/maxDosePerLifetime","87b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r4",component:d("/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r4","771"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r5",component:d("/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r5","78e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/method",component:d("/fhir-dosage-utils/docs/specs/method","d42"),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","608"),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","c01"),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","ca6"),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","35f"),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","4bc"),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","948"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/patientInstruction",component:d("/fhir-dosage-utils/docs/specs/patientInstruction","628"),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","f06"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_only",component:d("/fhir-dosage-utils/docs/specs/periodPeriodMax/period_only","2ef"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/periodPeriodMax/periodMax_only",component:d("/fhir-dosage-utils/docs/specs/periodPeriodMax/periodMax_only","b27"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/rateQuantity",component:d("/fhir-dosage-utils/docs/specs/rateQuantity","2bf"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/rateRange/high_only",component:d("/fhir-dosage-utils/docs/specs/rateRange/high_only","5cf"),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","bea"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/rateRange/low_only",component:d("/fhir-dosage-utils/docs/specs/rateRange/low_only","1a9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/rateRatio",component:d("/fhir-dosage-utils/docs/specs/rateRatio","36d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/route",component:d("/fhir-dosage-utils/docs/specs/route","dfa"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/sequence/concurrent_instructions",component:d("/fhir-dosage-utils/docs/specs/sequence/concurrent_instructions","199"),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","ccb"),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","62c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/site",component:d("/fhir-dosage-utils/docs/specs/site","c05"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/text",component:d("/fhir-dosage-utils/docs/specs/text","abb"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/timeOfDay/multiple_items",component:d("/fhir-dosage-utils/docs/specs/timeOfDay/multiple_items","d87"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/timeOfDay/single_item",component:d("/fhir-dosage-utils/docs/specs/timeOfDay/single_item","65e"),exact:!0,sidebar:"tutorialSidebar"}]}]}]},{path:"/fhir-dosage-utils/",component:d("/fhir-dosage-utils/","a2b"),exact:!0},{path:"*",component:d("*")}]},6125:(e,t,n)=>{"use strict";n.d(t,{o:()=>a,x:()=>i});var r=n(96540),o=n(74848);const a=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,o.jsx)(a.Provider,{value:n,children:t})}},38536:(e,t,n)=>{"use strict";var r=n(96540),o=n(5338),a=n(80545),i=n(54625),s=n(4784),l=n(38193);const c=[n(10119),n(26134),n(76294),n(51043)];var u=n(35947),d=n(56347),f=n(22831),p=n(74848);function m(e){let{children:t}=e;return(0,p.jsx)(p.Fragment,{children:t})}var h=n(5260),g=n(44586),b=n(86025),y=n(6342),v=n(45500),x=n(32131),w=n(14090),S=n(2967),_=n(70440),k=n(41463);function E(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,g.default)(),r=(0,x.o)(),o=n[e].htmlLang,a=e=>e.replace("-","_");return(0,p.jsxs)(h.A,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,p.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,p.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,p.jsx)("meta",{property:"og:locale",content:a(o)}),Object.values(n).filter((e=>o!==e.htmlLang)).map((e=>(0,p.jsx)("meta",{property:"og:locale:alternate",content:a(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function P(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,d.zy)();return e+(0,_.Ks)((0,b.Ay)(r),{trailingSlash:n,baseUrl:t})}(),o=t?`${n}${t}`:r;return(0,p.jsxs)(h.A,{children:[(0,p.jsx)("meta",{property:"og:url",content:o}),(0,p.jsx)("link",{rel:"canonical",href:o})]})}function O(){const{i18n:{currentLocale:e}}=(0,g.default)(),{metadata:t,image:n}=(0,y.p)();return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(h.A,{children:[(0,p.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,p.jsx)("body",{className:w.w})]}),n&&(0,p.jsx)(v.be,{image:n}),(0,p.jsx)(P,{}),(0,p.jsx)(E,{}),(0,p.jsx)(k.A,{tag:S.C,locale:e}),(0,p.jsx)(h.A,{children:t.map(((e,t)=>(0,p.jsx)("meta",{...e},t)))})]})}const C=new Map;var j=n(6125),T=n(26988),A=n(205);function I(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>o.forEach((e=>e?.()))}const N=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,A.A)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,o=t.hash===n.hash,a=t.search===n.search;if(r&&o&&!a)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}),I("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function D(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,f.u)(u.A,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class R extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=l.A.canUseDOM?I("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=I("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),D(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,p.jsx)(N,{previousLocation:this.previousLocation,location:t,children:(0,p.jsx)(d.qh,{location:t,render:()=>e})})}}const L=R,M="__docusaurus-base-url-issue-banner-container",F="__docusaurus-base-url-issue-banner",q="__docusaurus-base-url-issue-banner-suggestion-container";function B(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 = '${M}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n

\n

Your Docusaurus site did not load properly.

\n

A very common reason is a wrong site baseUrl configuration.

\n

Current configured baseUrl = ${e} ${"/"===e?" (default value)":""}

\n

We suggest trying baseUrl =

\n
\n`}(e)).replace(/{let{route:t}=e;return!0===t.exact})))return C.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return C.set(e.pathname,t),{...e,pathname:t}}((0,d.zy)());return(0,p.jsx)(L,{location:e,children:K})}function Q(){return(0,p.jsx)(H.A,{children:(0,p.jsx)(T.l,{children:(0,p.jsxs)(j.x,{children:[(0,p.jsxs)(m,{children:[(0,p.jsx)($,{}),(0,p.jsx)(O,{}),(0,p.jsx)(U,{}),(0,p.jsx)(G,{})]}),(0,p.jsx)(W,{})]})})})}var Y=n(84054);const Z=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 o=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;o?.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 X=n(86921);const J=new Set,ee=new Set,te=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,ne={prefetch:e=>{if(!(e=>!te()&&!ee.has(e)&&!J.has(e))(e))return!1;J.add(e);const t=(0,f.u)(u.A,e).flatMap((e=>{return t=e.route.path,Object.entries(Y).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,X.A)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?Z(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!te()&&!ee.has(e))(e)&&(ee.add(e),D(e))},re=Object.freeze(ne);function oe(e){let{children:t}=e;return"hash"===s.default.future.experimental_router?(0,p.jsx)(i.I9,{children:t}):(0,p.jsx)(i.Kd,{children:t})}const ae=Boolean(!0);if(l.A.canUseDOM){window.docusaurus=re;const e=document.getElementById("__docusaurus"),t=(0,p.jsx)(a.vd,{children:(0,p.jsx)(oe,{children:(0,p.jsx)(Q,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},i=()=>{if(window.docusaurusRoot)window.docusaurusRoot.render(t);else if(ae)window.docusaurusRoot=o.hydrateRoot(e,t,{onRecoverableError:n});else{const r=o.createRoot(e,{onRecoverableError:n});r.render(t),window.docusaurusRoot=r}};D(window.location.pathname).then((()=>{(0,r.startTransition)(i)}))}},26988:(e,t,n)=>{"use strict";n.d(t,{o:()=>d,l:()=>f});var r=n(96540),o=n(4784);const a=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(22654);const l=JSON.parse('{"docusaurusVersion":"3.6.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.6.0"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.6.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.6.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.6.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.6.0"},"docusaurus-theme-search-algolia":{"type":"package","name":"@docusaurus/theme-search-algolia","version":"3.6.0"},"docusaurus-plugin-typedoc-api":{"type":"package","name":"docusaurus-plugin-typedoc-api","version":"4.4.0"},"monaco-plugin":{"type":"project"}}}');var c=n(74848);const u={siteConfig:o.default,siteMetadata:l,globalData:a,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})}},67489:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(96540),o=n(38193),a=n(5260),i=n(70440),s=n(70680),l=n(53102),c=n(74848);function u(e){let{error:t,tryAgain:n}=e;return(0,c.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,c.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,c.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,c.jsx)(d,{error:t})]})}function d(e){let{error:t}=e;const n=(0,i.rA)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,c.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function f(e){let{children:t}=e;return(0,c.jsx)(l.W,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:t})}function p(e){let{error:t,tryAgain:n}=e;return(0,c.jsx)(f,{children:(0,c.jsxs)(h,{fallback:()=>(0,c.jsx)(u,{error:t,tryAgain:n}),children:[(0,c.jsx)(a.A,{children:(0,c.jsx)("title",{children:"Page Error"})}),(0,c.jsx)(s.A,{children:(0,c.jsx)(u,{error:t,tryAgain:n})})]})})}const m=e=>(0,c.jsx)(p,{...e});class h extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.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??m)(e)}return e??null}}},38193:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,o={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:()=>a});n(96540);var r=n(80545),o=n(74848);function a(e){return(0,o.jsx)(r.mg,{...e})}},28774:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(96540),o=n(54625),a=n(70440),i=n(44586),s=n(16654),l=n(38193),c=n(63427),u=n(86025),d=n(74848);function f(e,t){let{isNavLink:n,to:f,href:p,activeClassName:m,isActive:h,"data-noBrokenLinkCheck":g,autoAddBaseUrl:b=!0,...y}=e;const{siteConfig:v}=(0,i.default)(),{trailingSlash:x,baseUrl:w}=v,S=v.future.experimental_router,{withBaseUrl:_}=(0,u.hH)(),k=(0,c.default)(),E=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>E.current));const P=f||p;const O=(0,s.A)(P),C=P?.replace("pathname://","");let j=void 0!==C?(T=C,b&&(e=>e.startsWith("/"))(T)?_(T):T):void 0;var T;"hash"===S&&j?.startsWith("./")&&(j=j?.slice(1)),j&&O&&(j=(0,a.Ks)(j,{trailingSlash:x,baseUrl:w}));const A=(0,r.useRef)(!1),I=n?o.k2:o.N_,N=l.A.canUseIntersectionObserver,D=(0,r.useRef)(),R=()=>{A.current||null==j||(window.docusaurus.preload(j),A.current=!0)};(0,r.useEffect)((()=>(!N&&O&&l.A.canUseDOM&&null!=j&&window.docusaurus.prefetch(j),()=>{N&&D.current&&D.current.disconnect()})),[D,j,N,O]);const L=j?.startsWith("#")??!1,M=!y.target||"_self"===y.target,F=!j||!O||!M||L&&"hash"!==S;g||!L&&F||k.collectLink(j),y.id&&k.collectAnchor(y.id);const q={};return F?(0,d.jsx)("a",{ref:E,href:j,...P&&!O&&{target:"_blank",rel:"noopener noreferrer"},...y,...q}):(0,d.jsx)(I,{...y,onMouseEnter:R,onTouchStart:R,innerRef:e=>{E.current=e,N&&e&&O&&(D.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(D.current.unobserve(e),D.current.disconnect(),null!=j&&window.docusaurus.prefetch(j))}))})),D.current.observe(e))},to:j,...n&&{isActive:h,activeClassName:m},...q})}const p=r.forwardRef(f)},21312:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,T:()=>l});var r=n(96540),o=n(74848);function a(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(22654);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 a(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 children",t),new Error("The Docusaurus component only accept simple string values");const i=s({message:t,id:n});return(0,o.jsx)(o.Fragment,{children:a(i,r)})}},17065:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r="default"},16654:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!r(e)}n.d(t,{A:()=>o,z:()=>r})},86025:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,hH:()=>i});var r=n(96540),o=n(44586),a=n(16654);function i(){const{siteConfig:e}=(0,o.default)(),{baseUrl:t,url:n}=e,i=e.future.experimental_router,s=(0,r.useCallback)(((e,r)=>function(e){let{siteUrl:t,baseUrl:n,url:r,options:{forcePrependBaseUrl:o=!1,absolute:i=!1}={},router:s}=e;if(!r||r.startsWith("#")||(0,a.z)(r))return r;if("hash"===s)return r.startsWith("/")?`.${r}`:`./${r}`;if(o)return n+r.replace(/^\//,"");if(r===n.replace(/\/$/,""))return n;const l=r.startsWith(n)?r:n+r.replace(/^\//,"");return i?t+l:l}({siteUrl:n,baseUrl:t,url:e,options:r,router:i})),[n,t,i]);return{withBaseUrl:s}}function s(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},63427:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(96540);n(74848);const o=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),a=()=>(0,r.useContext)(o);function i(){return a()}},44586:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(96540),o=n(26988);function a(){return(0,r.useContext)(o.o)}},92303:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540),o=n(6125);function a(){return(0,r.useContext)(o.o)}},205:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540);const o=n(38193).A.canUseDOM?r.useLayoutEffect:r.useEffect},36803:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540),o=n(53102);function a(){const e=r.useContext(o.o);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}},86921:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function o(e){const t={};return function e(n,o){Object.entries(n).forEach((n=>{let[a,i]=n;const s=o?`${o}.${a}`:a;r(i)?e(i,s):t[s]=i}))}(e),t}},53102:(e,t,n)=>{"use strict";n.d(t,{W:()=>i,o:()=>a});var r=n(96540),o=n(74848);const a=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(a),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,o.jsx)(a.Provider,{value:s,children:t})}},60542:(e,t,n)=>{"use strict";n.d(t,{_:()=>s,u:()=>l});var r=n(96540),o=n(89532),a=n(74848);const i=r.createContext(null);function s(e){let{children:t,content:n}=e;const o=function(e){return(0,r.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,contentTitle:e.contentTitle,toc:e.toc})),[e])}(n);return(0,a.jsx)(i.Provider,{value:o,children:t})}function l(){const e=(0,r.useContext)(i);if(null===e)throw new o.dV("DocProvider");return e}},33082:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,G:()=>c});var r=n(96540),o=n(89532),a=n(74848);const i=Symbol("EmptyContext"),s=r.createContext(i);function l(e){let{children:t}=e;const[n,o]=(0,r.useState)(null),i=(0,r.useMemo)((()=>({expandedItem:n,setExpandedItem:o})),[n]);return(0,a.jsx)(s.Provider,{value:i,children:t})}function c(){const e=(0,r.useContext)(s);if(e===i)throw new o.dV("DocSidebarItemsExpandedStateProvider");return e}},53886:(e,t,n)=>{"use strict";n.d(t,{VQ:()=>g,XK:()=>v,g1:()=>y});var r=n(96540),o=n(44070),a=n(17065),i=n(6342),s=n(70679),l=n(89532),c=n(74848);const u=e=>`docs-preferred-version-${e}`,d={save:(e,t,n)=>{(0,s.Wf)(u(e),{persistence:t}).set(n)},read:(e,t)=>(0,s.Wf)(u(e),{persistence:t}).get(),clear:(e,t)=>{(0,s.Wf)(u(e),{persistence:t}).del()}},f=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const p=r.createContext(null);function m(){const e=(0,o.useAllDocsData)(),t=(0,i.p)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[a,s]=(0,r.useState)((()=>f(n)));(0,r.useEffect)((()=>{s(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function o(e){const t=d.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(d.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,o(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[a,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){d.save(e,t,n),s((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function h(e){let{children:t}=e;const n=m();return(0,c.jsx)(p.Provider,{value:n,children:t})}function g(e){let{children:t}=e;return(0,c.jsx)(h,{children:t})}function b(){const e=(0,r.useContext)(p);if(!e)throw new l.dV("DocsPreferredVersionContextProvider");return e}function y(e){void 0===e&&(e=a.W);const t=(0,o.useDocsData)(e),[n,i]=b(),{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 v(){const e=(0,o.useAllDocsData)(),[t]=b();function n(n){const r=e[n],{preferredVersionName:o}=t[n];return r.versions.find((e=>e.name===o))??null}const r=Object.keys(e);return Object.fromEntries(r.map((e=>[e,n(e)])))}},82565:(e,t,n)=>{"use strict";n.d(t,{k:()=>a,v:()=>i});var r=n(44070),o=n(53886);function a(e,t){return`docs-${e}-${t}`}function i(){const e=(0,r.useAllDocsData)(),t=(0,r.useActivePluginAndVersion)(),n=(0,o.XK)();return[...Object.keys(e).map((function(r){const o=t?.activePlugin.pluginId===r?t.activeVersion:void 0,i=n[r],s=e[r].versions.find((e=>e.isLast));return a(r,(o??i??s).name)}))]}},60609:(e,t,n)=>{"use strict";n.d(t,{V:()=>l,t:()=>c});var r=n(96540),o=n(89532),a=n(74848);const i=Symbol("EmptyContext"),s=r.createContext(i);function l(e){let{children:t,name:n,items:o}=e;const i=(0,r.useMemo)((()=>n&&o?{name:n,items:o}:null),[n,o]);return(0,a.jsx)(s.Provider,{value:i,children:t})}function c(){const e=(0,r.useContext)(s);if(e===i)throw new o.dV("DocsSidebarProvider");return e}},26972:(e,t,n)=>{"use strict";n.d(t,{$S:()=>h,B5:()=>P,Nr:()=>m,OF:()=>S,QB:()=>E,Se:()=>v,Vd:()=>_,Y:()=>x,_j:()=>p,cC:()=>f,d1:()=>O,fW:()=>k,w8:()=>y});var r=n(96540),o=n(56347),a=n(22831),i=n(44070),s=n(99169),l=n(31682),c=n(53886),u=n(23025),d=n(60609);function f(e){const t=(0,u.r)();if(!e)return;const n=t.docs[e];if(!n)throw new Error(`no version doc found by id=${e}`);return n}function p(e,t){for(const n of e)if("category"===n.type){if(t(n))return n;const e=p(n.items,t);if(e)return e}}function m(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=m(t);if(e)return e}}(e):void 0:e.href}function h(){const{pathname:e}=(0,o.zy)(),t=(0,d.t)();if(!t)throw new Error("Unexpected: cant find current sidebar in context");const n=w({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 g=(e,t)=>void 0!==e&&(0,s.ys)(e,t),b=(e,t)=>e.some((e=>y(e,t)));function y(e,t){return"link"===e.type?g(e.href,t):"category"===e.type&&(g(e.href,t)||b(e.items,t))}function v(e,t){switch(e.type){case"category":return y(e,t)||e.items.some((e=>v(e,t)));case"link":return!e.unlisted||y(e,t);default:return!0}}function x(e,t){return(0,r.useMemo)((()=>e.filter((e=>v(e,t)))),[e,t])}function w(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const o=[];return function e(t){for(const a of t)if("category"===a.type&&((0,s.ys)(a.href,n)||e(a.items))||"link"===a.type&&(0,s.ys)(a.href,n)){return r&&"category"!==a.type||o.unshift(a),!0}return!1}(t),o}function S(){const e=(0,d.t)(),{pathname:t}=(0,o.zy)(),n=(0,i.useActivePlugin)()?.pluginData.breadcrumbs;return!1!==n&&e?w({sidebarItems:e.items,pathname:t}):null}function _(e){const{activeVersion:t}=(0,i.useActiveDocContext)(e),{preferredVersion:n}=(0,c.g1)(e),o=(0,i.useLatestVersion)(e);return(0,r.useMemo)((()=>(0,l.sb)([t,n,o].filter(Boolean))),[t,n,o])}function k(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 E(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,l.sb)(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function P(e){let{route:t}=e;const n=(0,o.zy)(),r=(0,u.r)(),i=t.routes,s=i.find((e=>(0,o.B6)(n.pathname,e)));if(!s)return null;const l=s.sidebar,c=l?r.docsSidebars[l]:void 0;return{docElement:(0,a.v)(i),sidebarName:l,sidebarItems:c}}function O(e){return e.filter((e=>!("category"===e.type||"link"===e.type)||!!m(e)))}},23025:(e,t,n)=>{"use strict";n.d(t,{n:()=>s,r:()=>l});var r=n(96540),o=n(89532),a=n(74848);const i=r.createContext(null);function s(e){let{children:t,version:n}=e;return(0,a.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(null===e)throw new o.dV("DocsVersionProvider");return e}},44070:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DocProvider:()=>h._,DocSidebarItemsExpandedStateProvider:()=>f.A,DocsPreferredVersionContextProvider:()=>d.VQ,DocsSidebarProvider:()=>m.V,DocsVersionProvider:()=>p.n,filterDocCardListItems:()=>u.d1,findFirstSidebarItemLink:()=>u.Nr,findSidebarCategory:()=>u._j,getDocsVersionSearchTag:()=>g.k,isActiveSidebarItem:()=>u.w8,isVisibleSidebarItem:()=>u.Se,useActiveDocContext:()=>E,useActivePlugin:()=>x,useActivePluginAndVersion:()=>w,useActiveVersion:()=>k,useAllDocsData:()=>y,useCurrentSidebarCategory:()=>u.$S,useDoc:()=>h.u,useDocById:()=>u.cC,useDocRootMetadata:()=>u.B5,useDocSidebarItemsExpandedState:()=>f.G,useDocVersionSuggestions:()=>P,useDocsContextualSearchTags:()=>g.v,useDocsData:()=>v,useDocsPreferredVersion:()=>d.g1,useDocsPreferredVersionByPluginId:()=>d.XK,useDocsSidebar:()=>m.t,useDocsVersion:()=>p.r,useDocsVersionCandidates:()=>u.Vd,useLatestVersion:()=>_,useLayoutDoc:()=>u.QB,useLayoutDocsSidebar:()=>u.fW,useSidebarBreadcrumbs:()=>u.OF,useVersions:()=>S,useVisibleSidebarItems:()=>u.Y});var r=n(56347),o=n(44586),a=n(17065);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,o.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){return[...e.versions].sort(((e,t)=>e.path===t.path?0:e.path.includes(t.path)?-1:t.path.includes(e.path)?1:0)).find((e=>!!(0,r.B6)(t,{path:e.path,exact:!1,strict:!1})))}function c(e,t){const n=l(e,t),o=n?.docs.find((e=>!!(0,r.B6)(t,{path:e.path,exact:!0,strict:!1})));const a=o?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(o.id):{};return{activeVersion:n,activeDoc:o,alternateDocVersions:a}}var u=n(26972),d=n(53886),f=n(33082),p=n(23025),m=n(60609),h=n(60542),g=n(82565);const b={},y=()=>i("docusaurus-plugin-content-docs")??b,v=e=>{try{return function(e,t,n){void 0===t&&(t=a.W),void 0===n&&(n={});const r=i(e),o=r?.[t];if(!o&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return o}("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(t){throw new Error("You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled"+("Default"===e?"":` (pluginId=${e}`),{cause:t})}};function x(e){void 0===e&&(e={});const t=y(),{pathname:n}=(0,r.zy)();return function(e,t,n){void 0===n&&(n={});const o=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})})),a=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!a&&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 a}(t,n,e)}function w(e){void 0===e&&(e={});const t=x(e),{pathname:n}=(0,r.zy)();if(!t)return;return{activePlugin:t,activeVersion:l(t.pluginData,n)}}function S(e){return v(e).versions}function _(e){const t=v(e);return s(t)}function k(e){const t=v(e),{pathname:n}=(0,r.zy)();return l(t,n)}function E(e){const t=v(e),{pathname:n}=(0,r.zy)();return c(t,n)}function P(e){const t=v(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)}},76294:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(5947),o=n.n(r);o().configure({showSpinner:!1});const a={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{o().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){o().done()}}},26134:(e,t,n)=>{"use strict";var r=n(71765),o=n(4784);!function(e){const{themeConfig:{prism:t}}=o.default,{additionalLanguages:r}=t,a=globalThis.Prism;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(19700),n(89874)(`./prism-${e}`)})),delete globalThis.Prism,void 0!==a&&(globalThis.Prism=e)}(r.My)},51107:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});n(96540);var r=n(34164),o=n(21312),a=n(6342),i=n(28774),s=n(63427);const l={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};var c=n(74848);function u(e){let{as:t,id:n,...u}=e;const d=(0,s.default)(),{navbar:{hideOnScroll:f}}=(0,a.p)();if("h1"===t||!n)return(0,c.jsx)(t,{...u,id:void 0});d.collectAnchor(n);const p=(0,o.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"})]})}},43186:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});n(96540);const r={iconExternalLink:"iconExternalLink_nPIU"};var o=n(74848);function a(e){let{width:t=13.5,height:n=13.5}=e;return(0,o.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,o.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"})})}},70680:(e,t,n)=>{"use strict";n.d(t,{A:()=>vt});var r=n(96540),o=n(34164),a=n(67489),i=n(45500),s=n(75236),l=n(17559),c=n(14090);const u={skipToContent:"skipToContent_fXgn"};var d=n(74848);function f(){return(0,d.jsx)(s.K,{className:u.skipToContent})}var p=n(6342),m=n(65041),h=n(21312);function g(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:o=1.2,className:a,...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:o,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,h.T)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,o.A)("clean-btn close",b.closeButton,e.className),children:(0,d.jsx)(g,{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,o.A)(v.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const w={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function S(){const{announcementBar:e}=(0,p.p)(),{isActive:t,close:n}=(0,m.M)();if(!t)return null;const{backgroundColor:r,textColor:o,isCloseable:a}=e;return(0,d.jsxs)("div",{className:w.announcementBar,style:{backgroundColor:r,color:o},role:"banner",children:[a&&(0,d.jsx)("div",{className:w.announcementBarPlaceholder}),(0,d.jsx)(x,{className:w.announcementBarContent}),a&&(0,d.jsx)(y,{onClick:n,className:w.announcementBarClose})]})}var _=n(22069),k=n(75062),E=n(23104);var P=n(89532),O=n(75600);const C=r.createContext(null);function j(e){let{children:t}=e;const n=function(){const e=(0,_.M)(),t=(0,O.YL)(),[n,o]=(0,r.useState)(!1),a=null!==t.component,i=(0,P.ZC)(a);return(0,r.useEffect)((()=>{a&&!i&&o(!0)}),[a,i]),(0,r.useEffect)((()=>{a?e.shown||o(!0):o(!1)}),[e.shown,a]),(0,r.useMemo)((()=>[n,o]),[n])}();return(0,d.jsx)(C.Provider,{value:n,children:t})}function T(e){if(e.component){const t=e.component;return(0,d.jsx)(t,{...e.props})}}function A(){const e=(0,r.useContext)(C);if(!e)throw new P.dV("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,o=(0,r.useCallback)((()=>n(!1)),[n]),a=(0,O.YL)();return(0,r.useMemo)((()=>({shown:t,hide:o,content:T(a)})),[o,a,t])}function I(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:a}=A();return(0,d.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,d.jsxs)("div",{className:(0,o.A)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":a}),children:[(0,d.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,d.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var N=n(95293),D=n(92303);function R(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 L(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 M={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function F(e){let{className:t,buttonClassName:n,value:r,onChange:a}=e;const i=(0,D.A)(),s=(0,h.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,h.T)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,h.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,o.A)(M.toggle,t),children:(0,d.jsxs)("button",{className:(0,o.A)("clean-btn",M.toggleButton,!i&&M.toggleButtonDisabled,n),type:"button",onClick:()=>a("dark"===r?"light":"dark"),disabled:!i,title:s,"aria-label":s,"aria-live":"polite","aria-pressed":"dark"===r?"true":"false",children:[(0,d.jsx)(R,{className:(0,o.A)(M.toggleIcon,M.lightToggleIcon)}),(0,d.jsx)(L,{className:(0,o.A)(M.toggleIcon,M.darkToggleIcon)})]})})}const q=r.memo(F),B={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function z(e){let{className:t}=e;const n=(0,p.p)().navbar.style,r=(0,p.p)().colorMode.disableSwitch,{colorMode:o,setColorMode:a}=(0,N.G)();return r?null:(0,d.jsx)(q,{className:t,buttonClassName:"dark"===n?B.darkNavbarColorModeToggle:void 0,value:o,onChange:a})}var U=n(23465);function $(){return(0,d.jsx)(U.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function H(){const e=(0,_.M)();return(0,d.jsx)("button",{type:"button","aria-label":(0,h.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)(g,{color:"var(--ifm-color-emphasis-600)"})})}function V(){return(0,d.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,d.jsx)($,{}),(0,d.jsx)(z,{className:"margin-right--md"}),(0,d.jsx)(H,{})]})}var W=n(28774),K=n(86025),G=n(16654),Q=n(91252),Y=n(43186);function Z(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:o,label:a,html:i,isDropdownLink:s,prependBaseUrlToHref:l,...c}=e;const u=(0,K.Ay)(r),f=(0,K.Ay)(t),p=(0,K.Ay)(o,{forcePrependBaseUrl:!0}),m=a&&o&&!(0,G.A)(o),h=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,d.jsxs)(d.Fragment,{children:[a,m&&(0,d.jsx)(Y.A,{...s&&{width:12,height:12}})]})};return o?(0,d.jsx)(W.default,{href:l?p:o,...c,...h}):(0,d.jsx)(W.default,{to:u,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?(0,Q.G)(n,t.pathname):t.pathname.startsWith(f)},...c,...h})}function X(e){let{className:t,isDropdownItem:n=!1,...r}=e;const a=(0,d.jsx)(Z,{className:(0,o.A)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,d.jsx)("li",{children:a}):a}function J(e){let{className:t,isDropdownItem:n,...r}=e;return(0,d.jsx)("li",{className:"menu__list-item",children:(0,d.jsx)(Z,{className:(0,o.A)("menu__link",t),...r})})}function ee(e){let{mobile:t=!1,position:n,...r}=e;const o=t?J:X;return(0,d.jsx)(o,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var te=n(41422),ne=n(99169),re=n(56347),oe=n(44586);const ae={dropdownNavbarItemMobile:"dropdownNavbarItemMobile_S0Fm"};function ie(e,t){return e.some((e=>function(e,t){return!!(0,ne.ys)(e.to,t)||!!(0,Q.G)(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function se(e){let{items:t,position:n,className:a,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,o.A)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":c}),children:[(0,d.jsx)(Z,{"aria-haspopup":"true","aria-expanded":c,role:"button",href:s.to?void 0:"#",className:(0,o.A)("navbar__link",a),...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 le(e){let{items:t,className:n,position:a,onClick:i,...s}=e;const l=function(){const{siteConfig:{baseUrl:e}}=(0,oe.default)(),{pathname:t}=(0,re.zy)();return t.replace(e,"/")}(),c=ie(t,l),{collapsed:u,toggleCollapsed:f,setCollapsed:p}=(0,te.u)({initialState:()=>!c});return(0,r.useEffect)((()=>{c&&p(!c)}),[l,c,p]),(0,d.jsxs)("li",{className:(0,o.A)("menu__list-item",{"menu__list-item--collapsed":u}),children:[(0,d.jsx)(Z,{role:"button",className:(0,o.A)(ae.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)(te.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 ce(e){let{mobile:t=!1,...n}=e;const r=t?le:se;return(0,d.jsx)(r,{...n})}var ue=n(32131);function de(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 fe="iconLanguage_nlXk";var pe=n(40961),me=n(55600),he=n(5260),ge=n(24255),be=n(51062),ye=n(2967),ve=n(82565);function xe(){return[`language:${(0,oe.default)().i18n.currentLocale}`,function(){const e=(0,ve.v)();return[ye.C,...e]}().map((e=>`docusaurus_tag:${e}`))]}const we={button:{buttonText:(0,h.T)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"}),buttonAriaLabel:(0,h.T)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"})},modal:{searchBox:{resetButtonTitle:(0,h.T)({id:"theme.SearchModal.searchBox.resetButtonTitle",message:"Clear the query",description:"The label and ARIA label for search box reset button"}),resetButtonAriaLabel:(0,h.T)({id:"theme.SearchModal.searchBox.resetButtonTitle",message:"Clear the query",description:"The label and ARIA label for search box reset button"}),cancelButtonText:(0,h.T)({id:"theme.SearchModal.searchBox.cancelButtonText",message:"Cancel",description:"The label and ARIA label for search box cancel button"}),cancelButtonAriaLabel:(0,h.T)({id:"theme.SearchModal.searchBox.cancelButtonText",message:"Cancel",description:"The label and ARIA label for search box cancel button"})},startScreen:{recentSearchesTitle:(0,h.T)({id:"theme.SearchModal.startScreen.recentSearchesTitle",message:"Recent",description:"The title for recent searches"}),noRecentSearchesText:(0,h.T)({id:"theme.SearchModal.startScreen.noRecentSearchesText",message:"No recent searches",description:"The text when no recent searches"}),saveRecentSearchButtonTitle:(0,h.T)({id:"theme.SearchModal.startScreen.saveRecentSearchButtonTitle",message:"Save this search",description:"The label for save recent search button"}),removeRecentSearchButtonTitle:(0,h.T)({id:"theme.SearchModal.startScreen.removeRecentSearchButtonTitle",message:"Remove this search from history",description:"The label for remove recent search button"}),favoriteSearchesTitle:(0,h.T)({id:"theme.SearchModal.startScreen.favoriteSearchesTitle",message:"Favorite",description:"The title for favorite searches"}),removeFavoriteSearchButtonTitle:(0,h.T)({id:"theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle",message:"Remove this search from favorites",description:"The label for remove favorite search button"})},errorScreen:{titleText:(0,h.T)({id:"theme.SearchModal.errorScreen.titleText",message:"Unable to fetch results",description:"The title for error screen of search modal"}),helpText:(0,h.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,h.T)({id:"theme.SearchModal.footer.selectText",message:"to select",description:"The explanatory text of the action for the enter key"}),selectKeyAriaLabel:(0,h.T)({id:"theme.SearchModal.footer.selectKeyAriaLabel",message:"Enter key",description:"The ARIA label for the Enter key button that makes the selection"}),navigateText:(0,h.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,h.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,h.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,h.T)({id:"theme.SearchModal.footer.closeText",message:"to close",description:"The explanatory text of the action for Escape key"}),closeKeyAriaLabel:(0,h.T)({id:"theme.SearchModal.footer.closeKeyAriaLabel",message:"Escape key",description:"The ARIA label for the Escape key button that close the modal"}),searchByText:(0,h.T)({id:"theme.SearchModal.footer.searchByText",message:"Search by",description:"The text explain that the search is making by Algolia"})},noResultsScreen:{noResultsText:(0,h.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,h.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,h.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,h.T)({id:"theme.SearchModal.noResultsScreen.reportMissingResultsLinkText",message:"Let us know.",description:"The text for the link to report missing results"})}},placeholder:(0,h.T)({id:"theme.SearchModal.placeholder",message:"Search docs",description:"The placeholder of the input of the DocSearch pop-up modal"})};let Se=null;function _e(e){let{hit:t,children:n}=e;return(0,d.jsx)(W.default,{to:t.url,children:n})}function ke(e){let{state:t,onClose:n}=e;const r=(0,ge.w)();return(0,d.jsx)(W.default,{to:r(t.query),onClick:n,children:(0,d.jsx)(h.A,{id:"theme.SearchBar.seeAll",values:{count:t.context.nbHits},children:"See all {count} results"})})}function Ee(e){let{contextualSearch:t,externalUrlRegex:o,...a}=e;const{siteMetadata:i}=(0,oe.default)(),s=(0,be.C)(),l=xe(),c=a.searchParameters?.facetFilters??[],u=t?function(e,t){const n=e=>"string"==typeof e?[e]:e;return[...n(e),...n(t)]}(l,c):c,f={...a.searchParameters,facetFilters:u},p=(0,re.W6)(),m=(0,r.useRef)(null),h=(0,r.useRef)(null),[g,b]=(0,r.useState)(!1),[y,v]=(0,r.useState)(void 0),x=(0,r.useCallback)((()=>Se?Promise.resolve():Promise.all([n.e(8158).then(n.bind(n,48158)),Promise.all([n.e(1869),n.e(8913)]).then(n.bind(n,58913)),Promise.all([n.e(1869),n.e(416)]).then(n.bind(n,90416))]).then((e=>{let[{DocSearchModal:t}]=e;Se=t}))),[]),w=(0,r.useCallback)((()=>{if(!m.current){const e=document.createElement("div");m.current=e,document.body.insertBefore(e,document.body.firstChild)}}),[]),S=(0,r.useCallback)((()=>{w(),x().then((()=>b(!0)))}),[x,w]),_=(0,r.useCallback)((()=>{b(!1),h.current?.focus()}),[]),k=(0,r.useCallback)((e=>{"f"===e.key&&(e.metaKey||e.ctrlKey)||(e.preventDefault(),v(e.key),S())}),[S]),E=(0,r.useRef)({navigate(e){let{itemUrl:t}=e;(0,Q.G)(o,t)?window.location.href=t:p.push(t)}}).current,P=(0,r.useRef)((e=>a.transformItems?a.transformItems(e):e.map((e=>({...e,url:s(e.url)}))))).current,O=(0,r.useMemo)((()=>e=>(0,d.jsx)(ke,{...e,onClose:_})),[_]),C=(0,r.useCallback)((e=>(e.addAlgoliaAgent("docusaurus",i.docusaurusVersion),e)),[i.docusaurusVersion]);return(0,me.E8)({isOpen:g,onOpen:S,onClose:_,onInput:k,searchButtonRef:h}),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(he.A,{children:(0,d.jsx)("link",{rel:"preconnect",href:`https://${a.appId}-dsn.algolia.net`,crossOrigin:"anonymous"})}),(0,d.jsx)(me.Bc,{onTouchStart:x,onFocus:x,onMouseOver:x,onClick:S,ref:h,translations:we.button}),g&&Se&&m.current&&(0,pe.createPortal)((0,d.jsx)(Se,{onClose:_,initialScrollY:window.scrollY,initialQuery:y,navigator:E,transformItems:P,hitComponent:_e,transformSearchClient:C,...a.searchPagePath&&{resultsFooterComponent:O},...a,searchParameters:f,placeholder:we.placeholder,translations:we.modal}),m.current)]})}function Pe(){const{siteConfig:e}=(0,oe.default)();return(0,d.jsx)(Ee,{...e.themeConfig.algolia})}const Oe={navbarSearchContainer:"navbarSearchContainer_Bca1"};function Ce(e){let{children:t,className:n}=e;return(0,d.jsx)("div",{className:(0,o.A)(n,Oe.navbarSearchContainer),children:t})}var je=n(44070),Te=n(26972);var Ae=n(53886);function Ie(e,t){return t.alternateDocVersions[e.name]??function(e){return e.docs.find((t=>t.id===e.mainDocId))}(e)}const Ne={default:ee,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:o="",...a}=e;const{i18n:{currentLocale:i,locales:s,localeConfigs:l}}=(0,oe.default)(),c=(0,ue.o)(),{search:u,hash:f}=(0,re.zy)(),p=[...n,...s.map((e=>{const n=`${`pathname://${c.createUrl({locale:e,fullyQualified:!1})}`}${u}${f}${o}`;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],m=t?(0,h.T)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):l[i].label;return(0,d.jsx)(ce,{...a,mobile:t,label:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(de,{className:fe}),m]}),items:p})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,d.jsx)(Ce,{className:n,children:(0,d.jsx)(Pe,{})})},dropdown:ce,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:a=!1}=e;const i=a?"li":"div";return(0,d.jsx)(i,{className:(0,o.A)({navbar__item:!r&&!a,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,je.useActiveDocContext)(r),i=(0,Te.QB)(t,r),s=a?.path===i?.path;return null===i||i.unlisted&&!s?null:(0,d.jsx)(ee,{exact:!0,...o,isActive:()=>s||!!a?.sidebar&&a.sidebar===i.sidebar,label:n??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,je.useActiveDocContext)(r),i=(0,Te.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)(ee,{exact:!0,...o,isActive:()=>a?.sidebar===t,label:n??i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...o}=e;const a=(0,Te.Vd)(r)[0],i=t??a.label,s=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(a).path;return(0,d.jsx)(ee,{...o,label:i,to:s})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:o,dropdownItemsAfter:a,...i}=e;const{search:s,hash:l}=(0,re.zy)(),c=(0,je.useActiveDocContext)(n),u=(0,je.useVersions)(n),{savePreferredVersionName:f}=(0,Ae.g1)(n),p=[...o,...u.map((function(e){const t=Ie(e,c);return{label:e.label,to:`${t.path}${s}${l}`,isActive:()=>e===c.activeVersion,onClick:()=>f(e.name)}})),...a],m=(0,Te.Vd)(n)[0],g=t&&p.length>1?(0,h.T)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):m.label,b=t&&p.length>1?void 0:Ie(m,c).path;return p.length<=1?(0,d.jsx)(ee,{...i,mobile:t,label:g,to:b,isActive:r?()=>!1:void 0}):(0,d.jsx)(ce,{...i,mobile:t,label:g,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),o=Ne[r];if(!o)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,d.jsx)(o,{...n})}function Re(){const e=(0,_.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 Le(e){return(0,d.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,d.jsx)(h.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 Me(){const e=0===(0,p.p)().navbar.items.length,t=A();return(0,d.jsxs)(d.Fragment,{children:[!e&&(0,d.jsx)(Le,{onClick:()=>t.hide()}),t.content]})}function Fe(){const e=(0,_.M)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,d.jsx)(I,{header:(0,d.jsx)(V,{}),primaryMenu:(0,d.jsx)(Re,{}),secondaryMenu:(0,d.jsx)(Me,{})}):null}const qe={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Be(e){return(0,d.jsx)("div",{role:"presentation",...e,className:(0,o.A)("navbar-sidebar__backdrop",e.className)})}function ze(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:a}}=(0,p.p)(),i=(0,_.M)(),{navbarRef:s,isNavbarVisible:l}=function(e){const[t,n]=(0,r.useState)(e),o=(0,r.useRef)(!1),a=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(a.current=e.getBoundingClientRect().height)}),[]);return(0,E.Mq)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i=s?n(!1):i+c{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return o.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return(0,d.jsxs)("nav",{ref:s,"aria-label":(0,h.T)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.A)("navbar","navbar--fixed-top",n&&[qe.navbarHideable,!l&&qe.navbarHidden],{"navbar--dark":"dark"===a,"navbar--primary":"primary"===a,"navbar-sidebar--show":i.shown}),children:[t,(0,d.jsx)(Be,{onClick:i.toggle}),(0,d.jsx)(Fe,{})]})}var Ue=n(12181);const $e="right";function He(e){let{width:t=30,height:n=30,className:r,...o}=e;return(0,d.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...o,children:(0,d.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function Ve(){const{toggle:e,shown:t}=(0,_.M)();return(0,d.jsx)("button",{onClick:e,"aria-label":(0,h.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)(He,{})})}const We={colorModeToggle:"colorModeToggle_DEke"};function Ke(e){let{items:t}=e;return(0,d.jsx)(d.Fragment,{children:t.map(((e,t)=>(0,d.jsx)(Ue.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 Ge(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 Qe(){const e=(0,_.M)(),t=(0,p.p)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??$e)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),o=t.find((e=>"search"===e.type));return(0,d.jsx)(Ge,{left:(0,d.jsxs)(d.Fragment,{children:[!e.disabled&&(0,d.jsx)(Ve,{}),(0,d.jsx)($,{}),(0,d.jsx)(Ke,{items:n})]}),right:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(Ke,{items:r}),(0,d.jsx)(z,{className:We.colorModeToggle}),!o&&(0,d.jsx)(Ce,{children:(0,d.jsx)(Pe,{})})]})})}function Ye(){return(0,d.jsx)(ze,{children:(0,d.jsx)(Qe,{})})}var Ze=n(53106);function Xe(e){let{item:t}=e;const{to:n,href:r,label:o,prependBaseUrlToHref:a,...i}=t,s=(0,K.Ay)(n),l=(0,K.Ay)(r,{forcePrependBaseUrl:!0});return(0,d.jsxs)(W.default,{className:"footer__link-item",...r?{href:a?l:r}:{to:s},...i,children:[o,r&&!(0,G.A)(r)&&(0,d.jsx)(Y.A,{})]})}function Je(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)(Xe,{item:t})},t.href??t.to)}function et(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)(Je,{item:e},t)))})]})}function tt(e){let{columns:t}=e;return(0,d.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,d.jsx)(et,{column:e},t)))})}function nt(){return(0,d.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function rt(e){let{item:t}=e;return t.html?(0,d.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,d.jsx)(Xe,{item:t})}function ot(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)(rt,{item:e}),t.length!==n+1&&(0,d.jsx)(nt,{})]},n)))})})}function at(e){let{links:t}=e;return(0,Ze.C)(t)?(0,d.jsx)(tt,{columns:t}):(0,d.jsx)(ot,{links:t})}var it=n(15626);const st={footerLogoLink:"footerLogoLink_BH7S"};function lt(e){let{logo:t}=e;const{withBaseUrl:n}=(0,K.hH)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,d.jsx)(it.A,{className:(0,o.A)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function ct(e){let{logo:t}=e;return t.href?(0,d.jsx)(W.default,{href:t.href,className:st.footerLogoLink,target:t.target,children:(0,d.jsx)(lt,{logo:t})}):(0,d.jsx)(lt,{logo:t})}function ut(e){let{copyright:t}=e;return(0,d.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function dt(e){let{style:t,links:n,logo:r,copyright:a}=e;return(0,d.jsx)("footer",{className:(0,o.A)("footer",{"footer--dark":"dark"===t}),children:(0,d.jsxs)("div",{className:"container container-fluid",children:[n,(r||a)&&(0,d.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,d.jsx)("div",{className:"margin-bottom--sm",children:r}),a]})]})})}function ft(){const{footer:e}=(0,p.p)();if(!e)return null;const{copyright:t,links:n,logo:r,style:o}=e;return(0,d.jsx)(dt,{style:o,links:n&&n.length>0&&(0,d.jsx)(at,{links:n}),logo:r&&(0,d.jsx)(ct,{logo:r}),copyright:t&&(0,d.jsx)(ut,{copyright:t})})}const pt=r.memo(ft),mt=(0,P.fM)([N.a,m.o,E.Tv,Ae.VQ,i.Jx,function(e){let{children:t}=e;return(0,d.jsx)(O.y_,{children:(0,d.jsx)(_.e,{children:(0,d.jsx)(j,{children:t})})})}]);function ht(e){let{children:t}=e;return(0,d.jsx)(mt,{children:t})}var gt=n(51107);function bt(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)(gt.default,{as:"h1",className:"hero__title",children:(0,d.jsx)(h.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)(Ue.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)(Ue.bq,{error:t})})]})})})}const yt={mainWrapper:"mainWrapper_z2l0"};function vt(e){const{children:t,noFooter:n,wrapperClassName:r,title:u,description:p}=e;return(0,c.J)(),(0,d.jsxs)(ht,{children:[(0,d.jsx)(i.be,{title:u,description:p}),(0,d.jsx)(f,{}),(0,d.jsx)(S,{}),(0,d.jsx)(Ye,{}),(0,d.jsx)("div",{id:s.j,className:(0,o.A)(l.G.wrapper.main,yt.mainWrapper,r),children:(0,d.jsx)(a.A,{fallback:e=>(0,d.jsx)(bt,{...e}),children:t})}),!n&&(0,d.jsx)(pt,{})]})}},23465:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});n(96540);var r=n(28774),o=n(86025),a=n(44586),i=n(6342),s=n(15626),l=n(74848);function c(e){let{logo:t,alt:n,imageClassName:r}=e;const a={light:(0,o.Ay)(t.src),dark:(0,o.Ay)(t.srcDark||t.src)},i=(0,l.jsx)(s.A,{className:t.className,sources:a,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,a.default)(),{navbar:{title:n,logo:s}}=(0,i.p)(),{imageClassName:u,titleClassName:d,...f}=e,p=(0,o.Ay)(s?.href||"/"),m=n?"":t,h=s?.alt??m;return(0,l.jsxs)(r.default,{to:p,...f,...s?.target&&{target:s.target},children:[s&&(0,l.jsx)(c,{logo:s,alt:h,imageClassName:u}),null!=n&&(0,l.jsx)("b",{className:d,children:n})]})}},41463:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});n(96540);var r=n(5260),o=n(74848);function a(e){let{locale:t,version:n,tag:a}=e;const i=t;return(0,o.jsxs)(r.A,{children:[t&&(0,o.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,o.jsx)("meta",{name:"docusaurus_version",content:n}),a&&(0,o.jsx)("meta",{name:"docusaurus_tag",content:a}),i&&(0,o.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,o.jsx)("meta",{name:"docsearch:version",content:n}),a&&(0,o.jsx)("meta",{name:"docsearch:docusaurus_tag",content:a})]})}},15626:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});n(96540);var r=n(9967),o=n(74848);function a(e){const{sources:t,className:n,alt:a,...i}=e;return(0,o.jsx)(r.A,{className:n,children:e=>{let{theme:n,className:r}=e;return(0,o.jsx)("img",{src:t[n],alt:a,className:r,...i})}})}},41422:(e,t,n)=>{"use strict";n.d(t,{N:()=>b,u:()=>c});var r=n(96540),o=n(38193),a=n(205),i=n(53109),s=n(74848);const l="ease-in-out";function c(e){let{initialState:t}=e;const[n,o]=(0,r.useState)(t??!1),a=(0,r.useCallback)((()=>{o((e=>!e))}),[]);return{collapsed:n,setCollapsed:o,toggleCollapsed:a}}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:o}=e;const a=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=o?.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 ${o?.easing??l}`,height:`${t}px`}}function s(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!a.current)return f(e,n),void(a.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,o])}function m(e){if(!o.A.canUseDOM)return e?u:d}function h(e){let{as:t="div",collapsed:n,children:o,animation:a,onCollapseTransitionEnd:i,className:l,disableSSRStyle:c}=e;const u=(0,r.useRef)(null);return p({collapsibleRef:u,collapsed:n,animation:a}),(0,s.jsx)(t,{ref:u,style:c?void 0:m(n),onTransitionEnd:e=>{"height"===e.propertyName&&(f(u.current,n),i?.(n))},className:l,children:o})}function g(e){let{collapsed:t,...n}=e;const[o,i]=(0,r.useState)(!t),[l,c]=(0,r.useState)(t);return(0,a.A)((()=>{t||i(!0)}),[t]),(0,a.A)((()=>{o&&c(t)}),[o,t]),o?(0,s.jsx)(h,{...n,collapsed:l}):null}function b(e){let{lazy:t,...n}=e;const r=t?g:h;return(0,s.jsx)(r,{...n})}},9967:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(96540),o=n(34164),a=n(92303),i=n(95293);const s={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};var l=n(74848);function c(e){let{className:t,children:n}=e;const c=(0,a.A)(),{colorMode:u}=(0,i.G)();return(0,l.jsx)(l.Fragment,{children:(c?"dark"===u?["dark"]:["light"]:["light","dark"]).map((e=>{const a=n({theme:e,className:(0,o.A)(t,s.themedComponent,s[`themedComponent--${e}`])});return(0,l.jsx)(r.Fragment,{children:a},e)}))})}},65041:(e,t,n)=>{"use strict";n.d(t,{M:()=>h,o:()=>m});var r=n(96540),o=n(92303),a=n(70679),i=n(89532),s=n(6342),l=n(74848);const c=(0,a.Wf)("docusaurus.announcement.dismiss"),u=(0,a.Wf)("docusaurus.announcement.id"),d=()=>"true"===c.get(),f=e=>c.set(String(e)),p=r.createContext(null);function m(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,s.p)(),t=(0,o.A)(),[n,a]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{a(d())}),[]);const i=(0,r.useCallback)((()=>{f(!0),a(!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()||a(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,l.jsx)(p.Provider,{value:n,children:t})}function h(){const e=(0,r.useContext)(p);if(!e)throw new i.dV("AnnouncementBarProvider");return e}},95293:(e,t,n)=>{"use strict";n.d(t,{G:()=>b,a:()=>g});var r=n(96540),o=n(38193),a=n(89532),i=n(70679),s=n(6342),l=n(74848);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,m=e=>o.A.canUseDOM?p(document.documentElement.getAttribute("data-theme")):p(e),h=e=>{d.set(p(e))};function g(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.p)(),[o,a]=(0,r.useState)(m(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:o=!0}=r;t?(a(t),o&&h(t)):(a(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(o))}),[o]),(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:o,setColorMode:i,get isDarkTheme(){return o===f.dark},setLightTheme(){i(f.light)},setDarkTheme(){i(f.dark)}})),[o,i])}();return(0,l.jsx)(c.Provider,{value:n,children:t})}function b(){const e=(0,r.useContext)(c);if(null==e)throw new a.dV("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},22069:(e,t,n)=>{"use strict";n.d(t,{M:()=>p,e:()=>f});var r=n(96540),o=n(75600),a=n(24581),i=n(57485),s=n(6342),l=n(89532),c=n(74848);const u=r.createContext(void 0);function d(){const e=function(){const e=(0,o.YL)(),{items:t}=(0,s.p)().navbar;return 0===t.length&&!e.component}(),t=(0,a.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}},75600:(e,t,n)=>{"use strict";n.d(t,{GX:()=>c,YL:()=>l,y_:()=>s});var r=n(96540),o=n(89532),a=n(74848);const i=r.createContext(null);function s(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,a.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(!e)throw new o.dV("NavbarSecondaryMenuContentProvider");return e[0]}function c(e){let{component:t,props:n}=e;const a=(0,r.useContext)(i);if(!a)throw new o.dV("NavbarSecondaryMenuContentProvider");const[,s]=a,l=(0,o.Be)(n);return(0,r.useEffect)((()=>{s({component:t,props:l})}),[s,t,l]),(0,r.useEffect)((()=>()=>s({component:null,props:null})),[s]),null}},14090:(e,t,n)=>{"use strict";n.d(t,{w:()=>o,J:()=>a});var r=n(96540);const o="navigation-with-keyboard";function a(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(o),"mousedown"===e.type&&document.body.classList.remove(o)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(o),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},24255:(e,t,n)=>{"use strict";n.d(t,{b:()=>s,w:()=>l});var r=n(96540),o=n(44586),a=n(57485);const i="q";function s(){return(0,a.l)(i)}function l(){const{siteConfig:{baseUrl:e,themeConfig:t}}=(0,o.default)(),{algolia:{searchPagePath:n}}=t;return(0,r.useCallback)((t=>`${e}${n}?${i}=${encodeURIComponent(t)}`),[e,n])}},24581:(e,t,n)=>{"use strict";n.d(t,{l:()=>s});var r=n(96540),o=n(38193);const a={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(!o.A.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?a.desktop:a.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}},17559:(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",blogAuthorsListPage:"blog-authors-list-page",blogAuthorsPostsPage:"blog-authors-posts-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",draftBanner:"theme-draft-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:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"},pages:{pageFooterEditMetaRow:"theme-pages-footer-edit-meta-row"}}},53109:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{O:()=>r})},12181:(e,t,n)=>{"use strict";n.d(t,{bq:()=>u,MN:()=>c,a2:()=>l,k2:()=>d});var r=n(96540),o=n(21312),a=n(70440);const i={errorBoundaryError:"errorBoundaryError_a6uf",errorBoundaryFallback:"errorBoundaryFallback_VBag"};var s=n(74848);function l(e){return(0,s.jsx)("button",{type:"button",...e,children:(0,s.jsx)(o.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,a.rA)(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}}},53106:(e,t,n)=>{"use strict";function r(e){return"title"in e[0]}n.d(t,{C:()=>r})},20481:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});var r=n(44586);function o(e){const{siteConfig:t}=(0,r.default)(),{title:n,titleDelimiter:o}=t;return e?.trim().length?`${e.trim()} ${o} ${n}`:n}},57485:(e,t,n)=>{"use strict";n.d(t,{$Z:()=>i,Hl:()=>s,W9:()=>d,aZ:()=>l,fV:()=>u,l:()=>c});var r=n(96540),o=n(56347),a=n(89532);function i(e){!function(e){const t=(0,o.W6)(),n=(0,a._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,o.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(e){const t=(0,o.W6)();return(0,r.useCallback)(((n,r)=>{const o=new URLSearchParams(t.location.search);n?o.set(e,n):o.delete(e),(r?.push?t.push:t.replace)({search:o.toString()})}),[e,t])}(e);return[t,n]}function u(e){const t=function(e){const t=s((t=>{const n=new URLSearchParams(t.location.search).getAll(e);return JSON.stringify(n)}));return(0,r.useMemo)((()=>JSON.parse(t)),[t])}(e),n=function(e){const t=(0,o.W6)();return(0,r.useCallback)(((n,r)=>{const o=new URLSearchParams(t.location.search),a=Array.isArray(n)?n:n(o.getAll(e));o.delete(e),a.forEach((t=>o.append(e,t))),(r?.push?t.push:t.replace)({search:o.toString()})}),[t,e])}(e);return[t,n]}function d(){const e=(0,o.W6)();return(0,r.useCallback)((()=>{e.replace({search:void 0})}),[e])}},31682:(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 o(e){return Array.from(new Set(e))}function a(e,t){const n={};let r=0;for(const o of e){const e=t(o,r);n[e]??=[],n[e].push(o),r+=1}return n}n.d(t,{$z:()=>a,XI:()=>r,sb:()=>o})},45500:(e,t,n)=>{"use strict";n.d(t,{Jx:()=>p,be:()=>u,e3:()=>f});var r=n(96540),o=n(34164),a=n(5260),i=n(36803),s=n(86025),l=n(20481),c=n(74848);function u(e){let{title:t,description:n,keywords:r,image:o,children:i}=e;const u=(0,l.s)(t),{withBaseUrl:d}=(0,s.hH)(),f=o?d(o,{absolute:!0}):void 0;return(0,c.jsxs)(a.A,{children:[t&&(0,c.jsx)("title",{children:u}),t&&(0,c.jsx)("meta",{property:"og:title",content:u}),n&&(0,c.jsx)("meta",{name:"description",content:n}),n&&(0,c.jsx)("meta",{property:"og:description",content:n}),r&&(0,c.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),f&&(0,c.jsx)("meta",{property:"og:image",content:f}),f&&(0,c.jsx)("meta",{name:"twitter:image",content:f}),i]})}const d=r.createContext(void 0);function f(e){let{className:t,children:n}=e;const i=r.useContext(d),s=(0,o.A)(i,t);return(0,c.jsxs)(d.Provider,{value:s,children:[(0,c.jsx)(a.A,{children:(0,c.jsx)("html",{className:s})}),n]})}function p(e){let{children:t}=e;const n=(0,i.A)(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const a=`plugin-id-${n.plugin.id}`;return(0,c.jsx)(f,{className:(0,o.A)(r,a),children:t})}},89532:(e,t,n)=>{"use strict";n.d(t,{Be:()=>c,ZC:()=>s,_q:()=>i,dV:()=>l,fM:()=>u});var r=n(96540),o=n(205),a=n(74848);function i(e){const t=(0,r.useRef)(e);return(0,o.A)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function s(e){const t=(0,r.useRef)();return(0,o.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+\.)?(?\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,a.jsx)(a.Fragment,{children:e.reduceRight(((e,t)=>(0,a.jsx)(t,{children:e})),n)})}}},91252:(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})},99169:(e,t,n)=>{"use strict";n.d(t,{Dt:()=>s,ys:()=>i});var r=n(96540),o=n(35947),a=n(44586);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function s(){const{baseUrl:e}=(0,a.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 o(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(o).flatMap((e=>e.routes??[])))}(n)}({routes:o.A,baseUrl:e})),[e])}},23104:(e,t,n)=>{"use strict";n.d(t,{Mq:()=>p,Tv:()=>u,a_:()=>m,gk:()=>h});var r=n(96540),o=n(38193),a=n(92303),i=n(205),s=n(89532),l=n(74848);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=()=>o.A.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function p(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=d(),o=(0,r.useRef)(f()),a=(0,s._q)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=f();a(e,o.current),o.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[a,n,...t])}function m(){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),o=(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:o}}function h(){const e=(0,r.useRef)(null),t=(0,a.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 o=document.documentElement.scrollTop;(n&&o>e||!n&&ot&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},2967:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});const r="default"},75236:(e,t,n)=>{"use strict";n.d(t,{K:()=>f,j:()=>l});var r=n(96540),o=n(56347),a=n(21312),i=n(75062),s=n(74848);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,o.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,a.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})})}},70679:(e,t,n)=>{"use strict";n.d(t,{Wf:()=>u,Eo:()=>f,Dv:()=>d});var r=n(96540);const o=JSON.parse('{"N":"localStorage","M":""}'),a=o.N;function i(e){let{key:t,oldValue:n,newValue:r,storage:o}=e;if(n===r)return;const a=document.createEvent("StorageEvent");a.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,o),window.dispatchEvent(a)}function s(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,l||(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),l=!0),null}var t}let l=!1;const c={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function u(e,t){const n=`${e}${o.M}`;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}}(n);const r=s(t?.persistence);return null===r?c:{get:()=>{try{return r.getItem(n)}catch(e){return console.error(`Docusaurus storage error, can't get key=${n}`,e),null}},set:e=>{try{const t=r.getItem(n);r.setItem(n,e),i({key:n,oldValue:t,newValue:e,storage:r})}catch(t){console.error(`Docusaurus storage error, can't set ${n}=${e}`,t)}},del:()=>{try{const e=r.getItem(n);r.removeItem(n),i({key:n,oldValue:e,newValue:null,storage:r})}catch(e){console.error(`Docusaurus storage error, can't delete key=${n}`,e)}},listen:e=>{try{const t=t=>{t.storageArea===r&&t.key===n&&e(t)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}catch(t){return console.error(`Docusaurus storage error, can't listen for changes of key=${n}`,t),()=>{}}}}}function d(e,t){const n=(0,r.useRef)((()=>null===e?c:u(e,t))).current(),o=(0,r.useCallback)((e=>"undefined"==typeof window?()=>{}:n.listen(e)),[n]);return[(0,r.useSyncExternalStore)(o,(()=>"undefined"==typeof window?null:n.get()),(()=>null)),n]}function f(e){void 0===e&&(e=a);const t=s(e);if(!t)return[];const n=[];for(let r=0;r{"use strict";n.d(t,{o:()=>i});var r=n(44586),o=n(56347),a=n(70440);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:s}}=(0,r.default)(),{pathname:l}=(0,o.zy)(),c=(0,a.Ks)(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}`}}}},75062:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(96540),o=n(56347),a=n(89532);function i(e){const t=(0,o.zy)(),n=(0,a.ZC)(t),i=(0,a._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:()=>o});var r=n(44586);function o(){return(0,r.default)().siteConfig.themeConfig}},38126:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n(44586);function o(){const{siteConfig:{themeConfig:e}}=(0,r.default)();return e}},51062:(e,t,n)=>{"use strict";n.d(t,{C:()=>s});var r=n(96540),o=n(91252),a=n(86025),i=n(38126);function s(){const{withBaseUrl:e}=(0,a.hH)(),{algolia:{externalUrlRegex:t,replaceSearchResultPathname:n}}=(0,i.c)();return(0,r.useCallback)((r=>{const a=new URL(r);if((0,o.G)(t,a.href))return r;const i=`${a.pathname+a.hash}`;return e(function(e,t){return t?e.replaceAll(new RegExp(t.from,"g"),t.to):e}(i,n))}),[e,t,n])}},12983:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addTrailingSlash=o,t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[i]=e.split(/[#?]/),s="/"===i||i===r?i:(l=i,c=n,c?o(l):a(l));var l,c;return e.replace(i,s)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=a;const r=n(42566);function o(e){return e.endsWith("/")?e:`${e}/`}function a(e){return(0,r.removeSuffix)(e,"/")}},80253:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=function e(t){if(t.cause)return[t,...e(t.cause)];return[t]}},70440:(e,t,n)=>{"use strict";t.rA=t.Ks=t.LU=void 0;const r=n(31635);t.LU="__blog-post-container";var o=n(12983);Object.defineProperty(t,"Ks",{enumerable:!0,get:function(){return r.__importDefault(o).default}});var a=n(42566);var i=n(80253);Object.defineProperty(t,"rA",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},42566:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){if(""===t)return e;return e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},31513:(e,t,n)=>{"use strict";n.d(t,{zR:()=>x,TM:()=>P,yJ:()=>p,sC:()=>C,AO:()=>f});var r=n(58168);function o(e){return"/"===e.charAt(0)}function a(e,t){for(var n=t,r=n+1,o=e.length;r=0;f--){var p=i[f];"."===p?a(i,f):".."===p?(a(i,f),d++):d&&(a(i,f),d--)}if(!c)for(;d--;d)i.unshift("..");!c||""===i[0]||i[0]&&o(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var s=n(11561);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,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function p(e,t,n,o){var a;"string"==typeof e?(a=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),a.state=t):(void 0===(a=(0,r.A)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(a.key=n),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=i(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):o(!0):o(!1!==a)}else o(!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;rt?n.splice(t,n.length-t,o):n.push(o),d({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=p(e,t,h(),x.location);u.confirmTransitionTo(o,r,n,(function(e){e&&(x.entries[x.index]=o,d({action:r,location:o}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=x.index+e;return t>=0&&t{"use strict";var r=n(44363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={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]||o}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,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=p(n);o&&o!==m&&e(t,o,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=l(t),h=l(n),g=0;g{"use strict";e.exports=function(e,t,n,r,o,a,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,o,a,i,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},64634:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},10119:(e,t,n)=>{"use strict";n.r(t)},51043:(e,t,n)=>{"use strict";n.r(t)},5947:function(e,t,n){var r,o;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:'
'};function o(e,t,n){return en?n:e}function a(e){return 100*(-1+e)}function i(e,t,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+a(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+a(e)+"%,0)"}:{"margin-left":a(e)+"%"}).transition="all "+t+"ms "+n,o}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=o(e,r.minimum,1),n.status=1===e?null:e;var a=n.render(!t),c=a.querySelector(r.barSelector),u=r.speed,d=r.easing;return a.offsetWidth,s((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),l(c,i(e,u,d)),1===e?(l(a,{transition:"none",opacity:1}),a.offsetWidth,setTimeout((function(){l(a,{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)*o(Math.random()*t,.1,.95)),t=o(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 o,i=t.querySelector(r.barSelector),s=e?"-100":a(n.status||0),c=document.querySelector(r.parent);return l(i,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(o=t.querySelector(r.spinnerSelector))&&p(o),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,o=e.length,a=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+a)in n)return r;return t}function o(e){return e=n(e),t[e]||(t[e]=r(e))}function a(e,t,n){t=o(t),e.style[t]=n}return function(e,t){var n,r,o=arguments;if(2==o.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&a(e,n,r);else a(e,o[1],o[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===(o="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=o)},35302:(e,t,n)=>{var r=n(64634);e.exports=m,e.exports.parse=a,e.exports.compile=function(e,t){return l(a(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function a(e,t){for(var n,r=[],a=0,s=0,l="",c=t&&t.delimiter||"/";null!=(n=o.exec(e));){var d=n[0],f=n[1],p=n.index;if(l+=e.slice(s,p),s=p+d.length,f)l+=f[1];else{var m=e[s],h=n[2],g=n[3],b=n[4],y=n[5],v=n[6],x=n[7];l&&(r.push(l),l="");var w=null!=h&&null!=m&&m!==h,S="+"===v||"*"===v,_="?"===v||"*"===v,k=h||c,E=b||y,P=h||("string"==typeof r[r.length-1]?r[r.length-1]:"");r.push({name:g||a++,prefix:h||"",delimiter:k,optional:_,repeat:S,partial:w,asterisk:!!x,pattern:E?u(E):x?".*":i(k,P)})}}return s-1?"[^"+c(e)+"]+?":c(t)+"|(?:(?!"+c(t)+")[^"+c(e)+"])+?"}function s(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function l(e,t){for(var n=new Array(e.length),o=0;o{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},19700:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,a){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"==typeof a&&!a(e))return e;for(var o,s=i.length;-1!==n.code.indexOf(o=t(r,s));)++s;return i[s]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,a=Object.keys(n.tokenStack);!function i(s){for(var l=0;l=a.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=a[o],d=n.tokenStack[u],f="string"==typeof c?c:c.content,p=t(r,u),m=f.indexOf(p);if(m>-1){++o;var h=f.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=f.substring(m+p.length),y=[];h&&y.push.apply(y,i([h])),y.push(g),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)},89874:(e,t,n)=>{var r={"./prism-json":72514};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=89874},2694:(e,t,n)=>{"use strict";var r=n(6925);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,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:a,resetWarningCache:o};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"},22551:(e,t,n)=>{"use strict";var r=n(96540),o=n(69982);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n