iobroker.javascript 10.1.0 → 10.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/README.md +14 -9
  2. package/admin/assets/AiChatPanel-D3eFcu56.js +242 -0
  3. package/admin/assets/AiDiffView-DtbcD6Yx.js +1 -0
  4. package/admin/assets/{Debugger-DCMWjeGm.js → Debugger-DsoSdux9.js} +4 -4
  5. package/admin/assets/Error-1oeF0cix.js +1 -0
  6. package/admin/assets/Import-BH2X_ziv.js +1 -0
  7. package/admin/assets/RulesEditor-BcGsf9n4.css +1 -0
  8. package/admin/assets/RulesEditor-CJ9TvZtR.js +1 -0
  9. package/admin/assets/{ScriptEditor-CMYUt5S4.js → ScriptEditor-DNcGhbcU.js} +2 -2
  10. package/admin/assets/ScriptEditorVanillaMonaco-BBoOLFln.js +3 -0
  11. package/admin/assets/{_virtual_mf-localSharedImportMap___mfe_internal__iobroker_javascript__mf_owner__1-7EPUlgCk.js → _virtual_mf-localSharedImportMap___mfe_internal__iobroker_javascript__mf_owner__1-BK6m6sZx.js} +1 -1
  12. package/admin/assets/_virtual_mf___mfe_internal__iobroker_javascript__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-DezK0U6r.js +1243 -0
  13. package/admin/assets/_virtual_mf___mfe_internal__iobroker_javascript__mf_owner__1__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-_q6w9ugW.js +9 -0
  14. package/admin/assets/aiPromptBuilder-DSYziAVr.js +1 -0
  15. package/admin/assets/{blockly-C4zJerWL.js → blockly-DBw-ytY1.js} +11 -11
  16. package/admin/assets/{blocks_action-CvnOHXwt.js → blocks_action-Bpe-Zvqj.js} +1 -1
  17. package/admin/assets/{blocks_convert-BZlKcd02.js → blocks_convert-DS1wCMO_.js} +3 -3
  18. package/admin/assets/blocks_logic-DQaroQTu.js +1 -0
  19. package/admin/assets/blocks_number-C998FOz6.js +1 -0
  20. package/admin/assets/{blocks_object-B64vSfel.js → blocks_object-BGYvC_4Y.js} +1 -1
  21. package/admin/assets/blocks_procedures-BZFhrnZ3.js +3 -0
  22. package/admin/assets/blocks_sendto-BoOZkX-e.js +5 -0
  23. package/admin/assets/{blocks_switch-DViYCmQd.js → blocks_switch-CfjY75wV.js} +2 -2
  24. package/admin/assets/blocks_system-C69gZMAz.js +1 -0
  25. package/admin/assets/{blocks_text-BOvtHN2r.js → blocks_text-Dp6RaJ_p.js} +1 -1
  26. package/admin/assets/{blocks_time-BH2F-ylT.js → blocks_time-CmECitUh.js} +1 -1
  27. package/admin/assets/blocks_timeout-BI8OyiNa.js +1 -0
  28. package/admin/assets/blocks_trigger-X7O3INGz.js +2 -0
  29. package/admin/assets/blocks_words-BhHIf_1o.js +1 -0
  30. package/admin/assets/{cronHoverProvider-DjY3jLvQ.js → cronHoverProvider-BhX-SvkB.js} +1 -1
  31. package/admin/assets/{dist-D6o4h8Pd.js → dist-CaOsN0XW.js} +1 -1
  32. package/admin/assets/{field_cron-BMQWPb61.js → field_cron-BJLkgNzf.js} +1 -1
  33. package/admin/assets/{field_oid-BGIMv9gw.js → field_oid-CJZIeruf.js} +1 -1
  34. package/admin/assets/{field_script-CdzYBCe6.js → field_script-4IGidWJ7.js} +1 -1
  35. package/admin/assets/helpers-DaSC8t53.js +1 -0
  36. package/admin/assets/{hostInit-DBlZi_Kt.js → hostInit-B3IjMQKW.js} +1 -1
  37. package/admin/assets/index-DKhQ45Yn.js +871 -0
  38. package/admin/assets/index-Z8Hkv58g.css +1 -0
  39. package/admin/assets/{inlineChatWidget-SDoyVtOR.js → inlineChatWidget-CBVgT6FZ.js} +1 -1
  40. package/admin/assets/{inlineDiffController-CnHE3Rwd.js → inlineDiffController-DianrKl1.js} +1 -1
  41. package/admin/assets/{mf-entry-bootstrap-0-a03ecebd.js → mf-entry-bootstrap-0-a65094d3.js} +3 -2
  42. package/admin/assets/stateHoverProvider-CIFNrLee.js +9 -0
  43. package/admin/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__iobroker_javascript__remoteEntry_js-BO-WKj5V.js +1 -0
  44. package/admin/custom/assets/Components-BCQTjBgm.js +1 -0
  45. package/admin/custom/assets/{_virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomJavascriptSet__mf_owner__1-DljJyQQg.js → _virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomJavascriptSet__mf_owner__1-BuAc8OyX.js} +1 -1
  46. package/admin/custom/assets/_virtual_mf___mfe_internal__ConfigCustomJavascriptSet__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-BGJv4zZP.js +1 -0
  47. package/admin/custom/assets/{_virtual_mf___mfe_internal__ConfigCustomJavascriptSet__mf_owner__1__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-BD2OkSge.js → _virtual_mf___mfe_internal__ConfigCustomJavascriptSet__mf_owner__1__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-B4E6MFJ4.js} +1 -1
  48. package/admin/custom/assets/{_virtual_mf___mfe_internal__ConfigCustomJavascriptSet__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-pM642JFd.js → _virtual_mf___mfe_internal__ConfigCustomJavascriptSet__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-aRlxyEhq.js} +86 -86
  49. package/admin/custom/assets/_virtual_mf___mfe_internal__ConfigCustomJavascriptSet__mf_owner__1__loadShare___mf_0_iobroker_mf_1_json_mf_2_config__loadShare__.js-DQwzYx75.js +1494 -0
  50. package/admin/custom/assets/{_virtual_mf___mfe_internal__ConfigCustomJavascriptSet__mf_owner__1__loadShare__leaflet__loadShare__.js-h-rCw3iz.js → _virtual_mf___mfe_internal__ConfigCustomJavascriptSet__mf_owner__1__loadShare__leaflet__loadShare__.js-n2zIPi0L.js} +1 -1
  51. package/admin/custom/assets/_virtual_mf___mfe_internal__ConfigCustomJavascriptSet__mf_owner__1__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-xxszBNje.js +9 -0
  52. package/admin/custom/assets/{_virtual_mf___mfe_internal__ConfigCustomJavascriptSet__mf_owner__1__prebuild__date_mf_2_fns__prebuild__-D5hqXJXI.js → _virtual_mf___mfe_internal__ConfigCustomJavascriptSet__mf_owner__1__prebuild__date_mf_2_fns__prebuild__-Tq7tesSS.js} +1 -1
  53. package/admin/custom/assets/{_virtual_mf___mfe_internal__ConfigCustomJavascriptSet__mf_owner__1__prebuild__leaflet__prebuild__-DARUoA03.js → _virtual_mf___mfe_internal__ConfigCustomJavascriptSet__mf_owner__1__prebuild__leaflet__prebuild__-BeF0jEWM.js} +1 -1
  54. package/admin/custom/assets/{hostInit-0DGPuZTB.js → hostInit-CHwrowP4.js} +1 -1
  55. package/admin/custom/assets/{index-DcFI5r-g.js → index-Cm6xl9K4.js} +1 -1
  56. package/admin/custom/assets/{lib-BlUjuGH7.js → lib-bhrFL6jR.js} +1 -1
  57. package/admin/custom/assets/{mf-entry-bootstrap-0-efd847a6.js → mf-entry-bootstrap-0-f08941e2.js} +3 -2
  58. package/admin/custom/assets/{setYear-BaCcPbbI.js → setYear-DzTZ2h9A.js} +1 -1
  59. package/admin/custom/assets/virtualExposes-B5LJmnfO.js +1 -0
  60. package/admin/custom/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__ConfigCustomJavascriptSet__customComponents_js-ML-chjs6.js +1 -0
  61. package/admin/custom/assets/{virtual_mf-exposes___mfe_internal__ConfigCustomJavascriptSet__customComponents_js-DPck7zEs.js → virtual_mf-exposes___mfe_internal__ConfigCustomJavascriptSet__customComponents_js-C3ImybiM.js} +2 -2
  62. package/admin/custom/customComponents.js +12 -1
  63. package/admin/custom/i18n/de.json +11 -1
  64. package/admin/custom/i18n/en.json +11 -1
  65. package/admin/custom/i18n/es.json +11 -1
  66. package/admin/custom/i18n/fr.json +11 -1
  67. package/admin/custom/i18n/it.json +11 -1
  68. package/admin/custom/i18n/nl.json +11 -1
  69. package/admin/custom/i18n/pl.json +11 -1
  70. package/admin/custom/i18n/pt.json +11 -1
  71. package/admin/custom/i18n/ru.json +11 -1
  72. package/admin/custom/i18n/uk.json +11 -1
  73. package/admin/custom/i18n/zh-cn.json +11 -1
  74. package/admin/i18n/de.json +3 -0
  75. package/admin/i18n/en.json +3 -0
  76. package/admin/i18n/es.json +3 -0
  77. package/admin/i18n/fr.json +3 -0
  78. package/admin/i18n/it.json +3 -0
  79. package/admin/i18n/nl.json +3 -0
  80. package/admin/i18n/pl.json +3 -0
  81. package/admin/i18n/pt.json +3 -0
  82. package/admin/i18n/ru.json +3 -0
  83. package/admin/i18n/uk.json +3 -0
  84. package/admin/i18n/zh-cn.json +3 -0
  85. package/admin/jsonConfig.json +31 -0
  86. package/admin/mf-manifest.json +1 -1
  87. package/admin/mf-stats.json +1 -1
  88. package/admin/remoteEntry.js +12 -1
  89. package/admin/tab.html +6 -15
  90. package/build/lib/javascript.d.ts +48 -0
  91. package/build/lib/sandbox.js +2 -0
  92. package/build/lib/sandbox.js.map +1 -1
  93. package/build/lib/secrets.js +220 -0
  94. package/build/lib/secrets.js.map +1 -0
  95. package/build/main.js +51 -0
  96. package/build/main.js.map +1 -1
  97. package/build/types.d.ts +7 -0
  98. package/docs/en/blockly.md +29 -0
  99. package/docs/en/javascript.md +56 -0
  100. package/io-package.json +28 -27
  101. package/package.json +2 -2
  102. package/admin/assets/AiChatPanel-C4kuqP2U.js +0 -237
  103. package/admin/assets/AiDiffView-zJTEnv05.js +0 -1
  104. package/admin/assets/AiScriptAnalyzer--BHML2rN.js +0 -9
  105. package/admin/assets/BlocklyEditor-BB77aFJI.js +0 -84
  106. package/admin/assets/ContextWrapper-C2yvd2Tn.css +0 -1
  107. package/admin/assets/ContextWrapper-W2H0z6zD.js +0 -136
  108. package/admin/assets/Error-CBC2oZzb.js +0 -1
  109. package/admin/assets/Import-B-F9IhZ-.js +0 -1
  110. package/admin/assets/RulesEditor-ByjgEaVo.js +0 -1
  111. package/admin/assets/RulesEditor-k-DMHotH.css +0 -1
  112. package/admin/assets/ScriptEditorVanillaMonaco-v12-gORS.js +0 -3
  113. package/admin/assets/Send-CChqR5Oy.js +0 -1
  114. package/admin/assets/_virtual_mf___mfe_internal__iobroker_javascript__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-DuplUOZN.js +0 -1243
  115. package/admin/assets/_virtual_mf___mfe_internal__iobroker_javascript__mf_owner__1__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-JkwfVf8d.js +0 -9
  116. package/admin/assets/aiCodeLensProvider-BGvIu6hH.js +0 -4
  117. package/admin/assets/aiPromptBuilder-Bs27qOHT.js +0 -7
  118. package/admin/assets/back-CXiqI7Po.jpg +0 -0
  119. package/admin/assets/blocklyDarkTheme-DEiAX5DT.js +0 -1
  120. package/admin/assets/blocks_logic-B33Pypxr.js +0 -1
  121. package/admin/assets/blocks_number-k2IjE7OH.js +0 -1
  122. package/admin/assets/blocks_procedures-BpvNI5dO.js +0 -3
  123. package/admin/assets/blocks_sendto-pwZchfe0.js +0 -5
  124. package/admin/assets/blocks_system-BZZcGqTJ.js +0 -1
  125. package/admin/assets/blocks_timeout-C3BoW4XJ.js +0 -1
  126. package/admin/assets/blocks_trigger-gwXvuAHV.js +0 -2
  127. package/admin/assets/blocks_words-D8PL_nSE.js +0 -1
  128. package/admin/assets/helpers-Crmcgphg.js +0 -1
  129. package/admin/assets/index-BHhhebRG.css +0 -1
  130. package/admin/assets/index-BvPVHv3P.js +0 -192
  131. package/admin/assets/javascript-DVIhlTDr.js +0 -218
  132. package/admin/assets/mjs-Bh7xFIpd.js +0 -90
  133. package/admin/assets/stateHoverProvider-D0iXo6YF.js +0 -9
  134. package/admin/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__iobroker_javascript__remoteEntry_js-DYEYnOkt.js +0 -1
  135. package/admin/custom/assets/Components-CuFt9lAY.js +0 -1
  136. package/admin/custom/assets/_virtual_mf___mfe_internal__ConfigCustomJavascriptSet__mf_owner__1__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-D0M1SjIE.js +0 -1
  137. package/admin/custom/assets/_virtual_mf___mfe_internal__ConfigCustomJavascriptSet__mf_owner__1__loadShare___mf_0_iobroker_mf_1_json_mf_2_config__loadShare__.js-BLelmJ7Y.js +0 -1494
  138. package/admin/custom/assets/_virtual_mf___mfe_internal__ConfigCustomJavascriptSet__mf_owner__1__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-BGiB1l5e.js +0 -9
  139. package/admin/custom/assets/virtualExposes-DGxNcyb6.js +0 -1
  140. package/admin/custom/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__ConfigCustomJavascriptSet__customComponents_js-DVNwFcUr.js +0 -1
@@ -0,0 +1 @@
1
+ html{width:100%;height:100%}.Light.visGutter{background:#dadada!important}.Dark.visGutter{background:#1e1e1e!important}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:100%;height:100%;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;overflow:hidden}#root{width:100%;height:100%}#___reactour>div:first-of-type{opacity:.4}.layout-pane-primary{height:100%}.blocklyToolboxDiv{width:180px;height:100%!important;top:0!important;left:0!important}.no-underline:before{border-bottom:0!important}.monaco-aria-container{top:0}.iobVerticalSplitter .layout-pane-primary{overflow:hidden}.monacoCurrentLine{background:#59fd8c}.monacoCurrentLineDark{background:#165b2c}.monacoCurrentFullLine{opacity:.7;background:#cbffdc}.monacoCurrentFullLineDark{opacity:.7;background:#0e3b1f}.monacoBreakPointDark{background:maroon;border-radius:50%;margin-left:4px;width:16px!important;height:16px!important}.monacoBreakPoint{background:#d71a1a;border-radius:50%;margin-left:4px;width:16px!important;height:16px!important}@keyframes _fadeIn_n9i6h_1{0%{opacity:0}1%{opacity:0}to{opacity:1}}._nameCard_n9i6h_15{color:var(--colorBlock);margin-top:0;font-size:15px;font-weight:600;line-height:1.35}._nameCardSummary_n9i6h_24{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}._headerRow_n9i6h_32{align-items:center;gap:6px;min-width:0;display:flex}._headerRowClickable_n9i6h_39{cursor:pointer}._headerText_n9i6h_43{flex:1;min-width:0}._kicker_n9i6h_49{letter-spacing:.06em;text-transform:uppercase;color:var(--colorBlockHover);white-space:nowrap;text-overflow:ellipsis;font-size:10px;line-height:1.4;overflow:hidden}._summarySub_n9i6h_61{color:var(--colorBlockHover);white-space:nowrap;text-overflow:ellipsis;font-size:11px;line-height:1.4;overflow:hidden}._chevron_n9i6h_70{text-align:center;width:12px;color:var(--colorBlockHover);flex:none;font-size:13px;line-height:1;transition:transform .2s}._chevronCollapsed_n9i6h_82{transform:rotate(-90deg)}._chevronPlaceholder_n9i6h_87{visibility:hidden}._iconThemCard_n9i6h_91{flex:none;margin-left:2px;transition:width .15s,height .15s;width:32px!important;height:32px!important}._iconThemCard_n9i6h_91 *{color:var(--colorBlock)!important}._iconThemCardCollapsed_n9i6h_102{width:22px!important;height:22px!important}._iconThemCardSelectable_n9i6h_107{cursor:pointer}._iconHelp_n9i6h_111{flex:none;color:var(--colorBlock)!important;padding:2px!important}._blockName_n9i6h_117{flex-direction:column;width:100%;min-width:0;margin-left:10px;display:flex;position:relative}._debugInfo_n9i6h_123{color:var(--debugColor);opacity:0;font-size:12px;font-style:italic;animation:.3s ease-out _fadeIn_n9i6h_1;display:flex;position:absolute}._tagCard_n9i6h_139{text-align:center;white-space:nowrap;text-overflow:ellipsis;max-width:45%;color:var(--lineColorActive);background:var(--backgroundColorHumburger);border:1px solid var(--lineColor);cursor:pointer;border-radius:999px;flex:none;padding:1px 9px;font-size:11px;line-height:16px;overflow:hidden}._displayFlex_n9i6h_156{align-items:center;display:flex}._blockMarginTop_n9i6h_161,._nameBlock_n9i6h_162{margin-top:7px}._frontText_n9i6h_166{min-width:80px;margin-right:7px;display:inline-table}._backText_n9i6h_172{margin-left:7px}._iconTag_n9i6h_176{color:var(--colorBlock);flex:none;align-items:center;min-width:30px;margin-left:4px;font-size:30px;display:flex}._displayItalic_n9i6h_186{margin-top:0;font-size:11px;font-style:italic}._root_1dr6a_1{color:var(--colorBlock)!important;border-color:var(--colorBlock)!important}._root_1dr6a_1:hover{border-color:var(--colorBlockHover)!important;color:var(--colorBlockHover)!important;background-color:inherit!important}._square_1dr6a_11{min-width:auto!important;padding:6px 16px!important}._icon_1dr6a_16{width:24px;height:24px}._root_1ucda_1 *{color:var(--colorBlock)!important}._root_19roy_1{background:var(--backgroundColorHumburger);border-radius:5px;margin-top:0!important;margin-bottom:0!important}._root_19roy_1 *{color:var(--colorInput)!important}._root_19roy_1 [class*=MuiInputLabel-shrink]{color:var(--colorBlock)!important}._root_19roy_1 [class*=MuiInput-underline] :after{border-bottom-color:var(--lineColor)!important}._root_19roy_1:hover [class*=MuiOutlinedInput-notchedOutline],._root_19roy_1 [class*=MuiOutlinedInput-notchedOutline],._root_19roy_1 [class*=MuiOutlinedInput-notchedOutline]:hover,._root_19roy_1 [class*=MuiOutlinedInput-notchedOutline] [class*=Mui-focused],._root_19roy_1 [class*=MuiOutlinedInput-notchedOutline] [class*=Mui-disabled]{border-color:var(--lineColor)!important}._modalContentWrapper_587ci_1{min-width:320px;margin:20px 0;padding:0 35px;overflow-x:hidden}._modalButtonBlock_587ci_8{border-top:1px solid var(--lineColorActive);border-color:var(--lineColorActive);background:var(--backgroundColorHumburger);border-radius:3px;flex-flow:wrap;justify-content:flex-end;margin-top:20px;display:flex}._modalButtonBlock_587ci_8 button{flex:1;color:var(--lineColorActive)!important}._modalButtonBlockTwo_587ci_23{flex-flow:wrap-reverse;justify-content:space-around;position:sticky;bottom:0}._modalButtonBlockTwo_587ci_23 button{margin:5px}._modalWrapper_587ci_33 [class*="MuiPaper-root MuiDialog-paper MuiPaper-elevation24 MuiDialog-paperScrollPaper MuiDialog-paperWidthXl MuiPaper-elevation24 MuiPaper-rounded"]{background-color:#f6f6f6}._modalDialog_587ci_40{min-width:400px}._close_587ci_44{opacity:.9;cursor:pointer;width:32px;height:32px;transition:all .6s;position:absolute;top:-16px;right:-14px}._close_587ci_44:hover{transform:rotate(90deg)}._close_587ci_44:before{content:"";background-color:#ff4f4f;width:4px;height:33px;position:absolute;left:15px;transform:rotate(45deg)}._close_587ci_44:after{content:"";background-color:#ff4f4f;width:4px;height:33px;position:absolute;left:15px;transform:rotate(-45deg)}@media screen and (max-width:460px){._modalContentWrapper_587ci_1{min-width:auto}}._root_15mo1_1{max-width:440px;margin-top:0!important;margin-bottom:0!important}._root_15mo1_1 *,._root_15mo1_1 [class*=MuiInputLabel-shrink]{color:var(--colorBlock)!important}._root_15mo1_1 [class*=MuiInput-underline]:after,._root_15mo1_1 [class*=MuiInput-underline]:before,._root_15mo1_1 [class*=MuiInput-underline]:hover:before{border-bottom-color:var(--lineColor)!important}._root_167v0_1{color:var(--lineColorActive)!important;height:8px!important}._root_167v0_1 [class*=MuiSlider-rail],._root_167v0_1 [class*=MuiSlider-track]{border-radius:4px;height:8px!important}._root_167v0_1 [class*=MuiSlider-thumb]{background-color:currentColor;width:20px;height:20px}._root_167v0_1 [class*=MuiSlider-thumb]:focus,._root_167v0_1 [class*=MuiSlider-thumb]:hover,._root_167v0_1 [class*=MuiSlider-thumb][class*=Mui-active]{box-shadow:inherit!important}._root_167v0_1 [class*=MuiSlider-markLabel]{color:var(--colorBlock)}._root_167v0_1 ._mark_167v0_24{background-color:#0000!important}._root_rzul6_1 *{color:var(--colorBlock)!important}._root_rzul6_1 [class*=Mui-checked]{color:var(--lineColor)!important}._root_rzul6_1 [class*=Mui-checked]+[class*=MuiSwitch-track]{background-color:var(--lineColor)!important}._root_135pm_1 *,._root_135pm_1 [class*=MuiInputLabel-shrink]{color:var(--colorBlock)!important}._root_135pm_1 [class*=MuiInput-underline]:after,._root_135pm_1 [class*=MuiInput-underline]:before,._root_135pm_1 [class*=MuiInput-underline]:hover:before{border-bottom-color:var(--lineColor)!important}._root_135pm_1{margin-top:0!important;margin-bottom:0!important}._root_135pm_1 *,._root_135pm_1 [class*=MuiInputLabel-shrink]{color:var(--colorBlock)!important}._root_135pm_1 [class*=MuiInput-underline]:after,._root_135pm_1 [class*=MuiInput-underline]:before,._root_135pm_1 [class*=MuiInput-underline]:hover:before{border-bottom-color:var(--lineColor)!important}
@@ -1,2 +1,2 @@
1
- import{In as e,f as t}from"./_virtual_mf___mfe_internal__iobroker_javascript__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-DuplUOZN.js";import{t as n}from"./applyCodeEdit-D3nb7erO.js";var r=`iobroker.aichat.inline`;function i(e){if(!e)return{code:null,text:``};let t=e.match(/```[\w-]*\n([\s\S]*?)\n```/);return t?{code:t[1],text:e.replace(t[0],``).trim()}:{code:null,text:e}}var a=class a{constructor(n,r,i){e(this,`editor`,void 0),e(this,`monaco`,void 0),e(this,`host`,void 0),e(this,`domNode`,void 0),e(this,`input`,void 0),e(this,`status`,void 0),e(this,`responseBox`,void 0),e(this,`sendBtn`,void 0),e(this,`cancelBtn`,void 0),e(this,`applyBtn`,void 0),e(this,`openChatBtn`,void 0),e(this,`contentWidget`,null),e(this,`pendingResponse`,``),e(this,`pendingCode`,null),e(this,`initialRange`,null),e(this,`initialSelectedCode`,``),this.editor=n,this.monaco=r,this.host=i;let o=document.createElement(`div`);o.className=`iob-inline-chat`,o.style.cssText=[`background: var(--vscode-editor-background, #1e1e1e)`,`border: 1px solid rgba(128, 128, 128, 0.4)`,`border-radius: 6px`,`padding: 8px`,`min-width: 420px`,`max-width: 720px`,`box-shadow: 0 4px 12px rgba(0,0,0,0.3)`,`font-family: var(--vscode-font-family, system-ui)`,`font-size: 12px`,`color: var(--vscode-editor-foreground, #eee)`,`z-index: 100`].join(`; `);let s=document.createElement(`div`);s.textContent=`🤖 ${t.t(`AI inline chat`)}`,s.style.cssText=`font-weight: 600; margin-bottom: 6px; opacity: 0.8;`,o.appendChild(s),this.input=document.createElement(`textarea`),this.input.rows=2,this.input.placeholder=t.t(`Ask anything, or request a change (e.g. "what does this do?")`),this.input.style.cssText=[`width: 100%`,`box-sizing: border-box`,`background: rgba(0,0,0,0.2)`,`color: inherit`,`border: 1px solid rgba(128, 128, 128, 0.3)`,`border-radius: 4px`,`padding: 6px 8px`,`font-family: inherit`,`font-size: 12px`,`resize: vertical`].join(`; `),o.appendChild(this.input),this.status=document.createElement(`div`),this.status.style.cssText=`min-height: 16px; margin-top: 6px; opacity: 0.7; font-size: 11px;`,o.appendChild(this.status),this.responseBox=document.createElement(`pre`),this.responseBox.style.cssText=[`margin: 6px 0 0 0`,`padding: 6px`,`background: rgba(0,0,0,0.25)`,`border-radius: 4px`,`max-height: 240px`,`overflow: auto`,`white-space: pre-wrap`,`word-wrap: break-word`,`font-family: var(--vscode-editor-font-family, monospace)`,`font-size: 12px`,`display: none`].join(`; `),o.appendChild(this.responseBox);let c=document.createElement(`div`);c.style.cssText=`display: flex; gap: 6px; justify-content: flex-end; margin-top: 8px;`,this.cancelBtn=a.makeButton(t.t(`Cancel`),`Esc`,!1),this.openChatBtn=a.makeButton(t.t(`Open in chat`),``,!1),this.openChatBtn.style.display=`none`,this.applyBtn=a.makeButton(t.t(`Apply`),`Enter`,!0),this.applyBtn.style.display=`none`,this.sendBtn=a.makeButton(t.t(`Send`),`Ctrl+Enter`,!0),c.appendChild(this.cancelBtn),c.appendChild(this.openChatBtn),c.appendChild(this.applyBtn),c.appendChild(this.sendBtn),o.appendChild(c),this.domNode=o,this.input.addEventListener(`keydown`,e=>this.onInputKeyDown(e)),this.sendBtn.addEventListener(`click`,()=>this.submit()),this.cancelBtn.addEventListener(`click`,()=>this.hide()),this.applyBtn.addEventListener(`click`,()=>this.applyProposal()),this.openChatBtn.addEventListener(`click`,()=>this.escalateToChat()),o.addEventListener(`mousedown`,e=>e.stopPropagation()),o.addEventListener(`keydown`,e=>e.stopPropagation())}static makeButton(e,t,n){let r=document.createElement(`button`);return r.textContent=t?`${e} · ${t}`:e,r.style.cssText=[`background: ${n?`var(--vscode-button-background, #0e639c)`:`transparent`}`,`color: ${n?`var(--vscode-button-foreground, #fff)`:`inherit`}`,`border: 1px solid ${n?`transparent`:`rgba(128, 128, 128, 0.4)`}`,`border-radius: 4px`,`padding: 4px 10px`,`cursor: pointer`,`font-family: inherit`,`font-size: 11px`].join(`; `),r}onInputKeyDown(e){e.key===`Escape`?(e.preventDefault(),this.hide()):e.key===`Enter`&&(e.ctrlKey||e.metaKey)&&(e.preventDefault(),this.submit())}show(){let e=this.editor.getSelection(),n=this.editor.getModel();if(!n)return;this.initialRange=e&&!e.isEmpty()?e:null,this.initialSelectedCode=this.initialRange?n.getValueInRange(this.initialRange):``,this.input.value=``;let r=this.initialSelectedCode.split(`
1
+ import{Ln as e,f as t}from"./_virtual_mf___mfe_internal__iobroker_javascript__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-DezK0U6r.js";import{t as n}from"./applyCodeEdit-D3nb7erO.js";var r=`iobroker.aichat.inline`;function i(e){if(!e)return{code:null,text:``};let t=e.match(/```[\w-]*\n([\s\S]*?)\n```/);return t?{code:t[1],text:e.replace(t[0],``).trim()}:{code:null,text:e}}var a=class a{constructor(n,r,i){e(this,`editor`,void 0),e(this,`monaco`,void 0),e(this,`host`,void 0),e(this,`domNode`,void 0),e(this,`input`,void 0),e(this,`status`,void 0),e(this,`responseBox`,void 0),e(this,`sendBtn`,void 0),e(this,`cancelBtn`,void 0),e(this,`applyBtn`,void 0),e(this,`openChatBtn`,void 0),e(this,`contentWidget`,null),e(this,`pendingResponse`,``),e(this,`pendingCode`,null),e(this,`initialRange`,null),e(this,`initialSelectedCode`,``),this.editor=n,this.monaco=r,this.host=i;let o=document.createElement(`div`);o.className=`iob-inline-chat`,o.style.cssText=[`background: var(--vscode-editor-background, #1e1e1e)`,`border: 1px solid rgba(128, 128, 128, 0.4)`,`border-radius: 6px`,`padding: 8px`,`min-width: 420px`,`max-width: 720px`,`box-shadow: 0 4px 12px rgba(0,0,0,0.3)`,`font-family: var(--vscode-font-family, system-ui)`,`font-size: 12px`,`color: var(--vscode-editor-foreground, #eee)`,`z-index: 100`].join(`; `);let s=document.createElement(`div`);s.textContent=`🤖 ${t.t(`AI inline chat`)}`,s.style.cssText=`font-weight: 600; margin-bottom: 6px; opacity: 0.8;`,o.appendChild(s),this.input=document.createElement(`textarea`),this.input.rows=2,this.input.placeholder=t.t(`Ask anything, or request a change (e.g. "what does this do?")`),this.input.style.cssText=[`width: 100%`,`box-sizing: border-box`,`background: rgba(0,0,0,0.2)`,`color: inherit`,`border: 1px solid rgba(128, 128, 128, 0.3)`,`border-radius: 4px`,`padding: 6px 8px`,`font-family: inherit`,`font-size: 12px`,`resize: vertical`].join(`; `),o.appendChild(this.input),this.status=document.createElement(`div`),this.status.style.cssText=`min-height: 16px; margin-top: 6px; opacity: 0.7; font-size: 11px;`,o.appendChild(this.status),this.responseBox=document.createElement(`pre`),this.responseBox.style.cssText=[`margin: 6px 0 0 0`,`padding: 6px`,`background: rgba(0,0,0,0.25)`,`border-radius: 4px`,`max-height: 240px`,`overflow: auto`,`white-space: pre-wrap`,`word-wrap: break-word`,`font-family: var(--vscode-editor-font-family, monospace)`,`font-size: 12px`,`display: none`].join(`; `),o.appendChild(this.responseBox);let c=document.createElement(`div`);c.style.cssText=`display: flex; gap: 6px; justify-content: flex-end; margin-top: 8px;`,this.cancelBtn=a.makeButton(t.t(`Cancel`),`Esc`,!1),this.openChatBtn=a.makeButton(t.t(`Open in chat`),``,!1),this.openChatBtn.style.display=`none`,this.applyBtn=a.makeButton(t.t(`Apply`),`Enter`,!0),this.applyBtn.style.display=`none`,this.sendBtn=a.makeButton(t.t(`Send`),`Ctrl+Enter`,!0),c.appendChild(this.cancelBtn),c.appendChild(this.openChatBtn),c.appendChild(this.applyBtn),c.appendChild(this.sendBtn),o.appendChild(c),this.domNode=o,this.input.addEventListener(`keydown`,e=>this.onInputKeyDown(e)),this.sendBtn.addEventListener(`click`,()=>this.submit()),this.cancelBtn.addEventListener(`click`,()=>this.hide()),this.applyBtn.addEventListener(`click`,()=>this.applyProposal()),this.openChatBtn.addEventListener(`click`,()=>this.escalateToChat()),o.addEventListener(`mousedown`,e=>e.stopPropagation()),o.addEventListener(`keydown`,e=>e.stopPropagation())}static makeButton(e,t,n){let r=document.createElement(`button`);return r.textContent=t?`${e} · ${t}`:e,r.style.cssText=[`background: ${n?`var(--vscode-button-background, #0e639c)`:`transparent`}`,`color: ${n?`var(--vscode-button-foreground, #fff)`:`inherit`}`,`border: 1px solid ${n?`transparent`:`rgba(128, 128, 128, 0.4)`}`,`border-radius: 4px`,`padding: 4px 10px`,`cursor: pointer`,`font-family: inherit`,`font-size: 11px`].join(`; `),r}onInputKeyDown(e){e.key===`Escape`?(e.preventDefault(),this.hide()):e.key===`Enter`&&(e.ctrlKey||e.metaKey)&&(e.preventDefault(),this.submit())}show(){let e=this.editor.getSelection(),n=this.editor.getModel();if(!n)return;this.initialRange=e&&!e.isEmpty()?e:null,this.initialSelectedCode=this.initialRange?n.getValueInRange(this.initialRange):``,this.input.value=``;let r=this.initialSelectedCode.split(`
2
2
  `).length;this.status.textContent=this.initialSelectedCode?t.t(`Selection: %s line(s)`,r):t.t(`No selection — the question will use context from the whole script.`),this.responseBox.style.display=`none`,this.responseBox.textContent=``,this.applyBtn.style.display=`none`,this.openChatBtn.style.display=`none`,this.sendBtn.style.display=``,this.pendingResponse=``,this.pendingCode=null;let i=this.buildContentWidget();this.editor.addContentWidget(i),this.contentWidget=i,setTimeout(()=>this.input.focus(),50)}hide(){this.contentWidget&&=(this.editor.removeContentWidget(this.contentWidget),null),this.editor.focus()}buildContentWidget(){var e;let t=this.editor.getSelection(),n=(t==null?void 0:t.endLineNumber)??((e=this.editor.getPosition())==null?void 0:e.lineNumber)??1,i=(t==null?void 0:t.endColumn)??1,a=this.domNode,o=this.monaco;return{getId(){return r},getDomNode(){return a},getPosition(){return{position:{lineNumber:n,column:i},preference:[o.editor.ContentWidgetPositionPreference.BELOW,o.editor.ContentWidgetPositionPreference.ABOVE]}}}}async submit(){let e=this.input.value.trim();if(!e){this.status.textContent=t.t(`Please enter a question.`);return}this.setLoading(!0);try{let t=await this.host.onSubmit({question:e,selectedCode:this.initialSelectedCode,range:this.initialRange});this.showResponse(t)}catch(e){this.status.textContent=`${t.t(`Error`)}: ${e.message||String(e)}`}finally{this.setLoading(!1)}}setLoading(e){this.sendBtn.disabled=e,this.input.disabled=e,this.status.textContent=e?t.t(`Thinking…`):``}showResponse(e){let n=i(e);this.pendingResponse=e,this.pendingCode=n.code,this.responseBox.textContent=n.code?n.code:n.text,this.responseBox.style.display=``,this.status.textContent=n.code?t.t(`Code proposal — press Apply to replace your selection.`):t.t(`Plain text answer.`),this.sendBtn.style.display=`none`,this.applyBtn.style.display=n.code?``:`none`,this.openChatBtn.style.display=``}applyProposal(){if(!this.pendingCode){this.hide();return}let e=this.initialRange?{startLine:this.initialRange.startLineNumber,startColumn:this.initialRange.startColumn,endLine:this.initialRange.endLineNumber,endColumn:this.initialRange.endColumn}:null;n(this.editor,this.monaco,e,this.pendingCode,{source:`inline-chat`}),this.hide()}escalateToChat(){this.host.onEscalateToChat&&this.host.onEscalateToChat({question:this.input.value.trim()||t.t(`Show more details`),selectedCode:this.initialSelectedCode,range:this.initialRange}),this.hide()}dispose(){this.hide()}};export{a as InlineChatWidget};
@@ -1,4 +1,4 @@
1
- import{In as e,f as t}from"./_virtual_mf___mfe_internal__iobroker_javascript__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-DuplUOZN.js";import{t as n}from"./applyCodeEdit-D3nb7erO.js";function r(e,t){let n=e===``?[]:e.split(`
1
+ import{Ln as e,f as t}from"./_virtual_mf___mfe_internal__iobroker_javascript__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-DezK0U6r.js";import{t as n}from"./applyCodeEdit-D3nb7erO.js";function r(e,t){let n=e===``?[]:e.split(`
2
2
  `),r=t===``?[]:t.split(`
3
3
  `),i=n.length,a=r.length;if(i===0)return r.map(e=>({op:`insert`,line:e}));if(a===0)return n.map(e=>({op:`delete`,line:e}));let o=Array.from({length:i+1},()=>Array(a+1).fill(0));for(let e=1;e<=i;e++)for(let t=1;t<=a;t++)o[e][t]=n[e-1]===r[t-1]?o[e-1][t-1]+1:Math.max(o[e-1][t],o[e][t-1]);let s=[],c=i,l=a;for(;c>0&&l>0;)n[c-1]===r[l-1]?(s.unshift({op:`equal`,line:n[c-1]}),c--,l--):o[c-1][l]>o[c][l-1]?(s.unshift({op:`delete`,line:n[c-1]}),c--):(s.unshift({op:`insert`,line:r[l-1]}),l--);for(;c>0;)s.unshift({op:`delete`,line:n[--c]});for(;l>0;)s.unshift({op:`insert`,line:r[--l]});return s}function i(e){let t=[],n=0,r=null,i=()=>{r&&=(t.push(r),null)};for(let t of e){if(t.op===`equal`){i(),n++;continue}r||={originalStart:n,deletedCount:0,insertedLines:[]},t.op===`delete`?(r.deletedCount++,n++):r.insertedLines.push(t.line)}return i(),t}var a=`iobroker.aichat.inlineDiff.toolbar`,o=class{constructor(t,n,r){e(this,`editor`,void 0),e(this,`monaco`,void 0),e(this,`opts`,void 0),e(this,`decorations`,[]),e(this,`viewZoneIds`,[]),e(this,`toolbarSpacerZoneId`,null),e(this,`toolbarWidget`,null),e(this,`disposed`,!1),this.editor=t,this.monaco=n,this.opts=r}show(){if(this.disposed)return;let{range:e,originalText:t,modifiedText:n}=this.opts,a=i(r(t,n));if(!a.length){var o,s;(o=(s=this.opts).onAccepted)==null||o.call(s);return}if(this.renderDeletions(e,a),this.renderInsertions(e,a),this.renderAcceptWidget(e),this.editor.getModel()){let e=this.editor.onDidChangeModelContent(()=>{if(e.dispose(),!this.disposed){var t,n;this.dispose(),(t=(n=this.opts).onRejected)==null||t.call(n)}})}}renderDeletions(e,t){let n=[],r=e.startLine;for(let e of t){if(e.deletedCount===0)continue;let t=r+e.originalStart,i=t+e.deletedCount-1;n.push({range:new this.monaco.Range(t,1,i,1),options:{isWholeLine:!0,className:`iob-aichat-diff-deleted`,linesDecorationsClassName:`iob-aichat-diff-deleted-gutter`,inlineClassName:`iob-aichat-diff-deleted-inline`}})}this.decorations=this.editor.deltaDecorations([],n)}renderInsertions(e,t){this.editor.changeViewZones(n=>{let r=e.startLine;for(let e of t){if(e.insertedLines.length===0)continue;let t=e.deletedCount>0?r+e.originalStart+e.deletedCount-1:r+e.originalStart-1,i=document.createElement(`div`);i.className=`iob-aichat-diff-inserted`,i.style.cssText=[`background: rgba(46, 160, 67, 0.15)`,`border-left: 3px solid rgb(46, 160, 67)`,`padding: 2px 8px 2px 10px`,`font-family: var(--monaco-monospace-font, monospace)`,`white-space: pre`,`overflow-x: auto`,`font-size: 12px`,`line-height: 18px`].join(`;`);for(let t of e.insertedLines){let e=document.createElement(`div`);e.textContent=t.length?t:`\xA0`,i.appendChild(e)}let a=n.addZone({afterLineNumber:Math.max(0,t),heightInLines:e.insertedLines.length,domNode:i});this.viewZoneIds.push(a)}})}renderAcceptWidget(e){let n=this.monaco,r=this.editor,i=!0;try{let e=r.getDomNode();if(e){let t=getComputedStyle(e).backgroundColor.match(/\d+/g);if(t&&t.length>=3){let[e,n,r]=t.map(e=>parseInt(e,10));i=(.299*e+.587*n+.114*r)/255<.5}}}catch{}let o=i?{bg:`rgba(37, 37, 38, 0.97)`,text:`#cccccc`,labelMuted:`#a0a0a0`,border:`rgba(255, 255, 255, 0.12)`,secondaryBg:`rgba(90, 93, 94, 0.4)`,secondaryHoverBg:`rgba(90, 93, 94, 0.6)`,secondaryText:`#cccccc`,primaryBg:`rgb(14, 99, 156)`,primaryHoverBg:`rgb(17, 119, 187)`,primaryText:`#ffffff`,accent:`rgb(79, 149, 255)`}:{bg:`rgba(243, 243, 243, 0.97)`,text:`#1f1f1f`,labelMuted:`#616161`,border:`rgba(0, 0, 0, 0.12)`,secondaryBg:`rgba(0, 0, 0, 0.04)`,secondaryHoverBg:`rgba(0, 0, 0, 0.08)`,secondaryText:`#1f1f1f`,primaryBg:`rgb(0, 98, 165)`,primaryHoverBg:`rgb(0, 120, 200)`,primaryText:`#ffffff`,accent:`rgb(0, 98, 165)`},s=document.createElement(`div`);s.className=`iob-aichat-diff-toolbar`,s.style.cssText=[`display: flex`,`align-items: center`,`gap: 6px`,`padding: 2px 8px`,`height: 22px`,`box-sizing: border-box`,`font-family: var(--monaco-monospace-font, system-ui)`,`font-size: 11px`,`color: ${o.text}`,`background: ${o.bg}`,`border: 1px solid ${o.border}`,`border-left: 3px solid ${o.accent}`,`border-radius: 3px`,`box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25)`,`pointer-events: auto`,`user-select: none`,`cursor: default`,`white-space: nowrap`].join(`;`);let c=document.createElement(`span`);c.textContent=`🤖 ${t.t(`AI suggestion`)}`,c.style.cssText=`color: ${o.labelMuted}; margin-right: 4px;`,s.appendChild(c);let l=(e,t,n)=>{let r=document.createElement(`button`);r.type=`button`,r.textContent=e;let i=t?o.primaryBg:o.secondaryBg,a=t?o.primaryHoverBg:o.secondaryHoverBg,s=t?o.primaryText:o.secondaryText;return r.style.cssText=[`background: ${i}`,`color: ${s}`,`border: 1px solid ${t?`transparent`:o.border}`,`border-radius: 2px`,`padding: 2px 10px`,`cursor: pointer`,`font-family: inherit`,`font-size: 11px`,`line-height: 16px`,`white-space: nowrap`,`pointer-events: auto`].join(`;`),r.addEventListener(`mouseenter`,()=>{r.style.background=a}),r.addEventListener(`mouseleave`,()=>{r.style.background=i}),r.addEventListener(`click`,e=>{e.stopPropagation(),e.preventDefault(),n(e)}),r.addEventListener(`mousedown`,e=>e.stopPropagation(),!0),r},u=l(`✓ ${t.t(`Apply changes`)}`,!0,()=>this.accept()),d=l(`✗ ${t.t(`Discard changes`)}`,!1,()=>this.reject());s.appendChild(u),s.appendChild(d),s.addEventListener(`mousedown`,e=>e.stopPropagation(),!0),s.addEventListener(`click`,e=>e.stopPropagation());let f=document.createElement(`div`);f.style.cssText=`pointer-events: none;`;let p=Math.max(0,e.startLine-1);this.editor.changeViewZones(e=>{this.toolbarSpacerZoneId=e.addZone({afterLineNumber:p,heightInLines:1,domNode:f})});let m=e.startLine,h={getId(){return a},getDomNode(){return s},getPosition(){return{position:{lineNumber:m,column:1},preference:[n.editor.ContentWidgetPositionPreference.ABOVE,n.editor.ContentWidgetPositionPreference.BELOW]}},allowEditorOverflow:!0};this.toolbarWidget=h,r.addContentWidget(h)}accept(){if(this.disposed)return;let e=n(this.editor,this.monaco,this.opts.range,this.opts.modifiedText,{source:`ai-inline-diff`});if(this.dispose(),e){var t,r;(t=(r=this.opts).onAccepted)==null||t.call(r)}}reject(){var e,t;this.disposed||(this.dispose(),(e=(t=this.opts).onRejected)==null||e.call(t))}dispose(){if(!this.disposed){this.disposed=!0;try{this.editor.deltaDecorations(this.decorations,[])}catch{}try{this.editor.changeViewZones(e=>{for(let t of this.viewZoneIds)e.removeZone(t);this.toolbarSpacerZoneId&&e.removeZone(this.toolbarSpacerZoneId)})}catch{}if(this.toolbarWidget){try{this.editor.removeContentWidget(this.toolbarWidget)}catch{}this.toolbarWidget=null}this.toolbarSpacerZoneId=null,this.decorations=[],this.viewZoneIds=[]}}},s=`
4
4
  .iob-aichat-diff-deleted {
@@ -25,8 +25,9 @@ const __mfImport = (src) =>
25
25
 
26
26
 
27
27
 
28
+
28
29
  (async () => {
29
- const __mfHostInit = await __mfImport("./hostInit-DBlZi_Kt.js");
30
+ const __mfHostInit = await __mfImport("./hostInit-B3IjMQKW.js");
30
31
  await __mfHostInit.__tla;
31
32
  const { initHost } = __mfHostInit;
32
33
  await initHost();
@@ -37,4 +38,4 @@ const __mfImport = (src) =>
37
38
  if (__mfReactServerModuleCache?.pendingShareLoads) {
38
39
  await Promise.all(__mfReactServerModuleCache.pendingShareLoads);
39
40
  }
40
- })().then(() => __mfImport("./index-BvPVHv3P.js"));
41
+ })().then(() => __mfImport("./index-DKhQ45Yn.js"));
@@ -0,0 +1,9 @@
1
+ import{i as e,t}from"./rolldown-runtime-C0FnF6B9.js";import{f as n}from"./_virtual_mf___mfe_internal__iobroker_javascript__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-DezK0U6r.js";var r;function i(){return r.apply(null,arguments)}function a(e){r=e}function o(e){return e instanceof Array||Object.prototype.toString.call(e)===`[object Array]`}function s(e){return e!=null&&Object.prototype.toString.call(e)===`[object Object]`}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;for(var t in e)if(c(e,t))return!1;return!0}function u(e){return e===void 0}function d(e){return typeof e==`number`||Object.prototype.toString.call(e)===`[object Number]`}function f(e){return e instanceof Date||Object.prototype.toString.call(e)===`[object Date]`}function ee(e,t){var n=[],r,i=e.length;for(r=0;r<i;++r)n.push(t(e[r],r));return n}function p(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,`toString`)&&(e.toString=t.toString),c(t,`valueOf`)&&(e.valueOf=t.valueOf),e}function te(e,t,n,r){return W(e,t,n,r,!0).utc()}function m(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function h(e){return e._pf??=m(),e._pf}var ne=Array.prototype.some?Array.prototype.some:function(e){var t=Object(this),n=t.length>>>0,r;for(r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function re(e){var t=null,n=!1,r=e._d&&!isNaN(e._d.getTime());if(r&&(t=h(e),n=ne.call(t.parsedDateParts,function(e){return e!=null}),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r;return e._isValid}function ie(e){var t=te(NaN);return e==null?h(t).userInvalidated=!0:p(h(t),e),t}var ae=i.momentProperties=[],oe=!1;function se(e,t){var n,r,i,a=ae.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=h(t)),u(t._locale)||(e._locale=t._locale),a>0)for(n=0;n<a;n++)r=ae[n],i=t[r],u(i)||(e[r]=i);return e}function g(e){se(this,e),this._d=new Date(e._d==null?NaN:e._d.getTime()),this.isValid()||(this._d=new Date(NaN)),oe===!1&&(oe=!0,i.updateOffset(this),oe=!1)}function ce(e){return e instanceof g||e!=null&&e._isAMomentObject!=null}function _(e){i.suppressDeprecationWarnings===!1&&typeof console<`u`&&console.warn&&console.warn(`Deprecation warning: `+e)}function le(e,t){var n=!0;return p(function(){if(i.deprecationHandler!=null&&i.deprecationHandler(null,e),n){var r=[],a,o,s,l=arguments.length;for(o=0;o<l;o++){if(a=``,typeof arguments[o]==`object`){for(s in a+=`
2
+ [`+o+`] `,arguments[0])c(arguments[0],s)&&(a+=s+`: `+arguments[0][s]+`, `);a=a.slice(0,-2)}else a=arguments[o];r.push(a)}_(e+`
3
+ Arguments: `+Array.prototype.slice.call(r).join(``)+`
4
+ `+Error().stack),n=!1}return t.apply(this,arguments)},t)}var ue={};function de(e,t){i.deprecationHandler!=null&&i.deprecationHandler(e,t),ue[e]||(_(t),ue[e]=!0)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null;function fe(e){return typeof Function<`u`&&e instanceof Function||Object.prototype.toString.call(e)===`[object Function]`}function pe(e){var t,n;for(n in e)c(e,n)&&(t=e[n],fe(t)?this[n]=t:this[`_`+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+`|\\d{1,2}`)}function me(e,t){var n=p({},e),r;for(r in t)c(t,r)&&(s(e[r])&&s(t[r])?(n[r]={},p(n[r],e[r]),p(n[r],t[r])):t[r]==null?delete n[r]:n[r]=t[r]);for(r in e)c(e,r)&&!c(t,r)&&s(e[r])&&(n[r]=p({},n[r]));return n}function he(e){e!=null&&this.set(e)}var ge=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n},_e={sameDay:`[Today at] LT`,nextDay:`[Tomorrow at] LT`,nextWeek:`dddd [at] LT`,lastDay:`[Yesterday at] LT`,lastWeek:`[Last] dddd [at] LT`,sameElse:`L`};function ve(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return fe(r)?r.call(t,n):r}function ye(e,t,n){var r=``+Math.abs(e),i=t-r.length;return(e>=0?n?`+`:``:`-`)+(10**Math.max(0,i)).toString().substr(1)+r}var be=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,xe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Se={},v={};function y(e,t,n,r){var i=r;typeof r==`string`&&(i=function(){return this[r]()}),e&&(v[e]=i),t&&(v[t[0]]=function(){return ye(i.apply(this,arguments),t[1],t[2])}),n&&(v[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Ce(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,``):e.replace(/\\/g,``)}function we(e){var t=e.match(be),n,r;for(n=0,r=t.length;n<r;n++)v[t[n]]?t[n]=v[t[n]]:t[n]=Ce(t[n]);return function(n){var i=``,a;for(a=0;a<r;a++)i+=fe(t[a])?t[a].call(n,e):t[a];return i}}function Te(e,t){return e.isValid()?(t=Ee(t,e.localeData()),Se[t]=Se[t]||we(t),Se[t](e)):e.localeData().invalidDate()}function Ee(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(xe.lastIndex=0;n>=0&&xe.test(e);)e=e.replace(xe,r),xe.lastIndex=0,--n;return e}var De={LTS:`h:mm:ss A`,LT:`h:mm A`,L:`MM/DD/YYYY`,LL:`MMMM D, YYYY`,LLL:`MMMM D, YYYY h:mm A`,LLLL:`dddd, MMMM D, YYYY h:mm A`};function Oe(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(be).map(function(e){return e===`MMMM`||e===`MM`||e===`DD`||e===`dddd`?e.slice(1):e}).join(``),this._longDateFormat[e])}var ke=`Invalid date`;function Ae(){return this._invalidDate}var je=`%d`,Me=/\d{1,2}/;function Ne(e){return this._ordinal.replace(`%d`,e)}var Pe={future:`in %s`,past:`%s ago`,s:`a few seconds`,ss:`%d seconds`,m:`a minute`,mm:`%d minutes`,h:`an hour`,hh:`%d hours`,d:`a day`,dd:`%d days`,w:`a week`,ww:`%d weeks`,M:`a month`,MM:`%d months`,y:`a year`,yy:`%d years`};function Fe(e,t,n,r){var i=this._relativeTime[n];return fe(i)?i(e,t,n,r):i.replace(/%d/i,e)}function Ie(e,t){var n=this._relativeTime[e>0?`future`:`past`];return fe(n)?n(t):n.replace(/%s/i,t)}var Le={D:`date`,dates:`date`,date:`date`,d:`day`,days:`day`,day:`day`,e:`weekday`,weekdays:`weekday`,weekday:`weekday`,E:`isoWeekday`,isoweekdays:`isoWeekday`,isoweekday:`isoWeekday`,DDD:`dayOfYear`,dayofyears:`dayOfYear`,dayofyear:`dayOfYear`,h:`hour`,hours:`hour`,hour:`hour`,ms:`millisecond`,milliseconds:`millisecond`,millisecond:`millisecond`,m:`minute`,minutes:`minute`,minute:`minute`,M:`month`,months:`month`,month:`month`,Q:`quarter`,quarters:`quarter`,quarter:`quarter`,s:`second`,seconds:`second`,second:`second`,gg:`weekYear`,weekyears:`weekYear`,weekyear:`weekYear`,GG:`isoWeekYear`,isoweekyears:`isoWeekYear`,isoweekyear:`isoWeekYear`,w:`week`,weeks:`week`,week:`week`,W:`isoWeek`,isoweeks:`isoWeek`,isoweek:`isoWeek`,y:`year`,years:`year`,year:`year`};function b(e){return typeof e==`string`?Le[e]||Le[e.toLowerCase()]:void 0}function Re(e){var t={},n,r;for(r in e)c(e,r)&&(n=b(r),n&&(t[n]=e[r]));return t}var ze={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Be(e){var t=[],n;for(n in e)c(e,n)&&t.push({unit:n,priority:ze[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}var x=/\d/,S=/\d\d/,Ve=/\d{3}/,He=/\d{4}/,C=/[+-]?\d{6}/,w=/\d\d?/,Ue=/\d\d\d\d?/,We=/\d\d\d\d\d\d?/,Ge=/\d{1,3}/,Ke=/\d{1,4}/,qe=/[+-]?\d{1,6}/,Je=/\d+/,Ye=/[+-]?\d+/,Xe=/Z|[+-]\d\d:?\d\d/gi,Ze=/Z|[+-]\d\d(?::?\d\d)?/gi,Qe=/[+-]?\d+(\.\d{1,3})?/,$e=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,et=/^[1-9]\d?/,tt=/^([1-9]\d|\d)/,T={};function E(e,t,n){T[e]=fe(t)?t:function(e,r){return e&&n?n:t}}function nt(e,t){return c(T,e)?T[e](t._strict,t._locale):new RegExp(rt(e))}function rt(e){return D(e.replace(`\\`,``).replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function D(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,`\\$&`)}function O(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function k(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=O(t)),n}var A={};function j(e,t){var n,r=t,i;for(typeof e==`string`&&(e=[e]),d(t)&&(r=function(e,n){n[t]=k(e)}),i=e.length,n=0;n<i;n++)A[e[n]]=r}function it(e,t){j(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function at(e,t,n){t!=null&&c(A,e)&&A[e](t,n._a,n,e)}function M(e){return e%4==0&&e%100!=0||e%400==0}var N=0,P=1,F=2,I=3,L=4,R=5,ot=6,st=7,ct=8;y(`Y`,0,0,function(){var e=this.year();return e<=9999?ye(e,4):`+`+e}),y(0,[`YY`,2],0,function(){return this.year()%100}),y(0,[`YYYY`,4],0,`year`),y(0,[`YYYYY`,5],0,`year`),y(0,[`YYYYYY`,6,!0],0,`year`),E(`Y`,Ye),E(`YY`,w,S),E(`YYYY`,Ke,He),E(`YYYYY`,qe,C),E(`YYYYYY`,qe,C),j([`YYYYY`,`YYYYYY`],N),j(`YYYY`,function(e,t){t[N]=e.length===2?i.parseTwoDigitYear(e):k(e)}),j(`YY`,function(e,t){t[N]=i.parseTwoDigitYear(e)}),j(`Y`,function(e,t){t[N]=parseInt(e,10)});function lt(e){return M(e)?366:365}i.parseTwoDigitYear=function(e){return k(e)+(k(e)>68?1900:2e3)};var ut=ft(`FullYear`,!0);function dt(){return M(this.year())}function ft(e,t){return function(n){return n==null?pt(this,e):(mt(this,e,n),i.updateOffset(this,t),this)}}function pt(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case`Milliseconds`:return r?n.getUTCMilliseconds():n.getMilliseconds();case`Seconds`:return r?n.getUTCSeconds():n.getSeconds();case`Minutes`:return r?n.getUTCMinutes():n.getMinutes();case`Hours`:return r?n.getUTCHours():n.getHours();case`Date`:return r?n.getUTCDate():n.getDate();case`Day`:return r?n.getUTCDay():n.getDay();case`Month`:return r?n.getUTCMonth():n.getMonth();case`FullYear`:return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function mt(e,t,n){var r,i,a,o,s;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,i=e._isUTC,t){case`Milliseconds`:i?r.setUTCMilliseconds(n):r.setMilliseconds(n);return;case`Seconds`:i?r.setUTCSeconds(n):r.setSeconds(n);return;case`Minutes`:i?r.setUTCMinutes(n):r.setMinutes(n);return;case`Hours`:i?r.setUTCHours(n):r.setHours(n);return;case`Date`:i?r.setUTCDate(n):r.setDate(n);return;case`FullYear`:break;default:return}a=n,o=e.month(),s=e.date(),s=s===29&&o===1&&!M(a)?28:s,i?r.setUTCFullYear(a,o,s):r.setFullYear(a,o,s)}}function ht(e){return e=b(e),fe(this[e])?this[e]():this}function gt(e,t){if(typeof e==`object`){e=Re(e);var n=Be(e),r,i=n.length;for(r=0;r<i;r++)this[n[r].unit](e[n[r].unit])}else if(e=b(e),fe(this[e]))return this[e](t);return this}function z(e,t){return(e%t+t)%t}var B=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function _t(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=z(t,12);return e+=(t-n)/12,n===1?M(e)?29:28:31-n%7%2}y(`M`,[`MM`,2],`Mo`,function(){return this.month()+1}),y(`MMM`,0,0,function(e){return this.localeData().monthsShort(this,e)}),y(`MMMM`,0,0,function(e){return this.localeData().months(this,e)}),E(`M`,w,et),E(`MM`,w,S),E(`MMM`,function(e,t){return t.monthsShortRegex(e)}),E(`MMMM`,function(e,t){return t.monthsRegex(e)}),j([`M`,`MM`],function(e,t){t[P]=k(e)-1}),j([`MMM`,`MMMM`],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);i==null?h(n).invalidMonth=e:t[P]=i});var vt=`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),yt=`Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec`.split(`_`),bt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,xt=$e,St=$e;function Ct(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||bt).test(t)?`format`:`standalone`][e.month()]:o(this._months)?this._months:this._months.standalone}function wt(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[bt.test(t)?`format`:`standalone`][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Tt(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=te([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,``).toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,``).toLocaleLowerCase();return n?t===`MMM`?(i=B.call(this._shortMonthsParse,o),i===-1?null:i):(i=B.call(this._longMonthsParse,o),i===-1?null:i):t===`MMM`?(i=B.call(this._shortMonthsParse,o),i===-1?(i=B.call(this._longMonthsParse,o),i===-1?null:i):i):(i=B.call(this._longMonthsParse,o),i===-1?(i=B.call(this._shortMonthsParse,o),i===-1?null:i):i)}function Et(e,t,n){var r,i,a;if(this._monthsParseExact)return Tt.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++)if(i=te([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=RegExp(`^`+this.months(i,``).replace(`.`,``)+`$`,`i`),this._shortMonthsParse[r]=RegExp(`^`+this.monthsShort(i,``).replace(`.`,``)+`$`,`i`)),!n&&!this._monthsParse[r]&&(a=`^`+this.months(i,``)+`|^`+this.monthsShort(i,``),this._monthsParse[r]=new RegExp(a.replace(`.`,``),`i`)),n&&t===`MMMM`&&this._longMonthsParse[r].test(e)||n&&t===`MMM`&&this._shortMonthsParse[r].test(e)||!n&&this._monthsParse[r].test(e))return r}function Dt(e,t){if(!e.isValid())return e;if(typeof t==`string`){if(/^\d+$/.test(t))t=k(t);else if(t=e.localeData().monthsParse(t),!d(t))return e}var n=t,r=e.date();return r=r<29?r:Math.min(r,_t(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function Ot(e){return e==null?pt(this,`Month`):(Dt(this,e),i.updateOffset(this,!0),this)}function kt(){return _t(this.year(),this.month())}function At(e){return this._monthsParseExact?(c(this,`_monthsRegex`)||Mt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,`_monthsShortRegex`)||(this._monthsShortRegex=xt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function jt(e){return this._monthsParseExact?(c(this,`_monthsRegex`)||Mt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,`_monthsRegex`)||(this._monthsRegex=St),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Mt(){function e(e,t){return t.length-e.length}var t=[],n=[],r=[],i,a,o,s;for(i=0;i<12;i++)a=te([2e3,i]),o=D(this.monthsShort(a,``)),s=D(this.months(a,``)),t.push(o),n.push(s),r.push(s),r.push(o);t.sort(e),n.sort(e),r.sort(e),this._monthsRegex=RegExp(`^(`+r.join(`|`)+`)`,`i`),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=RegExp(`^(`+n.join(`|`)+`)`,`i`),this._monthsShortStrictRegex=RegExp(`^(`+t.join(`|`)+`)`,`i`)}function Nt(e,t,n,r,i,a,o){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function Pt(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ft(e,t,n){var r=7+t-n;return-((7+Pt(e,0,r).getUTCDay()-t)%7)+r-1}function It(e,t,n,r,i){var a=(7+n-r)%7,o=Ft(e,r,i),s=1+7*(t-1)+a+o,c,l;return s<=0?(c=e-1,l=lt(c)+s):s>lt(e)?(c=e+1,l=s-lt(e)):(c=e,l=s),{year:c,dayOfYear:l}}function V(e,t,n){var r=Ft(e.year(),t,n),i=Math.floor((e.dayOfYear()-r-1)/7)+1,a,o;return i<1?(o=e.year()-1,a=i+Lt(o,t,n)):i>Lt(e.year(),t,n)?(a=i-Lt(e.year(),t,n),o=e.year()+1):(o=e.year(),a=i),{week:a,year:o}}function Lt(e,t,n){var r=Ft(e,t,n),i=Ft(e+1,t,n);return(lt(e)-r+i)/7}y(`w`,[`ww`,2],`wo`,`week`),y(`W`,[`WW`,2],`Wo`,`isoWeek`),E(`w`,w,et),E(`ww`,w,S),E(`W`,w,et),E(`WW`,w,S),it([`w`,`ww`,`W`,`WW`],function(e,t,n,r){t[r.substr(0,1)]=k(e)});function Rt(e){return V(e,this._week.dow,this._week.doy).week}var zt={dow:0,doy:6};function Bt(){return this._week.dow}function Vt(){return this._week.doy}function Ht(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,`d`)}function Ut(e){var t=V(this,1,4).week;return e==null?t:this.add((e-t)*7,`d`)}y(`d`,0,`do`,`day`),y(`dd`,0,0,function(e){return this.localeData().weekdaysMin(this,e)}),y(`ddd`,0,0,function(e){return this.localeData().weekdaysShort(this,e)}),y(`dddd`,0,0,function(e){return this.localeData().weekdays(this,e)}),y(`e`,0,0,`weekday`),y(`E`,0,0,`isoWeekday`),E(`d`,w),E(`e`,w),E(`E`,w),E(`dd`,function(e,t){return t.weekdaysMinRegex(e)}),E(`ddd`,function(e,t){return t.weekdaysShortRegex(e)}),E(`dddd`,function(e,t){return t.weekdaysRegex(e)}),it([`dd`,`ddd`,`dddd`],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);i==null?h(n).invalidWeekday=e:t.d=i}),it([`d`,`e`,`E`],function(e,t,n,r){t[r]=k(e)});function Wt(e,t){return typeof e==`string`?isNaN(e)?(e=t.weekdaysParse(e),typeof e==`number`?e:null):parseInt(e,10):e}function Gt(e,t){return typeof e==`string`?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Kt(e,t){return e.slice(t,7).concat(e.slice(0,t))}var qt=`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),Jt=`Sun_Mon_Tue_Wed_Thu_Fri_Sat`.split(`_`),Yt=`Su_Mo_Tu_We_Th_Fr_Sa`.split(`_`),Xt=$e,Zt=$e,Qt=$e;function $t(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?`format`:`standalone`];return e===!0?Kt(n,this._week.dow):e?n[e.day()]:n}function en(e){return e===!0?Kt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function tn(e){return e===!0?Kt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function nn(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=te([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,``).toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,``).toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,``).toLocaleLowerCase();return n?t===`dddd`?(i=B.call(this._weekdaysParse,o),i===-1?null:i):t===`ddd`?(i=B.call(this._shortWeekdaysParse,o),i===-1?null:i):(i=B.call(this._minWeekdaysParse,o),i===-1?null:i):t===`dddd`?(i=B.call(this._weekdaysParse,o),i!==-1||(i=B.call(this._shortWeekdaysParse,o),i!==-1)?i:(i=B.call(this._minWeekdaysParse,o),i===-1?null:i)):t===`ddd`?(i=B.call(this._shortWeekdaysParse,o),i!==-1||(i=B.call(this._weekdaysParse,o),i!==-1)?i:(i=B.call(this._minWeekdaysParse,o),i===-1?null:i)):(i=B.call(this._minWeekdaysParse,o),i!==-1||(i=B.call(this._weekdaysParse,o),i!==-1)?i:(i=B.call(this._shortWeekdaysParse,o),i===-1?null:i))}function rn(e,t,n){var r,i,a;if(this._weekdaysParseExact)return nn.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++)if(i=te([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=RegExp(`^`+this.weekdays(i,``).replace(`.`,`\\.?`)+`$`,`i`),this._shortWeekdaysParse[r]=RegExp(`^`+this.weekdaysShort(i,``).replace(`.`,`\\.?`)+`$`,`i`),this._minWeekdaysParse[r]=RegExp(`^`+this.weekdaysMin(i,``).replace(`.`,`\\.?`)+`$`,`i`)),this._weekdaysParse[r]||(a=`^`+this.weekdays(i,``)+`|^`+this.weekdaysShort(i,``)+`|^`+this.weekdaysMin(i,``),this._weekdaysParse[r]=new RegExp(a.replace(`.`,``),`i`)),n&&t===`dddd`&&this._fullWeekdaysParse[r].test(e)||n&&t===`ddd`&&this._shortWeekdaysParse[r].test(e)||n&&t===`dd`&&this._minWeekdaysParse[r].test(e)||!n&&this._weekdaysParse[r].test(e))return r}function an(e){if(!this.isValid())return e==null?NaN:this;var t=pt(this,`Day`);return e==null?t:(e=Wt(e,this.localeData()),this.add(e-t,`d`))}function on(e){if(!this.isValid())return e==null?NaN:this;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,`d`)}function sn(e){if(!this.isValid())return e==null?NaN:this;if(e!=null){var t=Gt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function cn(e){return this._weekdaysParseExact?(c(this,`_weekdaysRegex`)||dn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,`_weekdaysRegex`)||(this._weekdaysRegex=Xt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function ln(e){return this._weekdaysParseExact?(c(this,`_weekdaysRegex`)||dn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,`_weekdaysShortRegex`)||(this._weekdaysShortRegex=Zt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function un(e){return this._weekdaysParseExact?(c(this,`_weekdaysRegex`)||dn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,`_weekdaysMinRegex`)||(this._weekdaysMinRegex=Qt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function dn(){function e(e,t){return t.length-e.length}var t=[],n=[],r=[],i=[],a,o,s,c,l;for(a=0;a<7;a++)o=te([2e3,1]).day(a),s=D(this.weekdaysMin(o,``)),c=D(this.weekdaysShort(o,``)),l=D(this.weekdays(o,``)),t.push(s),n.push(c),r.push(l),i.push(s),i.push(c),i.push(l);t.sort(e),n.sort(e),r.sort(e),i.sort(e),this._weekdaysRegex=RegExp(`^(`+i.join(`|`)+`)`,`i`),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=RegExp(`^(`+r.join(`|`)+`)`,`i`),this._weekdaysShortStrictRegex=RegExp(`^(`+n.join(`|`)+`)`,`i`),this._weekdaysMinStrictRegex=RegExp(`^(`+t.join(`|`)+`)`,`i`)}function fn(){return this.hours()%12||12}function pn(){return this.hours()||24}y(`H`,[`HH`,2],0,`hour`),y(`h`,[`hh`,2],0,fn),y(`k`,[`kk`,2],0,pn),y(`hmm`,0,0,function(){return``+fn.apply(this)+ye(this.minutes(),2)}),y(`hmmss`,0,0,function(){return``+fn.apply(this)+ye(this.minutes(),2)+ye(this.seconds(),2)}),y(`Hmm`,0,0,function(){return``+this.hours()+ye(this.minutes(),2)}),y(`Hmmss`,0,0,function(){return``+this.hours()+ye(this.minutes(),2)+ye(this.seconds(),2)});function mn(e,t){y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}mn(`a`,!0),mn(`A`,!1);function hn(e,t){return t._meridiemParse}E(`a`,hn),E(`A`,hn),E(`H`,w,tt),E(`h`,w,et),E(`k`,w,et),E(`HH`,w,S),E(`hh`,w,S),E(`kk`,w,S),E(`hmm`,Ue),E(`hmmss`,We),E(`Hmm`,Ue),E(`Hmmss`,We),j([`H`,`HH`],I),j([`k`,`kk`],function(e,t,n){var r=k(e);t[I]=r===24?0:r}),j([`a`,`A`],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),j([`h`,`hh`],function(e,t,n){t[I]=k(e),h(n).bigHour=!0}),j(`hmm`,function(e,t,n){var r=e.length-2;t[I]=k(e.substr(0,r)),t[L]=k(e.substr(r)),h(n).bigHour=!0}),j(`hmmss`,function(e,t,n){var r=e.length-4,i=e.length-2;t[I]=k(e.substr(0,r)),t[L]=k(e.substr(r,2)),t[R]=k(e.substr(i)),h(n).bigHour=!0}),j(`Hmm`,function(e,t,n){var r=e.length-2;t[I]=k(e.substr(0,r)),t[L]=k(e.substr(r))}),j(`Hmmss`,function(e,t,n){var r=e.length-4,i=e.length-2;t[I]=k(e.substr(0,r)),t[L]=k(e.substr(r,2)),t[R]=k(e.substr(i))});function gn(e){return(e+``).toLowerCase().charAt(0)===`p`}var _n=/[ap]\.?m?\.?/i,vn=ft(`Hours`,!0);function yn(e,t,n){return e>11?n?`pm`:`PM`:n?`am`:`AM`}var H={calendar:_e,longDateFormat:De,invalidDate:ke,ordinal:je,dayOfMonthOrdinalParse:Me,relativeTime:Pe,months:vt,monthsShort:yt,week:zt,weekdays:qt,weekdaysMin:Yt,weekdaysShort:Jt,meridiemParse:_n},U={},bn={},xn;function Sn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function Cn(e){return e&&e.toLowerCase().replace(`_`,`-`)}function wn(e){for(var t=0,n,r,i,a;t<e.length;){for(a=Cn(e[t]).split(`-`),n=a.length,r=Cn(e[t+1]),r=r?r.split(`-`):null;n>0;){if(i=En(a.slice(0,n).join(`-`)),i)return i;if(r&&r.length>=n&&Sn(a,r)>=n-1)break;n--}t++}return xn}function Tn(e){return!!(e&&e.match(`^[^/\\\\]*$`))}function En(t){var n=null,r;if(U[t]===void 0&&typeof module<`u`&&module&&module.exports&&Tn(t))try{n=xn._abbr,r=e,r(`./locale/`+t),Dn(n)}catch{U[t]=null}return U[t]}function Dn(e,t){var n;return e&&(n=u(t)?An(e):On(e,t),n?xn=n:typeof console<`u`&&console.warn&&console.warn(`Locale `+e+` not found. Did you forget to load it?`)),xn._abbr}function On(e,t){if(t!==null){var n,r=H;if(t.abbr=e,U[e]!=null)de(`defineLocaleOverride`,`use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info.`),r=U[e]._config;else if(t.parentLocale!=null){if(U[t.parentLocale]!=null)r=U[t.parentLocale]._config;else if(n=En(t.parentLocale),n!=null)r=n._config;else return bn[t.parentLocale]||(bn[t.parentLocale]=[]),bn[t.parentLocale].push({name:e,config:t}),null}return U[e]=new he(me(r,t)),bn[e]&&bn[e].forEach(function(e){On(e.name,e.config)}),Dn(e),U[e]}return delete U[e],null}function kn(e,t){if(t!=null){var n,r,i=H;U[e]!=null&&U[e].parentLocale!=null?U[e].set(me(U[e]._config,t)):(r=En(e),r!=null&&(i=r._config),t=me(i,t),r??(t.abbr=e),n=new he(t),n.parentLocale=U[e],U[e]=n),Dn(e)}else U[e]!=null&&(U[e].parentLocale==null?U[e]!=null&&delete U[e]:(U[e]=U[e].parentLocale,e===Dn()&&Dn(e)));return U[e]}function An(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return xn;if(!o(e)){if(t=En(e),t)return t;e=[e]}return wn(e)}function jn(){return ge(U)}function Mn(e){var t,n=e._a;return n&&h(e).overflow===-2&&(t=n[P]<0||n[P]>11?P:n[F]<1||n[F]>_t(n[N],n[P])?F:n[I]<0||n[I]>24||n[I]===24&&(n[L]!==0||n[R]!==0||n[ot]!==0)?I:n[L]<0||n[L]>59?L:n[R]<0||n[R]>59?R:n[ot]<0||n[ot]>999?ot:-1,h(e)._overflowDayOfYear&&(t<N||t>F)&&(t=F),h(e)._overflowWeeks&&t===-1&&(t=st),h(e)._overflowWeekday&&t===-1&&(t=ct),h(e).overflow=t),e}var Nn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Pn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Fn=/Z|[+-]\d\d(?::?\d\d)?/,In=[[`YYYYYY-MM-DD`,/[+-]\d{6}-\d\d-\d\d/],[`YYYY-MM-DD`,/\d{4}-\d\d-\d\d/],[`GGGG-[W]WW-E`,/\d{4}-W\d\d-\d/],[`GGGG-[W]WW`,/\d{4}-W\d\d/,!1],[`YYYY-DDD`,/\d{4}-\d{3}/],[`YYYY-MM`,/\d{4}-\d\d/,!1],[`YYYYYYMMDD`,/[+-]\d{10}/],[`YYYYMMDD`,/\d{8}/],[`GGGG[W]WWE`,/\d{4}W\d{3}/],[`GGGG[W]WW`,/\d{4}W\d{2}/,!1],[`YYYYDDD`,/\d{7}/],[`YYYYMM`,/\d{6}/,!1],[`YYYY`,/\d{4}/,!1]],Ln=[[`HH:mm:ss.SSSS`,/\d\d:\d\d:\d\d\.\d+/],[`HH:mm:ss,SSSS`,/\d\d:\d\d:\d\d,\d+/],[`HH:mm:ss`,/\d\d:\d\d:\d\d/],[`HH:mm`,/\d\d:\d\d/],[`HHmmss.SSSS`,/\d\d\d\d\d\d\.\d+/],[`HHmmss,SSSS`,/\d\d\d\d\d\d,\d+/],[`HHmmss`,/\d\d\d\d\d\d/],[`HHmm`,/\d\d\d\d/],[`HH`,/\d\d/]],Rn=/^\/?Date\((-?\d+)/i,zn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Bn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Vn(e){var t,n,r=e._i,i=Nn.exec(r)||Pn.exec(r),a,o,s,c,l=In.length,u=Ln.length;if(i){for(h(e).iso=!0,t=0,n=l;t<n;t++)if(In[t][1].exec(i[1])){o=In[t][0],a=In[t][2]!==!1;break}if(o==null){e._isValid=!1;return}if(i[3]){for(t=0,n=u;t<n;t++)if(Ln[t][1].exec(i[3])){s=(i[2]||` `)+Ln[t][0];break}if(s==null){e._isValid=!1;return}}if(!a&&s!=null){e._isValid=!1;return}if(i[4]){if(Fn.exec(i[4]))c=`Z`;else{e._isValid=!1;return}}e._f=o+(s||``)+(c||``),$n(e)}else e._isValid=!1}function Hn(e,t,n,r,i,a){var o=[Un(e),yt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&o.push(parseInt(a,10)),o}function Un(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Wn(e){return e.replace(/\([^()]*\)|[\n\t]/g,` `).replace(/(\s\s+)/g,` `).replace(/^\s\s*/,``).replace(/\s\s*$/,``)}function Gn(e,t,n){return e&&Jt.indexOf(e)!==new Date(t[0],t[1],t[2]).getDay()?(h(n).weekdayMismatch=!0,n._isValid=!1,!1):!0}function Kn(e,t,n){if(e)return Bn[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}function qn(e){var t=zn.exec(Wn(e._i)),n;if(t){if(n=Hn(t[4],t[3],t[2],t[5],t[6],t[7]),!Gn(t[1],n,e))return;e._a=n,e._tzm=Kn(t[8],t[9],t[10]),e._d=Pt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function Jn(e){var t=Rn.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Vn(e),e._isValid===!1)delete e._isValid;else return;if(qn(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:i.createFromInputFallback(e)}i.createFromInputFallback=le(`value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.`,function(e){e._d=new Date(e._i+(e._useUTC?` UTC`:``))});function Yn(e,t,n){return e??t??n}function Xn(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Zn(e){var t,n,r=[],i,a,o;if(!e._d){for(i=Xn(e),e._w&&e._a[F]==null&&e._a[P]==null&&Qn(e),e._dayOfYear!=null&&(o=Yn(e._a[N],i[N]),(e._dayOfYear>lt(o)||e._dayOfYear===0)&&(h(e)._overflowDayOfYear=!0),n=Pt(o,0,e._dayOfYear),e._a[P]=n.getUTCMonth(),e._a[F]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=i[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?+(t===2):e._a[t];e._a[I]===24&&e._a[L]===0&&e._a[R]===0&&e._a[ot]===0&&(e._nextDay=!0,e._a[I]=0),e._d=(e._useUTC?Pt:Nt).apply(null,r),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[I]=24),e._w&&e._w.d!==void 0&&e._w.d!==a&&(h(e).weekdayMismatch=!0)}}function Qn(e){var t=e._w,n,r,i,a,o,s,c,l;t.GG!=null||t.W!=null||t.E!=null?(a=1,o=4,n=Yn(t.GG,e._a[N],V(G(),1,4).year),r=Yn(t.W,1),i=Yn(t.E,1),(i<1||i>7)&&(c=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,l=V(G(),a,o),n=Yn(t.gg,e._a[N],l.year),r=Yn(t.w,l.week),t.d==null?t.e==null?i=a:(i=t.e+a,(t.e<0||t.e>6)&&(c=!0)):(i=t.d,(i<0||i>6)&&(c=!0))),r<1||r>Lt(n,a,o)?h(e)._overflowWeeks=!0:c==null?(s=It(n,r,i,a,o),e._a[N]=s.year,e._dayOfYear=s.dayOfYear):h(e)._overflowWeekday=!0}i.ISO_8601=function(){},i.RFC_2822=function(){};function $n(e){if(e._f===i.ISO_8601){Vn(e);return}if(e._f===i.RFC_2822){qn(e);return}e._a=[],h(e).empty=!0;var t=``+e._i,n,r,a,o,s,c=t.length,l=0,u,d;for(a=Ee(e._f,e._locale).match(be)||[],d=a.length,n=0;n<d;n++)o=a[n],r=(t.match(nt(o,e))||[])[0],r&&(s=t.substr(0,t.indexOf(r)),s.length>0&&h(e).unusedInput.push(s),t=t.slice(t.indexOf(r)+r.length),l+=r.length),v[o]?(r?h(e).empty=!1:h(e).unusedTokens.push(o),at(o,r,e)):e._strict&&!r&&h(e).unusedTokens.push(o);h(e).charsLeftOver=c-l,t.length>0&&h(e).unusedInput.push(t),e._a[I]<=12&&h(e).bigHour===!0&&e._a[I]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[I]=er(e._locale,e._a[I],e._meridiem),u=h(e).era,u!==null&&(e._a[N]=e._locale.erasConvertYear(u,e._a[N])),Zn(e),Mn(e)}function er(e,t,n){var r;return n==null?t:e.meridiemHour==null?e.isPM==null?t:(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0),t):e.meridiemHour(t,n)}function tr(e){var t,n,r,i,a,o,s=!1,c=e._f.length;if(c===0){h(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<c;i++)a=0,o=!1,t=se({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[i],$n(t),re(t)&&(o=!0),a+=h(t).charsLeftOver,a+=h(t).unusedTokens.length*10,h(t).score=a,s?a<r&&(r=a,n=t):(r==null||a<r||o)&&(r=a,n=t,o&&(s=!0));p(e,n||t)}function nr(e){if(!e._d){var t=Re(e._i),n=t.day===void 0?t.date:t.day;e._a=ee([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Zn(e)}}function rr(e){var t=new g(Mn(ir(e)));return t._nextDay&&=(t.add(1,`d`),void 0),t}function ir(e){var t=e._i,n=e._f;return e._locale=e._locale||An(e._l),t===null||n===void 0&&t===``?ie({nullInput:!0}):(typeof t==`string`&&(e._i=t=e._locale.preparse(t)),ce(t)?new g(Mn(t)):(f(t)?e._d=t:o(n)?tr(e):n?$n(e):ar(e),re(e)||(e._d=null),e))}function ar(e){var t=e._i;u(t)?e._d=new Date(i.now()):f(t)?e._d=new Date(t.valueOf()):typeof t==`string`?Jn(e):o(t)?(e._a=ee(t.slice(0),function(e){return parseInt(e,10)}),Zn(e)):s(t)?nr(e):d(t)?e._d=new Date(t):i.createFromInputFallback(e)}function W(e,t,n,r,i){var a={};return(t===!0||t===!1)&&(r=t,t=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(s(e)&&l(e)||o(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,rr(a)}function G(e,t,n,r){return W(e,t,n,r,!1)}var or=le(`moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/`,function(){var e=G.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:ie()}),sr=le(`moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/`,function(){var e=G.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:ie()});function cr(e,t){var n,r;if(t.length===1&&o(t[0])&&(t=t[0]),!t.length)return G();for(n=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](n))&&(n=t[r]);return n}function lr(){return cr(`isBefore`,[].slice.call(arguments,0))}function ur(){return cr(`isAfter`,[].slice.call(arguments,0))}var dr=function(){return Date.now?Date.now():+new Date},fr=[`year`,`quarter`,`month`,`week`,`day`,`hour`,`minute`,`second`,`millisecond`];function pr(e){var t,n=!1,r,i=fr.length;for(t in e)if(c(e,t)&&!(B.call(fr,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<i;++r)if(e[fr[r]]){if(n)return!1;parseFloat(e[fr[r]])!==k(e[fr[r]])&&(n=!0)}return!0}function mr(){return this._isValid}function hr(){return K(NaN)}function gr(e){var t=Re(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,c=t.minute||0,l=t.second||0,u=t.millisecond||0;this._isValid=pr(t),this._milliseconds=+u+l*1e3+c*6e4+s*1e3*60*60,this._days=+o+a*7,this._months=+i+r*3+n*12,this._data={},this._locale=An(),this._bubble()}function _r(e){return e instanceof gr}function vr(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function yr(e,t,n){var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,o;for(o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&k(e[o])!==k(t[o]))&&a++;return a+i}function br(e,t){y(e,0,0,function(){var e=this.utcOffset(),n=`+`;return e<0&&(e=-e,n=`-`),n+ye(~~(e/60),2)+t+ye(~~e%60,2)})}br(`Z`,`:`),br(`ZZ`,``),E(`Z`,Ze),E(`ZZ`,Ze),j([`Z`,`ZZ`],function(e,t,n){n._useUTC=!0,n._tzm=Sr(Ze,e)});var xr=/([\+\-]|\d\d)/gi;function Sr(e,t){var n=(t||``).match(e),r,i,a;return n===null?null:(r=n[n.length-1]||[],i=(r+``).match(xr)||[`-`,0,0],a=+(i[1]*60)+k(i[2]),a===0?0:i[0]===`+`?a:-a)}function Cr(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(ce(e)||f(e)?e.valueOf():G(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):G(e).local()}function wr(e){return-Math.round(e._d.getTimezoneOffset())}i.updateOffset=function(){};function Tr(e,t,n){var r=this._offset||0,a;if(!this.isValid())return e==null?NaN:this;if(e!=null){if(typeof e==`string`){if(e=Sr(Ze,e),e===null)return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(a=wr(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,`m`),r!==e&&(!t||this._changeInProgress?Hr(this,K(e-r,`m`),1,!1):this._changeInProgress||=(this._changeInProgress=!0,i.updateOffset(this,!0),null)),this}return this._isUTC?r:wr(this)}function Er(e,t){return e==null?-this.utcOffset():(typeof e!=`string`&&(e=-e),this.utcOffset(e,t),this)}function Dr(e){return this.utcOffset(0,e)}function Or(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(wr(this),`m`)),this}function kr(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i==`string`){var e=Sr(Xe,this._i);e==null?this.utcOffset(0,!0):this.utcOffset(e)}return this}function Ar(e){return this.isValid()?(e=e?G(e).utcOffset():0,(this.utcOffset()-e)%60==0):!1}function jr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Mr(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e={},t;return se(e,this),e=ir(e),e._a?(t=e._isUTC?te(e._a):G(e._a),this._isDSTShifted=this.isValid()&&yr(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Nr(){return this.isValid()?!this._isUTC:!1}function Pr(){return this.isValid()?this._isUTC:!1}function Fr(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Ir=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Lr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function K(e,t){var n=e,r=null,i,a,o;return _r(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:d(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=Ir.exec(e))?(i=r[1]===`-`?-1:1,n={y:0,d:k(r[F])*i,h:k(r[I])*i,m:k(r[L])*i,s:k(r[R])*i,ms:k(vr(r[ot]*1e3))*i}):(r=Lr.exec(e))?(i=r[1]===`-`?-1:1,n={y:Rr(r[2],i),M:Rr(r[3],i),w:Rr(r[4],i),d:Rr(r[5],i),h:Rr(r[6],i),m:Rr(r[7],i),s:Rr(r[8],i)}):n==null?n={}:typeof n==`object`&&(`from`in n||`to`in n)&&(o=Br(G(n.from),G(n.to)),n={},n.ms=o.milliseconds,n.M=o.months),a=new gr(n),_r(e)&&c(e,`_locale`)&&(a._locale=e._locale),_r(e)&&c(e,`_isValid`)&&(a._isValid=e._isValid),a}K.fn=gr.prototype,K.invalid=hr;function Rr(e,t){var n=e&&parseFloat(e.replace(`,`,`.`));return(isNaN(n)?0:n)*t}function zr(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,`M`).isAfter(t)&&--n.months,n.milliseconds=t-+e.clone().add(n.months,`M`),n}function Br(e,t){var n;return e.isValid()&&t.isValid()?(t=Cr(t,e),e.isBefore(t)?n=zr(e,t):(n=zr(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Vr(e,t){return function(n,r){var i,a;return r!==null&&!isNaN(+r)&&(de(t,`moment().`+t+`(period, number) is deprecated. Please use moment().`+t+`(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.`),a=n,n=r,r=a),i=K(n,r),Hr(this,i,e),this}}function Hr(e,t,n,r){var a=t._milliseconds,o=vr(t._days),s=vr(t._months);e.isValid()&&(r??=!0,s&&Dt(e,pt(e,`Month`)+s*n),o&&mt(e,`Date`,pt(e,`Date`)+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&i.updateOffset(e,o||s))}var Ur=Vr(1,`add`),Wr=Vr(-1,`subtract`);function Gr(e){return typeof e==`string`||e instanceof String}function Kr(e){return ce(e)||f(e)||Gr(e)||d(e)||Jr(e)||qr(e)||e==null}function qr(e){var t=s(e)&&!l(e),n=!1,r=[`years`,`year`,`y`,`months`,`month`,`M`,`days`,`day`,`d`,`dates`,`date`,`D`,`hours`,`hour`,`h`,`minutes`,`minute`,`m`,`seconds`,`second`,`s`,`milliseconds`,`millisecond`,`ms`],i,a,o=r.length;for(i=0;i<o;i+=1)a=r[i],n||=c(e,a);return t&&n}function Jr(e){var t=o(e),n=!1;return t&&(n=e.filter(function(t){return!d(t)&&Gr(e)}).length===0),t&&n}function Yr(e){var t=s(e)&&!l(e),n=!1,r=[`sameDay`,`nextDay`,`lastDay`,`nextWeek`,`lastWeek`,`sameElse`],i,a;for(i=0;i<r.length;i+=1)a=r[i],n||=c(e,a);return t&&n}function Xr(e,t){var n=e.diff(t,`days`,!0);return n<-6?`sameElse`:n<-1?`lastWeek`:n<0?`lastDay`:n<1?`sameDay`:n<2?`nextDay`:n<7?`nextWeek`:`sameElse`}function Zr(e,t){arguments.length===1&&(arguments[0]?Kr(arguments[0])?(e=arguments[0],t=void 0):Yr(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||G(),r=Cr(n,this).startOf(`day`),a=i.calendarFormat(this,r)||`sameElse`,o=t&&(fe(t[a])?t[a].call(this,n):t[a]);return this.format(o||this.localeData().calendar(a,this,G(n)))}function Qr(){return new g(this)}function $r(e,t){var n=ce(e)?e:G(e);return this.isValid()&&n.isValid()?(t=b(t)||`millisecond`,t===`millisecond`?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function ei(e,t){var n=ce(e)?e:G(e);return this.isValid()&&n.isValid()?(t=b(t)||`millisecond`,t===`millisecond`?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function ti(e,t,n,r){var i=ce(e)?e:G(e),a=ce(t)?t:G(t);return this.isValid()&&i.isValid()&&a.isValid()?(r||=`()`,(r[0]===`(`?this.isAfter(i,n):!this.isBefore(i,n))&&(r[1]===`)`?this.isBefore(a,n):!this.isAfter(a,n))):!1}function ni(e,t){var n=ce(e)?e:G(e),r;return this.isValid()&&n.isValid()?(t=b(t)||`millisecond`,t===`millisecond`?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function ri(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function ii(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function ai(e,t,n){var r,i,a;if(!this.isValid()||(r=Cr(e,this),!r.isValid()))return NaN;switch(i=(r.utcOffset()-this.utcOffset())*6e4,t=b(t),t){case`year`:a=oi(this,r)/12;break;case`month`:a=oi(this,r);break;case`quarter`:a=oi(this,r)/3;break;case`second`:a=(this-r)/1e3;break;case`minute`:a=(this-r)/6e4;break;case`hour`:a=(this-r)/36e5;break;case`day`:a=(this-r-i)/864e5;break;case`week`:a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:O(a)}function oi(e,t){if(e.date()<t.date())return-oi(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(n,`months`),i,a;return t-r<0?(i=e.clone().add(n-1,`months`),a=(t-r)/(r-i)):(i=e.clone().add(n+1,`months`),a=(t-r)/(i-r)),-(n+a)||0}i.defaultFormat=`YYYY-MM-DDTHH:mm:ssZ`,i.defaultFormatUtc=`YYYY-MM-DDTHH:mm:ss[Z]`;function si(){return this.clone().locale(`en`).format(`ddd MMM DD YYYY HH:mm:ss [GMT]ZZ`)}function ci(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?Te(n,t?`YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]`:`YYYYYY-MM-DD[T]HH:mm:ss.SSSZ`):fe(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace(`Z`,Te(n,`Z`)):Te(n,t?`YYYY-MM-DD[T]HH:mm:ss.SSS[Z]`:`YYYY-MM-DD[T]HH:mm:ss.SSSZ`)}function li(){if(!this.isValid())return`moment.invalid(/* `+this._i+` */)`;var e=`moment`,t=``,n,r,i,a;return this.isLocal()||(e=this.utcOffset()===0?`moment.utc`:`moment.parseZone`,t=`Z`),n=`[`+e+`("]`,r=0<=this.year()&&this.year()<=9999?`YYYY`:`YYYYYY`,i=`-MM-DD[T]HH:mm:ss.SSS`,a=t+`[")]`,this.format(n+r+i+a)}function ui(e){e||=this.isUtc()?i.defaultFormatUtc:i.defaultFormat;var t=Te(this,e);return this.localeData().postformat(t)}function di(e,t){return this.isValid()&&(ce(e)&&e.isValid()||G(e).isValid())?K({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function fi(e){return this.from(G(),e)}function pi(e,t){return this.isValid()&&(ce(e)&&e.isValid()||G(e).isValid())?K({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function mi(e){return this.to(G(),e)}function hi(e){var t;return e===void 0?this._locale._abbr:(t=An(e),t!=null&&(this._locale=t),this)}var gi=le(`moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.`,function(e){return e===void 0?this.localeData():this.locale(e)});function _i(){return this._locale}var vi=1e3,yi=60*vi,bi=60*yi,xi=3506328*bi;function Si(e,t){return(e%t+t)%t}function Ci(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-xi:new Date(e,t,n).valueOf()}function wi(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-xi:Date.UTC(e,t,n)}function Ti(e){var t,n;if(e=b(e),e===void 0||e===`millisecond`||!this.isValid())return this;switch(n=this._isUTC?wi:Ci,e){case`year`:t=n(this.year(),0,1);break;case`quarter`:t=n(this.year(),this.month()-this.month()%3,1);break;case`month`:t=n(this.year(),this.month(),1);break;case`week`:t=n(this.year(),this.month(),this.date()-this.weekday());break;case`isoWeek`:t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case`day`:case`date`:t=n(this.year(),this.month(),this.date());break;case`hour`:t=this._d.valueOf(),t-=Si(t+(this._isUTC?0:this.utcOffset()*yi),bi);break;case`minute`:t=this._d.valueOf(),t-=Si(t,yi);break;case`second`:t=this._d.valueOf(),t-=Si(t,vi)}return this._d.setTime(t),i.updateOffset(this,!0),this}function Ei(e){var t,n;if(e=b(e),e===void 0||e===`millisecond`||!this.isValid())return this;switch(n=this._isUTC?wi:Ci,e){case`year`:t=n(this.year()+1,0,1)-1;break;case`quarter`:t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case`month`:t=n(this.year(),this.month()+1,1)-1;break;case`week`:t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case`isoWeek`:t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case`day`:case`date`:t=n(this.year(),this.month(),this.date()+1)-1;break;case`hour`:t=this._d.valueOf(),t+=bi-Si(t+(this._isUTC?0:this.utcOffset()*yi),bi)-1;break;case`minute`:t=this._d.valueOf(),t+=yi-Si(t,yi)-1;break;case`second`:t=this._d.valueOf(),t+=vi-Si(t,vi)-1}return this._d.setTime(t),i.updateOffset(this,!0),this}function Di(){return this._d.valueOf()-(this._offset||0)*6e4}function Oi(){return Math.floor(this.valueOf()/1e3)}function ki(){return new Date(this.valueOf())}function Ai(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ji(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Mi(){return this.isValid()?this.toISOString():null}function Ni(){return re(this)}function Pi(){return p({},h(this))}function Fi(){return h(this).overflow}function Ii(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}y(`N`,0,0,`eraAbbr`),y(`NN`,0,0,`eraAbbr`),y(`NNN`,0,0,`eraAbbr`),y(`NNNN`,0,0,`eraName`),y(`NNNNN`,0,0,`eraNarrow`),y(`y`,[`y`,1],`yo`,`eraYear`),y(`y`,[`yy`,2],0,`eraYear`),y(`y`,[`yyy`,3],0,`eraYear`),y(`y`,[`yyyy`,4],0,`eraYear`),E(`N`,qi),E(`NN`,qi),E(`NNN`,qi),E(`NNNN`,Ji),E(`NNNNN`,Yi),j([`N`,`NN`,`NNN`,`NNNN`,`NNNNN`],function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?h(n).era=i:h(n).invalidEra=e}),E(`y`,Je),E(`yy`,Je),E(`yyy`,Je),E(`yyyy`,Je),E(`yo`,Xi),j([`y`,`yy`,`yyy`,`yyyy`],N),j([`yo`],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),t[N]=n._locale.eraYearOrdinalParse?n._locale.eraYearOrdinalParse(e,i):parseInt(e,10)});function Li(e,t){var n,r,a,o=this._eras||An(`en`)._eras;for(n=0,r=o.length;n<r;++n)switch(typeof o[n].since==`string`&&(a=i(o[n].since).startOf(`day`),o[n].since=a.valueOf()),typeof o[n].until){case`undefined`:o[n].until=1/0;break;case`string`:a=i(o[n].until).startOf(`day`).valueOf(),o[n].until=a.valueOf()}return o}function Ri(e,t,n){var r,i,a=this.eras(),o,s,c;for(e=e.toUpperCase(),r=0,i=a.length;r<i;++r)if(o=a[r].name.toUpperCase(),s=a[r].abbr.toUpperCase(),c=a[r].narrow.toUpperCase(),n)switch(t){case`N`:case`NN`:case`NNN`:if(s===e)return a[r];break;case`NNNN`:if(o===e)return a[r];break;case`NNNNN`:if(c===e)return a[r]}else if([o,s,c].indexOf(e)>=0)return a[r]}function zi(e,t){var n=e.since<=e.until?1:-1;return t===void 0?i(e.since).year():i(e.since).year()+(t-e.offset)*n}function Bi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf(`day`).valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].name;return``}function Vi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf(`day`).valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].narrow;return``}function Hi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf(`day`).valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].abbr;return``}function Ui(){var e,t,n,r,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,r=this.clone().startOf(`day`).valueOf(),a[e].since<=r&&r<=a[e].until||a[e].until<=r&&r<=a[e].since)return(this.year()-i(a[e].since).year())*n+a[e].offset;return this.year()}function Wi(e){return c(this,`_erasNameRegex`)||Zi.call(this),e?this._erasNameRegex:this._erasRegex}function Gi(e){return c(this,`_erasAbbrRegex`)||Zi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ki(e){return c(this,`_erasNarrowRegex`)||Zi.call(this),e?this._erasNarrowRegex:this._erasRegex}function qi(e,t){return t.erasAbbrRegex(e)}function Ji(e,t){return t.erasNameRegex(e)}function Yi(e,t){return t.erasNarrowRegex(e)}function Xi(e,t){return t._eraYearOrdinalRegex||Je}function Zi(){var e=[],t=[],n=[],r=[],i,a,o,s,c,l=this.eras();for(i=0,a=l.length;i<a;++i)o=D(l[i].name),s=D(l[i].abbr),c=D(l[i].narrow),t.push(o),e.push(s),n.push(c),r.push(o),r.push(s),r.push(c);this._erasRegex=RegExp(`^(`+r.join(`|`)+`)`,`i`),this._erasNameRegex=RegExp(`^(`+t.join(`|`)+`)`,`i`),this._erasAbbrRegex=RegExp(`^(`+e.join(`|`)+`)`,`i`),this._erasNarrowRegex=RegExp(`^(`+n.join(`|`)+`)`,`i`)}y(0,[`gg`,2],0,function(){return this.weekYear()%100}),y(0,[`GG`,2],0,function(){return this.isoWeekYear()%100});function Qi(e,t){y(0,[e,e.length],0,t)}Qi(`gggg`,`weekYear`),Qi(`ggggg`,`weekYear`),Qi(`GGGG`,`isoWeekYear`),Qi(`GGGGG`,`isoWeekYear`),E(`G`,Ye),E(`g`,Ye),E(`GG`,w,S),E(`gg`,w,S),E(`GGGG`,Ke,He),E(`gggg`,Ke,He),E(`GGGGG`,qe,C),E(`ggggg`,qe,C),it([`gggg`,`ggggg`,`GGGG`,`GGGGG`],function(e,t,n,r){t[r.substr(0,2)]=k(e)}),it([`gg`,`GG`],function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)});function $i(e){return aa.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function ea(e){return aa.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function ta(){return Lt(this.year(),1,4)}function na(){return Lt(this.isoWeekYear(),1,4)}function ra(){var e=this.localeData()._week;return Lt(this.year(),e.dow,e.doy)}function ia(){var e=this.localeData()._week;return Lt(this.weekYear(),e.dow,e.doy)}function aa(e,t,n,r,i){var a;return e==null?V(this,r,i).year:(a=Lt(e,r,i),t>a&&(t=a),oa.call(this,e,t,n,r,i))}function oa(e,t,n,r,i){var a=It(e,t,n,r,i),o=Pt(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}y(`Q`,0,`Qo`,`quarter`),E(`Q`,x),j(`Q`,function(e,t){t[P]=(k(e)-1)*3});function sa(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}y(`D`,[`DD`,2],`Do`,`date`),E(`D`,w,et),E(`DD`,w,S),E(`Do`,function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),j([`D`,`DD`],F),j(`Do`,function(e,t){t[F]=k(e.match(w)[0])});var ca=ft(`Date`,!0);y(`DDD`,[`DDDD`,3],`DDDo`,`dayOfYear`),E(`DDD`,Ge),E(`DDDD`,Ve),j([`DDD`,`DDDD`],function(e,t,n){n._dayOfYear=k(e)});function la(e){var t=Math.round((this.clone().startOf(`day`)-this.clone().startOf(`year`))/864e5)+1;return e==null?t:this.add(e-t,`d`)}y(`m`,[`mm`,2],0,`minute`),E(`m`,w,tt),E(`mm`,w,S),j([`m`,`mm`],L);var ua=ft(`Minutes`,!1);y(`s`,[`ss`,2],0,`second`),E(`s`,w,tt),E(`ss`,w,S),j([`s`,`ss`],R);var da=ft(`Seconds`,!1);y(`S`,0,0,function(){return~~(this.millisecond()/100)}),y(0,[`SS`,2],0,function(){return~~(this.millisecond()/10)}),y(0,[`SSS`,3],0,`millisecond`),y(0,[`SSSS`,4],0,function(){return this.millisecond()*10}),y(0,[`SSSSS`,5],0,function(){return this.millisecond()*100}),y(0,[`SSSSSS`,6],0,function(){return this.millisecond()*1e3}),y(0,[`SSSSSSS`,7],0,function(){return this.millisecond()*1e4}),y(0,[`SSSSSSSS`,8],0,function(){return this.millisecond()*1e5}),y(0,[`SSSSSSSSS`,9],0,function(){return this.millisecond()*1e6}),E(`S`,Ge,x),E(`SS`,Ge,S),E(`SSS`,Ge,Ve);var fa,pa;for(fa=`SSSS`;fa.length<=9;fa+=`S`)E(fa,Je);function ma(e,t){t[ot]=k((`0.`+e)*1e3)}for(fa=`S`;fa.length<=9;fa+=`S`)j(fa,ma);pa=ft(`Milliseconds`,!1),y(`z`,0,0,`zoneAbbr`),y(`zz`,0,0,`zoneName`);function ha(){return this._isUTC?`UTC`:``}function q(){return this._isUTC?`Coordinated Universal Time`:``}var J=g.prototype;J.add=Ur,J.calendar=Zr,J.clone=Qr,J.diff=ai,J.endOf=Ei,J.format=ui,J.from=di,J.fromNow=fi,J.to=pi,J.toNow=mi,J.get=ht,J.invalidAt=Fi,J.isAfter=$r,J.isBefore=ei,J.isBetween=ti,J.isSame=ni,J.isSameOrAfter=ri,J.isSameOrBefore=ii,J.isValid=Ni,J.lang=gi,J.locale=hi,J.localeData=_i,J.max=sr,J.min=or,J.parsingFlags=Pi,J.set=gt,J.startOf=Ti,J.subtract=Wr,J.toArray=Ai,J.toObject=ji,J.toDate=ki,J.toISOString=ci,J.inspect=li,typeof Symbol<`u`&&Symbol.for!=null&&(J[Symbol.for(`nodejs.util.inspect.custom`)]=function(){return`Moment<`+this.format()+`>`}),J.toJSON=Mi,J.toString=si,J.unix=Oi,J.valueOf=Di,J.creationData=Ii,J.eraName=Bi,J.eraNarrow=Vi,J.eraAbbr=Hi,J.eraYear=Ui,J.year=ut,J.isLeapYear=dt,J.weekYear=$i,J.isoWeekYear=ea,J.quarter=J.quarters=sa,J.month=Ot,J.daysInMonth=kt,J.week=J.weeks=Ht,J.isoWeek=J.isoWeeks=Ut,J.weeksInYear=ra,J.weeksInWeekYear=ia,J.isoWeeksInYear=ta,J.isoWeeksInISOWeekYear=na,J.date=ca,J.day=J.days=an,J.weekday=on,J.isoWeekday=sn,J.dayOfYear=la,J.hour=J.hours=vn,J.minute=J.minutes=ua,J.second=J.seconds=da,J.millisecond=J.milliseconds=pa,J.utcOffset=Tr,J.utc=Dr,J.local=Or,J.parseZone=kr,J.hasAlignedHourOffset=Ar,J.isDST=jr,J.isLocal=Nr,J.isUtcOffset=Pr,J.isUtc=Fr,J.isUTC=Fr,J.zoneAbbr=ha,J.zoneName=q,J.dates=le(`dates accessor is deprecated. Use date instead.`,ca),J.months=le(`months accessor is deprecated. Use month instead`,Ot),J.years=le(`years accessor is deprecated. Use year instead`,ut),J.zone=le(`moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/`,Er),J.isDSTShifted=le(`isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information`,Mr);function ga(e){return G(e*1e3)}function _a(){return G.apply(null,arguments).parseZone()}function Y(e){return e}var X=he.prototype;X.calendar=ve,X.longDateFormat=Oe,X.invalidDate=Ae,X.ordinal=Ne,X.preparse=Y,X.postformat=Y,X.relativeTime=Fe,X.pastFuture=Ie,X.set=pe,X.eras=Li,X.erasParse=Ri,X.erasConvertYear=zi,X.erasAbbrRegex=Gi,X.erasNameRegex=Wi,X.erasNarrowRegex=Ki,X.months=Ct,X.monthsShort=wt,X.monthsParse=Et,X.monthsRegex=jt,X.monthsShortRegex=At,X.week=Rt,X.firstDayOfYear=Vt,X.firstDayOfWeek=Bt,X.weekdays=$t,X.weekdaysMin=tn,X.weekdaysShort=en,X.weekdaysParse=rn,X.weekdaysRegex=cn,X.weekdaysShortRegex=ln,X.weekdaysMinRegex=un,X.isPM=gn,X.meridiem=yn;function va(e,t,n,r){var i=An(),a=te().set(r,t);return i[n](a,e)}function ya(e,t,n){if(d(e)&&(t=e,e=void 0),e||=``,t!=null)return va(e,t,n,`month`);var r,i=[];for(r=0;r<12;r++)i[r]=va(e,r,n,`month`);return i}function ba(e,t,n,r){typeof e==`boolean`?(d(t)&&(n=t,t=void 0),t||=``):(t=e,n=t,e=!1,d(t)&&(n=t,t=void 0),t||=``);var i=An(),a=e?i._week.dow:0,o,s=[];if(n!=null)return va(t,(n+a)%7,r,`day`);for(o=0;o<7;o++)s[o]=va(t,(o+a)%7,r,`day`);return s}function xa(e,t){return ya(e,t,`months`)}function Sa(e,t){return ya(e,t,`monthsShort`)}function Ca(e,t,n){return ba(e,t,n,`weekdays`)}function wa(e,t,n){return ba(e,t,n,`weekdaysShort`)}function Ta(e,t,n){return ba(e,t,n,`weekdaysMin`)}Dn(`en`,{eras:[{since:`0001-01-01`,until:1/0,offset:1,name:`Anno Domini`,narrow:`AD`,abbr:`AD`},{since:`0000-12-31`,until:-1/0,offset:1,name:`Before Christ`,narrow:`BC`,abbr:`BC`}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(k(e%100/10)===1?`th`:t===1?`st`:t===2?`nd`:t===3?`rd`:`th`)}}),i.lang=le(`moment.lang is deprecated. Use moment.locale instead.`,Dn),i.langData=le(`moment.langData is deprecated. Use moment.localeData instead.`,An);var Ea=Math.abs;function Da(){var e=this._data;return this._milliseconds=Ea(this._milliseconds),this._days=Ea(this._days),this._months=Ea(this._months),e.milliseconds=Ea(e.milliseconds),e.seconds=Ea(e.seconds),e.minutes=Ea(e.minutes),e.hours=Ea(e.hours),e.months=Ea(e.months),e.years=Ea(e.years),this}function Oa(e,t,n,r){var i=K(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function ka(e,t){return Oa(this,e,t,1)}function Aa(e,t){return Oa(this,e,t,-1)}function ja(e){return e<0?Math.floor(e):Math.ceil(e)}function Ma(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,i,a,o,s,c;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=ja(Pa(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,i=O(e/1e3),r.seconds=i%60,a=O(i/60),r.minutes=a%60,o=O(a/60),r.hours=o%24,t+=O(o/24),c=O(Na(t)),n+=c,t-=ja(Pa(c)),s=O(n/12),n%=12,r.days=t,r.months=n,r.years=s,this}function Na(e){return e*4800/146097}function Pa(e){return e*146097/4800}function Fa(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=b(e),e===`month`||e===`quarter`||e===`year`)switch(t=this._days+r/864e5,n=this._months+Na(t),e){case`month`:return n;case`quarter`:return n/3;case`year`:return n/12}else switch(t=this._days+Math.round(Pa(this._months)),e){case`week`:return t/7+r/6048e5;case`day`:return t+r/864e5;case`hour`:return t*24+r/36e5;case`minute`:return t*1440+r/6e4;case`second`:return t*86400+r/1e3;case`millisecond`:return Math.floor(t*864e5)+r;default:throw Error(`Unknown unit `+e)}}function Ia(e){return function(){return this.as(e)}}var La=Ia(`ms`),Ra=Ia(`s`),za=Ia(`m`),Ba=Ia(`h`),Va=Ia(`d`),Ha=Ia(`w`),Ua=Ia(`M`),Wa=Ia(`Q`),Ga=Ia(`y`),Ka=La;function qa(){return K(this)}function Ja(e){return e=b(e),this.isValid()?this[e+`s`]():NaN}function Ya(e){return function(){return this.isValid()?this._data[e]:NaN}}var Xa=Ya(`milliseconds`),Za=Ya(`seconds`),Qa=Ya(`minutes`),$a=Ya(`hours`),eo=Ya(`days`),to=Ya(`months`),no=Ya(`years`);function ro(){return O(this.days()/7)}var Z=Math.round,io={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ao(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function oo(e,t,n,r){var i=K(e).abs(),a=Z(i.as(`s`)),o=Z(i.as(`m`)),s=Z(i.as(`h`)),c=Z(i.as(`d`)),l=Z(i.as(`M`)),u=Z(i.as(`w`)),d=Z(i.as(`y`)),f=a<=n.ss&&[`s`,a]||a<n.s&&[`ss`,a]||o<=1&&[`m`]||o<n.m&&[`mm`,o]||s<=1&&[`h`]||s<n.h&&[`hh`,s]||c<=1&&[`d`]||c<n.d&&[`dd`,c];return n.w!=null&&(f=f||u<=1&&[`w`]||u<n.w&&[`ww`,u]),f=f||l<=1&&[`M`]||l<n.M&&[`MM`,l]||d<=1&&[`y`]||[`yy`,d],f[2]=t,f[3]=+e>0,f[4]=r,ao.apply(null,f)}function so(e){return e===void 0?Z:typeof e==`function`&&(Z=e,!0)}function co(e,t){return io[e]===void 0?!1:t===void 0?io[e]:(io[e]=t,e===`s`&&(io.ss=t-1),!0)}function lo(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=io,i,a;return typeof e==`object`&&(t=e,e=!1),typeof e==`boolean`&&(n=e),typeof t==`object`&&(r=Object.assign({},io,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),i=this.localeData(),a=oo(this,!n,r,i),n&&(a=i.pastFuture(+this,a)),i.postformat(a)}var uo=Math.abs;function fo(e){return(e>0)-(e<0)||+e}function Q(){if(!this.isValid())return this.localeData().invalidDate();var e=uo(this._milliseconds)/1e3,t=uo(this._days),n=uo(this._months),r,i,a,o,s=this.asSeconds(),c,l,u,d;return s?(r=O(e/60),i=O(r/60),e%=60,r%=60,a=O(n/12),n%=12,o=e?e.toFixed(3).replace(/\.?0+$/,``):``,c=s<0?`-`:``,l=fo(this._months)===fo(s)?``:`-`,u=fo(this._days)===fo(s)?``:`-`,d=fo(this._milliseconds)===fo(s)?``:`-`,c+`P`+(a?l+a+`Y`:``)+(n?l+n+`M`:``)+(t?u+t+`D`:``)+(i||r||e?`T`:``)+(i?d+i+`H`:``)+(r?d+r+`M`:``)+(e?d+o+`S`:``)):`P0D`}var $=gr.prototype;$.isValid=mr,$.abs=Da,$.add=ka,$.subtract=Aa,$.as=Fa,$.asMilliseconds=La,$.asSeconds=Ra,$.asMinutes=za,$.asHours=Ba,$.asDays=Va,$.asWeeks=Ha,$.asMonths=Ua,$.asQuarters=Wa,$.asYears=Ga,$.valueOf=Ka,$._bubble=Ma,$.clone=qa,$.get=Ja,$.milliseconds=Xa,$.seconds=Za,$.minutes=Qa,$.hours=$a,$.days=eo,$.weeks=ro,$.months=to,$.years=no,$.humanize=lo,$.toISOString=Q,$.toString=Q,$.toJSON=Q,$.locale=hi,$.localeData=_i,$.toIsoString=le(`toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)`,Q),$.lang=gi,y(`X`,0,0,`unix`),y(`x`,0,0,`valueOf`),E(`x`,Ye),E(`X`,Qe),j(`X`,function(e,t,n){n._d=new Date(parseFloat(e)*1e3)}),j(`x`,function(e,t,n){n._d=new Date(k(e))}),i.version=`2.30.1`,a(G),i.fn=J,i.min=lr,i.max=ur,i.now=dr,i.utc=te,i.unix=ga,i.months=xa,i.isDate=f,i.locale=Dn,i.invalid=ie,i.duration=K,i.isMoment=ce,i.weekdays=Ca,i.parseZone=_a,i.localeData=An,i.isDuration=_r,i.monthsShort=Sa,i.weekdaysMin=Ta,i.defineLocale=On,i.updateLocale=kn,i.locales=jn,i.weekdaysShort=wa,i.normalizeUnits=b,i.relativeTimeRounding=so,i.relativeTimeThreshold=co,i.calendarFormat=Xr,i.prototype=J,i.HTML5_FMT={DATETIME_LOCAL:`YYYY-MM-DDTHH:mm`,DATETIME_LOCAL_SECONDS:`YYYY-MM-DDTHH:mm:ss`,DATETIME_LOCAL_MS:`YYYY-MM-DDTHH:mm:ss.SSS`,DATE:`YYYY-MM-DD`,TIME:`HH:mm`,TIME_SECONDS:`HH:mm:ss`,TIME_MS:`HH:mm:ss.SSS`,WEEK:`GGGG-[W]WW`,MONTH:`YYYY-MM`};var po=t(((t,n)=>{(function(e,r){typeof t==`object`&&n!==void 0?n.exports=r():e.moment=r()})(t,(function(){var t;function r(){return t.apply(null,arguments)}function i(e){t=e}function a(e){return e instanceof Array||Object.prototype.toString.call(e)===`[object Array]`}function o(e){return e!=null&&Object.prototype.toString.call(e)===`[object Object]`}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;for(var t in e)if(s(e,t))return!1;return!0}function l(e){return e===void 0}function u(e){return typeof e==`number`||Object.prototype.toString.call(e)===`[object Number]`}function d(e){return e instanceof Date||Object.prototype.toString.call(e)===`[object Date]`}function f(e,t){var n=[],r,i=e.length;for(r=0;r<i;++r)n.push(t(e[r],r));return n}function ee(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,`toString`)&&(e.toString=t.toString),s(t,`valueOf`)&&(e.valueOf=t.valueOf),e}function p(e,t,n,r){return ar(e,t,n,r,!0).utc()}function te(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function m(e){return e._pf??=te(),e._pf}var h=Array.prototype.some?Array.prototype.some:function(e){var t=Object(this),n=t.length>>>0,r;for(r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function ne(e){var t=null,n=!1,r=e._d&&!isNaN(e._d.getTime());if(r&&(t=m(e),n=h.call(t.parsedDateParts,function(e){return e!=null}),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r;return e._isValid}function re(e){var t=p(NaN);return e==null?m(t).userInvalidated=!0:ee(m(t),e),t}var ie=r.momentProperties=[],ae=!1;function oe(e,t){var n,r,i,a=ie.length;if(l(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),l(t._i)||(e._i=t._i),l(t._f)||(e._f=t._f),l(t._l)||(e._l=t._l),l(t._strict)||(e._strict=t._strict),l(t._tzm)||(e._tzm=t._tzm),l(t._isUTC)||(e._isUTC=t._isUTC),l(t._offset)||(e._offset=t._offset),l(t._pf)||(e._pf=m(t)),l(t._locale)||(e._locale=t._locale),a>0)for(n=0;n<a;n++)r=ie[n],i=t[r],l(i)||(e[r]=i);return e}function se(e){oe(this,e),this._d=new Date(e._d==null?NaN:e._d.getTime()),this.isValid()||(this._d=new Date(NaN)),ae===!1&&(ae=!0,r.updateOffset(this),ae=!1)}function g(e){return e instanceof se||e!=null&&e._isAMomentObject!=null}function ce(e){r.suppressDeprecationWarnings===!1&&typeof console<`u`&&console.warn&&console.warn(`Deprecation warning: `+e)}function _(e,t){var n=!0;return ee(function(){if(r.deprecationHandler!=null&&r.deprecationHandler(null,e),n){var i=[],a,o,c,l=arguments.length;for(o=0;o<l;o++){if(a=``,typeof arguments[o]==`object`){for(c in a+=`
5
+ [`+o+`] `,arguments[0])s(arguments[0],c)&&(a+=c+`: `+arguments[0][c]+`, `);a=a.slice(0,-2)}else a=arguments[o];i.push(a)}ce(e+`
6
+ Arguments: `+Array.prototype.slice.call(i).join(``)+`
7
+ `+Error().stack),n=!1}return t.apply(this,arguments)},t)}var le={};function ue(e,t){r.deprecationHandler!=null&&r.deprecationHandler(e,t),le[e]||(ce(t),le[e]=!0)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null;function de(e){return typeof Function<`u`&&e instanceof Function||Object.prototype.toString.call(e)===`[object Function]`}function fe(e){var t,n;for(n in e)s(e,n)&&(t=e[n],de(t)?this[n]=t:this[`_`+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+`|\\d{1,2}`)}function pe(e,t){var n=ee({},e),r;for(r in t)s(t,r)&&(o(e[r])&&o(t[r])?(n[r]={},ee(n[r],e[r]),ee(n[r],t[r])):t[r]==null?delete n[r]:n[r]=t[r]);for(r in e)s(e,r)&&!s(t,r)&&o(e[r])&&(n[r]=ee({},n[r]));return n}function me(e){e!=null&&this.set(e)}var he=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n},ge={sameDay:`[Today at] LT`,nextDay:`[Tomorrow at] LT`,nextWeek:`dddd [at] LT`,lastDay:`[Yesterday at] LT`,lastWeek:`[Last] dddd [at] LT`,sameElse:`L`};function _e(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return de(r)?r.call(t,n):r}function ve(e,t,n){var r=``+Math.abs(e),i=t-r.length;return(e>=0?n?`+`:``:`-`)+(10**Math.max(0,i)).toString().substr(1)+r}var ye=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,be=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,xe={},Se={};function v(e,t,n,r){var i=r;typeof r==`string`&&(i=function(){return this[r]()}),e&&(Se[e]=i),t&&(Se[t[0]]=function(){return ve(i.apply(this,arguments),t[1],t[2])}),n&&(Se[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function y(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,``):e.replace(/\\/g,``)}function Ce(e){var t=e.match(ye),n,r;for(n=0,r=t.length;n<r;n++)Se[t[n]]?t[n]=Se[t[n]]:t[n]=y(t[n]);return function(n){var i=``,a;for(a=0;a<r;a++)i+=de(t[a])?t[a].call(n,e):t[a];return i}}function we(e,t){return e.isValid()?(t=Te(t,e.localeData()),xe[t]=xe[t]||Ce(t),xe[t](e)):e.localeData().invalidDate()}function Te(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(be.lastIndex=0;n>=0&&be.test(e);)e=e.replace(be,r),be.lastIndex=0,--n;return e}var Ee={LTS:`h:mm:ss A`,LT:`h:mm A`,L:`MM/DD/YYYY`,LL:`MMMM D, YYYY`,LLL:`MMMM D, YYYY h:mm A`,LLLL:`dddd, MMMM D, YYYY h:mm A`};function De(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ye).map(function(e){return e===`MMMM`||e===`MM`||e===`DD`||e===`dddd`?e.slice(1):e}).join(``),this._longDateFormat[e])}var Oe=`Invalid date`;function ke(){return this._invalidDate}var Ae=`%d`,je=/\d{1,2}/;function Me(e){return this._ordinal.replace(`%d`,e)}var Ne={future:`in %s`,past:`%s ago`,s:`a few seconds`,ss:`%d seconds`,m:`a minute`,mm:`%d minutes`,h:`an hour`,hh:`%d hours`,d:`a day`,dd:`%d days`,w:`a week`,ww:`%d weeks`,M:`a month`,MM:`%d months`,y:`a year`,yy:`%d years`};function Pe(e,t,n,r){var i=this._relativeTime[n];return de(i)?i(e,t,n,r):i.replace(/%d/i,e)}function Fe(e,t){var n=this._relativeTime[e>0?`future`:`past`];return de(n)?n(t):n.replace(/%s/i,t)}var Ie={D:`date`,dates:`date`,date:`date`,d:`day`,days:`day`,day:`day`,e:`weekday`,weekdays:`weekday`,weekday:`weekday`,E:`isoWeekday`,isoweekdays:`isoWeekday`,isoweekday:`isoWeekday`,DDD:`dayOfYear`,dayofyears:`dayOfYear`,dayofyear:`dayOfYear`,h:`hour`,hours:`hour`,hour:`hour`,ms:`millisecond`,milliseconds:`millisecond`,millisecond:`millisecond`,m:`minute`,minutes:`minute`,minute:`minute`,M:`month`,months:`month`,month:`month`,Q:`quarter`,quarters:`quarter`,quarter:`quarter`,s:`second`,seconds:`second`,second:`second`,gg:`weekYear`,weekyears:`weekYear`,weekyear:`weekYear`,GG:`isoWeekYear`,isoweekyears:`isoWeekYear`,isoweekyear:`isoWeekYear`,w:`week`,weeks:`week`,week:`week`,W:`isoWeek`,isoweeks:`isoWeek`,isoweek:`isoWeek`,y:`year`,years:`year`,year:`year`};function Le(e){return typeof e==`string`?Ie[e]||Ie[e.toLowerCase()]:void 0}function b(e){var t={},n,r;for(r in e)s(e,r)&&(n=Le(r),n&&(t[n]=e[r]));return t}var Re={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function ze(e){var t=[],n;for(n in e)s(e,n)&&t.push({unit:n,priority:Re[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}var Be=/\d/,x=/\d\d/,S=/\d{3}/,Ve=/\d{4}/,He=/[+-]?\d{6}/,C=/\d\d?/,w=/\d\d\d\d?/,Ue=/\d\d\d\d\d\d?/,We=/\d{1,3}/,Ge=/\d{1,4}/,Ke=/[+-]?\d{1,6}/,qe=/\d+/,Je=/[+-]?\d+/,Ye=/Z|[+-]\d\d:?\d\d/gi,Xe=/Z|[+-]\d\d(?::?\d\d)?/gi,Ze=/[+-]?\d+(\.\d{1,3})?/,Qe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,$e=/^[1-9]\d?/,et=/^([1-9]\d|\d)/,tt={};function T(e,t,n){tt[e]=de(t)?t:function(e,r){return e&&n?n:t}}function E(e,t){return s(tt,e)?tt[e](t._strict,t._locale):new RegExp(nt(e))}function nt(e){return rt(e.replace(`\\`,``).replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function rt(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,`\\$&`)}function D(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function O(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=D(t)),n}var k={};function A(e,t){var n,r=t,i;for(typeof e==`string`&&(e=[e]),u(t)&&(r=function(e,n){n[t]=O(e)}),i=e.length,n=0;n<i;n++)k[e[n]]=r}function j(e,t){A(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function it(e,t,n){t!=null&&s(k,e)&&k[e](t,n._a,n,e)}function at(e){return e%4==0&&e%100!=0||e%400==0}var M=0,N=1,P=2,F=3,I=4,L=5,R=6,ot=7,st=8;v(`Y`,0,0,function(){var e=this.year();return e<=9999?ve(e,4):`+`+e}),v(0,[`YY`,2],0,function(){return this.year()%100}),v(0,[`YYYY`,4],0,`year`),v(0,[`YYYYY`,5],0,`year`),v(0,[`YYYYYY`,6,!0],0,`year`),T(`Y`,Je),T(`YY`,C,x),T(`YYYY`,Ge,Ve),T(`YYYYY`,Ke,He),T(`YYYYYY`,Ke,He),A([`YYYYY`,`YYYYYY`],M),A(`YYYY`,function(e,t){t[M]=e.length===2?r.parseTwoDigitYear(e):O(e)}),A(`YY`,function(e,t){t[M]=r.parseTwoDigitYear(e)}),A(`Y`,function(e,t){t[M]=parseInt(e,10)});function ct(e){return at(e)?366:365}r.parseTwoDigitYear=function(e){return O(e)+(O(e)>68?1900:2e3)};var lt=dt(`FullYear`,!0);function ut(){return at(this.year())}function dt(e,t){return function(n){return n==null?ft(this,e):(pt(this,e,n),r.updateOffset(this,t),this)}}function ft(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case`Milliseconds`:return r?n.getUTCMilliseconds():n.getMilliseconds();case`Seconds`:return r?n.getUTCSeconds():n.getSeconds();case`Minutes`:return r?n.getUTCMinutes():n.getMinutes();case`Hours`:return r?n.getUTCHours():n.getHours();case`Date`:return r?n.getUTCDate():n.getDate();case`Day`:return r?n.getUTCDay():n.getDay();case`Month`:return r?n.getUTCMonth():n.getMonth();case`FullYear`:return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function pt(e,t,n){var r,i,a,o,s;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,i=e._isUTC,t){case`Milliseconds`:i?r.setUTCMilliseconds(n):r.setMilliseconds(n);return;case`Seconds`:i?r.setUTCSeconds(n):r.setSeconds(n);return;case`Minutes`:i?r.setUTCMinutes(n):r.setMinutes(n);return;case`Hours`:i?r.setUTCHours(n):r.setHours(n);return;case`Date`:i?r.setUTCDate(n):r.setDate(n);return;case`FullYear`:break;default:return}a=n,o=e.month(),s=e.date(),s=s===29&&o===1&&!at(a)?28:s,i?r.setUTCFullYear(a,o,s):r.setFullYear(a,o,s)}}function mt(e){return e=Le(e),de(this[e])?this[e]():this}function ht(e,t){if(typeof e==`object`){e=b(e);var n=ze(e),r,i=n.length;for(r=0;r<i;r++)this[n[r].unit](e[n[r].unit])}else if(e=Le(e),de(this[e]))return this[e](t);return this}function gt(e,t){return(e%t+t)%t}var z=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function B(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=gt(t,12);return e+=(t-n)/12,n===1?at(e)?29:28:31-n%7%2}v(`M`,[`MM`,2],`Mo`,function(){return this.month()+1}),v(`MMM`,0,0,function(e){return this.localeData().monthsShort(this,e)}),v(`MMMM`,0,0,function(e){return this.localeData().months(this,e)}),T(`M`,C,$e),T(`MM`,C,x),T(`MMM`,function(e,t){return t.monthsShortRegex(e)}),T(`MMMM`,function(e,t){return t.monthsRegex(e)}),A([`M`,`MM`],function(e,t){t[N]=O(e)-1}),A([`MMM`,`MMMM`],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);i==null?m(n).invalidMonth=e:t[N]=i});var _t=`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),vt=`Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec`.split(`_`),yt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,bt=Qe,xt=Qe;function St(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||yt).test(t)?`format`:`standalone`][e.month()]:a(this._months)?this._months:this._months.standalone}function Ct(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[yt.test(t)?`format`:`standalone`][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function wt(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=p([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,``).toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,``).toLocaleLowerCase();return n?t===`MMM`?(i=z.call(this._shortMonthsParse,o),i===-1?null:i):(i=z.call(this._longMonthsParse,o),i===-1?null:i):t===`MMM`?(i=z.call(this._shortMonthsParse,o),i===-1?(i=z.call(this._longMonthsParse,o),i===-1?null:i):i):(i=z.call(this._longMonthsParse,o),i===-1?(i=z.call(this._shortMonthsParse,o),i===-1?null:i):i)}function Tt(e,t,n){var r,i,a;if(this._monthsParseExact)return wt.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++)if(i=p([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=RegExp(`^`+this.months(i,``).replace(`.`,``)+`$`,`i`),this._shortMonthsParse[r]=RegExp(`^`+this.monthsShort(i,``).replace(`.`,``)+`$`,`i`)),!n&&!this._monthsParse[r]&&(a=`^`+this.months(i,``)+`|^`+this.monthsShort(i,``),this._monthsParse[r]=new RegExp(a.replace(`.`,``),`i`)),n&&t===`MMMM`&&this._longMonthsParse[r].test(e)||n&&t===`MMM`&&this._shortMonthsParse[r].test(e)||!n&&this._monthsParse[r].test(e))return r}function Et(e,t){if(!e.isValid())return e;if(typeof t==`string`){if(/^\d+$/.test(t))t=O(t);else if(t=e.localeData().monthsParse(t),!u(t))return e}var n=t,r=e.date();return r=r<29?r:Math.min(r,B(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function Dt(e){return e==null?ft(this,`Month`):(Et(this,e),r.updateOffset(this,!0),this)}function Ot(){return B(this.year(),this.month())}function kt(e){return this._monthsParseExact?(s(this,`_monthsRegex`)||jt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,`_monthsShortRegex`)||(this._monthsShortRegex=bt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function At(e){return this._monthsParseExact?(s(this,`_monthsRegex`)||jt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,`_monthsRegex`)||(this._monthsRegex=xt),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function jt(){function e(e,t){return t.length-e.length}var t=[],n=[],r=[],i,a,o,s;for(i=0;i<12;i++)a=p([2e3,i]),o=rt(this.monthsShort(a,``)),s=rt(this.months(a,``)),t.push(o),n.push(s),r.push(s),r.push(o);t.sort(e),n.sort(e),r.sort(e),this._monthsRegex=RegExp(`^(`+r.join(`|`)+`)`,`i`),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=RegExp(`^(`+n.join(`|`)+`)`,`i`),this._monthsShortStrictRegex=RegExp(`^(`+t.join(`|`)+`)`,`i`)}function Mt(e,t,n,r,i,a,o){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function Nt(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Pt(e,t,n){var r=7+t-n;return-((7+Nt(e,0,r).getUTCDay()-t)%7)+r-1}function Ft(e,t,n,r,i){var a=(7+n-r)%7,o=Pt(e,r,i),s=1+7*(t-1)+a+o,c,l;return s<=0?(c=e-1,l=ct(c)+s):s>ct(e)?(c=e+1,l=s-ct(e)):(c=e,l=s),{year:c,dayOfYear:l}}function It(e,t,n){var r=Pt(e.year(),t,n),i=Math.floor((e.dayOfYear()-r-1)/7)+1,a,o;return i<1?(o=e.year()-1,a=i+V(o,t,n)):i>V(e.year(),t,n)?(a=i-V(e.year(),t,n),o=e.year()+1):(o=e.year(),a=i),{week:a,year:o}}function V(e,t,n){var r=Pt(e,t,n),i=Pt(e+1,t,n);return(ct(e)-r+i)/7}v(`w`,[`ww`,2],`wo`,`week`),v(`W`,[`WW`,2],`Wo`,`isoWeek`),T(`w`,C,$e),T(`ww`,C,x),T(`W`,C,$e),T(`WW`,C,x),j([`w`,`ww`,`W`,`WW`],function(e,t,n,r){t[r.substr(0,1)]=O(e)});function Lt(e){return It(e,this._week.dow,this._week.doy).week}var Rt={dow:0,doy:6};function zt(){return this._week.dow}function Bt(){return this._week.doy}function Vt(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,`d`)}function Ht(e){var t=It(this,1,4).week;return e==null?t:this.add((e-t)*7,`d`)}v(`d`,0,`do`,`day`),v(`dd`,0,0,function(e){return this.localeData().weekdaysMin(this,e)}),v(`ddd`,0,0,function(e){return this.localeData().weekdaysShort(this,e)}),v(`dddd`,0,0,function(e){return this.localeData().weekdays(this,e)}),v(`e`,0,0,`weekday`),v(`E`,0,0,`isoWeekday`),T(`d`,C),T(`e`,C),T(`E`,C),T(`dd`,function(e,t){return t.weekdaysMinRegex(e)}),T(`ddd`,function(e,t){return t.weekdaysShortRegex(e)}),T(`dddd`,function(e,t){return t.weekdaysRegex(e)}),j([`dd`,`ddd`,`dddd`],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);i==null?m(n).invalidWeekday=e:t.d=i}),j([`d`,`e`,`E`],function(e,t,n,r){t[r]=O(e)});function Ut(e,t){return typeof e==`string`?isNaN(e)?(e=t.weekdaysParse(e),typeof e==`number`?e:null):parseInt(e,10):e}function Wt(e,t){return typeof e==`string`?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Gt(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Kt=`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),qt=`Sun_Mon_Tue_Wed_Thu_Fri_Sat`.split(`_`),Jt=`Su_Mo_Tu_We_Th_Fr_Sa`.split(`_`),Yt=Qe,Xt=Qe,Zt=Qe;function Qt(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?`format`:`standalone`];return e===!0?Gt(n,this._week.dow):e?n[e.day()]:n}function $t(e){return e===!0?Gt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function en(e){return e===!0?Gt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function tn(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,``).toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,``).toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,``).toLocaleLowerCase();return n?t===`dddd`?(i=z.call(this._weekdaysParse,o),i===-1?null:i):t===`ddd`?(i=z.call(this._shortWeekdaysParse,o),i===-1?null:i):(i=z.call(this._minWeekdaysParse,o),i===-1?null:i):t===`dddd`?(i=z.call(this._weekdaysParse,o),i!==-1||(i=z.call(this._shortWeekdaysParse,o),i!==-1)?i:(i=z.call(this._minWeekdaysParse,o),i===-1?null:i)):t===`ddd`?(i=z.call(this._shortWeekdaysParse,o),i!==-1||(i=z.call(this._weekdaysParse,o),i!==-1)?i:(i=z.call(this._minWeekdaysParse,o),i===-1?null:i)):(i=z.call(this._minWeekdaysParse,o),i!==-1||(i=z.call(this._weekdaysParse,o),i!==-1)?i:(i=z.call(this._shortWeekdaysParse,o),i===-1?null:i))}function nn(e,t,n){var r,i,a;if(this._weekdaysParseExact)return tn.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++)if(i=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=RegExp(`^`+this.weekdays(i,``).replace(`.`,`\\.?`)+`$`,`i`),this._shortWeekdaysParse[r]=RegExp(`^`+this.weekdaysShort(i,``).replace(`.`,`\\.?`)+`$`,`i`),this._minWeekdaysParse[r]=RegExp(`^`+this.weekdaysMin(i,``).replace(`.`,`\\.?`)+`$`,`i`)),this._weekdaysParse[r]||(a=`^`+this.weekdays(i,``)+`|^`+this.weekdaysShort(i,``)+`|^`+this.weekdaysMin(i,``),this._weekdaysParse[r]=new RegExp(a.replace(`.`,``),`i`)),n&&t===`dddd`&&this._fullWeekdaysParse[r].test(e)||n&&t===`ddd`&&this._shortWeekdaysParse[r].test(e)||n&&t===`dd`&&this._minWeekdaysParse[r].test(e)||!n&&this._weekdaysParse[r].test(e))return r}function rn(e){if(!this.isValid())return e==null?NaN:this;var t=ft(this,`Day`);return e==null?t:(e=Ut(e,this.localeData()),this.add(e-t,`d`))}function an(e){if(!this.isValid())return e==null?NaN:this;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,`d`)}function on(e){if(!this.isValid())return e==null?NaN:this;if(e!=null){var t=Wt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function sn(e){return this._weekdaysParseExact?(s(this,`_weekdaysRegex`)||un.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,`_weekdaysRegex`)||(this._weekdaysRegex=Yt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function cn(e){return this._weekdaysParseExact?(s(this,`_weekdaysRegex`)||un.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,`_weekdaysShortRegex`)||(this._weekdaysShortRegex=Xt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ln(e){return this._weekdaysParseExact?(s(this,`_weekdaysRegex`)||un.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,`_weekdaysMinRegex`)||(this._weekdaysMinRegex=Zt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function un(){function e(e,t){return t.length-e.length}var t=[],n=[],r=[],i=[],a,o,s,c,l;for(a=0;a<7;a++)o=p([2e3,1]).day(a),s=rt(this.weekdaysMin(o,``)),c=rt(this.weekdaysShort(o,``)),l=rt(this.weekdays(o,``)),t.push(s),n.push(c),r.push(l),i.push(s),i.push(c),i.push(l);t.sort(e),n.sort(e),r.sort(e),i.sort(e),this._weekdaysRegex=RegExp(`^(`+i.join(`|`)+`)`,`i`),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=RegExp(`^(`+r.join(`|`)+`)`,`i`),this._weekdaysShortStrictRegex=RegExp(`^(`+n.join(`|`)+`)`,`i`),this._weekdaysMinStrictRegex=RegExp(`^(`+t.join(`|`)+`)`,`i`)}function dn(){return this.hours()%12||12}function fn(){return this.hours()||24}v(`H`,[`HH`,2],0,`hour`),v(`h`,[`hh`,2],0,dn),v(`k`,[`kk`,2],0,fn),v(`hmm`,0,0,function(){return``+dn.apply(this)+ve(this.minutes(),2)}),v(`hmmss`,0,0,function(){return``+dn.apply(this)+ve(this.minutes(),2)+ve(this.seconds(),2)}),v(`Hmm`,0,0,function(){return``+this.hours()+ve(this.minutes(),2)}),v(`Hmmss`,0,0,function(){return``+this.hours()+ve(this.minutes(),2)+ve(this.seconds(),2)});function pn(e,t){v(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}pn(`a`,!0),pn(`A`,!1);function mn(e,t){return t._meridiemParse}T(`a`,mn),T(`A`,mn),T(`H`,C,et),T(`h`,C,$e),T(`k`,C,$e),T(`HH`,C,x),T(`hh`,C,x),T(`kk`,C,x),T(`hmm`,w),T(`hmmss`,Ue),T(`Hmm`,w),T(`Hmmss`,Ue),A([`H`,`HH`],F),A([`k`,`kk`],function(e,t,n){var r=O(e);t[F]=r===24?0:r}),A([`a`,`A`],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),A([`h`,`hh`],function(e,t,n){t[F]=O(e),m(n).bigHour=!0}),A(`hmm`,function(e,t,n){var r=e.length-2;t[F]=O(e.substr(0,r)),t[I]=O(e.substr(r)),m(n).bigHour=!0}),A(`hmmss`,function(e,t,n){var r=e.length-4,i=e.length-2;t[F]=O(e.substr(0,r)),t[I]=O(e.substr(r,2)),t[L]=O(e.substr(i)),m(n).bigHour=!0}),A(`Hmm`,function(e,t,n){var r=e.length-2;t[F]=O(e.substr(0,r)),t[I]=O(e.substr(r))}),A(`Hmmss`,function(e,t,n){var r=e.length-4,i=e.length-2;t[F]=O(e.substr(0,r)),t[I]=O(e.substr(r,2)),t[L]=O(e.substr(i))});function hn(e){return(e+``).toLowerCase().charAt(0)===`p`}var gn=/[ap]\.?m?\.?/i,_n=dt(`Hours`,!0);function vn(e,t,n){return e>11?n?`pm`:`PM`:n?`am`:`AM`}var yn={calendar:ge,longDateFormat:Ee,invalidDate:Oe,ordinal:Ae,dayOfMonthOrdinalParse:je,relativeTime:Ne,months:_t,monthsShort:vt,week:Rt,weekdays:Kt,weekdaysMin:Jt,weekdaysShort:qt,meridiemParse:gn},H={},U={},bn;function xn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function Sn(e){return e&&e.toLowerCase().replace(`_`,`-`)}function Cn(e){for(var t=0,n,r,i,a;t<e.length;){for(a=Sn(e[t]).split(`-`),n=a.length,r=Sn(e[t+1]),r=r?r.split(`-`):null;n>0;){if(i=Tn(a.slice(0,n).join(`-`)),i)return i;if(r&&r.length>=n&&xn(a,r)>=n-1)break;n--}t++}return bn}function wn(e){return!!(e&&e.match(`^[^/\\\\]*$`))}function Tn(t){var r=null,i;if(H[t]===void 0&&n!==void 0&&n&&n.exports&&wn(t))try{r=bn._abbr,i=e,i(`./locale/`+t),En(r)}catch{H[t]=null}return H[t]}function En(e,t){var n;return e&&(n=l(t)?kn(e):Dn(e,t),n?bn=n:typeof console<`u`&&console.warn&&console.warn(`Locale `+e+` not found. Did you forget to load it?`)),bn._abbr}function Dn(e,t){if(t!==null){var n,r=yn;if(t.abbr=e,H[e]!=null)ue(`defineLocaleOverride`,`use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info.`),r=H[e]._config;else if(t.parentLocale!=null){if(H[t.parentLocale]!=null)r=H[t.parentLocale]._config;else if(n=Tn(t.parentLocale),n!=null)r=n._config;else return U[t.parentLocale]||(U[t.parentLocale]=[]),U[t.parentLocale].push({name:e,config:t}),null}return H[e]=new me(pe(r,t)),U[e]&&U[e].forEach(function(e){Dn(e.name,e.config)}),En(e),H[e]}return delete H[e],null}function On(e,t){if(t!=null){var n,r,i=yn;H[e]!=null&&H[e].parentLocale!=null?H[e].set(pe(H[e]._config,t)):(r=Tn(e),r!=null&&(i=r._config),t=pe(i,t),r??(t.abbr=e),n=new me(t),n.parentLocale=H[e],H[e]=n),En(e)}else H[e]!=null&&(H[e].parentLocale==null?H[e]!=null&&delete H[e]:(H[e]=H[e].parentLocale,e===En()&&En(e)));return H[e]}function kn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return bn;if(!a(e)){if(t=Tn(e),t)return t;e=[e]}return Cn(e)}function An(){return he(H)}function jn(e){var t,n=e._a;return n&&m(e).overflow===-2&&(t=n[N]<0||n[N]>11?N:n[P]<1||n[P]>B(n[M],n[N])?P:n[F]<0||n[F]>24||n[F]===24&&(n[I]!==0||n[L]!==0||n[R]!==0)?F:n[I]<0||n[I]>59?I:n[L]<0||n[L]>59?L:n[R]<0||n[R]>999?R:-1,m(e)._overflowDayOfYear&&(t<M||t>P)&&(t=P),m(e)._overflowWeeks&&t===-1&&(t=ot),m(e)._overflowWeekday&&t===-1&&(t=st),m(e).overflow=t),e}var Mn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Nn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Pn=/Z|[+-]\d\d(?::?\d\d)?/,Fn=[[`YYYYYY-MM-DD`,/[+-]\d{6}-\d\d-\d\d/],[`YYYY-MM-DD`,/\d{4}-\d\d-\d\d/],[`GGGG-[W]WW-E`,/\d{4}-W\d\d-\d/],[`GGGG-[W]WW`,/\d{4}-W\d\d/,!1],[`YYYY-DDD`,/\d{4}-\d{3}/],[`YYYY-MM`,/\d{4}-\d\d/,!1],[`YYYYYYMMDD`,/[+-]\d{10}/],[`YYYYMMDD`,/\d{8}/],[`GGGG[W]WWE`,/\d{4}W\d{3}/],[`GGGG[W]WW`,/\d{4}W\d{2}/,!1],[`YYYYDDD`,/\d{7}/],[`YYYYMM`,/\d{6}/,!1],[`YYYY`,/\d{4}/,!1]],In=[[`HH:mm:ss.SSSS`,/\d\d:\d\d:\d\d\.\d+/],[`HH:mm:ss,SSSS`,/\d\d:\d\d:\d\d,\d+/],[`HH:mm:ss`,/\d\d:\d\d:\d\d/],[`HH:mm`,/\d\d:\d\d/],[`HHmmss.SSSS`,/\d\d\d\d\d\d\.\d+/],[`HHmmss,SSSS`,/\d\d\d\d\d\d,\d+/],[`HHmmss`,/\d\d\d\d\d\d/],[`HHmm`,/\d\d\d\d/],[`HH`,/\d\d/]],Ln=/^\/?Date\((-?\d+)/i,Rn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,zn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Bn(e){var t,n,r=e._i,i=Mn.exec(r)||Nn.exec(r),a,o,s,c,l=Fn.length,u=In.length;if(i){for(m(e).iso=!0,t=0,n=l;t<n;t++)if(Fn[t][1].exec(i[1])){o=Fn[t][0],a=Fn[t][2]!==!1;break}if(o==null){e._isValid=!1;return}if(i[3]){for(t=0,n=u;t<n;t++)if(In[t][1].exec(i[3])){s=(i[2]||` `)+In[t][0];break}if(s==null){e._isValid=!1;return}}if(!a&&s!=null){e._isValid=!1;return}if(i[4]){if(Pn.exec(i[4]))c=`Z`;else{e._isValid=!1;return}}e._f=o+(s||``)+(c||``),Qn(e)}else e._isValid=!1}function Vn(e,t,n,r,i,a){var o=[Hn(e),vt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&o.push(parseInt(a,10)),o}function Hn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Un(e){return e.replace(/\([^()]*\)|[\n\t]/g,` `).replace(/(\s\s+)/g,` `).replace(/^\s\s*/,``).replace(/\s\s*$/,``)}function Wn(e,t,n){return e&&qt.indexOf(e)!==new Date(t[0],t[1],t[2]).getDay()?(m(n).weekdayMismatch=!0,n._isValid=!1,!1):!0}function Gn(e,t,n){if(e)return zn[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}function Kn(e){var t=Rn.exec(Un(e._i)),n;if(t){if(n=Vn(t[4],t[3],t[2],t[5],t[6],t[7]),!Wn(t[1],n,e))return;e._a=n,e._tzm=Gn(t[8],t[9],t[10]),e._d=Nt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function qn(e){var t=Ln.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Bn(e),e._isValid===!1)delete e._isValid;else return;if(Kn(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:r.createFromInputFallback(e)}r.createFromInputFallback=_(`value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.`,function(e){e._d=new Date(e._i+(e._useUTC?` UTC`:``))});function Jn(e,t,n){return e??t??n}function Yn(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Xn(e){var t,n,r=[],i,a,o;if(!e._d){for(i=Yn(e),e._w&&e._a[P]==null&&e._a[N]==null&&Zn(e),e._dayOfYear!=null&&(o=Jn(e._a[M],i[M]),(e._dayOfYear>ct(o)||e._dayOfYear===0)&&(m(e)._overflowDayOfYear=!0),n=Nt(o,0,e._dayOfYear),e._a[N]=n.getUTCMonth(),e._a[P]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=i[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?+(t===2):e._a[t];e._a[F]===24&&e._a[I]===0&&e._a[L]===0&&e._a[R]===0&&(e._nextDay=!0,e._a[F]=0),e._d=(e._useUTC?Nt:Mt).apply(null,r),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[F]=24),e._w&&e._w.d!==void 0&&e._w.d!==a&&(m(e).weekdayMismatch=!0)}}function Zn(e){var t=e._w,n,r,i,a,o,s,c,l;t.GG!=null||t.W!=null||t.E!=null?(a=1,o=4,n=Jn(t.GG,e._a[M],It(W(),1,4).year),r=Jn(t.W,1),i=Jn(t.E,1),(i<1||i>7)&&(c=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,l=It(W(),a,o),n=Jn(t.gg,e._a[M],l.year),r=Jn(t.w,l.week),t.d==null?t.e==null?i=a:(i=t.e+a,(t.e<0||t.e>6)&&(c=!0)):(i=t.d,(i<0||i>6)&&(c=!0))),r<1||r>V(n,a,o)?m(e)._overflowWeeks=!0:c==null?(s=Ft(n,r,i,a,o),e._a[M]=s.year,e._dayOfYear=s.dayOfYear):m(e)._overflowWeekday=!0}r.ISO_8601=function(){},r.RFC_2822=function(){};function Qn(e){if(e._f===r.ISO_8601){Bn(e);return}if(e._f===r.RFC_2822){Kn(e);return}e._a=[],m(e).empty=!0;var t=``+e._i,n,i,a,o,s,c=t.length,l=0,u,d;for(a=Te(e._f,e._locale).match(ye)||[],d=a.length,n=0;n<d;n++)o=a[n],i=(t.match(E(o,e))||[])[0],i&&(s=t.substr(0,t.indexOf(i)),s.length>0&&m(e).unusedInput.push(s),t=t.slice(t.indexOf(i)+i.length),l+=i.length),Se[o]?(i?m(e).empty=!1:m(e).unusedTokens.push(o),it(o,i,e)):e._strict&&!i&&m(e).unusedTokens.push(o);m(e).charsLeftOver=c-l,t.length>0&&m(e).unusedInput.push(t),e._a[F]<=12&&m(e).bigHour===!0&&e._a[F]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[F]=$n(e._locale,e._a[F],e._meridiem),u=m(e).era,u!==null&&(e._a[M]=e._locale.erasConvertYear(u,e._a[M])),Xn(e),jn(e)}function $n(e,t,n){var r;return n==null?t:e.meridiemHour==null?e.isPM==null?t:(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0),t):e.meridiemHour(t,n)}function er(e){var t,n,r,i,a,o,s=!1,c=e._f.length;if(c===0){m(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<c;i++)a=0,o=!1,t=oe({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[i],Qn(t),ne(t)&&(o=!0),a+=m(t).charsLeftOver,a+=m(t).unusedTokens.length*10,m(t).score=a,s?a<r&&(r=a,n=t):(r==null||a<r||o)&&(r=a,n=t,o&&(s=!0));ee(e,n||t)}function tr(e){if(!e._d){var t=b(e._i),n=t.day===void 0?t.date:t.day;e._a=f([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Xn(e)}}function nr(e){var t=new se(jn(rr(e)));return t._nextDay&&=(t.add(1,`d`),void 0),t}function rr(e){var t=e._i,n=e._f;return e._locale=e._locale||kn(e._l),t===null||n===void 0&&t===``?re({nullInput:!0}):(typeof t==`string`&&(e._i=t=e._locale.preparse(t)),g(t)?new se(jn(t)):(d(t)?e._d=t:a(n)?er(e):n?Qn(e):ir(e),ne(e)||(e._d=null),e))}function ir(e){var t=e._i;l(t)?e._d=new Date(r.now()):d(t)?e._d=new Date(t.valueOf()):typeof t==`string`?qn(e):a(t)?(e._a=f(t.slice(0),function(e){return parseInt(e,10)}),Xn(e)):o(t)?tr(e):u(t)?e._d=new Date(t):r.createFromInputFallback(e)}function ar(e,t,n,r,i){var s={};return(t===!0||t===!1)&&(r=t,t=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(o(e)&&c(e)||a(e)&&e.length===0)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=n,s._i=e,s._f=t,s._strict=r,nr(s)}function W(e,t,n,r){return ar(e,t,n,r,!1)}var G=_(`moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/`,function(){var e=W.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:re()}),or=_(`moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/`,function(){var e=W.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:re()});function sr(e,t){var n,r;if(t.length===1&&a(t[0])&&(t=t[0]),!t.length)return W();for(n=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](n))&&(n=t[r]);return n}function cr(){return sr(`isBefore`,[].slice.call(arguments,0))}function lr(){return sr(`isAfter`,[].slice.call(arguments,0))}var ur=function(){return Date.now?Date.now():+new Date},dr=[`year`,`quarter`,`month`,`week`,`day`,`hour`,`minute`,`second`,`millisecond`];function fr(e){var t,n=!1,r,i=dr.length;for(t in e)if(s(e,t)&&!(z.call(dr,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<i;++r)if(e[dr[r]]){if(n)return!1;parseFloat(e[dr[r]])!==O(e[dr[r]])&&(n=!0)}return!0}function pr(){return this._isValid}function mr(){return Lr(NaN)}function hr(e){var t=b(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,c=t.minute||0,l=t.second||0,u=t.millisecond||0;this._isValid=fr(t),this._milliseconds=+u+l*1e3+c*6e4+s*1e3*60*60,this._days=+o+a*7,this._months=+i+r*3+n*12,this._data={},this._locale=kn(),this._bubble()}function gr(e){return e instanceof hr}function _r(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function vr(e,t,n){var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,o;for(o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&O(e[o])!==O(t[o]))&&a++;return a+i}function yr(e,t){v(e,0,0,function(){var e=this.utcOffset(),n=`+`;return e<0&&(e=-e,n=`-`),n+ve(~~(e/60),2)+t+ve(~~e%60,2)})}yr(`Z`,`:`),yr(`ZZ`,``),T(`Z`,Xe),T(`ZZ`,Xe),A([`Z`,`ZZ`],function(e,t,n){n._useUTC=!0,n._tzm=xr(Xe,e)});var br=/([\+\-]|\d\d)/gi;function xr(e,t){var n=(t||``).match(e),r,i,a;return n===null?null:(r=n[n.length-1]||[],i=(r+``).match(br)||[`-`,0,0],a=+(i[1]*60)+O(i[2]),a===0?0:i[0]===`+`?a:-a)}function Sr(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(g(e)||d(e)?e.valueOf():W(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):W(e).local()}function Cr(e){return-Math.round(e._d.getTimezoneOffset())}r.updateOffset=function(){};function wr(e,t,n){var i=this._offset||0,a;if(!this.isValid())return e==null?NaN:this;if(e!=null){if(typeof e==`string`){if(e=xr(Xe,e),e===null)return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(a=Cr(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,`m`),i!==e&&(!t||this._changeInProgress?Vr(this,Lr(e-i,`m`),1,!1):this._changeInProgress||=(this._changeInProgress=!0,r.updateOffset(this,!0),null)),this}return this._isUTC?i:Cr(this)}function Tr(e,t){return e==null?-this.utcOffset():(typeof e!=`string`&&(e=-e),this.utcOffset(e,t),this)}function Er(e){return this.utcOffset(0,e)}function Dr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Cr(this),`m`)),this}function Or(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i==`string`){var e=xr(Ye,this._i);e==null?this.utcOffset(0,!0):this.utcOffset(e)}return this}function kr(e){return this.isValid()?(e=e?W(e).utcOffset():0,(this.utcOffset()-e)%60==0):!1}function Ar(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function jr(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e={},t;return oe(e,this),e=rr(e),e._a?(t=e._isUTC?p(e._a):W(e._a),this._isDSTShifted=this.isValid()&&vr(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Mr(){return this.isValid()?!this._isUTC:!1}function Nr(){return this.isValid()?this._isUTC:!1}function Pr(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Fr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ir=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Lr(e,t){var n=e,r=null,i,a,o;return gr(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=Fr.exec(e))?(i=r[1]===`-`?-1:1,n={y:0,d:O(r[P])*i,h:O(r[F])*i,m:O(r[I])*i,s:O(r[L])*i,ms:O(_r(r[R]*1e3))*i}):(r=Ir.exec(e))?(i=r[1]===`-`?-1:1,n={y:K(r[2],i),M:K(r[3],i),w:K(r[4],i),d:K(r[5],i),h:K(r[6],i),m:K(r[7],i),s:K(r[8],i)}):n==null?n={}:typeof n==`object`&&(`from`in n||`to`in n)&&(o=zr(W(n.from),W(n.to)),n={},n.ms=o.milliseconds,n.M=o.months),a=new hr(n),gr(e)&&s(e,`_locale`)&&(a._locale=e._locale),gr(e)&&s(e,`_isValid`)&&(a._isValid=e._isValid),a}Lr.fn=hr.prototype,Lr.invalid=mr;function K(e,t){var n=e&&parseFloat(e.replace(`,`,`.`));return(isNaN(n)?0:n)*t}function Rr(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,`M`).isAfter(t)&&--n.months,n.milliseconds=t-+e.clone().add(n.months,`M`),n}function zr(e,t){var n;return e.isValid()&&t.isValid()?(t=Sr(t,e),e.isBefore(t)?n=Rr(e,t):(n=Rr(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Br(e,t){return function(n,r){var i,a;return r!==null&&!isNaN(+r)&&(ue(t,`moment().`+t+`(period, number) is deprecated. Please use moment().`+t+`(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.`),a=n,n=r,r=a),i=Lr(n,r),Vr(this,i,e),this}}function Vr(e,t,n,i){var a=t._milliseconds,o=_r(t._days),s=_r(t._months);e.isValid()&&(i??=!0,s&&Et(e,ft(e,`Month`)+s*n),o&&pt(e,`Date`,ft(e,`Date`)+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&r.updateOffset(e,o||s))}var Hr=Br(1,`add`),Ur=Br(-1,`subtract`);function Wr(e){return typeof e==`string`||e instanceof String}function Gr(e){return g(e)||d(e)||Wr(e)||u(e)||qr(e)||Kr(e)||e==null}function Kr(e){var t=o(e)&&!c(e),n=!1,r=[`years`,`year`,`y`,`months`,`month`,`M`,`days`,`day`,`d`,`dates`,`date`,`D`,`hours`,`hour`,`h`,`minutes`,`minute`,`m`,`seconds`,`second`,`s`,`milliseconds`,`millisecond`,`ms`],i,a,l=r.length;for(i=0;i<l;i+=1)a=r[i],n||=s(e,a);return t&&n}function qr(e){var t=a(e),n=!1;return t&&(n=e.filter(function(t){return!u(t)&&Wr(e)}).length===0),t&&n}function Jr(e){var t=o(e)&&!c(e),n=!1,r=[`sameDay`,`nextDay`,`lastDay`,`nextWeek`,`lastWeek`,`sameElse`],i,a;for(i=0;i<r.length;i+=1)a=r[i],n||=s(e,a);return t&&n}function Yr(e,t){var n=e.diff(t,`days`,!0);return n<-6?`sameElse`:n<-1?`lastWeek`:n<0?`lastDay`:n<1?`sameDay`:n<2?`nextDay`:n<7?`nextWeek`:`sameElse`}function Xr(e,t){arguments.length===1&&(arguments[0]?Gr(arguments[0])?(e=arguments[0],t=void 0):Jr(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||W(),i=Sr(n,this).startOf(`day`),a=r.calendarFormat(this,i)||`sameElse`,o=t&&(de(t[a])?t[a].call(this,n):t[a]);return this.format(o||this.localeData().calendar(a,this,W(n)))}function Zr(){return new se(this)}function Qr(e,t){var n=g(e)?e:W(e);return this.isValid()&&n.isValid()?(t=Le(t)||`millisecond`,t===`millisecond`?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function $r(e,t){var n=g(e)?e:W(e);return this.isValid()&&n.isValid()?(t=Le(t)||`millisecond`,t===`millisecond`?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function ei(e,t,n,r){var i=g(e)?e:W(e),a=g(t)?t:W(t);return this.isValid()&&i.isValid()&&a.isValid()?(r||=`()`,(r[0]===`(`?this.isAfter(i,n):!this.isBefore(i,n))&&(r[1]===`)`?this.isBefore(a,n):!this.isAfter(a,n))):!1}function ti(e,t){var n=g(e)?e:W(e),r;return this.isValid()&&n.isValid()?(t=Le(t)||`millisecond`,t===`millisecond`?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function ni(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function ri(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function ii(e,t,n){var r,i,a;if(!this.isValid()||(r=Sr(e,this),!r.isValid()))return NaN;switch(i=(r.utcOffset()-this.utcOffset())*6e4,t=Le(t),t){case`year`:a=ai(this,r)/12;break;case`month`:a=ai(this,r);break;case`quarter`:a=ai(this,r)/3;break;case`second`:a=(this-r)/1e3;break;case`minute`:a=(this-r)/6e4;break;case`hour`:a=(this-r)/36e5;break;case`day`:a=(this-r-i)/864e5;break;case`week`:a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:D(a)}function ai(e,t){if(e.date()<t.date())return-ai(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(n,`months`),i,a;return t-r<0?(i=e.clone().add(n-1,`months`),a=(t-r)/(r-i)):(i=e.clone().add(n+1,`months`),a=(t-r)/(i-r)),-(n+a)||0}r.defaultFormat=`YYYY-MM-DDTHH:mm:ssZ`,r.defaultFormatUtc=`YYYY-MM-DDTHH:mm:ss[Z]`;function oi(){return this.clone().locale(`en`).format(`ddd MMM DD YYYY HH:mm:ss [GMT]ZZ`)}function si(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?we(n,t?`YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]`:`YYYYYY-MM-DD[T]HH:mm:ss.SSSZ`):de(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace(`Z`,we(n,`Z`)):we(n,t?`YYYY-MM-DD[T]HH:mm:ss.SSS[Z]`:`YYYY-MM-DD[T]HH:mm:ss.SSSZ`)}function ci(){if(!this.isValid())return`moment.invalid(/* `+this._i+` */)`;var e=`moment`,t=``,n,r,i,a;return this.isLocal()||(e=this.utcOffset()===0?`moment.utc`:`moment.parseZone`,t=`Z`),n=`[`+e+`("]`,r=0<=this.year()&&this.year()<=9999?`YYYY`:`YYYYYY`,i=`-MM-DD[T]HH:mm:ss.SSS`,a=t+`[")]`,this.format(n+r+i+a)}function li(e){e||=this.isUtc()?r.defaultFormatUtc:r.defaultFormat;var t=we(this,e);return this.localeData().postformat(t)}function ui(e,t){return this.isValid()&&(g(e)&&e.isValid()||W(e).isValid())?Lr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function di(e){return this.from(W(),e)}function fi(e,t){return this.isValid()&&(g(e)&&e.isValid()||W(e).isValid())?Lr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function pi(e){return this.to(W(),e)}function mi(e){var t;return e===void 0?this._locale._abbr:(t=kn(e),t!=null&&(this._locale=t),this)}var hi=_(`moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.`,function(e){return e===void 0?this.localeData():this.locale(e)});function gi(){return this._locale}var _i=1e3,vi=60*_i,yi=60*vi,bi=3506328*yi;function xi(e,t){return(e%t+t)%t}function Si(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-bi:new Date(e,t,n).valueOf()}function Ci(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-bi:Date.UTC(e,t,n)}function wi(e){var t,n;if(e=Le(e),e===void 0||e===`millisecond`||!this.isValid())return this;switch(n=this._isUTC?Ci:Si,e){case`year`:t=n(this.year(),0,1);break;case`quarter`:t=n(this.year(),this.month()-this.month()%3,1);break;case`month`:t=n(this.year(),this.month(),1);break;case`week`:t=n(this.year(),this.month(),this.date()-this.weekday());break;case`isoWeek`:t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case`day`:case`date`:t=n(this.year(),this.month(),this.date());break;case`hour`:t=this._d.valueOf(),t-=xi(t+(this._isUTC?0:this.utcOffset()*vi),yi);break;case`minute`:t=this._d.valueOf(),t-=xi(t,vi);break;case`second`:t=this._d.valueOf(),t-=xi(t,_i)}return this._d.setTime(t),r.updateOffset(this,!0),this}function Ti(e){var t,n;if(e=Le(e),e===void 0||e===`millisecond`||!this.isValid())return this;switch(n=this._isUTC?Ci:Si,e){case`year`:t=n(this.year()+1,0,1)-1;break;case`quarter`:t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case`month`:t=n(this.year(),this.month()+1,1)-1;break;case`week`:t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case`isoWeek`:t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case`day`:case`date`:t=n(this.year(),this.month(),this.date()+1)-1;break;case`hour`:t=this._d.valueOf(),t+=yi-xi(t+(this._isUTC?0:this.utcOffset()*vi),yi)-1;break;case`minute`:t=this._d.valueOf(),t+=vi-xi(t,vi)-1;break;case`second`:t=this._d.valueOf(),t+=_i-xi(t,_i)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function Ei(){return this._d.valueOf()-(this._offset||0)*6e4}function Di(){return Math.floor(this.valueOf()/1e3)}function Oi(){return new Date(this.valueOf())}function ki(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Ai(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function ji(){return this.isValid()?this.toISOString():null}function Mi(){return ne(this)}function Ni(){return ee({},m(this))}function Pi(){return m(this).overflow}function Fi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}v(`N`,0,0,`eraAbbr`),v(`NN`,0,0,`eraAbbr`),v(`NNN`,0,0,`eraAbbr`),v(`NNNN`,0,0,`eraName`),v(`NNNNN`,0,0,`eraNarrow`),v(`y`,[`y`,1],`yo`,`eraYear`),v(`y`,[`yy`,2],0,`eraYear`),v(`y`,[`yyy`,3],0,`eraYear`),v(`y`,[`yyyy`,4],0,`eraYear`),T(`N`,Ki),T(`NN`,Ki),T(`NNN`,Ki),T(`NNNN`,qi),T(`NNNNN`,Ji),A([`N`,`NN`,`NNN`,`NNNN`,`NNNNN`],function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?m(n).era=i:m(n).invalidEra=e}),T(`y`,qe),T(`yy`,qe),T(`yyy`,qe),T(`yyyy`,qe),T(`yo`,Yi),A([`y`,`yy`,`yyy`,`yyyy`],M),A([`yo`],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),t[M]=n._locale.eraYearOrdinalParse?n._locale.eraYearOrdinalParse(e,i):parseInt(e,10)});function Ii(e,t){var n,i,a,o=this._eras||kn(`en`)._eras;for(n=0,i=o.length;n<i;++n)switch(typeof o[n].since==`string`&&(a=r(o[n].since).startOf(`day`),o[n].since=a.valueOf()),typeof o[n].until){case`undefined`:o[n].until=1/0;break;case`string`:a=r(o[n].until).startOf(`day`).valueOf(),o[n].until=a.valueOf()}return o}function Li(e,t,n){var r,i,a=this.eras(),o,s,c;for(e=e.toUpperCase(),r=0,i=a.length;r<i;++r)if(o=a[r].name.toUpperCase(),s=a[r].abbr.toUpperCase(),c=a[r].narrow.toUpperCase(),n)switch(t){case`N`:case`NN`:case`NNN`:if(s===e)return a[r];break;case`NNNN`:if(o===e)return a[r];break;case`NNNNN`:if(c===e)return a[r]}else if([o,s,c].indexOf(e)>=0)return a[r]}function Ri(e,t){var n=e.since<=e.until?1:-1;return t===void 0?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function zi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf(`day`).valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].name;return``}function Bi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf(`day`).valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].narrow;return``}function Vi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf(`day`).valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].abbr;return``}function Hi(){var e,t,n,i,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,i=this.clone().startOf(`day`).valueOf(),a[e].since<=i&&i<=a[e].until||a[e].until<=i&&i<=a[e].since)return(this.year()-r(a[e].since).year())*n+a[e].offset;return this.year()}function Ui(e){return s(this,`_erasNameRegex`)||Xi.call(this),e?this._erasNameRegex:this._erasRegex}function Wi(e){return s(this,`_erasAbbrRegex`)||Xi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Gi(e){return s(this,`_erasNarrowRegex`)||Xi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ki(e,t){return t.erasAbbrRegex(e)}function qi(e,t){return t.erasNameRegex(e)}function Ji(e,t){return t.erasNarrowRegex(e)}function Yi(e,t){return t._eraYearOrdinalRegex||qe}function Xi(){var e=[],t=[],n=[],r=[],i,a,o,s,c,l=this.eras();for(i=0,a=l.length;i<a;++i)o=rt(l[i].name),s=rt(l[i].abbr),c=rt(l[i].narrow),t.push(o),e.push(s),n.push(c),r.push(o),r.push(s),r.push(c);this._erasRegex=RegExp(`^(`+r.join(`|`)+`)`,`i`),this._erasNameRegex=RegExp(`^(`+t.join(`|`)+`)`,`i`),this._erasAbbrRegex=RegExp(`^(`+e.join(`|`)+`)`,`i`),this._erasNarrowRegex=RegExp(`^(`+n.join(`|`)+`)`,`i`)}v(0,[`gg`,2],0,function(){return this.weekYear()%100}),v(0,[`GG`,2],0,function(){return this.isoWeekYear()%100});function Zi(e,t){v(0,[e,e.length],0,t)}Zi(`gggg`,`weekYear`),Zi(`ggggg`,`weekYear`),Zi(`GGGG`,`isoWeekYear`),Zi(`GGGGG`,`isoWeekYear`),T(`G`,Je),T(`g`,Je),T(`GG`,C,x),T(`gg`,C,x),T(`GGGG`,Ge,Ve),T(`gggg`,Ge,Ve),T(`GGGGG`,Ke,He),T(`ggggg`,Ke,He),j([`gggg`,`ggggg`,`GGGG`,`GGGGG`],function(e,t,n,r){t[r.substr(0,2)]=O(e)}),j([`gg`,`GG`],function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)});function Qi(e){return ia.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function $i(e){return ia.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function ea(){return V(this.year(),1,4)}function ta(){return V(this.isoWeekYear(),1,4)}function na(){var e=this.localeData()._week;return V(this.year(),e.dow,e.doy)}function ra(){var e=this.localeData()._week;return V(this.weekYear(),e.dow,e.doy)}function ia(e,t,n,r,i){var a;return e==null?It(this,r,i).year:(a=V(e,r,i),t>a&&(t=a),aa.call(this,e,t,n,r,i))}function aa(e,t,n,r,i){var a=Ft(e,t,n,r,i),o=Nt(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}v(`Q`,0,`Qo`,`quarter`),T(`Q`,Be),A(`Q`,function(e,t){t[N]=(O(e)-1)*3});function oa(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}v(`D`,[`DD`,2],`Do`,`date`),T(`D`,C,$e),T(`DD`,C,x),T(`Do`,function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),A([`D`,`DD`],P),A(`Do`,function(e,t){t[P]=O(e.match(C)[0])});var sa=dt(`Date`,!0);v(`DDD`,[`DDDD`,3],`DDDo`,`dayOfYear`),T(`DDD`,We),T(`DDDD`,S),A([`DDD`,`DDDD`],function(e,t,n){n._dayOfYear=O(e)});function ca(e){var t=Math.round((this.clone().startOf(`day`)-this.clone().startOf(`year`))/864e5)+1;return e==null?t:this.add(e-t,`d`)}v(`m`,[`mm`,2],0,`minute`),T(`m`,C,et),T(`mm`,C,x),A([`m`,`mm`],I);var la=dt(`Minutes`,!1);v(`s`,[`ss`,2],0,`second`),T(`s`,C,et),T(`ss`,C,x),A([`s`,`ss`],L);var ua=dt(`Seconds`,!1);v(`S`,0,0,function(){return~~(this.millisecond()/100)}),v(0,[`SS`,2],0,function(){return~~(this.millisecond()/10)}),v(0,[`SSS`,3],0,`millisecond`),v(0,[`SSSS`,4],0,function(){return this.millisecond()*10}),v(0,[`SSSSS`,5],0,function(){return this.millisecond()*100}),v(0,[`SSSSSS`,6],0,function(){return this.millisecond()*1e3}),v(0,[`SSSSSSS`,7],0,function(){return this.millisecond()*1e4}),v(0,[`SSSSSSSS`,8],0,function(){return this.millisecond()*1e5}),v(0,[`SSSSSSSSS`,9],0,function(){return this.millisecond()*1e6}),T(`S`,We,Be),T(`SS`,We,x),T(`SSS`,We,S);var da,fa;for(da=`SSSS`;da.length<=9;da+=`S`)T(da,qe);function pa(e,t){t[R]=O((`0.`+e)*1e3)}for(da=`S`;da.length<=9;da+=`S`)A(da,pa);fa=dt(`Milliseconds`,!1),v(`z`,0,0,`zoneAbbr`),v(`zz`,0,0,`zoneName`);function ma(){return this._isUTC?`UTC`:``}function ha(){return this._isUTC?`Coordinated Universal Time`:``}var q=se.prototype;q.add=Hr,q.calendar=Xr,q.clone=Zr,q.diff=ii,q.endOf=Ti,q.format=li,q.from=ui,q.fromNow=di,q.to=fi,q.toNow=pi,q.get=mt,q.invalidAt=Pi,q.isAfter=Qr,q.isBefore=$r,q.isBetween=ei,q.isSame=ti,q.isSameOrAfter=ni,q.isSameOrBefore=ri,q.isValid=Mi,q.lang=hi,q.locale=mi,q.localeData=gi,q.max=or,q.min=G,q.parsingFlags=Ni,q.set=ht,q.startOf=wi,q.subtract=Ur,q.toArray=ki,q.toObject=Ai,q.toDate=Oi,q.toISOString=si,q.inspect=ci,typeof Symbol<`u`&&Symbol.for!=null&&(q[Symbol.for(`nodejs.util.inspect.custom`)]=function(){return`Moment<`+this.format()+`>`}),q.toJSON=ji,q.toString=oi,q.unix=Di,q.valueOf=Ei,q.creationData=Fi,q.eraName=zi,q.eraNarrow=Bi,q.eraAbbr=Vi,q.eraYear=Hi,q.year=lt,q.isLeapYear=ut,q.weekYear=Qi,q.isoWeekYear=$i,q.quarter=q.quarters=oa,q.month=Dt,q.daysInMonth=Ot,q.week=q.weeks=Vt,q.isoWeek=q.isoWeeks=Ht,q.weeksInYear=na,q.weeksInWeekYear=ra,q.isoWeeksInYear=ea,q.isoWeeksInISOWeekYear=ta,q.date=sa,q.day=q.days=rn,q.weekday=an,q.isoWeekday=on,q.dayOfYear=ca,q.hour=q.hours=_n,q.minute=q.minutes=la,q.second=q.seconds=ua,q.millisecond=q.milliseconds=fa,q.utcOffset=wr,q.utc=Er,q.local=Dr,q.parseZone=Or,q.hasAlignedHourOffset=kr,q.isDST=Ar,q.isLocal=Mr,q.isUtcOffset=Nr,q.isUtc=Pr,q.isUTC=Pr,q.zoneAbbr=ma,q.zoneName=ha,q.dates=_(`dates accessor is deprecated. Use date instead.`,sa),q.months=_(`months accessor is deprecated. Use month instead`,Dt),q.years=_(`years accessor is deprecated. Use year instead`,lt),q.zone=_(`moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/`,Tr),q.isDSTShifted=_(`isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information`,jr);function J(e){return W(e*1e3)}function ga(){return W.apply(null,arguments).parseZone()}function _a(e){return e}var Y=me.prototype;Y.calendar=_e,Y.longDateFormat=De,Y.invalidDate=ke,Y.ordinal=Me,Y.preparse=_a,Y.postformat=_a,Y.relativeTime=Pe,Y.pastFuture=Fe,Y.set=fe,Y.eras=Ii,Y.erasParse=Li,Y.erasConvertYear=Ri,Y.erasAbbrRegex=Wi,Y.erasNameRegex=Ui,Y.erasNarrowRegex=Gi,Y.months=St,Y.monthsShort=Ct,Y.monthsParse=Tt,Y.monthsRegex=At,Y.monthsShortRegex=kt,Y.week=Lt,Y.firstDayOfYear=Bt,Y.firstDayOfWeek=zt,Y.weekdays=Qt,Y.weekdaysMin=en,Y.weekdaysShort=$t,Y.weekdaysParse=nn,Y.weekdaysRegex=sn,Y.weekdaysShortRegex=cn,Y.weekdaysMinRegex=ln,Y.isPM=hn,Y.meridiem=vn;function X(e,t,n,r){var i=kn(),a=p().set(r,t);return i[n](a,e)}function va(e,t,n){if(u(e)&&(t=e,e=void 0),e||=``,t!=null)return X(e,t,n,`month`);var r,i=[];for(r=0;r<12;r++)i[r]=X(e,r,n,`month`);return i}function ya(e,t,n,r){typeof e==`boolean`?(u(t)&&(n=t,t=void 0),t||=``):(t=e,n=t,e=!1,u(t)&&(n=t,t=void 0),t||=``);var i=kn(),a=e?i._week.dow:0,o,s=[];if(n!=null)return X(t,(n+a)%7,r,`day`);for(o=0;o<7;o++)s[o]=X(t,(o+a)%7,r,`day`);return s}function ba(e,t){return va(e,t,`months`)}function xa(e,t){return va(e,t,`monthsShort`)}function Sa(e,t,n){return ya(e,t,n,`weekdays`)}function Ca(e,t,n){return ya(e,t,n,`weekdaysShort`)}function wa(e,t,n){return ya(e,t,n,`weekdaysMin`)}En(`en`,{eras:[{since:`0001-01-01`,until:1/0,offset:1,name:`Anno Domini`,narrow:`AD`,abbr:`AD`},{since:`0000-12-31`,until:-1/0,offset:1,name:`Before Christ`,narrow:`BC`,abbr:`BC`}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(O(e%100/10)===1?`th`:t===1?`st`:t===2?`nd`:t===3?`rd`:`th`)}}),r.lang=_(`moment.lang is deprecated. Use moment.locale instead.`,En),r.langData=_(`moment.langData is deprecated. Use moment.localeData instead.`,kn);var Ta=Math.abs;function Ea(){var e=this._data;return this._milliseconds=Ta(this._milliseconds),this._days=Ta(this._days),this._months=Ta(this._months),e.milliseconds=Ta(e.milliseconds),e.seconds=Ta(e.seconds),e.minutes=Ta(e.minutes),e.hours=Ta(e.hours),e.months=Ta(e.months),e.years=Ta(e.years),this}function Da(e,t,n,r){var i=Lr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Oa(e,t){return Da(this,e,t,1)}function ka(e,t){return Da(this,e,t,-1)}function Aa(e){return e<0?Math.floor(e):Math.ceil(e)}function ja(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,i,a,o,s,c;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=Aa(Na(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,i=D(e/1e3),r.seconds=i%60,a=D(i/60),r.minutes=a%60,o=D(a/60),r.hours=o%24,t+=D(o/24),c=D(Ma(t)),n+=c,t-=Aa(Na(c)),s=D(n/12),n%=12,r.days=t,r.months=n,r.years=s,this}function Ma(e){return e*4800/146097}function Na(e){return e*146097/4800}function Pa(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=Le(e),e===`month`||e===`quarter`||e===`year`)switch(t=this._days+r/864e5,n=this._months+Ma(t),e){case`month`:return n;case`quarter`:return n/3;case`year`:return n/12}else switch(t=this._days+Math.round(Na(this._months)),e){case`week`:return t/7+r/6048e5;case`day`:return t+r/864e5;case`hour`:return t*24+r/36e5;case`minute`:return t*1440+r/6e4;case`second`:return t*86400+r/1e3;case`millisecond`:return Math.floor(t*864e5)+r;default:throw Error(`Unknown unit `+e)}}function Fa(e){return function(){return this.as(e)}}var Ia=Fa(`ms`),La=Fa(`s`),Ra=Fa(`m`),za=Fa(`h`),Ba=Fa(`d`),Va=Fa(`w`),Ha=Fa(`M`),Ua=Fa(`Q`),Wa=Fa(`y`),Ga=Ia;function Ka(){return Lr(this)}function qa(e){return e=Le(e),this.isValid()?this[e+`s`]():NaN}function Ja(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ya=Ja(`milliseconds`),Xa=Ja(`seconds`),Za=Ja(`minutes`),Qa=Ja(`hours`),$a=Ja(`days`),eo=Ja(`months`),to=Ja(`years`);function no(){return D(this.days()/7)}var ro=Math.round,Z={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function io(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ao(e,t,n,r){var i=Lr(e).abs(),a=ro(i.as(`s`)),o=ro(i.as(`m`)),s=ro(i.as(`h`)),c=ro(i.as(`d`)),l=ro(i.as(`M`)),u=ro(i.as(`w`)),d=ro(i.as(`y`)),f=a<=n.ss&&[`s`,a]||a<n.s&&[`ss`,a]||o<=1&&[`m`]||o<n.m&&[`mm`,o]||s<=1&&[`h`]||s<n.h&&[`hh`,s]||c<=1&&[`d`]||c<n.d&&[`dd`,c];return n.w!=null&&(f=f||u<=1&&[`w`]||u<n.w&&[`ww`,u]),f=f||l<=1&&[`M`]||l<n.M&&[`MM`,l]||d<=1&&[`y`]||[`yy`,d],f[2]=t,f[3]=+e>0,f[4]=r,io.apply(null,f)}function oo(e){return e===void 0?ro:typeof e==`function`&&(ro=e,!0)}function so(e,t){return Z[e]===void 0?!1:t===void 0?Z[e]:(Z[e]=t,e===`s`&&(Z.ss=t-1),!0)}function co(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Z,i,a;return typeof e==`object`&&(t=e,e=!1),typeof e==`boolean`&&(n=e),typeof t==`object`&&(r=Object.assign({},Z,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),i=this.localeData(),a=ao(this,!n,r,i),n&&(a=i.pastFuture(+this,a)),i.postformat(a)}var lo=Math.abs;function uo(e){return(e>0)-(e<0)||+e}function fo(){if(!this.isValid())return this.localeData().invalidDate();var e=lo(this._milliseconds)/1e3,t=lo(this._days),n=lo(this._months),r,i,a,o,s=this.asSeconds(),c,l,u,d;return s?(r=D(e/60),i=D(r/60),e%=60,r%=60,a=D(n/12),n%=12,o=e?e.toFixed(3).replace(/\.?0+$/,``):``,c=s<0?`-`:``,l=uo(this._months)===uo(s)?``:`-`,u=uo(this._days)===uo(s)?``:`-`,d=uo(this._milliseconds)===uo(s)?``:`-`,c+`P`+(a?l+a+`Y`:``)+(n?l+n+`M`:``)+(t?u+t+`D`:``)+(i||r||e?`T`:``)+(i?d+i+`H`:``)+(r?d+r+`M`:``)+(e?d+o+`S`:``)):`P0D`}var Q=hr.prototype;return Q.isValid=pr,Q.abs=Ea,Q.add=Oa,Q.subtract=ka,Q.as=Pa,Q.asMilliseconds=Ia,Q.asSeconds=La,Q.asMinutes=Ra,Q.asHours=za,Q.asDays=Ba,Q.asWeeks=Va,Q.asMonths=Ha,Q.asQuarters=Ua,Q.asYears=Wa,Q.valueOf=Ga,Q._bubble=ja,Q.clone=Ka,Q.get=qa,Q.milliseconds=Ya,Q.seconds=Xa,Q.minutes=Za,Q.hours=Qa,Q.days=$a,Q.weeks=no,Q.months=eo,Q.years=to,Q.humanize=co,Q.toISOString=fo,Q.toString=fo,Q.toJSON=fo,Q.locale=mi,Q.localeData=gi,Q.toIsoString=_(`toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)`,fo),Q.lang=hi,v(`X`,0,0,`unix`),v(`x`,0,0,`valueOf`),T(`x`,Je),T(`X`,Ze),A(`X`,function(e,t,n){n._d=new Date(parseFloat(e)*1e3)}),A(`x`,function(e,t,n){n._d=new Date(O(e))}),r.version=`2.30.1`,i(W),r.fn=q,r.min=cr,r.max=lr,r.now=ur,r.utc=p,r.unix=J,r.months=ba,r.isDate=d,r.locale=En,r.invalid=re,r.duration=Lr,r.isMoment=g,r.weekdays=Sa,r.parseZone=ga,r.localeData=kn,r.isDuration=gr,r.monthsShort=xa,r.weekdaysMin=wa,r.defineLocale=Dn,r.updateLocale=On,r.locales=An,r.weekdaysShort=Ca,r.normalizeUnits=Le,r.relativeTimeRounding=oo,r.relativeTimeThreshold=so,r.calendarFormat=Yr,r.prototype=q,r.HTML5_FMT={DATETIME_LOCAL:`YYYY-MM-DDTHH:mm`,DATETIME_LOCAL_SECONDS:`YYYY-MM-DDTHH:mm:ss`,DATETIME_LOCAL_MS:`YYYY-MM-DDTHH:mm:ss.SSS`,DATE:`YYYY-MM-DD`,TIME:`HH:mm`,TIME_SECONDS:`HH:mm:ss`,TIME_MS:`HH:mm:ss.SSS`,WEEK:`GGGG-[W]WW`,MONTH:`YYYY-MM`},r}))})),mo=t(((t,n)=>{(function(r,i){i(typeof t==`object`&&n!==void 0&&typeof e==`function`?po():r.moment)})(t,(function(e){function t(e,t,n,r){var i={m:[`eine Minute`,`einer Minute`],h:[`eine Stunde`,`einer Stunde`],d:[`ein Tag`,`einem Tag`],dd:[e+` Tage`,e+` Tagen`],w:[`eine Woche`,`einer Woche`],M:[`ein Monat`,`einem Monat`],MM:[e+` Monate`,e+` Monaten`],y:[`ein Jahr`,`einem Jahr`],yy:[e+` Jahre`,e+` Jahren`]};return t?i[n][0]:i[n][1]}return e.defineLocale(`de`,{months:`Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember`.split(`_`),monthsShort:`Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.`.split(`_`),monthsParseExact:!0,weekdays:`Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag`.split(`_`),weekdaysShort:`So._Mo._Di._Mi._Do._Fr._Sa.`.split(`_`),weekdaysMin:`So_Mo_Di_Mi_Do_Fr_Sa`.split(`_`),weekdaysParseExact:!0,longDateFormat:{LT:`HH:mm`,LTS:`HH:mm:ss`,L:`DD.MM.YYYY`,LL:`D. MMMM YYYY`,LLL:`D. MMMM YYYY HH:mm`,LLLL:`dddd, D. MMMM YYYY HH:mm`},calendar:{sameDay:`[heute um] LT [Uhr]`,sameElse:`L`,nextDay:`[morgen um] LT [Uhr]`,nextWeek:`dddd [um] LT [Uhr]`,lastDay:`[gestern um] LT [Uhr]`,lastWeek:`[letzten] dddd [um] LT [Uhr]`},relativeTime:{future:`in %s`,past:`vor %s`,s:`ein paar Sekunden`,ss:`%d Sekunden`,m:t,mm:`%d Minuten`,h:t,hh:`%d Stunden`,d:t,dd:t,w:t,ww:`%d Wochen`,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:`%d.`,week:{dow:1,doy:4}})}))})),ho=t(((t,n)=>{(function(r,i){i(typeof t==`object`&&n!==void 0&&typeof e==`function`?po():r.moment)})(t,(function(e){var t=`ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.`.split(`_`),n=`ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic`.split(`_`),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;return e.defineLocale(`es`,{months:`enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre`.split(`_`),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:`domingo_lunes_martes_miércoles_jueves_viernes_sábado`.split(`_`),weekdaysShort:`dom._lun._mar._mié._jue._vie._sáb.`.split(`_`),weekdaysMin:`do_lu_ma_mi_ju_vi_sá`.split(`_`),weekdaysParseExact:!0,longDateFormat:{LT:`H:mm`,LTS:`H:mm:ss`,L:`DD/MM/YYYY`,LL:`D [de] MMMM [de] YYYY`,LLL:`D [de] MMMM [de] YYYY H:mm`,LLLL:`dddd, D [de] MMMM [de] YYYY H:mm`},calendar:{sameDay:function(){return`[hoy a la`+(this.hours()===1?``:`s`)+`] LT`},nextDay:function(){return`[mañana a la`+(this.hours()===1?``:`s`)+`] LT`},nextWeek:function(){return`dddd [a la`+(this.hours()===1?``:`s`)+`] LT`},lastDay:function(){return`[ayer a la`+(this.hours()===1?``:`s`)+`] LT`},lastWeek:function(){return`[el] dddd [pasado a la`+(this.hours()===1?``:`s`)+`] LT`},sameElse:`L`},relativeTime:{future:`en %s`,past:`hace %s`,s:`unos segundos`,ss:`%d segundos`,m:`un minuto`,mm:`%d minutos`,h:`una hora`,hh:`%d horas`,d:`un día`,dd:`%d días`,w:`una semana`,ww:`%d semanas`,M:`un mes`,MM:`%d meses`,y:`un año`,yy:`%d años`},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:`%dº`,week:{dow:1,doy:4},invalidDate:`Fecha inválida`})}))})),go=t(((t,n)=>{(function(r,i){i(typeof t==`object`&&n!==void 0&&typeof e==`function`?po():r.moment)})(t,(function(e){var t=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,r=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,i=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];return e.defineLocale(`fr`,{months:`janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre`.split(`_`),monthsShort:`janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.`.split(`_`),monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:t,monthsShortStrictRegex:n,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:`dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi`.split(`_`),weekdaysShort:`dim._lun._mar._mer._jeu._ven._sam.`.split(`_`),weekdaysMin:`di_lu_ma_me_je_ve_sa`.split(`_`),weekdaysParseExact:!0,longDateFormat:{LT:`HH:mm`,LTS:`HH:mm:ss`,L:`DD/MM/YYYY`,LL:`D MMMM YYYY`,LLL:`D MMMM YYYY HH:mm`,LLLL:`dddd D MMMM YYYY HH:mm`},calendar:{sameDay:`[Aujourd’hui à] LT`,nextDay:`[Demain à] LT`,nextWeek:`dddd [à] LT`,lastDay:`[Hier à] LT`,lastWeek:`dddd [dernier à] LT`,sameElse:`L`},relativeTime:{future:`dans %s`,past:`il y a %s`,s:`quelques secondes`,ss:`%d secondes`,m:`une minute`,mm:`%d minutes`,h:`une heure`,hh:`%d heures`,d:`un jour`,dd:`%d jours`,w:`une semaine`,ww:`%d semaines`,M:`un mois`,MM:`%d mois`,y:`un an`,yy:`%d ans`},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case`D`:return e+(e===1?`er`:``);default:case`M`:case`Q`:case`DDD`:case`d`:return e+(e===1?`er`:`e`);case`w`:case`W`:return e+(e===1?`re`:`e`)}},week:{dow:1,doy:4}})}))})),_o=t(((t,n)=>{(function(r,i){i(typeof t==`object`&&n!==void 0&&typeof e==`function`?po():r.moment)})(t,(function(e){return e.defineLocale(`it`,{months:`gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre`.split(`_`),monthsShort:`gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic`.split(`_`),weekdays:`domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato`.split(`_`),weekdaysShort:`dom_lun_mar_mer_gio_ven_sab`.split(`_`),weekdaysMin:`do_lu_ma_me_gi_ve_sa`.split(`_`),longDateFormat:{LT:`HH:mm`,LTS:`HH:mm:ss`,L:`DD/MM/YYYY`,LL:`D MMMM YYYY`,LLL:`D MMMM YYYY HH:mm`,LLLL:`dddd D MMMM YYYY HH:mm`},calendar:{sameDay:function(){return`[Oggi a`+(this.hours()>1?`lle `:this.hours()===0?` `:`ll'`)+`]LT`},nextDay:function(){return`[Domani a`+(this.hours()>1?`lle `:this.hours()===0?` `:`ll'`)+`]LT`},nextWeek:function(){return`dddd [a`+(this.hours()>1?`lle `:this.hours()===0?` `:`ll'`)+`]LT`},lastDay:function(){return`[Ieri a`+(this.hours()>1?`lle `:this.hours()===0?` `:`ll'`)+`]LT`},lastWeek:function(){switch(this.day()){case 0:return`[La scorsa] dddd [a`+(this.hours()>1?`lle `:this.hours()===0?` `:`ll'`)+`]LT`;default:return`[Lo scorso] dddd [a`+(this.hours()>1?`lle `:this.hours()===0?` `:`ll'`)+`]LT`}},sameElse:`L`},relativeTime:{future:`tra %s`,past:`%s fa`,s:`alcuni secondi`,ss:`%d secondi`,m:`un minuto`,mm:`%d minuti`,h:`un'ora`,hh:`%d ore`,d:`un giorno`,dd:`%d giorni`,w:`una settimana`,ww:`%d settimane`,M:`un mese`,MM:`%d mesi`,y:`un anno`,yy:`%d anni`},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:`%dº`,week:{dow:1,doy:4}})}))})),vo=t(((t,n)=>{(function(r,i){i(typeof t==`object`&&n!==void 0&&typeof e==`function`?po():r.moment)})(t,(function(e){var t=`jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.`.split(`_`),n=`jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec`.split(`_`),r=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;return e.defineLocale(`nl`,{months:`januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december`.split(`_`),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:`zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag`.split(`_`),weekdaysShort:`zo._ma._di._wo._do._vr._za.`.split(`_`),weekdaysMin:`zo_ma_di_wo_do_vr_za`.split(`_`),weekdaysParseExact:!0,longDateFormat:{LT:`HH:mm`,LTS:`HH:mm:ss`,L:`DD-MM-YYYY`,LL:`D MMMM YYYY`,LLL:`D MMMM YYYY HH:mm`,LLLL:`dddd D MMMM YYYY HH:mm`},calendar:{sameDay:`[vandaag om] LT`,nextDay:`[morgen om] LT`,nextWeek:`dddd [om] LT`,lastDay:`[gisteren om] LT`,lastWeek:`[afgelopen] dddd [om] LT`,sameElse:`L`},relativeTime:{future:`over %s`,past:`%s geleden`,s:`een paar seconden`,ss:`%d seconden`,m:`één minuut`,mm:`%d minuten`,h:`één uur`,hh:`%d uur`,d:`één dag`,dd:`%d dagen`,w:`één week`,ww:`%d weken`,M:`één maand`,MM:`%d maanden`,y:`één jaar`,yy:`%d jaar`},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(e===1||e===8||e>=20?`ste`:`de`)},week:{dow:1,doy:4}})}))})),yo=t(((t,n)=>{(function(r,i){i(typeof t==`object`&&n!==void 0&&typeof e==`function`?po():r.moment)})(t,(function(e){var t=`styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień`.split(`_`),n=`stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia`.split(`_`),r=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function a(e,t,n){var r=e+` `;switch(n){case`ss`:return r+(i(e)?`sekundy`:`sekund`);case`m`:return t?`minuta`:`minutę`;case`mm`:return r+(i(e)?`minuty`:`minut`);case`h`:return t?`godzina`:`godzinę`;case`hh`:return r+(i(e)?`godziny`:`godzin`);case`ww`:return r+(i(e)?`tygodnie`:`tygodni`);case`MM`:return r+(i(e)?`miesiące`:`miesięcy`);case`yy`:return r+(i(e)?`lata`:`lat`)}}return e.defineLocale(`pl`,{months:function(e,r){return e?/D MMMM/.test(r)?n[e.month()]:t[e.month()]:t},monthsShort:`sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru`.split(`_`),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:`niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota`.split(`_`),weekdaysShort:`ndz_pon_wt_śr_czw_pt_sob`.split(`_`),weekdaysMin:`Nd_Pn_Wt_Śr_Cz_Pt_So`.split(`_`),longDateFormat:{LT:`HH:mm`,LTS:`HH:mm:ss`,L:`DD.MM.YYYY`,LL:`D MMMM YYYY`,LLL:`D MMMM YYYY HH:mm`,LLLL:`dddd, D MMMM YYYY HH:mm`},calendar:{sameDay:`[Dziś o] LT`,nextDay:`[Jutro o] LT`,nextWeek:function(){switch(this.day()){case 0:return`[W niedzielę o] LT`;case 2:return`[We wtorek o] LT`;case 3:return`[W środę o] LT`;case 6:return`[W sobotę o] LT`;default:return`[W] dddd [o] LT`}},lastDay:`[Wczoraj o] LT`,lastWeek:function(){switch(this.day()){case 0:return`[W zeszłą niedzielę o] LT`;case 3:return`[W zeszłą środę o] LT`;case 6:return`[W zeszłą sobotę o] LT`;default:return`[W zeszły] dddd [o] LT`}},sameElse:`L`},relativeTime:{future:`za %s`,past:`%s temu`,s:`kilka sekund`,ss:a,m:a,mm:a,h:a,hh:a,d:`1 dzień`,dd:`%d dni`,w:`tydzień`,ww:a,M:`miesiąc`,MM:a,y:`rok`,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:`%d.`,week:{dow:1,doy:4}})}))})),bo=t(((t,n)=>{(function(r,i){i(typeof t==`object`&&n!==void 0&&typeof e==`function`?po():r.moment)})(t,(function(e){return e.defineLocale(`pt`,{months:`janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro`.split(`_`),monthsShort:`jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez`.split(`_`),weekdays:`Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado`.split(`_`),weekdaysShort:`Dom_Seg_Ter_Qua_Qui_Sex_Sáb`.split(`_`),weekdaysMin:`Do_2ª_3ª_4ª_5ª_6ª_Sá`.split(`_`),weekdaysParseExact:!0,longDateFormat:{LT:`HH:mm`,LTS:`HH:mm:ss`,L:`DD/MM/YYYY`,LL:`D [de] MMMM [de] YYYY`,LLL:`D [de] MMMM [de] YYYY HH:mm`,LLLL:`dddd, D [de] MMMM [de] YYYY HH:mm`},calendar:{sameDay:`[Hoje às] LT`,nextDay:`[Amanhã às] LT`,nextWeek:`dddd [às] LT`,lastDay:`[Ontem às] LT`,lastWeek:function(){return this.day()===0||this.day()===6?`[Último] dddd [às] LT`:`[Última] dddd [às] LT`},sameElse:`L`},relativeTime:{future:`em %s`,past:`há %s`,s:`segundos`,ss:`%d segundos`,m:`um minuto`,mm:`%d minutos`,h:`uma hora`,hh:`%d horas`,d:`um dia`,dd:`%d dias`,w:`uma semana`,ww:`%d semanas`,M:`um mês`,MM:`%d meses`,y:`um ano`,yy:`%d anos`},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:`%dº`,week:{dow:1,doy:4}})}))})),xo=t(((t,n)=>{(function(r,i){i(typeof t==`object`&&n!==void 0&&typeof e==`function`?po():r.moment)})(t,(function(e){function t(e,t){var n=e.split(`_`);return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={ss:n?`секунда_секунды_секунд`:`секунду_секунды_секунд`,mm:n?`минута_минуты_минут`:`минуту_минуты_минут`,hh:`час_часа_часов`,dd:`день_дня_дней`,ww:`неделя_недели_недель`,MM:`месяц_месяца_месяцев`,yy:`год_года_лет`};return r===`m`?n?`минута`:`минуту`:e+` `+t(i[r],+e)}var r=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];return e.defineLocale(`ru`,{months:{format:`января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря`.split(`_`),standalone:`январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь`.split(`_`)},monthsShort:{format:`янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.`.split(`_`),standalone:`янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.`.split(`_`)},weekdays:{standalone:`воскресенье_понедельник_вторник_среда_четверг_пятница_суббота`.split(`_`),format:`воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу`.split(`_`),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:`вс_пн_вт_ср_чт_пт_сб`.split(`_`),weekdaysMin:`вс_пн_вт_ср_чт_пт_сб`.split(`_`),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:`H:mm`,LTS:`H:mm:ss`,L:`DD.MM.YYYY`,LL:`D MMMM YYYY г.`,LLL:`D MMMM YYYY г., H:mm`,LLLL:`dddd, D MMMM YYYY г., H:mm`},calendar:{sameDay:`[Сегодня, в] LT`,nextDay:`[Завтра, в] LT`,lastDay:`[Вчера, в] LT`,nextWeek:function(e){if(e.week()!==this.week())switch(this.day()){case 0:return`[В следующее] dddd, [в] LT`;case 1:case 2:case 4:return`[В следующий] dddd, [в] LT`;case 3:case 5:case 6:return`[В следующую] dddd, [в] LT`}else if(this.day()===2)return`[Во] dddd, [в] LT`;else return`[В] dddd, [в] LT`},lastWeek:function(e){if(e.week()!==this.week())switch(this.day()){case 0:return`[В прошлое] dddd, [в] LT`;case 1:case 2:case 4:return`[В прошлый] dddd, [в] LT`;case 3:case 5:case 6:return`[В прошлую] dddd, [в] LT`}else if(this.day()===2)return`[Во] dddd, [в] LT`;else return`[В] dddd, [в] LT`},sameElse:`L`},relativeTime:{future:`через %s`,past:`%s назад`,s:`несколько секунд`,ss:n,m:n,mm:n,h:`час`,hh:n,d:`день`,dd:n,w:`неделя`,ww:n,M:`месяц`,MM:n,y:`год`,yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?`ночи`:e<12?`утра`:e<17?`дня`:`вечера`},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case`M`:case`d`:case`DDD`:return e+`-й`;case`D`:return e+`-го`;case`w`:case`W`:return e+`-я`;default:return e}},week:{dow:1,doy:4}})}))})),So=t(((t,n)=>{(function(r,i){i(typeof t==`object`&&n!==void 0&&typeof e==`function`?po():r.moment)})(t,(function(e){function t(e,t){var n=e.split(`_`);return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={ss:n?`секунда_секунди_секунд`:`секунду_секунди_секунд`,mm:n?`хвилина_хвилини_хвилин`:`хвилину_хвилини_хвилин`,hh:n?`година_години_годин`:`годину_години_годин`,dd:`день_дні_днів`,MM:`місяць_місяці_місяців`,yy:`рік_роки_років`};return r===`m`?n?`хвилина`:`хвилину`:r===`h`?n?`година`:`годину`:e+` `+t(i[r],+e)}function r(e,t){var n={nominative:`неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота`.split(`_`),accusative:`неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу`.split(`_`),genitive:`неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи`.split(`_`)},r;return e===!0?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?(r=/(\[[ВвУу]\]) ?dddd/.test(t)?`accusative`:/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?`genitive`:`nominative`,n[r][e.day()]):n.nominative}function i(e){return function(){return e+`о`+(this.hours()===11?`б`:``)+`] LT`}}return e.defineLocale(`uk`,{months:{format:`січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня`.split(`_`),standalone:`січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень`.split(`_`)},monthsShort:`січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд`.split(`_`),weekdays:r,weekdaysShort:`нд_пн_вт_ср_чт_пт_сб`.split(`_`),weekdaysMin:`нд_пн_вт_ср_чт_пт_сб`.split(`_`),longDateFormat:{LT:`HH:mm`,LTS:`HH:mm:ss`,L:`DD.MM.YYYY`,LL:`D MMMM YYYY р.`,LLL:`D MMMM YYYY р., HH:mm`,LLLL:`dddd, D MMMM YYYY р., HH:mm`},calendar:{sameDay:i(`[Сьогодні `),nextDay:i(`[Завтра `),lastDay:i(`[Вчора `),nextWeek:i(`[У] dddd [`),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i(`[Минулої] dddd [`).call(this);case 1:case 2:case 4:return i(`[Минулого] dddd [`).call(this)}},sameElse:`L`},relativeTime:{future:`за %s`,past:`%s тому`,s:`декілька секунд`,ss:n,m:n,mm:n,h:`годину`,hh:n,d:`день`,dd:n,M:`місяць`,MM:n,y:`рік`,yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?`ночі`:e<12?`ранку`:e<17?`дня`:`вечора`},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case`M`:case`d`:case`DDD`:case`w`:case`W`:return e+`-й`;case`D`:return e+`-го`;default:return e}},week:{dow:1,doy:7}})}))})),Co=t(((t,n)=>{(function(r,i){i(typeof t==`object`&&n!==void 0&&typeof e==`function`?po():r.moment)})(t,(function(e){return e.defineLocale(`zh-cn`,{months:`一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月`.split(`_`),monthsShort:`1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月`.split(`_`),weekdays:`星期日_星期一_星期二_星期三_星期四_星期五_星期六`.split(`_`),weekdaysShort:`周日_周一_周二_周三_周四_周五_周六`.split(`_`),weekdaysMin:`日_一_二_三_四_五_六`.split(`_`),longDateFormat:{LT:`HH:mm`,LTS:`HH:mm:ss`,L:`YYYY/MM/DD`,LL:`YYYY年M月D日`,LLL:`YYYY年M月D日Ah点mm分`,LLLL:`YYYY年M月D日ddddAh点mm分`,l:`YYYY/M/D`,ll:`YYYY年M月D日`,lll:`YYYY年M月D日 HH:mm`,llll:`YYYY年M月D日dddd HH:mm`},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return e===12&&(e=0),t===`凌晨`||t===`早上`||t===`上午`?e:t===`下午`||t===`晚上`?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=e*100+t;return r<600?`凌晨`:r<900?`早上`:r<1130?`上午`:r<1230?`中午`:r<1800?`下午`:`晚上`},calendar:{sameDay:`[今天]LT`,nextDay:`[明天]LT`,nextWeek:function(e){return e.week()===this.week()?`[本]dddLT`:`[下]dddLT`},lastDay:`[昨天]LT`,lastWeek:function(e){return this.week()===e.week()?`[本]dddLT`:`[上]dddLT`},sameElse:`L`},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case`d`:case`D`:case`DDD`:return e+`日`;case`M`:return e+`月`;case`w`:case`W`:return e+`周`;default:return e}},relativeTime:{future:`%s后`,past:`%s前`,s:`几秒`,ss:`%d 秒`,m:`1 分钟`,mm:`%d 分钟`,h:`1 小时`,hh:`%d 小时`,d:`1 天`,dd:`%d 天`,w:`1 周`,ww:`%d 周`,M:`1 个月`,MM:`%d 个月`,y:`1 年`,yy:`%d 年`},week:{dow:1,doy:4}})}))}));mo(),ho(),go(),_o(),vo(),yo(),bo(),xo(),So(),Co();var wo=/^[a-zA-Z0-9_][a-zA-Z0-9_-]*\.\d+(?:\.[A-Za-z0-9_.\-/:#]+)+$/;function To(e,t){if(!e)return null;let n=Math.max(1,Math.min(t,e.length+1))-1,r=[`'`,`"`,"`"],i=null,a=-1;for(let t=n-1;t>=0;t--){let n=e[t];if(r.includes(n)&&e[t-1]!==`\\`){let r=0;for(let i=0;i<t;i++)e[i]===n&&e[i-1]!==`\\`&&r++;if(r%2==0){i=n,a=t;break}}}if(i===null||a<0)return null;let o=-1;for(let t=a+1;t<e.length;t++)if(e[t]===i&&e[t-1]!==`\\`){o=t;break}if(o<0||n<a||n>o)return null;let s=e.substring(a+1,o);return wo.test(s)?{id:s,startColumn:a+2,endColumn:o+1}:null}function Eo(e){if(!e)return``;if(typeof e==`string`)return e;if(typeof e==`object`){let t=e;return t.en||t.de||Object.values(t)[0]||``}return String(e)}function Do(e){if(e==null)return`*null*`;if(typeof e==`boolean`)return e?"`true`":"`false`";if(typeof e==`number`)return`\`${e}\``;if(typeof e==`string`)return`\`"${e.length>200?`${e.substring(0,200)}…`:e}"\``;if(typeof e==`object`)try{let t=JSON.stringify(e);return t.length>200?`\`${t.substring(0,200)}…\``:`\`${t}\``}catch{return"`<object>`"}return String(e)}function Oo(e){return e?i(e).locale(n.getLanguage()).fromNow():``}function ko(e,t,n){let r=[],i=(t==null?void 0:t.type)||`unknown`;if(r.push(`**\`${e}\`** · *${i}*`),!t)return r.push(``,`⚠️ Object not found in the object database.`),r.join(`
8
+ `);let a=t.common,o=Eo(a==null?void 0:a.name);o&&r.push(`Name: ${o}`);let s=[];a!=null&&a.type&&s.push(`type \`${a.type}\``),a!=null&&a.role&&s.push(`role \`${a.role}\``),a!=null&&a.unit&&s.push(`unit \`${a.unit}\``),(a==null?void 0:a.min)!==void 0&&s.push(`min \`${a.min}\``),(a==null?void 0:a.max)!==void 0&&s.push(`max \`${a.max}\``),s.length&&r.push(s.join(` · `));let c=[];if(((a==null?void 0:a.read)===!0||(a==null?void 0:a.read)===void 0)&&c.push(`read`),(a==null?void 0:a.write)===!0&&c.push(`write`),c.length===1&&r.push(`*${c[0]}-only*`),a!=null&&a.states&&typeof a.states==`object`){let e=Object.entries(a.states);if(e.length&&e.length<=8){r.push(``,`**Values:**`);for(let[t,n]of e)r.push(`- \`${t}\` → ${n}`)}else e.length>8&&r.push(``,`**Values:** ${e.length} defined`)}if(i===`state`){if(r.push(``),n){let e=n.ack?`✓ ack`:`✗ not ack`,t=Oo(n.ts);r.push(`**Value:** ${Do(n.val)} · ${e}${t?` · ${t}`:``}`),n.from&&r.push(`*from:* \`${n.from}\``)}else r.push(`*No current value available.*`)}return r.join(`
9
+ `)}var Ao=5e3,jo=new Map;async function Mo(e,t){let n=jo.get(t);if(n&&Date.now()-n.fetchedAt<Ao)return{obj:n.obj,state:n.state};let r=null,i=null;try{r=await e.getObject(t)||null}catch{r=null}if((r==null?void 0:r.type)===`state`)try{i=await e.getState(t)||null}catch{i=null}return jo.set(t,{obj:r,state:i,fetchedAt:Date.now()}),{obj:r,state:i}}function No(){jo.clear()}function Po(e,t){let n=[];for(let r of[`javascript`,`typescript`]){let i=e.languages.registerHoverProvider(r,{provideHover:async(n,r)=>{let i=To(n.getLineContent(r.lineNumber),r.column);if(!i)return null;try{let{obj:n,state:a}=await Mo(t,i.id),o=ko(i.id,n,a);return{range:new e.Range(r.lineNumber,i.startColumn,r.lineNumber,i.endColumn),contents:[{value:o,isTrusted:!1,supportHtml:!1}]}}catch{return null}}});n.push(i)}return{dispose(){n.forEach(e=>{try{e.dispose()}catch{}})}}}function Fo(e,t,n){return e.addAction({id:`iobroker.showStateValue`,label:n,keybindings:[t.KeyMod.Alt|t.KeyCode.KeyI],contextMenuGroupId:`navigation`,contextMenuOrder:1.5,run:e=>{e.trigger(`iobroker.showStateValue`,`editor.action.showHover`,{})}})}export{No as clearStateHoverCache,Fo as registerShowStateValueAction,Po as registerStateHoverProvider};
@@ -0,0 +1 @@
1
+ import{a as e,t}from"./dist-CaOsN0XW.js";import{t as n}from"./vite-preload-helper-B7qeedMF.js";({...e.global});var r=e.share;e.utils,typeof __VUE_HMR_RUNTIME__>`u`&&(globalThis.__VUE_HMR_RUNTIME__={createRecord(){},rerender(){},reload(){}});var i=`__mf_init__virtual:mf:__mfe_internal__iobroker_javascript__mf_owner__1__mf_v__runtimeInit__mf_v__.js__`,a=globalThis[i];if(!a){let e,t,n=new Promise((n,r)=>{e=n,t=r});a=globalThis[i]={initPromise:n,initResolve:e,initReject:t}}var o=a.initResolve,s=`__mf_module_cache__`;globalThis[s]||={share:{},remote:{}},globalThis[s].share||={},globalThis[s].remote||={};var c=globalThis[s];for(let e of Object.keys(c.share))if(e.startsWith(`default:`)){let t=e.slice(8);c.share[t]===void 0&&(c.share[t]=c.share[e])}else if(!e.includes(`:`)){let t=`default:`+e;c.share[t]===void 0&&(c.share[t]=c.share[e])}var l={},u=Array.isArray(`default`)?`default`:[`default`],d=`default`,f=`iobroker_javascript`,p=[[`react`,`prop-types`],[`react/jsx-runtime`,`react-dom`],[`react-dom/client`,`@mui/material`],[`@iobroker/gui-components`]],m,h,g;async function _(e){for(let t=0;;t++)try{return await e()}catch(e){throw e}}var v=Symbol(`mf.originalSharedProvider`),y={emit:e=>e},b=(e,t)=>{if(t!==`version-first`)return e;let n={};for(let[t,r]of Object.entries(e))n[t]=Object.assign({},r,{[v]:r});return n},x=(e,t)=>{if(!t)return;let n=Object.entries(e||{}),r=n.find(([,e])=>e===t);if(r)return{version:r[0],provider:t,registered:!0};if(typeof t.version==`string`&&t.version)return{version:t.version,provider:t,registered:!1};let i=n.filter(([,e])=>e===t||!!(t.from&&(e==null?void 0:e.from)===t.from));if(i.length===1)return{version:i[0][0],provider:t,registered:!1}},S=(e,t,n,i)=>{var a;if(!e||!n)return;let o=Array.isArray(n.scope)?n.scope:[n.scope||`default`],s=b(e,i),c={};for(let e of o)c[e||`default`]={[t]:s};let l=(a=r.getRegisteredShare(c,t,{...n,scope:o,strategy:i},y))==null?void 0:a.shared;return(l==null?void 0:l[v])||l},C=(e,t,n,r)=>{var i;let a=e=>w(e,n),o=Object.fromEntries(Object.entries(e||{}).filter(([,e])=>!a(e)));n!=null&&n.version&&((i=n.shareConfig)==null?void 0:i.import)!==!1&&(o[n.version]||(o[n.version]=n));let s=S(o,t,n,r);return a(s)?void 0:s},w=(e,t)=>e===t||!!(t!=null&&t.from&&(e==null?void 0:e.from)===t.from),T=(e,t,n,r,i,a,o,s,c)=>{var l,u;if(c!==`version-first`||!s)return;let d=t==null||(l=t.options)==null||(l=l.shared)==null?void 0:l[i],f=Array.isArray(d)?d.find(e=>(e==null?void 0:e.version)===a):void 0,p=((s==null?void 0:s.from)===(t==null||(u=t.options)==null?void 0:u.name)?s:void 0)||(w(f,s)?f:t?void 0:s);if(p)return e.some(e=>{var i,a;return e!==t&&(e==null||(i=e.options)==null?void 0:i.name)===(o==null?void 0:o.from)&&(e==null||(a=e.shareScopeMap)==null?void 0:a[r])===n})?p:void 0},ee=(e,t,n,r,i,a,o,s,c)=>{let l=a.registered?T(e,t,n,r,i,a.version,a.provider,s,c):void 0,u=l||o;if(u&&!(a.registered&&!w(u,s)))return{provider:u,scopeRootProvider:l}};async function E(){return m||=_(()=>n(()=>import(`./_virtual_mf-localSharedImportMap___mfe_internal__iobroker_javascript__mf_owner__1-BK6m6sZx.js`),[],import.meta.url)).catch(e=>{throw m=void 0,e}),m}async function D(){return h||=_(()=>n(()=>import(`./virtualExposes-DgGB-18P.js`),[],import.meta.url)).then(e=>e.default??e).catch(e=>{throw h=void 0,e}),h}async function O(e={},n=[]){var r,i;let a=(e,t,n,r)=>{let i=(Array.isArray(r)?r[0]:r)||`default`,a=t||!n?e:e+`@`+n,o={canonical:i+`:`+a};return i==="default"&&(o.aliases=[a]),o},s=(e,t)=>{let n=e[t.canonical];if(n!==void 0)return n;let r=t.aliases||[];for(let n of r){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let r=e[n];if(r!==void 0)return e[t.canonical]=r,r}},m=Symbol.for(`module-federation.shared-cache-listeners`),h=Symbol.for(`module-federation.shared-cache-owners`),v=e=>{let t=e[h];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,h,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},y=(e,t)=>{var n;return(n=e[h])==null?void 0:n[t.canonical]},b=(e,t,n,r)=>{var i;e[t.canonical]=n;let a=t.aliases||[];for(let t of a)Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0});let o=e[h];r===void 0?o&&delete o[t.canonical]:v(e)[t.canonical]=r;let s=(i=e[m])==null?void 0:i[t.canonical];if(s)for(let e of s)e(n);return n},T=Symbol.for(`module-federation.tree-shaking-shared-cache`),D=e=>{let t=e[T];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,T,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},O=(e,t,n,r)=>{if(!Array.isArray(n))return r;let i=[...new Set(n)].sort(),a=D(e),o=a[t.canonical]||=[],s=o.find(e=>e.providedExports.length===i.length&&e.providedExports.every((e,t)=>e===i[t]));return s?s.value=r:o.push({providedExports:i,value:r}),r},k=Symbol.for(`module-federation.tree-shaking-shared-selection-cache`),A=e=>{let t=e[k];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,k,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},j=(e,t,n)=>{var r;let i=s(e,t);return i===void 0?(r=e[k])==null||(r=r[t.canonical])==null?void 0:r[n]:i},M=(e,t,n,r)=>{let i=A(e),a=i[t.canonical]||=Object.create(null);return a[n]=r,r},N=((r=globalThis.__FEDERATION__)==null?void 0:r.__INSTANCES__)||[],P=(i=n.find(e=>e==null?void 0:e.from))==null?void 0:i.from,F=N.find(t=>{var n,r;return(t==null||(n=t.options)==null?void 0:n.name)===P&&(t==null||(r=t.shareScopeMap)==null?void 0:r.default)===e})||N.find(t=>{var n,r;return(t==null||(n=t.options)==null?void 0:n.name)!==f&&(t==null||(r=t.shareScopeMap)==null?void 0:r.default)===e}),I=Object.create(null),L=e=>{let t=Object.create(null);for(let[n,r]of Object.entries(e||{}))t[n]=Object.assign(Object.create(null),r);return t},te=(e,t)=>{let n=!F&&Object.values(t||{}).some(e=>Object.values(e||{}).some(B)),r=n?L(t):t;return I[e]={host:t,runtime:r,isWebpackScope:n},r},ne=()=>{let e=Object.values(I).filter(({isWebpackScope:e})=>e);if(e.length!==0)for(let{host:t,runtime:n}of e)for(let[e,r]of Object.entries(t||{})){let t=n[e]||=Object.create(null);for(let[e,n]of Object.entries(r||{}))t[e]=n}},R=Object.create(null);for(let[t,n]of Object.entries(e)){let e=R[t]=Object.create(null);for(let[t,r]of Object.entries(n))e[t]=Object.assign({},r)}let{usedShared:z,usedRemotes:re}=await E();function B(e){if(typeof(e==null?void 0:e.get)!=`function`)return!1;let t=Function.prototype.toString.call(e.get);return t.includes(`__webpack_require__`)||/\.\s*e\s*\([^)]*\)\s*\.then\s*\(/.test(t)}let ie=Object.values(R).some(e=>Object.values(e||{}).some(B)),ae=e=>{let t=e.split(`/`);return e.startsWith(`@`)?t.slice(0,2).join(`/`):t[0]},V=(t,n,r)=>{if(typeof C!=`function`)return;let i=ae(t),a=i===t?[[t,n]]:[[t,n],[i,z[i]]];for(let[n,i]of a){if(!i)continue;let a=C(r?n===t?r:R[n]:e[n],n,i,`version-first`);if(a&&B(a)&&!a.lib&&!a.loaded)return a}};var H=l[d];if(H||=l[d]={from:f},n.indexOf(H)>=0)return;n.push(H);let oe=e=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`||Object.keys(e).length===0)break;let n=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(n.length>0&&n.some(e=>e!==void 0))break;t=e}return t},se=[],ce=globalThis.window===void 0?await Promise.all([]):[],U=`__mf_vite_runtime_share_load_id__`,le=0,W=new Map,G=new Map,K=t({name:f,remotes:re,shared:z,plugins:[ue(),de(),...se,...ce],shareStrategy:`version-first`});K.initShareScopeMap(`default`,te(`default`,e));function ue(){return{name:`vite-share-pin-lifecycle-plugin`,resolveShare(e){var t;let n=(t=e.shareInfo)==null?void 0:t[U],r=n===void 0?void 0:G.get(n);if(!r)return e;let i=e.resolver;return e.resolver=(...e)=>(r.pinned.reapply(),i(...e)),r.pinned.reveal(),e}}}function de(){return{name:`vite-real-name-snapshot-plugin`,afterLoadSnapshot(e){let t=e&&e.remoteSnapshot,n=t&&t.globalName,r=t&&t.version;if(!n||!r||!t.remoteEntry)return e;let i=globalThis.__FEDERATION__&&globalThis.__FEDERATION__.moduleInfo,a=n+`:`+r;return i&&!i[a]&&(i[a]=t),e}}}let fe=K.sharedHandler.hooks.lifecycle.resolveShare,q=new WeakMap;fe.on(e=>{var t;let n=(t=e.shareInfo)==null?void 0:t[U],r=e.resolver;return typeof r==`function`&&(e.resolver=(...e)=>{let t=r(...e),i=t==null?void 0:t.shared;return i&&(typeof i==`object`||typeof i==`function`)&&!q.has(i)&&q.set(i,{from:i.from}),n!==void 0&&i&&W.set(n,i),t}),e});let pe=(e,t,n,r)=>{if(!e||e[t]!==n)return;let i=Object.assign({},r,{version:r.version??t,scope:r.scope??(n==null?void 0:n.scope)??[`default`],strategy:`loaded-first`}),a=r.from;e[t]=i;let o=()=>n===void 0?e[t]===void 0:e[t]===n;return{provider:i,reveal(){return e[t]===i&&(n===void 0?delete e[t]:e[t]=n,!0)},reapply(){return o()?(e[t]=i,!0):!1},release(s,c=!0){return r.from=a,e[t]===i?c?s?(i.from=a,s&&i.lib&&(i.loaded=!0),r.strategy===void 0?delete i.strategy:i.strategy=r.strategy,!0):(n===void 0?delete e[t]:e[t]=n,!1):(n===void 0?delete e[t]:e[t]=n,!0):!c&&o()}}},me=e=>Object.entries(e||{}).map(([e,t])=>({provider:t,version:e,from:t.from,registered:!0})),he=(e,t)=>{if(t===void 0)return;let n;for(let r of e){let e=r.provider,i=e.treeShaking||e;if(r.loadedFactory===t||e.lib===t||i.lib===t){if(n)return;n=r}}return n},ge=async(e,t,n)=>{let r=++le;G.set(r,{pinned:n});try{let n=await K.loadShare(e,{customShareInfo:{shareConfig:t,[U]:r}});return{factory:n===!1?void 0:n,selectedProvider:W.get(r)}}finally{W.delete(r),G.delete(r)}},J=async(e,t,n,r,i,a,o=!0)=>{let s=a.from,c=pe(n,r,i,a);if(!c)return;let l;try{l=await ge(e,t,c)}catch(e){throw c.release(!1),e}let u=l==null?void 0:l.factory;if(u===void 0){c.release(!1);return}let d=me(n),f=c.provider.treeShaking||c.provider,p=c.provider.lib===u||f.lib===u;if(!o&&p){let e=d.findIndex(e=>e.provider===c.provider);e!==-1&&d.splice(e,1)}!o&&!d.some(e=>e.provider===a)&&d.push({provider:a,version:r,from:s,registered:!1,loadedFactory:p?u:void 0});let m=!o&&l.selectedProvider===c.provider&&p?a:l.selectedProvider;if(m&&!d.some(e=>e.provider===m)){let e=q.get(m),t=typeof m.version==`string`&&m.version?m.version:r;d.push({provider:m,version:t,from:e?e.from:m.from,registered:(n==null?void 0:n[t])===m,loadedFactory:u})}let h=d.find(e=>e.provider===m)??he(d,u);if(!c.release(!0,(h==null?void 0:h.provider)===c.provider)||!h)return;let g=q.get(h.provider);h.from=h.provider===a?s:g?g.from:h.provider.from,g&&(h.provider.from=g.from);let _=typeof u==`function`?u():u,v=await Promise.resolve(_);if(!(h.registered&&(n==null?void 0:n[h.version])!==h.provider))return{provider:h.provider,selection:h,resolved:v}},Y=new Set,X=new Map,_e=async(t,n,r)=>{var i;let o=!!((i=n.shareConfig)!=null&&i.singleton);if(!o&&n.canLiveRebind!==!1)try{let i=C(r,t,n,`version-first`),l=x(r,i);if(!l)return;let{version:u}=l;if(!o&&u!==n.version||!i.lib&&!i.loading&&!(i.loaded&&typeof i.get==`function`))return;let d=a(t,o,n.version,n.scope);if(s(c.share,d)!==void 0)return;let f=e[t],p=f==null?void 0:f[u];if(l.registered&&!w(p,i))return;let m,h=i.lib;if(!h&&B(i)||(!h&&i.loading&&(h=await i.loading),!h&&i.loaded&&typeof i.get==`function`&&(h=await i.get()),!h))return;let g=typeof h==`function`?h():h,_=await Promise.resolve(g),v=l.registered?p:i;m={provider:v,selection:{provider:v,version:u,from:i.from,registered:l.registered},resolved:_};let y=m==null?void 0:m.provider,S=m==null?void 0:m.selection;if(!S)return;let T=m==null?void 0:m.resolved;if(T===void 0||s(c.share,d)!==void 0||S.registered&&(f==null?void 0:f[S.version])!==y)return;b(c.share,d,oe(T),S.from),Y.add(y)}catch(e){console.error(`[Module Federation] Failed to bridge materialized shared module "`+t+`"`,e)}},ve=async(t,n,r,i,o)=>{try{var l,u;let d=a(t,(l=n.shareConfig)==null?void 0:l.singleton,n.version,n.scope),p=s(c.share,d),m=y(c.share,d),h=C(r,t,n,`version-first`),g=h||S(r,t,n,`version-first`)||n,_=x(r,g);if(!_)return;let v=w(g,n),{version:T}=_;if(!((u=n.shareConfig)!=null&&u.singleton)&&T!==n.version)return;let E=i==null?void 0:i[T],D=ee(N,F,e,`default`,t,_,h,E,`version-first`);if(!D&&!v)return;let{provider:O,scopeRootProvider:k}=D||{provider:g,scopeRootProvider:void 0};if(n.canLiveRebind===!1||p!==void 0&&m!==f)return;let A=e[t],j=A==null?void 0:A[T];if(_.registered&&!k&&!w(j,O))return;let M=await J(t,n.shareConfig,A,T,j,O,_.registered&&!v),P=M==null?void 0:M.provider,I=M==null?void 0:M.selection;if(!I||w(P,n)||o&&(o.version!==I.version||!w({from:I.from},o.provider))||Y.has(P))return;let L=M==null?void 0:M.resolved;if(L===void 0)return;let te=s(c.share,d),ne=y(c.share,d);if(te!==void 0&&ne!==f||I.registered&&(A==null?void 0:A[I.version])!==P)return;o||X.set(t,{version:I.version,provider:{from:I.from}}),Y.add(P);let R=oe(L);b(c.share,d,R,I.from)}catch(e){console.error(`[Module Federation] Failed to bridge external shared module "`+t+`"`,e)}};for(let e of p)await Promise.all(e.map(async e=>{let t=z[e];!t||t.materialize===!1||t.treeShaking||await _e(e,t,R[e])}));for(let[e,t]of Object.entries(z)){var ye;if(t.treeShaking)continue;let n=a(e,(ye=t.shareConfig)==null?void 0:ye.singleton,t.version,t.scope);if(s(c.share,n)!==void 0)continue;let r=a(e,!0,t.version,t.scope),i=s(c.share,r);i!==void 0&&b(c.share,n,i,y(c.share,r))}let be=[`react`,`prop-types`,`react/jsx-runtime`,`react-dom`,`react-dom/client`,`@mui/material`,`@iobroker/gui-components`],xe=[[`react`,`prop-types`],[`react/jsx-runtime`,`react-dom`],[`react-dom/client`,`@mui/material`],[`@iobroker/gui-components`]],Z=be.filter(e=>{var t;return z[e]&&(z[e].materialize!==!1||((t=z[e].shareConfig)==null?void 0:t.import)===!1)});c.providerInit||=new Map;let Se=(e,t)=>{let n=c.providerInit.get(e);if(n)return n;let r=Promise.resolve().then(t);return c.providerInit.set(e,r),r.catch(()=>c.providerInit.delete(e)),r};var Ce=async e=>{let t=new Set(e);for(let e of xe)await Promise.all(e.filter(e=>t.has(e)).map(async e=>{var t,n;let r=z[e],i=a(e,(t=r.shareConfig)==null?void 0:t.singleton,r.version,r.scope);if(((n=r.shareConfig)==null?void 0:n.import)===!1||r.treeShaking||s(c.share,i)!==void 0)return;let o=a(e,!0,r.version,r.scope),l=s(c.share,o);if(l!==void 0){b(c.share,i,l,y(c.share,o));return}let u=typeof V==`function`?V(e,r):void 0;if(u&&!u.lib&&!u.loaded)return;let d=i.canonical,p=await Se(d,async()=>{let e=await r.get(),t=typeof e==`function`?e():e;return Promise.resolve(t)}),m=(e=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`||Object.keys(e).length===0)break;let n=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(n.length>0&&n.some(e=>e!==void 0))break;t=e}return t})(p),h=m===p?{...p}:m;h.__esModule!==!0&&Object.defineProperty(h,"__esModule",{value:!0,enumerable:!1}),b(c.share,i,h,f)}))};let we=e=>{var t,n;let r=z[e];if(!r.treeShaking&&((t=r.shareConfig)==null?void 0:t.import)!==!1)return!1;let i=a(e,(n=r.shareConfig)==null?void 0:n.singleton,r.version,r.scope);return r.treeShaking?j(c.share,i,f)===void 0&&s(c.share,i)===void 0:s(c.share,i)===void 0},Q=Z.findIndex(e=>{var t,n;let r=z[e],i=a(e,(t=r.shareConfig)==null?void 0:t.singleton,r.version,r.scope);return(r.treeShaking?j(c.share,i,f)??s(c.share,i):s(c.share,i))===void 0?r.treeShaking||((n=r.shareConfig)==null?void 0:n.import)===!1?!0:typeof C==`function`&&!!C(R[e],e,r,`version-first`):!1}),Te=Q===-1?Z:Z.slice(0,Q);var Ee=Q===-1?[]:Z.slice(Q);await Ce(Te);try{await _(async()=>{await Promise.all(await K.initializeSharing(`default`,{strategy:`version-first`,from:`build`,initScope:n}))})}catch(e){console.error(`[Module Federation]`,e)}ne();let De=async()=>{for(let t of p)await Promise.all(t.map(async t=>{let n=z[t];!n||n.materialize===!1||n.treeShaking||await ve(t,n,e[t],R[t],void 0)}))};await De(),ie&&(g=De);try{var Oe;let e=(Oe=globalThis.__FEDERATION__)==null?void 0:Oe.__SHARE__,t=Object.create(null);if(e)for(let[,n]of Object.entries(e))for(let e of u){let r=n==null?void 0:n[e];if(r)for(let[e,n]of Object.entries(r)){let r=z==null?void 0:z[e],i=R[e],a=X.get(e);if(!r||!i||!a||r.treeShaking)continue;let o=t[e]||(t[e]=Object.create(null));for(let[e,t]of Object.entries(n)){if(!t.lib||a.version!==e||!w(t,a.provider))continue;let n=i[e];(t===n||n!=null&&n.from&&t.from===n.from)&&(t===r||r.from&&t.from===r.from||o[e]===void 0&&(o[e]=t))}}}for(let e of p)await Promise.all(e.map(async e=>{let n=t[e];n&&await ve(e,z[e],n,R[e],X.get(e))}))}catch(e){console.error(`[Module Federation] Failed to bridge external shared modules`,e)}let ke=async()=>{},Ae=async(t,n)=>{var r,i;let o=a(t,(r=n.shareConfig)==null?void 0:r.singleton,n.version,n.scope),l=n.treeShaking?j(c.share,o,f):s(c.share,o);if(((i=n.shareConfig)==null?void 0:i.import)!==!1||l!==void 0||V(t,n,R[t]))return;let u=e=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`||Object.keys(e).length===0)break;let n=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(n.length>0&&n.some(e=>e!==void 0))break;t=e}return t},d=e==null?void 0:e[t],p=S(d,t,n,`version-first`)||n,m=x(d,p);if(!m)return;let{version:h}=m,g=d==null?void 0:d[h],_=await J(t,n.shareConfig,d,h,g,p,m.registered&&!w(p,n)),v=_==null?void 0:_.selection,y=_==null?void 0:_.provider,C=_==null?void 0:_.resolved;if(!v||w(y,n)||C===void 0||(n.treeShaking?j(c.share,o,f):s(c.share,o))!==void 0||v.registered&&(d==null?void 0:d[v.version])!==y)return;let T=u(C);if(n.treeShaking){let e=n.treeShaking.providedExports??n.treeShaking.usedExports??[];O(c.share,o,e,T),M(c.share,o,f,T)}else b(c.share,o,T,v.from)},je=[];for(let e of Ee){let t=z[e];if(we(e))try{var $;t.treeShaking?await ke(e,t):(($=t.shareConfig)==null?void 0:$.import)===!1&&await Ae(e,t)}catch(t){console.error(`[Module Federation] Failed to resolve runtime-only shared module "${e}"`,t);break}if(we(e))break;je.push(e)}return await Ce(je),o(K),K}async function k(e){let t=await D();if(!(e in t))throw Error(`[Module Federation] Module ${e} does not exist in container.`);return g&&await g(),c.pendingShareLoads&&await Promise.all(c.pendingShareLoads),t[e]().then(e=>()=>e)}export{O as n,k as t};