streamlit-nightly 1.46.1.dev20250624__py3-none-any.whl → 1.46.2.dev20250626__py3-none-any.whl

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 (87) hide show
  1. streamlit/elements/arrow.py +5 -5
  2. streamlit/elements/code.py +6 -4
  3. streamlit/elements/dialog_decorator.py +18 -1
  4. streamlit/elements/lib/column_types.py +7 -0
  5. streamlit/elements/metric.py +20 -2
  6. streamlit/elements/widgets/multiselect.py +27 -1
  7. streamlit/static/index.html +1 -1
  8. streamlit/static/manifest.json +218 -218
  9. streamlit/static/static/js/{ErrorOutline.esm.DcGodXA0.js → ErrorOutline.esm.CJg-nD07.js} +1 -1
  10. streamlit/static/static/js/{FileDownload.esm.BtTSWyv0.js → FileDownload.esm.Bqu9hYVK.js} +1 -1
  11. streamlit/static/static/js/{FileHelper.BOV_ijyF.js → FileHelper.BTD8--nH.js} +1 -1
  12. streamlit/static/static/js/{FormClearHelper.YYlwo10a.js → FormClearHelper.DwQzHDKa.js} +1 -1
  13. streamlit/static/static/js/{Hooks.BoB69I0K.js → Hooks.CkgvOw3a.js} +1 -1
  14. streamlit/static/static/js/{InputInstructions.B5C3dEon.js → InputInstructions.A_59uy0m.js} +1 -1
  15. streamlit/static/static/js/{ProgressBar.2T39z4H_.js → ProgressBar.B8wHlmHP.js} +2 -2
  16. streamlit/static/static/js/{RenderInPortalIfExists.Dr06opo0.js → RenderInPortalIfExists.DLkeeRK1.js} +1 -1
  17. streamlit/static/static/js/{Toolbar.BRouzc5U.js → Toolbar.CTXCF-zE.js} +1 -1
  18. streamlit/static/static/js/{base-input.PyN4CoyX.js → base-input.DLahFrJX.js} +4 -4
  19. streamlit/static/static/js/{checkbox.CpyGalPT.js → checkbox.BqH30Pie.js} +2 -2
  20. streamlit/static/static/js/{createSuper.Jon9k3Yt.js → createSuper.BR6dNcL_.js} +1 -1
  21. streamlit/static/static/js/{data-grid-overlay-editor.D4ghymBb.js → data-grid-overlay-editor.DHD2lEOv.js} +1 -1
  22. streamlit/static/static/js/{downloader.FX1msyAN.js → downloader.Cxz7Pmav.js} +1 -1
  23. streamlit/static/static/js/{es6.QGDMdnvM.js → es6.CKIqaUkI.js} +2 -2
  24. streamlit/static/static/js/{iframeResizer.contentWindow.t8qLRzyv.js → iframeResizer.contentWindow.BUR39Ca8.js} +1 -1
  25. streamlit/static/static/js/index.086fJkRW.js +1 -0
  26. streamlit/static/static/js/index.0RieWGP-.js +1 -0
  27. streamlit/static/static/js/index.39cFhVAB.js +1 -0
  28. streamlit/static/static/js/{index.CwKcK2uB.js → index.5T0ZQUll.js} +1 -1
  29. streamlit/static/static/js/{index.PsjpMKwq.js → index.5WfC2MKX.js} +2 -2
  30. streamlit/static/static/js/{index.C4qeNI_i.js → index.B5TjHKHs.js} +1 -1
  31. streamlit/static/static/js/{index.CZttj0Fd.js → index.BBk99Mab.js} +1 -1
  32. streamlit/static/static/js/{index.DgNa_UKX.js → index.BEVVZtmO.js} +61 -61
  33. streamlit/static/static/js/{index.GgMflWG-.js → index.BJg-lqwR.js} +1 -1
  34. streamlit/static/static/js/{index.B-vIEt1m.js → index.BnPGYwJD.js} +1 -1
  35. streamlit/static/static/js/{index.B2Y8O1Wt.js → index.Br9KoWfK.js} +1 -1
  36. streamlit/static/static/js/{index.Dieu6abC.js → index.BvMYFCGi.js} +1 -1
  37. streamlit/static/static/js/{index.B7osuoZN.js → index.BydvTht8.js} +2 -2
  38. streamlit/static/static/js/{index.CuLeR7Zz.js → index.C0sFxtmT.js} +1 -1
  39. streamlit/static/static/js/{index.BJhXUMZ4.js → index.C46vZAVk.js} +1 -1
  40. streamlit/static/static/js/{index.BG2gdqVa.js → index.C8wAT-1P.js} +1 -1
  41. streamlit/static/static/js/{index.BTUUpB01.js → index.CF_0T827.js} +1 -1
  42. streamlit/static/static/js/index.CJNu66g-.js +1 -0
  43. streamlit/static/static/js/{index.B5UnBp6n.js → index.Ched5ljK.js} +1 -1
  44. streamlit/static/static/js/{index.BXxgCK9y.js → index.Cp5DQ0Nk.js} +1 -1
  45. streamlit/static/static/js/{index.CUBt4-Uz.js → index.Cx9oo677.js} +2 -2
  46. streamlit/static/static/js/{index.kEHB5PaN.js → index.CxswEeN7.js} +1 -1
  47. streamlit/static/static/js/{index.IZ-swmmu.js → index.D5Bi0_IY.js} +1 -1
  48. streamlit/static/static/js/{index.B_pohBxx.js → index.DFLLK5fQ.js} +1 -1
  49. streamlit/static/static/js/{index.COUW2Eq4.js → index.DaVYWs29.js} +3 -3
  50. streamlit/static/static/js/{index.cLUrTr09.js → index.DbeUpiV0.js} +1 -1
  51. streamlit/static/static/js/{index.D4M62uXW.js → index.DlQzdr4z.js} +1 -1
  52. streamlit/static/static/js/{index.ArgFGqRm.js → index.DoCkeB4S.js} +1 -1
  53. streamlit/static/static/js/index.Dpi_eA9w.js +1 -0
  54. streamlit/static/static/js/{index.Bzp1Qysi.js → index.Dt6vo5Wt.js} +1 -1
  55. streamlit/static/static/js/{index.C-vLCSJp.js → index.Du_GhChx.js} +61 -62
  56. streamlit/static/static/js/{index.CdJwjLfQ.js → index.NIVZIka1.js} +2 -2
  57. streamlit/static/static/js/{index.DdfoIDPC.js → index.YJxN7uL8.js} +1 -1
  58. streamlit/static/static/js/{index.By43fiCF.js → index._udMrZfX.js} +1 -1
  59. streamlit/static/static/js/{index.C8r7DD-9.js → index.d0pgY8V8.js} +1 -1
  60. streamlit/static/static/js/{index.DthY-obI.js → index.dRZ6j1EM.js} +2 -2
  61. streamlit/static/static/js/{index.Dz6zHKtI.js → index.jk8Nloxj.js} +1 -1
  62. streamlit/static/static/js/{input.mfVbl2I5.js → input.CYwqmJUN.js} +2 -2
  63. streamlit/static/static/js/{memory.B-p09GS3.js → memory.CwoWYYJe.js} +1 -1
  64. streamlit/static/static/js/{mergeWith.D6q7TPdQ.js → mergeWith.CM4ZdUxz.js} +1 -1
  65. streamlit/static/static/js/{number-overlay-editor.QOWTlq5z.js → number-overlay-editor.App3Ir5h.js} +1 -1
  66. streamlit/static/static/js/{possibleConstructorReturn.DO-pRPNX.js → possibleConstructorReturn.DLN_CW-A.js} +1 -1
  67. streamlit/static/static/js/{sandbox.DREGkhZ5.js → sandbox.AnJN0uBk.js} +1 -1
  68. streamlit/static/static/js/{textarea.RxMqblTR.js → textarea.uAcwGUtc.js} +2 -2
  69. streamlit/static/static/js/{timepicker.BSrUPnyZ.js → timepicker.DDp122zI.js} +4 -4
  70. streamlit/static/static/js/{toConsumableArray.BkyyIrpf.js → toConsumableArray.CXCskjcZ.js} +1 -1
  71. streamlit/static/static/js/{uniqueId.CXqhuYjv.js → uniqueId.DQ5uc9Dn.js} +1 -1
  72. streamlit/static/static/js/{useBasicWidgetState.QQhMYIp5.js → useBasicWidgetState.DFIfVHMH.js} +1 -1
  73. streamlit/static/static/js/{useOnInputChange.DvWbafRm.js → useOnInputChange.qZzWT6UC.js} +1 -1
  74. streamlit/static/static/js/{withFullScreenWrapper.CX_bKrfm.js → withFullScreenWrapper.6Cdl0P_3.js} +1 -1
  75. streamlit/web/server/server.py +7 -6
  76. streamlit/web/server/server_util.py +24 -0
  77. {streamlit_nightly-1.46.1.dev20250624.dist-info → streamlit_nightly-1.46.2.dev20250626.dist-info}/METADATA +1 -1
  78. {streamlit_nightly-1.46.1.dev20250624.dist-info → streamlit_nightly-1.46.2.dev20250626.dist-info}/RECORD +82 -82
  79. streamlit/static/static/js/index.2JQx94HQ.js +0 -1
  80. streamlit/static/static/js/index.BM1_hMg8.js +0 -1
  81. streamlit/static/static/js/index.C78GEvay.js +0 -1
  82. streamlit/static/static/js/index.CU45_Nrh.js +0 -1
  83. streamlit/static/static/js/index.CvFBPhOY.js +0 -1
  84. {streamlit_nightly-1.46.1.dev20250624.data → streamlit_nightly-1.46.2.dev20250626.data}/scripts/streamlit.cmd +0 -0
  85. {streamlit_nightly-1.46.1.dev20250624.dist-info → streamlit_nightly-1.46.2.dev20250626.dist-info}/WHEEL +0 -0
  86. {streamlit_nightly-1.46.1.dev20250624.dist-info → streamlit_nightly-1.46.2.dev20250626.dist-info}/entry_points.txt +0 -0
  87. {streamlit_nightly-1.46.1.dev20250624.dist-info → streamlit_nightly-1.46.2.dev20250626.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- import{J as m8,n as y8,H as at,aG as b8,aH as HA,aI as x8,aJ as v8,aK as Va,aL as Ch,N as E8,z as w8,r as Rt,M as $x,ar as A8,ao as S8,ak as VA,al as YA,X as C8,aM as $8,O as XA,aA as KA,l as Mk,aD as _8,aN as F8,C as k8,j as bm,aO as D8}from"./index.C-vLCSJp.js";import{S as JA,T as T8}from"./Toolbar.BRouzc5U.js";import{w as M8,E as O8}from"./withFullScreenWrapper.CX_bKrfm.js";import{m as R8}from"./mergeWith.D6q7TPdQ.js";import{a as Ic,n as N8,b as L8,c as ep,t as ra,p as P8,d as I8,e as z8,i as us,f as tp,g as QA,l as rl,h as _x,j as np,k as ZA,m as No,o as Cu,q as B8,r as ls,s as U8,u as j8,v as q8,w as W8}from"./threshold.DjX0wlsa.js";import{f as G8,a as hy,b as Ok,c as H8,R as ip,r as Rk,d as Fx,e as kx,C as Dx,g as eS,h as tS,i as rp,j as gy,n as en,k as yf,l as V8,m as Y8,o as X8,p as K8,q as J8,s as Q8,t as Z8,u as e9,v as t9,w as n9,x as i9,y as $h}from"./value.CgPGBV_l.js";import{P as r9,i as o9,a as s9,b as a9,p as Tx,T as u9,n as l9,t as c9,d as f9}from"./timer.CAwTRJ_g.js";import{u as d9}from"./FormClearHelper.YYlwo10a.js";const h9=e=>({"#vg-tooltip-element":{visibility:"hidden",position:"fixed",fontFamily:e.genericFonts.bodyFont,color:e.colors.bodyText,border:`${e.sizes.borderWidth} solid ${e.colors.borderColor}`,backgroundColor:m8(e.colors.bgColor,.05),fontSize:e.fontSizes.twoSm,boxShadow:"rgb(0 0 0 / 16%) 0px 1px 4px",maxWidth:e.sizes.maxChartTooltipWidth,padding:`${e.spacing.xs} ${e.spacing.md}`,borderRadius:e.radii.default,zIndex:e.zIndices.popup,"&.visible":{visibility:"visible"},h2:{marginTop:e.spacing.none,marginBottom:e.spacing.sm,fontSize:e.fontSizes.sm},td:{border:"none"},table:{borderSpacing:0,tr:{border:"none",td:{overflow:"hidden",textOverflow:"ellipsis",paddingTop:e.spacing.threeXS,paddingBottom:e.spacing.threeXS},"td.key":{maxWidth:`calc((${e.sizes.maxChartTooltipWidth} - 2 * ${e.spacing.md}) * 0.4)`,textAlign:"right",color:e.colors.fadedText60,whiteSpace:"nowrap",paddingRight:e.spacing.twoXS},"td.value":{maxWidth:`calc((${e.sizes.maxChartTooltipWidth} - 2 * ${e.spacing.md}) * 0.6)`,textAlign:"left",display:"-webkit-box",WebkitLineClamp:"5",WebkitBoxOrient:"vertical",lineClamp:"5",wordWrap:"break-word"}}}}}),g9=y8("div",{target:"e1d0pwhz0"})(({theme:e,useContainerWidth:t,isFullScreen:n})=>({width:t||n?"100%":"auto",height:n?"100%":"auto","&.vega-embed":{position:"relative",display:"inline-block",boxSizing:"border-box","details:not([open]) > :not(summary)":{display:"none !important"},"details[open] summary":{opacity:.7},"&:hover summary, .vega-embed:focus summary":{background:"transparent"},"&:hover summary, &:focus-within summary":{opacity:"1 !important",transition:"opacity 0.2s ease"},"&.has-actions":{paddingRight:0},".vega-actions":{position:"absolute",display:"flex",flexDirection:"column",paddingBottom:e.spacing.sm,paddingTop:e.spacing.sm,zIndex:e.zIndices.popup,top:`calc(${e.iconSizes.md} + 2 * ${e.spacing.xs} + ${e.spacing.xs})`,right:0,backgroundColor:e.colors.bgColor,boxShadow:"rgb(0 0 0 / 16%) 0px 4px 16px",border:`${e.sizes.borderWidth} solid ${e.colors.fadedText10}`,animationDuration:"0.15s",animationName:"scale-in",animationTimingFunction:"cubic-bezier(0.2, 0, 0.13, 1.5)",textAlign:"left",borderRadius:e.radii.default,a:{fontFamily:e.genericFonts.bodyFont,fontWeight:e.fontWeights.normal,fontSize:e.fontSizes.md,margin:0,padding:`${e.spacing.twoXS} ${e.spacing.twoXL}`,color:e.colors.bodyText,whiteSpace:"nowrap",textDecoration:"none"},"a:hover, a:focus":{backgroundColor:e.colors.darkenedBgMix15,color:e.colors.bodyText},":before":{content:"none"},":after":{content:"none"}},"@keyframes scale-in":{from:{opacity:0,transform:"scale(0.6)"},to:{opacity:1,transform:"scale(1)"}},".chart-wrapper":{"&.fit-x":{width:"100%"},"&.fit-y":{height:"100%"}},summary:{position:"absolute",top:0,right:0,opacity:0,listStyle:"none",cursor:"pointer",display:"list-item",padding:e.spacing.xs,height:"auto",zIndex:e.zIndices.menuButton,border:"none",boxShadow:"none",borderRadius:e.radii.default,color:e.colors.fadedText10,backgroundColor:"transparent",transition:"opacity 300ms 150ms,transform 300ms 150ms",lineHeight:0,"&::-webkit-details-marker":{display:"none"},"&:active, &:focus-visible, &:hover":{border:"none",boxShadow:"none",color:e.colors.bodyText,opacity:"1 !important",background:e.colors.darkenedBgMix15},svg:{width:e.iconSizes.md,height:e.iconSizes.md}}}}));function nS(e,t){const n={font:t.genericFonts.bodyFont,background:t.colors.bgColor,fieldTitle:"verbal",autosize:{type:"fit",contains:"padding"},title:{align:"left",anchor:"start",color:t.colors.headingColor,titleFontStyle:"normal",fontWeight:t.fontWeights.bold,fontSize:at(t.fontSizes.md),orient:"top",offset:26},header:{titleFontWeight:t.fontWeights.normal,titleFontSize:at(t.fontSizes.md),titleColor:Va(t),titleFontStyle:"normal",labelFontSize:at(t.fontSizes.twoSm),labelFontWeight:t.fontWeights.normal,labelColor:Va(t),labelFontStyle:"normal"},axis:{labelFontSize:at(t.fontSizes.twoSm),labelFontWeight:t.fontWeights.normal,labelColor:Va(t),labelFontStyle:"normal",titleFontWeight:t.fontWeights.normal,titleFontSize:at(t.fontSizes.sm),titleColor:Va(t),titleFontStyle:"normal",ticks:!1,gridColor:Ch(t),domain:!1,domainWidth:1,domainColor:Ch(t),labelFlush:!0,labelFlushOffset:1,labelBound:!1,labelLimit:100,titlePadding:at(t.spacing.lg),labelPadding:at(t.spacing.lg),labelSeparation:at(t.spacing.twoXS),labelOverlap:!0},legend:{labelFontSize:at(t.fontSizes.sm),labelFontWeight:t.fontWeights.normal,labelColor:Va(t),titleFontSize:at(t.fontSizes.sm),titleFontWeight:t.fontWeights.normal,titleFontStyle:"normal",titleColor:Va(t),titlePadding:5,labelPadding:at(t.spacing.lg),columnPadding:at(t.spacing.sm),rowPadding:at(t.spacing.twoXS),padding:7,symbolStrokeWidth:at(t.spacing.twoXS)},range:{category:v8(t),diverging:x8(t),ramp:HA(t),heatmap:HA(t)},view:{columns:1,strokeWidth:0,stroke:"transparent",continuousHeight:at(t.sizes.defaultChartHeight),continuousWidth:at(t.sizes.defaultChartWidth)},concat:{columns:1},facet:{columns:1},mark:{tooltip:{content:"encoding"},color:b8(t)},bar:{binSpacing:at(t.spacing.twoXS),discreteBandSize:{band:.85}},axisDiscrete:{grid:!1},axisXPoint:{grid:!1},axisTemporal:{grid:!1},axisXBand:{grid:!1}};return e?R8({},n,e,(i,r)=>Array.isArray(r)?r:void 0):n}function p9(e,t){const{colors:n,fontSizes:i,genericFonts:r}=t,o={labelFont:r.bodyFont,titleFont:r.bodyFont,labelFontSize:at(i.twoSm),titleFontSize:at(i.twoSm)},s={background:n.bgColor,axis:{labelColor:n.bodyText,titleColor:n.bodyText,gridColor:Ch(t),...o},legend:{labelColor:n.bodyText,titleColor:n.bodyText,...o},title:{color:n.bodyText,subtitleColor:n.bodyText,...o},header:{labelColor:n.bodyText,titleColor:n.bodyText,...o},view:{stroke:Ch(t),continuousHeight:at(t.sizes.defaultChartHeight),continuousWidth:at(t.sizes.defaultChartWidth)},mark:{tooltip:!0}};return e?E8({},s,e):s}const m9=20;function y9(e){"params"in e&&"encoding"in e&&e.params.forEach(t=>{"select"in t&&(["interval","point"].includes(t.select)&&(t.select={type:t.select}),"type"in t.select&&t.select.type==="point"&&!("encodings"in t.select)&&$x(t.select.encodings)&&(t.select.encodings=Object.keys(e.encoding)))})}const b9=(e,t,n,i,r,o,s,a)=>{var l,c;const u=JSON.parse(e);if(n==="streamlit"?u.config=nS(u.config,r):((c=(l=u.usermeta)==null?void 0:l.embedOptions)==null?void 0:c.theme)==="streamlit"?(u.config=nS(u.config,r),u.usermeta.embedOptions.theme=void 0):u.config=p9(u.config,r),u.title&&(typeof u.title=="string"&&(u.title={text:u.title}),u.title.limit=u.title.limit??Math.max(s-40,0)),o?(u.width=s,u.height=a,"vconcat"in u&&u.vconcat.forEach(f=>{f.width=s})):t&&(u.width=s,"vconcat"in u&&u.vconcat.forEach(f=>{f.width=s})),u.padding||(u.padding={}),$x(u.padding.bottom)&&(u.padding.bottom=m9),u.datasets)throw new Error("Datasets should not be passed as part of the spec");return i.length>0&&y9(u),u},x9=(e,t,n,i)=>{const r=w8(),{id:o,formId:s,spec:a,data:u,datasets:l,useContainerWidth:c,vegaLiteTheme:f,selectionMode:d}=e,h=Rt.useMemo(()=>d,[JSON.stringify(d)]),g=Rt.useMemo(()=>b9(a,c,f,h,r,t,n||0,i),[a,c,f,h,r,t,n,i]);return{id:o,formId:s,vegaLiteTheme:f,spec:g,selectionMode:h,data:u,datasets:l,useContainerWidth:c}};function yo(e,t,n){return e.fields=t||[],e.fname=n,e}function v9(e){return e==null?null:e.fname}function Nk(e){return e==null?null:e.fields}function Lk(e){return e.length===1?E9(e[0]):w9(e)}const E9=e=>function(t){return t[e]},w9=e=>{const t=e.length;return function(n){for(let i=0;i<t;++i)n=n[e[i]];return n}};function Qd(e){throw Error(e)}function Mx(e){const t=[],n=e.length;let i=null,r=0,o="",s,a,u;e=e+"";function l(){t.push(o+e.substring(s,a)),o="",s=a+1}for(s=a=0;a<n;++a)if(u=e[a],u==="\\")o+=e.substring(s,a++),s=a;else if(u===i)l(),i=null,r=-1;else{if(i)continue;s===r&&u==='"'||s===r&&u==="'"?(s=a+1,i=u):u==="."&&!r?a>s?l():s=a+1:u==="["?(a>s&&l(),r=s=a+1):u==="]"&&(r||Qd("Access path missing open bracket: "+e),r>0&&l(),r=0,s=a+1)}return r&&Qd("Access path missing closing bracket: "+e),i&&Qd("Access path missing closing quote: "+e),a>s&&(a++,l()),t}function Ox(e,t,n){const i=Mx(e);return e=i.length===1?i[0]:e,yo((n&&n.get||Lk)(i),[e],t||e)}const A9=Ox("id"),Rx=yo(e=>e,[],"identity"),S9=yo(()=>0,[],"zero"),C9=yo(()=>1,[],"one"),Pk=yo(()=>!0,[],"true"),$9=yo(()=>!1,[],"false");function _9(e,t,n){const i=[t].concat([].slice.call(n));console[e].apply(console,i)}const Ik=0,zk=1,Bk=2,Uk=3,jk=4;function F9(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_9,i=e||Ik;return{level(r){return arguments.length?(i=+r,this):i},error(){return i>=zk&&n(t||"error","ERROR",arguments),this},warn(){return i>=Bk&&n(t||"warn","WARN",arguments),this},info(){return i>=Uk&&n(t||"log","INFO",arguments),this},debug(){return i>=jk&&n(t||"log","DEBUG",arguments),this}}}var op=Array.isArray;function oa(e){return e===Object(e)}const iS=e=>e!=="__proto__";function Nx(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((i,r)=>{for(const o in r)if(o==="signals")i.signals=k9(i.signals,r.signals);else{const s=o==="legend"?{layout:1}:o==="style"?!0:null;sp(i,o,r[o],s)}return i},{})}function sp(e,t,n,i){if(!iS(t))return;let r,o;if(oa(n)&&!op(n)){o=oa(e[t])?e[t]:e[t]={};for(r in n)i&&(i===!0||i[r])?sp(o,r,n[r]):iS(r)&&(o[r]=n[r])}else e[t]=n}function k9(e,t){if(e==null)return t;const n={},i=[];function r(o){n[o.name]||(n[o.name]=1,i.push(o))}return t.forEach(r),e.forEach(r),i}function ol(e){return e[e.length-1]}function Lx(e){return e==null||e===""?null:+e}const qk=e=>t=>e*Math.exp(t),Wk=e=>t=>Math.log(e*t),Gk=e=>t=>Math.sign(t)*Math.log1p(Math.abs(t/e)),Hk=e=>t=>Math.sign(t)*Math.expm1(Math.abs(t))*e,_h=e=>t=>t<0?-Math.pow(-t,e):Math.pow(t,e);function ap(e,t,n,i){const r=n(e[0]),o=n(ol(e)),s=(o-r)*t;return[i(r-s),i(o-s)]}function D9(e,t){return ap(e,t,Lx,Rx)}function T9(e,t){var n=Math.sign(e[0]);return ap(e,t,Wk(n),qk(n))}function M9(e,t,n){return ap(e,t,_h(n),_h(1/n))}function O9(e,t,n){return ap(e,t,Gk(n),Hk(n))}function up(e,t,n,i,r){const o=i(e[0]),s=i(ol(e)),a=t!=null?i(t):(o+s)/2;return[r(a+(o-a)*n),r(a+(s-a)*n)]}function R9(e,t,n){return up(e,t,n,Lx,Rx)}function N9(e,t,n){const i=Math.sign(e[0]);return up(e,t,n,Wk(i),qk(i))}function L9(e,t,n,i){return up(e,t,n,_h(i),_h(1/i))}function P9(e,t,n,i){return up(e,t,n,Gk(i),Hk(i))}function I9(e){return 1+~~(new Date(e).getMonth()/3)}function z9(e){return 1+~~(new Date(e).getUTCMonth()/3)}function zc(e){return e!=null?op(e)?e:[e]:[]}function B9(e,t,n){let i=e[0],r=e[1],o;return r<i&&(o=r,r=i,i=o),o=r-i,o>=n-t?[t,n]:[i=Math.min(Math.max(i,t),n-o),i+o]}function lp(e){return typeof e=="function"}const U9="descending";function j9(e,t,n){n=n||{},t=zc(t)||[];const i=[],r=[],o={},s=n.comparator||q9;return zc(e).forEach((a,u)=>{a!=null&&(i.push(t[u]===U9?-1:1),r.push(a=lp(a)?a:Ox(a,null,n)),(Nk(a)||[]).forEach(l=>o[l]=1))}),r.length===0?null:yo(s(r,i),Object.keys(o))}const Px=(e,t)=>(e<t||e==null)&&t!=null?-1:(e>t||t==null)&&e!=null?1:(t=t instanceof Date?+t:t,(e=e instanceof Date?+e:e)!==e&&t===t?-1:t!==t&&e===e?1:0),q9=(e,t)=>e.length===1?W9(e[0],t[0]):G9(e,t,e.length),W9=(e,t)=>function(n,i){return Px(e(n),e(i))*t},G9=(e,t,n)=>(t.push(0),function(i,r){let o,s=0,a=-1;for(;s===0&&++a<n;)o=e[a],s=Px(o(i),o(r));return s*t[a]});function H9(e){return lp(e)?e:()=>e}function V9(e,t){let n;return i=>{n&&clearTimeout(n),n=setTimeout(()=>(t(i),n=null),e)}}function Ix(e){for(let t,n,i=1,r=arguments.length;i<r;++i){t=arguments[i];for(n in t)e[n]=t[n]}return e}function Y9(e,t){let n=0,i,r,o,s;if(e&&(i=e.length))if(t==null){for(r=e[n];n<i&&(r==null||r!==r);r=e[++n]);for(o=s=r;n<i;++n)r=e[n],r!=null&&(r<o&&(o=r),r>s&&(s=r))}else{for(r=t(e[n]);n<i&&(r==null||r!==r);r=t(e[++n]));for(o=s=r;n<i;++n)r=t(e[n]),r!=null&&(r<o&&(o=r),r>s&&(s=r))}return[o,s]}function X9(e,t){const n=e.length;let i=-1,r,o,s,a,u;if(t==null){for(;++i<n;)if(o=e[i],o!=null&&o>=o){r=s=o;break}if(i===n)return[-1,-1];for(a=u=i;++i<n;)o=e[i],o!=null&&(r>o&&(r=o,a=i),s<o&&(s=o,u=i))}else{for(;++i<n;)if(o=t(e[i],i,e),o!=null&&o>=o){r=s=o;break}if(i===n)return[-1,-1];for(a=u=i;++i<n;)o=t(e[i],i,e),o!=null&&(r>o&&(r=o,a=i),s<o&&(s=o,u=i))}return[a,u]}const K9=Object.prototype.hasOwnProperty;function Hr(e,t){return K9.call(e,t)}const dd={};function J9(e){let t={},n;function i(o){return Hr(t,o)&&t[o]!==dd}const r={size:0,empty:0,object:t,has:i,get(o){return i(o)?t[o]:void 0},set(o,s){return i(o)||(++r.size,t[o]===dd&&--r.empty),t[o]=s,this},delete(o){return i(o)&&(--r.size,++r.empty,t[o]=dd),this},clear(){r.size=r.empty=0,r.object=t={}},test(o){return arguments.length?(n=o,r):n},clean(){const o={};let s=0;for(const a in t){const u=t[a];u!==dd&&(!n||!n(u))&&(o[a]=u,++s)}r.size=s,r.empty=0,r.object=t=o}};return e&&Object.keys(e).forEach(o=>{r.set(o,e[o])}),r}function Q9(e,t,n,i,r,o){if(!n&&n!==0)return o;const s=+n;let a=e[0],u=ol(e),l;u<a&&(l=a,a=u,u=l),l=Math.abs(t-a);const c=Math.abs(u-t);return l<c&&l<=s?i:c<=s?r:o}function Z9(e,t,n){const i=e.prototype=Object.create(t.prototype);return Object.defineProperty(i,"constructor",{value:e,writable:!0,enumerable:!0,configurable:!0}),Ix(i,n)}function eP(e,t,n,i){let r=t[0],o=t[t.length-1],s;return r>o&&(s=r,r=o,o=s),n=n===void 0||n,i=i===void 0||i,(n?r<=e:r<e)&&(i?e<=o:e<o)}function Vk(e){return typeof e=="boolean"}function Yk(e){return Object.prototype.toString.call(e)==="[object Date]"}function tP(e){return e&&lp(e[Symbol.iterator])}function Xk(e){return typeof e=="number"}function nP(e){return Object.prototype.toString.call(e)==="[object RegExp]"}function to(e){return typeof e=="string"}function iP(e,t,n){e&&(e=t?zc(e).map(a=>a.replace(/\\(.)/g,"$1")):zc(e));const i=e&&e.length,r=n&&n.get||Lk,o=a=>r(t?[a]:Mx(a));let s;if(!i)s=function(){return""};else if(i===1){const a=o(e[0]);s=function(u){return""+a(u)}}else{const a=e.map(o);s=function(u){let l=""+a[0](u),c=0;for(;++c<i;)l+="|"+a[c](u);return l}}return yo(s,e,"key")}function rP(e,t){const n=e[0],i=ol(e),r=+t;return r?r===1?i:n+r*(i-n):n}const oP=1e4;function sP(e){e=+e||oP;let t,n,i;const r=()=>{t={},n={},i=0},o=(s,a)=>(++i>e&&(n=t,t={},i=1),t[s]=a);return r(),{clear:r,has:s=>Hr(t,s)||Hr(n,s),get:s=>Hr(t,s)?t[s]:Hr(n,s)?o(s,n[s]):void 0,set:(s,a)=>Hr(t,s)?t[s]=a:o(s,a)}}function aP(e,t,n,i){const r=t.length,o=n.length;if(!o)return t;if(!r)return n;const s=i||new t.constructor(r+o);let a=0,u=0,l=0;for(;a<r&&u<o;++l)s[l]=e(t[a],n[u])>0?n[u++]:t[a++];for(;a<r;++a,++l)s[l]=t[a];for(;u<o;++u,++l)s[l]=n[u];return s}function ec(e,t){let n="";for(;--t>=0;)n+=e;return n}function uP(e,t,n,i){const r=n||" ",o=e+"",s=t-o.length;return s<=0?o:i==="left"?ec(r,s)+o:i==="center"?ec(r,~~(s/2))+o+ec(r,Math.ceil(s/2)):o+ec(r,s)}function lP(e){return e&&ol(e)-e[0]||0}function pu(e){return op(e)?"["+e.map(pu)+"]":oa(e)||to(e)?JSON.stringify(e).replace("\u2028","\\u2028").replace("\u2029","\\u2029"):e}function cP(e){return e==null||e===""?null:!e||e==="false"||e==="0"?!1:!!e}const fP=e=>Xk(e)||Yk(e)?e:Date.parse(e);function dP(e,t){return t=t||fP,e==null||e===""?null:t(e)}function hP(e){return e==null||e===""?null:e+""}function gP(e){const t={},n=e.length;for(let i=0;i<n;++i)t[e[i]]=!0;return t}function pP(e,t,n,i){const r=i??"…",o=e+"",s=o.length,a=Math.max(0,t-r.length);return s<=t?o:n==="left"?r+o.slice(s-a):n==="center"?o.slice(0,Math.ceil(a/2))+r+o.slice(s-~~(a/2)):o.slice(0,a)+r}function mP(e,t,n){if(e)if(t){const i=e.length;for(let r=0;r<i;++r){const o=t(e[r]);o&&n(o,r,e)}}else e.forEach(n)}function ri(e,t,n){return e.fields=t||[],e.fname=n,e}function lt(e){return e==null?null:e.fname}function xn(e){return e==null?null:e.fields}function Kk(e){return e.length===1?yP(e[0]):bP(e)}const yP=e=>function(t){return t[e]},bP=e=>{const t=e.length;return function(n){for(let i=0;i<t;++i)n=n[e[i]];return n}};function L(e){throw Error(e)}function zx(e){const t=[],n=e.length;let i=null,r=0,o="",s,a,u;e=e+"";function l(){t.push(o+e.substring(s,a)),o="",s=a+1}for(s=a=0;a<n;++a)if(u=e[a],u==="\\")o+=e.substring(s,a++),s=a;else if(u===i)l(),i=null,r=-1;else{if(i)continue;s===r&&u==='"'||s===r&&u==="'"?(s=a+1,i=u):u==="."&&!r?a>s?l():s=a+1:u==="["?(a>s&&l(),r=s=a+1):u==="]"&&(r||L("Access path missing open bracket: "+e),r>0&&l(),r=0,s=a+1)}return r&&L("Access path missing closing bracket: "+e),i&&L("Access path missing closing quote: "+e),a>s&&(a++,l()),t}function Li(e,t,n){const i=zx(e);return e=i.length===1?i[0]:e,ri((n&&n.get||Kk)(i),[e],t||e)}const cp=Li("id"),Ln=ri(e=>e,[],"identity"),zs=ri(()=>0,[],"zero"),bf=ri(()=>1,[],"one"),Pi=ri(()=>!0,[],"true"),As=ri(()=>!1,[],"false");function xP(e,t,n){const i=[t].concat([].slice.call(n));console[e].apply(console,i)}const vP=0,Jk=1,EP=2,wP=3,AP=4;function SP(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:xP,i=e||vP;return{level(r){return arguments.length?(i=+r,this):i},error(){return i>=Jk&&n("error","ERROR",arguments),this},warn(){return i>=EP&&n("warn","WARN",arguments),this},info(){return i>=wP&&n("log","INFO",arguments),this},debug(){return i>=AP&&n("log","DEBUG",arguments),this}}}var Z=Array.isArray;function me(e){return e===Object(e)}const rS=e=>e!=="__proto__";function CP(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((i,r)=>{for(const o in r)if(o==="signals")i.signals=$P(i.signals,r.signals);else{const s=o==="legend"?{layout:1}:o==="style"?!0:null;Qk(i,o,r[o],s)}return i},{})}function Qk(e,t,n,i){if(!rS(t))return;let r,o;if(me(n)&&!Z(n)){o=me(e[t])?e[t]:e[t]={};for(r in n)i&&(i===!0||i[r])?Qk(o,r,n[r]):rS(r)&&(o[r]=n[r])}else e[t]=n}function $P(e,t){if(e==null)return t;const n={},i=[];function r(o){n[o.name]||(n[o.name]=1,i.push(o))}return t.forEach(r),e.forEach(r),i}function $e(e){return e[e.length-1]}function mn(e){return e==null||e===""?null:+e}const Zk=e=>t=>e*Math.exp(t),eD=e=>t=>Math.log(e*t),tD=e=>t=>Math.sign(t)*Math.log1p(Math.abs(t/e)),nD=e=>t=>Math.sign(t)*Math.expm1(Math.abs(t))*e,Fh=e=>t=>t<0?-Math.pow(-t,e):Math.pow(t,e);function fp(e,t,n,i){const r=n(e[0]),o=n($e(e)),s=(o-r)*t;return[i(r-s),i(o-s)]}function _P(e,t){return fp(e,t,mn,Ln)}function FP(e,t){var n=Math.sign(e[0]);return fp(e,t,eD(n),Zk(n))}function kP(e,t,n){return fp(e,t,Fh(n),Fh(1/n))}function DP(e,t,n){return fp(e,t,tD(n),nD(n))}function dp(e,t,n,i,r){const o=i(e[0]),s=i($e(e)),a=t!=null?i(t):(o+s)/2;return[r(a+(o-a)*n),r(a+(s-a)*n)]}function iD(e,t,n){return dp(e,t,n,mn,Ln)}function rD(e,t,n){const i=Math.sign(e[0]);return dp(e,t,n,eD(i),Zk(i))}function py(e,t,n,i){return dp(e,t,n,Fh(i),Fh(1/i))}function oD(e,t,n,i){return dp(e,t,n,tD(i),nD(i))}function TP(e){return 1+~~(new Date(e).getMonth()/3)}function MP(e){return 1+~~(new Date(e).getUTCMonth()/3)}function oe(e){return e!=null?Z(e)?e:[e]:[]}function OP(e,t,n){let i=e[0],r=e[1],o;return r<i&&(o=r,r=i,i=o),o=r-i,o>=n-t?[t,n]:[i=Math.min(Math.max(i,t),n-o),i+o]}function be(e){return typeof e=="function"}const RP="descending";function sD(e,t,n){n=n||{},t=oe(t)||[];const i=[],r=[],o={},s=n.comparator||NP;return oe(e).forEach((a,u)=>{a!=null&&(i.push(t[u]===RP?-1:1),r.push(a=be(a)?a:Li(a,null,n)),(xn(a)||[]).forEach(l=>o[l]=1))}),r.length===0?null:ri(s(r,i),Object.keys(o))}const hp=(e,t)=>(e<t||e==null)&&t!=null?-1:(e>t||t==null)&&e!=null?1:(t=t instanceof Date?+t:t,(e=e instanceof Date?+e:e)!==e&&t===t?-1:t!==t&&e===e?1:0),NP=(e,t)=>e.length===1?LP(e[0],t[0]):PP(e,t,e.length),LP=(e,t)=>function(n,i){return hp(e(n),e(i))*t},PP=(e,t,n)=>(t.push(0),function(i,r){let o,s=0,a=-1;for(;s===0&&++a<n;)o=e[a],s=hp(o(i),o(r));return s*t[a]});function wn(e){return be(e)?e:()=>e}function aD(e,t){let n;return i=>{n&&clearTimeout(n),n=setTimeout(()=>(t(i),n=null),e)}}function ye(e){for(let t,n,i=1,r=arguments.length;i<r;++i){t=arguments[i];for(n in t)e[n]=t[n]}return e}function lo(e,t){let n=0,i,r,o,s;if(e&&(i=e.length))if(t==null){for(r=e[n];n<i&&(r==null||r!==r);r=e[++n]);for(o=s=r;n<i;++n)r=e[n],r!=null&&(r<o&&(o=r),r>s&&(s=r))}else{for(r=t(e[n]);n<i&&(r==null||r!==r);r=t(e[++n]));for(o=s=r;n<i;++n)r=t(e[n]),r!=null&&(r<o&&(o=r),r>s&&(s=r))}return[o,s]}function IP(e,t){const n=e.length;let i=-1,r,o,s,a,u;if(t==null){for(;++i<n;)if(o=e[i],o!=null&&o>=o){r=s=o;break}if(i===n)return[-1,-1];for(a=u=i;++i<n;)o=e[i],o!=null&&(r>o&&(r=o,a=i),s<o&&(s=o,u=i))}else{for(;++i<n;)if(o=t(e[i],i,e),o!=null&&o>=o){r=s=o;break}if(i===n)return[-1,-1];for(a=u=i;++i<n;)o=t(e[i],i,e),o!=null&&(r>o&&(r=o,a=i),s<o&&(s=o,u=i))}return[a,u]}function le(e,t){return Object.hasOwn(e,t)}const hd={};function xf(e){let t={},n;function i(o){return le(t,o)&&t[o]!==hd}const r={size:0,empty:0,object:t,has:i,get(o){return i(o)?t[o]:void 0},set(o,s){return i(o)||(++r.size,t[o]===hd&&--r.empty),t[o]=s,this},delete(o){return i(o)&&(--r.size,++r.empty,t[o]=hd),this},clear(){r.size=r.empty=0,r.object=t={}},test(o){return arguments.length?(n=o,r):n},clean(){const o={};let s=0;for(const a in t){const u=t[a];u!==hd&&(!n||!n(u))&&(o[a]=u,++s)}r.size=s,r.empty=0,r.object=t=o}};return e&&Object.keys(e).forEach(o=>{r.set(o,e[o])}),r}function zP(e,t,n,i,r,o){if(!n&&n!==0)return o;const s=+n;let a=e[0],u=$e(e),l;u<a&&(l=a,a=u,u=l),l=Math.abs(t-a);const c=Math.abs(u-t);return l<c&&l<=s?i:c<=s?r:o}function G(e,t,n){const i=e.prototype=Object.create(t.prototype);return Object.defineProperty(i,"constructor",{value:e,writable:!0,enumerable:!0,configurable:!0}),ye(i,n)}function tc(e,t,n,i){let r=t[0],o=t[t.length-1],s;return r>o&&(s=r,r=o,o=s),n=n===void 0||n,i=i===void 0||i,(n?r<=e:r<e)&&(i?e<=o:e<o)}function BP(e){return typeof e=="boolean"}function Ys(e){return Object.prototype.toString.call(e)==="[object Date]"}function UP(e){return e&&be(e[Symbol.iterator])}function sa(e){return typeof e=="number"}function uD(e){return Object.prototype.toString.call(e)==="[object RegExp]"}function Ke(e){return typeof e=="string"}function lD(e,t,n){e&&(e=t?oe(e).map(a=>a.replace(/\\(.)/g,"$1")):oe(e));const i=e&&e.length,r=n&&n.get||Kk,o=a=>r(t?[a]:zx(a));let s;if(!i)s=function(){return""};else if(i===1){const a=o(e[0]);s=function(u){return""+a(u)}}else{const a=e.map(o);s=function(u){let l=""+a[0](u),c=0;for(;++c<i;)l+="|"+a[c](u);return l}}return ri(s,e,"key")}function jP(e,t){const n=e[0],i=$e(e),r=+t;return r?r===1?i:n+r*(i-n):n}const qP=1e4;function WP(e){e=+e||qP;let t,n,i;const r=()=>{t={},n={},i=0},o=(s,a)=>(++i>e&&(n=t,t={},i=1),t[s]=a);return r(),{clear:r,has:s=>le(t,s)||le(n,s),get:s=>le(t,s)?t[s]:le(n,s)?o(s,n[s]):void 0,set:(s,a)=>le(t,s)?t[s]=a:o(s,a)}}function GP(e,t,n,i){const r=t.length,o=n.length;if(!o)return t;if(!r)return n;const s=i||new t.constructor(r+o);let a=0,u=0,l=0;for(;a<r&&u<o;++l)s[l]=e(t[a],n[u])>0?n[u++]:t[a++];for(;a<r;++a,++l)s[l]=t[a];for(;u<o;++u,++l)s[l]=n[u];return s}function gd(e,t){let n="";for(;--t>=0;)n+=e;return n}function HP(e,t,n,i){const r=n||" ",o=e+"",s=t-o.length;return s<=0?o:i==="left"?gd(r,s)+o:i==="center"?gd(r,~~(s/2))+o+gd(r,Math.ceil(s/2)):o+gd(r,s)}function gp(e){return e&&$e(e)-e[0]||0}function re(e){return Z(e)?"["+e.map(re)+"]":me(e)||Ke(e)?JSON.stringify(e).replace("\u2028","\\u2028").replace("\u2029","\\u2029"):e}function cD(e){return e==null||e===""?null:!e||e==="false"||e==="0"?!1:!!e}const VP=e=>sa(e)||Ys(e)?e:Date.parse(e);function fD(e,t){return t=t||VP,e==null||e===""?null:t(e)}function dD(e){return e==null||e===""?null:e+""}function yr(e){const t={},n=e.length;for(let i=0;i<n;++i)t[e[i]]=!0;return t}function YP(e,t,n,i){const r=i??"…",o=e+"",s=o.length,a=Math.max(0,t-r.length);return s<=t?o:n==="left"?r+o.slice(s-a):n==="center"?o.slice(0,Math.ceil(a/2))+r+o.slice(s-~~(a/2)):o.slice(0,a)+r}function Ls(e,t,n){if(e)if(t){const i=e.length;for(let r=0;r<i;++r){const o=t(e[r]);o&&n(o,r,e)}}else e.forEach(n)}var oS={},xm={},vm=34,kl=10,Em=13;function hD(e){return new Function("d","return {"+e.map(function(t,n){return JSON.stringify(t)+": d["+n+'] || ""'}).join(",")+"}")}function XP(e,t){var n=hD(e);return function(i,r){return t(n(i),r,e)}}function sS(e){var t=Object.create(null),n=[];return e.forEach(function(i){for(var r in i)r in t||n.push(t[r]=r)}),n}function Fn(e,t){var n=e+"",i=n.length;return i<t?new Array(t-i+1).join(0)+n:n}function KP(e){return e<0?"-"+Fn(-e,6):e>9999?"+"+Fn(e,6):Fn(e,4)}function JP(e){var t=e.getUTCHours(),n=e.getUTCMinutes(),i=e.getUTCSeconds(),r=e.getUTCMilliseconds();return isNaN(e)?"Invalid Date":KP(e.getUTCFullYear())+"-"+Fn(e.getUTCMonth()+1,2)+"-"+Fn(e.getUTCDate(),2)+(r?"T"+Fn(t,2)+":"+Fn(n,2)+":"+Fn(i,2)+"."+Fn(r,3)+"Z":i?"T"+Fn(t,2)+":"+Fn(n,2)+":"+Fn(i,2)+"Z":n||t?"T"+Fn(t,2)+":"+Fn(n,2)+"Z":"")}function QP(e){var t=new RegExp('["'+e+`
1
+ import{J as m8,n as y8,H as at,aK as b8,aL as HA,aM as x8,aN as v8,aO as Va,aP as Ch,N as E8,z as w8,r as Rt,M as $x,av as A8,ar as S8,an as VA,ao as YA,X as C8,aQ as $8,O as XA,aE as KA,l as Mk,aH as _8,aR as F8,C as k8,j as bm,aS as D8}from"./index.Du_GhChx.js";import{S as JA,T as T8}from"./Toolbar.CTXCF-zE.js";import{w as M8,E as O8}from"./withFullScreenWrapper.6Cdl0P_3.js";import{m as R8}from"./mergeWith.CM4ZdUxz.js";import{a as Ic,n as N8,b as L8,c as ep,t as ra,p as P8,d as I8,e as z8,i as us,f as tp,g as QA,l as rl,h as _x,j as np,k as ZA,m as No,o as Cu,q as B8,r as ls,s as U8,u as j8,v as q8,w as W8}from"./threshold.DjX0wlsa.js";import{f as G8,a as hy,b as Ok,c as H8,R as ip,r as Rk,d as Fx,e as kx,C as Dx,g as eS,h as tS,i as rp,j as gy,n as en,k as yf,l as V8,m as Y8,o as X8,p as K8,q as J8,s as Q8,t as Z8,u as e9,v as t9,w as n9,x as i9,y as $h}from"./value.CgPGBV_l.js";import{P as r9,i as o9,a as s9,b as a9,p as Tx,T as u9,n as l9,t as c9,d as f9}from"./timer.CAwTRJ_g.js";import{u as d9}from"./FormClearHelper.DwQzHDKa.js";const h9=e=>({"#vg-tooltip-element":{visibility:"hidden",position:"fixed",fontFamily:e.genericFonts.bodyFont,color:e.colors.bodyText,border:`${e.sizes.borderWidth} solid ${e.colors.borderColor}`,backgroundColor:m8(e.colors.bgColor,.05),fontSize:e.fontSizes.twoSm,boxShadow:"rgb(0 0 0 / 16%) 0px 1px 4px",maxWidth:e.sizes.maxChartTooltipWidth,padding:`${e.spacing.xs} ${e.spacing.md}`,borderRadius:e.radii.default,zIndex:e.zIndices.popup,"&.visible":{visibility:"visible"},h2:{marginTop:e.spacing.none,marginBottom:e.spacing.sm,fontSize:e.fontSizes.sm},td:{border:"none"},table:{borderSpacing:0,tr:{border:"none",td:{overflow:"hidden",textOverflow:"ellipsis",paddingTop:e.spacing.threeXS,paddingBottom:e.spacing.threeXS},"td.key":{maxWidth:`calc((${e.sizes.maxChartTooltipWidth} - 2 * ${e.spacing.md}) * 0.4)`,textAlign:"right",color:e.colors.fadedText60,whiteSpace:"nowrap",paddingRight:e.spacing.twoXS},"td.value":{maxWidth:`calc((${e.sizes.maxChartTooltipWidth} - 2 * ${e.spacing.md}) * 0.6)`,textAlign:"left",display:"-webkit-box",WebkitLineClamp:"5",WebkitBoxOrient:"vertical",lineClamp:"5",wordWrap:"break-word"}}}}}),g9=y8("div",{target:"e1d0pwhz0"})(({theme:e,useContainerWidth:t,isFullScreen:n})=>({width:t||n?"100%":"auto",height:n?"100%":"auto","&.vega-embed":{position:"relative",display:"inline-block",boxSizing:"border-box","details:not([open]) > :not(summary)":{display:"none !important"},"details[open] summary":{opacity:.7},"&:hover summary, .vega-embed:focus summary":{background:"transparent"},"&:hover summary, &:focus-within summary":{opacity:"1 !important",transition:"opacity 0.2s ease"},"&.has-actions":{paddingRight:0},".vega-actions":{position:"absolute",display:"flex",flexDirection:"column",paddingBottom:e.spacing.sm,paddingTop:e.spacing.sm,zIndex:e.zIndices.popup,top:`calc(${e.iconSizes.md} + 2 * ${e.spacing.xs} + ${e.spacing.xs})`,right:0,backgroundColor:e.colors.bgColor,boxShadow:"rgb(0 0 0 / 16%) 0px 4px 16px",border:`${e.sizes.borderWidth} solid ${e.colors.fadedText10}`,animationDuration:"0.15s",animationName:"scale-in",animationTimingFunction:"cubic-bezier(0.2, 0, 0.13, 1.5)",textAlign:"left",borderRadius:e.radii.default,a:{fontFamily:e.genericFonts.bodyFont,fontWeight:e.fontWeights.normal,fontSize:e.fontSizes.md,margin:0,padding:`${e.spacing.twoXS} ${e.spacing.twoXL}`,color:e.colors.bodyText,whiteSpace:"nowrap",textDecoration:"none"},"a:hover, a:focus":{backgroundColor:e.colors.darkenedBgMix15,color:e.colors.bodyText},":before":{content:"none"},":after":{content:"none"}},"@keyframes scale-in":{from:{opacity:0,transform:"scale(0.6)"},to:{opacity:1,transform:"scale(1)"}},".chart-wrapper":{"&.fit-x":{width:"100%"},"&.fit-y":{height:"100%"}},summary:{position:"absolute",top:0,right:0,opacity:0,listStyle:"none",cursor:"pointer",display:"list-item",padding:e.spacing.xs,height:"auto",zIndex:e.zIndices.menuButton,border:"none",boxShadow:"none",borderRadius:e.radii.default,color:e.colors.fadedText10,backgroundColor:"transparent",transition:"opacity 300ms 150ms,transform 300ms 150ms",lineHeight:0,"&::-webkit-details-marker":{display:"none"},"&:active, &:focus-visible, &:hover":{border:"none",boxShadow:"none",color:e.colors.bodyText,opacity:"1 !important",background:e.colors.darkenedBgMix15},svg:{width:e.iconSizes.md,height:e.iconSizes.md}}}}));function nS(e,t){const n={font:t.genericFonts.bodyFont,background:t.colors.bgColor,fieldTitle:"verbal",autosize:{type:"fit",contains:"padding"},title:{align:"left",anchor:"start",color:t.colors.headingColor,titleFontStyle:"normal",fontWeight:t.fontWeights.bold,fontSize:at(t.fontSizes.md),orient:"top",offset:26},header:{titleFontWeight:t.fontWeights.normal,titleFontSize:at(t.fontSizes.md),titleColor:Va(t),titleFontStyle:"normal",labelFontSize:at(t.fontSizes.twoSm),labelFontWeight:t.fontWeights.normal,labelColor:Va(t),labelFontStyle:"normal"},axis:{labelFontSize:at(t.fontSizes.twoSm),labelFontWeight:t.fontWeights.normal,labelColor:Va(t),labelFontStyle:"normal",titleFontWeight:t.fontWeights.normal,titleFontSize:at(t.fontSizes.sm),titleColor:Va(t),titleFontStyle:"normal",ticks:!1,gridColor:Ch(t),domain:!1,domainWidth:1,domainColor:Ch(t),labelFlush:!0,labelFlushOffset:1,labelBound:!1,labelLimit:100,titlePadding:at(t.spacing.lg),labelPadding:at(t.spacing.lg),labelSeparation:at(t.spacing.twoXS),labelOverlap:!0},legend:{labelFontSize:at(t.fontSizes.sm),labelFontWeight:t.fontWeights.normal,labelColor:Va(t),titleFontSize:at(t.fontSizes.sm),titleFontWeight:t.fontWeights.normal,titleFontStyle:"normal",titleColor:Va(t),titlePadding:5,labelPadding:at(t.spacing.lg),columnPadding:at(t.spacing.sm),rowPadding:at(t.spacing.twoXS),padding:7,symbolStrokeWidth:at(t.spacing.twoXS)},range:{category:v8(t),diverging:x8(t),ramp:HA(t),heatmap:HA(t)},view:{columns:1,strokeWidth:0,stroke:"transparent",continuousHeight:at(t.sizes.defaultChartHeight),continuousWidth:at(t.sizes.defaultChartWidth)},concat:{columns:1},facet:{columns:1},mark:{tooltip:{content:"encoding"},color:b8(t)},bar:{binSpacing:at(t.spacing.twoXS),discreteBandSize:{band:.85}},axisDiscrete:{grid:!1},axisXPoint:{grid:!1},axisTemporal:{grid:!1},axisXBand:{grid:!1}};return e?R8({},n,e,(i,r)=>Array.isArray(r)?r:void 0):n}function p9(e,t){const{colors:n,fontSizes:i,genericFonts:r}=t,o={labelFont:r.bodyFont,titleFont:r.bodyFont,labelFontSize:at(i.twoSm),titleFontSize:at(i.twoSm)},s={background:n.bgColor,axis:{labelColor:n.bodyText,titleColor:n.bodyText,gridColor:Ch(t),...o},legend:{labelColor:n.bodyText,titleColor:n.bodyText,...o},title:{color:n.bodyText,subtitleColor:n.bodyText,...o},header:{labelColor:n.bodyText,titleColor:n.bodyText,...o},view:{stroke:Ch(t),continuousHeight:at(t.sizes.defaultChartHeight),continuousWidth:at(t.sizes.defaultChartWidth)},mark:{tooltip:!0}};return e?E8({},s,e):s}const m9=20;function y9(e){"params"in e&&"encoding"in e&&e.params.forEach(t=>{"select"in t&&(["interval","point"].includes(t.select)&&(t.select={type:t.select}),"type"in t.select&&t.select.type==="point"&&!("encodings"in t.select)&&$x(t.select.encodings)&&(t.select.encodings=Object.keys(e.encoding)))})}const b9=(e,t,n,i,r,o,s,a)=>{var l,c;const u=JSON.parse(e);if(n==="streamlit"?u.config=nS(u.config,r):((c=(l=u.usermeta)==null?void 0:l.embedOptions)==null?void 0:c.theme)==="streamlit"?(u.config=nS(u.config,r),u.usermeta.embedOptions.theme=void 0):u.config=p9(u.config,r),u.title&&(typeof u.title=="string"&&(u.title={text:u.title}),u.title.limit=u.title.limit??Math.max(s-40,0)),o?(u.width=s,u.height=a,"vconcat"in u&&u.vconcat.forEach(f=>{f.width=s})):t&&(u.width=s,"vconcat"in u&&u.vconcat.forEach(f=>{f.width=s})),u.padding||(u.padding={}),$x(u.padding.bottom)&&(u.padding.bottom=m9),u.datasets)throw new Error("Datasets should not be passed as part of the spec");return i.length>0&&y9(u),u},x9=(e,t,n,i)=>{const r=w8(),{id:o,formId:s,spec:a,data:u,datasets:l,useContainerWidth:c,vegaLiteTheme:f,selectionMode:d}=e,h=Rt.useMemo(()=>d,[JSON.stringify(d)]),g=Rt.useMemo(()=>b9(a,c,f,h,r,t,n||0,i),[a,c,f,h,r,t,n,i]);return{id:o,formId:s,vegaLiteTheme:f,spec:g,selectionMode:h,data:u,datasets:l,useContainerWidth:c}};function yo(e,t,n){return e.fields=t||[],e.fname=n,e}function v9(e){return e==null?null:e.fname}function Nk(e){return e==null?null:e.fields}function Lk(e){return e.length===1?E9(e[0]):w9(e)}const E9=e=>function(t){return t[e]},w9=e=>{const t=e.length;return function(n){for(let i=0;i<t;++i)n=n[e[i]];return n}};function Qd(e){throw Error(e)}function Mx(e){const t=[],n=e.length;let i=null,r=0,o="",s,a,u;e=e+"";function l(){t.push(o+e.substring(s,a)),o="",s=a+1}for(s=a=0;a<n;++a)if(u=e[a],u==="\\")o+=e.substring(s,a++),s=a;else if(u===i)l(),i=null,r=-1;else{if(i)continue;s===r&&u==='"'||s===r&&u==="'"?(s=a+1,i=u):u==="."&&!r?a>s?l():s=a+1:u==="["?(a>s&&l(),r=s=a+1):u==="]"&&(r||Qd("Access path missing open bracket: "+e),r>0&&l(),r=0,s=a+1)}return r&&Qd("Access path missing closing bracket: "+e),i&&Qd("Access path missing closing quote: "+e),a>s&&(a++,l()),t}function Ox(e,t,n){const i=Mx(e);return e=i.length===1?i[0]:e,yo((n&&n.get||Lk)(i),[e],t||e)}const A9=Ox("id"),Rx=yo(e=>e,[],"identity"),S9=yo(()=>0,[],"zero"),C9=yo(()=>1,[],"one"),Pk=yo(()=>!0,[],"true"),$9=yo(()=>!1,[],"false");function _9(e,t,n){const i=[t].concat([].slice.call(n));console[e].apply(console,i)}const Ik=0,zk=1,Bk=2,Uk=3,jk=4;function F9(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_9,i=e||Ik;return{level(r){return arguments.length?(i=+r,this):i},error(){return i>=zk&&n(t||"error","ERROR",arguments),this},warn(){return i>=Bk&&n(t||"warn","WARN",arguments),this},info(){return i>=Uk&&n(t||"log","INFO",arguments),this},debug(){return i>=jk&&n(t||"log","DEBUG",arguments),this}}}var op=Array.isArray;function oa(e){return e===Object(e)}const iS=e=>e!=="__proto__";function Nx(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((i,r)=>{for(const o in r)if(o==="signals")i.signals=k9(i.signals,r.signals);else{const s=o==="legend"?{layout:1}:o==="style"?!0:null;sp(i,o,r[o],s)}return i},{})}function sp(e,t,n,i){if(!iS(t))return;let r,o;if(oa(n)&&!op(n)){o=oa(e[t])?e[t]:e[t]={};for(r in n)i&&(i===!0||i[r])?sp(o,r,n[r]):iS(r)&&(o[r]=n[r])}else e[t]=n}function k9(e,t){if(e==null)return t;const n={},i=[];function r(o){n[o.name]||(n[o.name]=1,i.push(o))}return t.forEach(r),e.forEach(r),i}function ol(e){return e[e.length-1]}function Lx(e){return e==null||e===""?null:+e}const qk=e=>t=>e*Math.exp(t),Wk=e=>t=>Math.log(e*t),Gk=e=>t=>Math.sign(t)*Math.log1p(Math.abs(t/e)),Hk=e=>t=>Math.sign(t)*Math.expm1(Math.abs(t))*e,_h=e=>t=>t<0?-Math.pow(-t,e):Math.pow(t,e);function ap(e,t,n,i){const r=n(e[0]),o=n(ol(e)),s=(o-r)*t;return[i(r-s),i(o-s)]}function D9(e,t){return ap(e,t,Lx,Rx)}function T9(e,t){var n=Math.sign(e[0]);return ap(e,t,Wk(n),qk(n))}function M9(e,t,n){return ap(e,t,_h(n),_h(1/n))}function O9(e,t,n){return ap(e,t,Gk(n),Hk(n))}function up(e,t,n,i,r){const o=i(e[0]),s=i(ol(e)),a=t!=null?i(t):(o+s)/2;return[r(a+(o-a)*n),r(a+(s-a)*n)]}function R9(e,t,n){return up(e,t,n,Lx,Rx)}function N9(e,t,n){const i=Math.sign(e[0]);return up(e,t,n,Wk(i),qk(i))}function L9(e,t,n,i){return up(e,t,n,_h(i),_h(1/i))}function P9(e,t,n,i){return up(e,t,n,Gk(i),Hk(i))}function I9(e){return 1+~~(new Date(e).getMonth()/3)}function z9(e){return 1+~~(new Date(e).getUTCMonth()/3)}function zc(e){return e!=null?op(e)?e:[e]:[]}function B9(e,t,n){let i=e[0],r=e[1],o;return r<i&&(o=r,r=i,i=o),o=r-i,o>=n-t?[t,n]:[i=Math.min(Math.max(i,t),n-o),i+o]}function lp(e){return typeof e=="function"}const U9="descending";function j9(e,t,n){n=n||{},t=zc(t)||[];const i=[],r=[],o={},s=n.comparator||q9;return zc(e).forEach((a,u)=>{a!=null&&(i.push(t[u]===U9?-1:1),r.push(a=lp(a)?a:Ox(a,null,n)),(Nk(a)||[]).forEach(l=>o[l]=1))}),r.length===0?null:yo(s(r,i),Object.keys(o))}const Px=(e,t)=>(e<t||e==null)&&t!=null?-1:(e>t||t==null)&&e!=null?1:(t=t instanceof Date?+t:t,(e=e instanceof Date?+e:e)!==e&&t===t?-1:t!==t&&e===e?1:0),q9=(e,t)=>e.length===1?W9(e[0],t[0]):G9(e,t,e.length),W9=(e,t)=>function(n,i){return Px(e(n),e(i))*t},G9=(e,t,n)=>(t.push(0),function(i,r){let o,s=0,a=-1;for(;s===0&&++a<n;)o=e[a],s=Px(o(i),o(r));return s*t[a]});function H9(e){return lp(e)?e:()=>e}function V9(e,t){let n;return i=>{n&&clearTimeout(n),n=setTimeout(()=>(t(i),n=null),e)}}function Ix(e){for(let t,n,i=1,r=arguments.length;i<r;++i){t=arguments[i];for(n in t)e[n]=t[n]}return e}function Y9(e,t){let n=0,i,r,o,s;if(e&&(i=e.length))if(t==null){for(r=e[n];n<i&&(r==null||r!==r);r=e[++n]);for(o=s=r;n<i;++n)r=e[n],r!=null&&(r<o&&(o=r),r>s&&(s=r))}else{for(r=t(e[n]);n<i&&(r==null||r!==r);r=t(e[++n]));for(o=s=r;n<i;++n)r=t(e[n]),r!=null&&(r<o&&(o=r),r>s&&(s=r))}return[o,s]}function X9(e,t){const n=e.length;let i=-1,r,o,s,a,u;if(t==null){for(;++i<n;)if(o=e[i],o!=null&&o>=o){r=s=o;break}if(i===n)return[-1,-1];for(a=u=i;++i<n;)o=e[i],o!=null&&(r>o&&(r=o,a=i),s<o&&(s=o,u=i))}else{for(;++i<n;)if(o=t(e[i],i,e),o!=null&&o>=o){r=s=o;break}if(i===n)return[-1,-1];for(a=u=i;++i<n;)o=t(e[i],i,e),o!=null&&(r>o&&(r=o,a=i),s<o&&(s=o,u=i))}return[a,u]}const K9=Object.prototype.hasOwnProperty;function Hr(e,t){return K9.call(e,t)}const dd={};function J9(e){let t={},n;function i(o){return Hr(t,o)&&t[o]!==dd}const r={size:0,empty:0,object:t,has:i,get(o){return i(o)?t[o]:void 0},set(o,s){return i(o)||(++r.size,t[o]===dd&&--r.empty),t[o]=s,this},delete(o){return i(o)&&(--r.size,++r.empty,t[o]=dd),this},clear(){r.size=r.empty=0,r.object=t={}},test(o){return arguments.length?(n=o,r):n},clean(){const o={};let s=0;for(const a in t){const u=t[a];u!==dd&&(!n||!n(u))&&(o[a]=u,++s)}r.size=s,r.empty=0,r.object=t=o}};return e&&Object.keys(e).forEach(o=>{r.set(o,e[o])}),r}function Q9(e,t,n,i,r,o){if(!n&&n!==0)return o;const s=+n;let a=e[0],u=ol(e),l;u<a&&(l=a,a=u,u=l),l=Math.abs(t-a);const c=Math.abs(u-t);return l<c&&l<=s?i:c<=s?r:o}function Z9(e,t,n){const i=e.prototype=Object.create(t.prototype);return Object.defineProperty(i,"constructor",{value:e,writable:!0,enumerable:!0,configurable:!0}),Ix(i,n)}function eP(e,t,n,i){let r=t[0],o=t[t.length-1],s;return r>o&&(s=r,r=o,o=s),n=n===void 0||n,i=i===void 0||i,(n?r<=e:r<e)&&(i?e<=o:e<o)}function Vk(e){return typeof e=="boolean"}function Yk(e){return Object.prototype.toString.call(e)==="[object Date]"}function tP(e){return e&&lp(e[Symbol.iterator])}function Xk(e){return typeof e=="number"}function nP(e){return Object.prototype.toString.call(e)==="[object RegExp]"}function to(e){return typeof e=="string"}function iP(e,t,n){e&&(e=t?zc(e).map(a=>a.replace(/\\(.)/g,"$1")):zc(e));const i=e&&e.length,r=n&&n.get||Lk,o=a=>r(t?[a]:Mx(a));let s;if(!i)s=function(){return""};else if(i===1){const a=o(e[0]);s=function(u){return""+a(u)}}else{const a=e.map(o);s=function(u){let l=""+a[0](u),c=0;for(;++c<i;)l+="|"+a[c](u);return l}}return yo(s,e,"key")}function rP(e,t){const n=e[0],i=ol(e),r=+t;return r?r===1?i:n+r*(i-n):n}const oP=1e4;function sP(e){e=+e||oP;let t,n,i;const r=()=>{t={},n={},i=0},o=(s,a)=>(++i>e&&(n=t,t={},i=1),t[s]=a);return r(),{clear:r,has:s=>Hr(t,s)||Hr(n,s),get:s=>Hr(t,s)?t[s]:Hr(n,s)?o(s,n[s]):void 0,set:(s,a)=>Hr(t,s)?t[s]=a:o(s,a)}}function aP(e,t,n,i){const r=t.length,o=n.length;if(!o)return t;if(!r)return n;const s=i||new t.constructor(r+o);let a=0,u=0,l=0;for(;a<r&&u<o;++l)s[l]=e(t[a],n[u])>0?n[u++]:t[a++];for(;a<r;++a,++l)s[l]=t[a];for(;u<o;++u,++l)s[l]=n[u];return s}function ec(e,t){let n="";for(;--t>=0;)n+=e;return n}function uP(e,t,n,i){const r=n||" ",o=e+"",s=t-o.length;return s<=0?o:i==="left"?ec(r,s)+o:i==="center"?ec(r,~~(s/2))+o+ec(r,Math.ceil(s/2)):o+ec(r,s)}function lP(e){return e&&ol(e)-e[0]||0}function pu(e){return op(e)?"["+e.map(pu)+"]":oa(e)||to(e)?JSON.stringify(e).replace("\u2028","\\u2028").replace("\u2029","\\u2029"):e}function cP(e){return e==null||e===""?null:!e||e==="false"||e==="0"?!1:!!e}const fP=e=>Xk(e)||Yk(e)?e:Date.parse(e);function dP(e,t){return t=t||fP,e==null||e===""?null:t(e)}function hP(e){return e==null||e===""?null:e+""}function gP(e){const t={},n=e.length;for(let i=0;i<n;++i)t[e[i]]=!0;return t}function pP(e,t,n,i){const r=i??"…",o=e+"",s=o.length,a=Math.max(0,t-r.length);return s<=t?o:n==="left"?r+o.slice(s-a):n==="center"?o.slice(0,Math.ceil(a/2))+r+o.slice(s-~~(a/2)):o.slice(0,a)+r}function mP(e,t,n){if(e)if(t){const i=e.length;for(let r=0;r<i;++r){const o=t(e[r]);o&&n(o,r,e)}}else e.forEach(n)}function ri(e,t,n){return e.fields=t||[],e.fname=n,e}function lt(e){return e==null?null:e.fname}function xn(e){return e==null?null:e.fields}function Kk(e){return e.length===1?yP(e[0]):bP(e)}const yP=e=>function(t){return t[e]},bP=e=>{const t=e.length;return function(n){for(let i=0;i<t;++i)n=n[e[i]];return n}};function L(e){throw Error(e)}function zx(e){const t=[],n=e.length;let i=null,r=0,o="",s,a,u;e=e+"";function l(){t.push(o+e.substring(s,a)),o="",s=a+1}for(s=a=0;a<n;++a)if(u=e[a],u==="\\")o+=e.substring(s,a++),s=a;else if(u===i)l(),i=null,r=-1;else{if(i)continue;s===r&&u==='"'||s===r&&u==="'"?(s=a+1,i=u):u==="."&&!r?a>s?l():s=a+1:u==="["?(a>s&&l(),r=s=a+1):u==="]"&&(r||L("Access path missing open bracket: "+e),r>0&&l(),r=0,s=a+1)}return r&&L("Access path missing closing bracket: "+e),i&&L("Access path missing closing quote: "+e),a>s&&(a++,l()),t}function Li(e,t,n){const i=zx(e);return e=i.length===1?i[0]:e,ri((n&&n.get||Kk)(i),[e],t||e)}const cp=Li("id"),Ln=ri(e=>e,[],"identity"),zs=ri(()=>0,[],"zero"),bf=ri(()=>1,[],"one"),Pi=ri(()=>!0,[],"true"),As=ri(()=>!1,[],"false");function xP(e,t,n){const i=[t].concat([].slice.call(n));console[e].apply(console,i)}const vP=0,Jk=1,EP=2,wP=3,AP=4;function SP(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:xP,i=e||vP;return{level(r){return arguments.length?(i=+r,this):i},error(){return i>=Jk&&n("error","ERROR",arguments),this},warn(){return i>=EP&&n("warn","WARN",arguments),this},info(){return i>=wP&&n("log","INFO",arguments),this},debug(){return i>=AP&&n("log","DEBUG",arguments),this}}}var Z=Array.isArray;function me(e){return e===Object(e)}const rS=e=>e!=="__proto__";function CP(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((i,r)=>{for(const o in r)if(o==="signals")i.signals=$P(i.signals,r.signals);else{const s=o==="legend"?{layout:1}:o==="style"?!0:null;Qk(i,o,r[o],s)}return i},{})}function Qk(e,t,n,i){if(!rS(t))return;let r,o;if(me(n)&&!Z(n)){o=me(e[t])?e[t]:e[t]={};for(r in n)i&&(i===!0||i[r])?Qk(o,r,n[r]):rS(r)&&(o[r]=n[r])}else e[t]=n}function $P(e,t){if(e==null)return t;const n={},i=[];function r(o){n[o.name]||(n[o.name]=1,i.push(o))}return t.forEach(r),e.forEach(r),i}function $e(e){return e[e.length-1]}function mn(e){return e==null||e===""?null:+e}const Zk=e=>t=>e*Math.exp(t),eD=e=>t=>Math.log(e*t),tD=e=>t=>Math.sign(t)*Math.log1p(Math.abs(t/e)),nD=e=>t=>Math.sign(t)*Math.expm1(Math.abs(t))*e,Fh=e=>t=>t<0?-Math.pow(-t,e):Math.pow(t,e);function fp(e,t,n,i){const r=n(e[0]),o=n($e(e)),s=(o-r)*t;return[i(r-s),i(o-s)]}function _P(e,t){return fp(e,t,mn,Ln)}function FP(e,t){var n=Math.sign(e[0]);return fp(e,t,eD(n),Zk(n))}function kP(e,t,n){return fp(e,t,Fh(n),Fh(1/n))}function DP(e,t,n){return fp(e,t,tD(n),nD(n))}function dp(e,t,n,i,r){const o=i(e[0]),s=i($e(e)),a=t!=null?i(t):(o+s)/2;return[r(a+(o-a)*n),r(a+(s-a)*n)]}function iD(e,t,n){return dp(e,t,n,mn,Ln)}function rD(e,t,n){const i=Math.sign(e[0]);return dp(e,t,n,eD(i),Zk(i))}function py(e,t,n,i){return dp(e,t,n,Fh(i),Fh(1/i))}function oD(e,t,n,i){return dp(e,t,n,tD(i),nD(i))}function TP(e){return 1+~~(new Date(e).getMonth()/3)}function MP(e){return 1+~~(new Date(e).getUTCMonth()/3)}function oe(e){return e!=null?Z(e)?e:[e]:[]}function OP(e,t,n){let i=e[0],r=e[1],o;return r<i&&(o=r,r=i,i=o),o=r-i,o>=n-t?[t,n]:[i=Math.min(Math.max(i,t),n-o),i+o]}function be(e){return typeof e=="function"}const RP="descending";function sD(e,t,n){n=n||{},t=oe(t)||[];const i=[],r=[],o={},s=n.comparator||NP;return oe(e).forEach((a,u)=>{a!=null&&(i.push(t[u]===RP?-1:1),r.push(a=be(a)?a:Li(a,null,n)),(xn(a)||[]).forEach(l=>o[l]=1))}),r.length===0?null:ri(s(r,i),Object.keys(o))}const hp=(e,t)=>(e<t||e==null)&&t!=null?-1:(e>t||t==null)&&e!=null?1:(t=t instanceof Date?+t:t,(e=e instanceof Date?+e:e)!==e&&t===t?-1:t!==t&&e===e?1:0),NP=(e,t)=>e.length===1?LP(e[0],t[0]):PP(e,t,e.length),LP=(e,t)=>function(n,i){return hp(e(n),e(i))*t},PP=(e,t,n)=>(t.push(0),function(i,r){let o,s=0,a=-1;for(;s===0&&++a<n;)o=e[a],s=hp(o(i),o(r));return s*t[a]});function wn(e){return be(e)?e:()=>e}function aD(e,t){let n;return i=>{n&&clearTimeout(n),n=setTimeout(()=>(t(i),n=null),e)}}function ye(e){for(let t,n,i=1,r=arguments.length;i<r;++i){t=arguments[i];for(n in t)e[n]=t[n]}return e}function lo(e,t){let n=0,i,r,o,s;if(e&&(i=e.length))if(t==null){for(r=e[n];n<i&&(r==null||r!==r);r=e[++n]);for(o=s=r;n<i;++n)r=e[n],r!=null&&(r<o&&(o=r),r>s&&(s=r))}else{for(r=t(e[n]);n<i&&(r==null||r!==r);r=t(e[++n]));for(o=s=r;n<i;++n)r=t(e[n]),r!=null&&(r<o&&(o=r),r>s&&(s=r))}return[o,s]}function IP(e,t){const n=e.length;let i=-1,r,o,s,a,u;if(t==null){for(;++i<n;)if(o=e[i],o!=null&&o>=o){r=s=o;break}if(i===n)return[-1,-1];for(a=u=i;++i<n;)o=e[i],o!=null&&(r>o&&(r=o,a=i),s<o&&(s=o,u=i))}else{for(;++i<n;)if(o=t(e[i],i,e),o!=null&&o>=o){r=s=o;break}if(i===n)return[-1,-1];for(a=u=i;++i<n;)o=t(e[i],i,e),o!=null&&(r>o&&(r=o,a=i),s<o&&(s=o,u=i))}return[a,u]}function le(e,t){return Object.hasOwn(e,t)}const hd={};function xf(e){let t={},n;function i(o){return le(t,o)&&t[o]!==hd}const r={size:0,empty:0,object:t,has:i,get(o){return i(o)?t[o]:void 0},set(o,s){return i(o)||(++r.size,t[o]===hd&&--r.empty),t[o]=s,this},delete(o){return i(o)&&(--r.size,++r.empty,t[o]=hd),this},clear(){r.size=r.empty=0,r.object=t={}},test(o){return arguments.length?(n=o,r):n},clean(){const o={};let s=0;for(const a in t){const u=t[a];u!==hd&&(!n||!n(u))&&(o[a]=u,++s)}r.size=s,r.empty=0,r.object=t=o}};return e&&Object.keys(e).forEach(o=>{r.set(o,e[o])}),r}function zP(e,t,n,i,r,o){if(!n&&n!==0)return o;const s=+n;let a=e[0],u=$e(e),l;u<a&&(l=a,a=u,u=l),l=Math.abs(t-a);const c=Math.abs(u-t);return l<c&&l<=s?i:c<=s?r:o}function G(e,t,n){const i=e.prototype=Object.create(t.prototype);return Object.defineProperty(i,"constructor",{value:e,writable:!0,enumerable:!0,configurable:!0}),ye(i,n)}function tc(e,t,n,i){let r=t[0],o=t[t.length-1],s;return r>o&&(s=r,r=o,o=s),n=n===void 0||n,i=i===void 0||i,(n?r<=e:r<e)&&(i?e<=o:e<o)}function BP(e){return typeof e=="boolean"}function Ys(e){return Object.prototype.toString.call(e)==="[object Date]"}function UP(e){return e&&be(e[Symbol.iterator])}function sa(e){return typeof e=="number"}function uD(e){return Object.prototype.toString.call(e)==="[object RegExp]"}function Ke(e){return typeof e=="string"}function lD(e,t,n){e&&(e=t?oe(e).map(a=>a.replace(/\\(.)/g,"$1")):oe(e));const i=e&&e.length,r=n&&n.get||Kk,o=a=>r(t?[a]:zx(a));let s;if(!i)s=function(){return""};else if(i===1){const a=o(e[0]);s=function(u){return""+a(u)}}else{const a=e.map(o);s=function(u){let l=""+a[0](u),c=0;for(;++c<i;)l+="|"+a[c](u);return l}}return ri(s,e,"key")}function jP(e,t){const n=e[0],i=$e(e),r=+t;return r?r===1?i:n+r*(i-n):n}const qP=1e4;function WP(e){e=+e||qP;let t,n,i;const r=()=>{t={},n={},i=0},o=(s,a)=>(++i>e&&(n=t,t={},i=1),t[s]=a);return r(),{clear:r,has:s=>le(t,s)||le(n,s),get:s=>le(t,s)?t[s]:le(n,s)?o(s,n[s]):void 0,set:(s,a)=>le(t,s)?t[s]=a:o(s,a)}}function GP(e,t,n,i){const r=t.length,o=n.length;if(!o)return t;if(!r)return n;const s=i||new t.constructor(r+o);let a=0,u=0,l=0;for(;a<r&&u<o;++l)s[l]=e(t[a],n[u])>0?n[u++]:t[a++];for(;a<r;++a,++l)s[l]=t[a];for(;u<o;++u,++l)s[l]=n[u];return s}function gd(e,t){let n="";for(;--t>=0;)n+=e;return n}function HP(e,t,n,i){const r=n||" ",o=e+"",s=t-o.length;return s<=0?o:i==="left"?gd(r,s)+o:i==="center"?gd(r,~~(s/2))+o+gd(r,Math.ceil(s/2)):o+gd(r,s)}function gp(e){return e&&$e(e)-e[0]||0}function re(e){return Z(e)?"["+e.map(re)+"]":me(e)||Ke(e)?JSON.stringify(e).replace("\u2028","\\u2028").replace("\u2029","\\u2029"):e}function cD(e){return e==null||e===""?null:!e||e==="false"||e==="0"?!1:!!e}const VP=e=>sa(e)||Ys(e)?e:Date.parse(e);function fD(e,t){return t=t||VP,e==null||e===""?null:t(e)}function dD(e){return e==null||e===""?null:e+""}function yr(e){const t={},n=e.length;for(let i=0;i<n;++i)t[e[i]]=!0;return t}function YP(e,t,n,i){const r=i??"…",o=e+"",s=o.length,a=Math.max(0,t-r.length);return s<=t?o:n==="left"?r+o.slice(s-a):n==="center"?o.slice(0,Math.ceil(a/2))+r+o.slice(s-~~(a/2)):o.slice(0,a)+r}function Ls(e,t,n){if(e)if(t){const i=e.length;for(let r=0;r<i;++r){const o=t(e[r]);o&&n(o,r,e)}}else e.forEach(n)}var oS={},xm={},vm=34,kl=10,Em=13;function hD(e){return new Function("d","return {"+e.map(function(t,n){return JSON.stringify(t)+": d["+n+'] || ""'}).join(",")+"}")}function XP(e,t){var n=hD(e);return function(i,r){return t(n(i),r,e)}}function sS(e){var t=Object.create(null),n=[];return e.forEach(function(i){for(var r in i)r in t||n.push(t[r]=r)}),n}function Fn(e,t){var n=e+"",i=n.length;return i<t?new Array(t-i+1).join(0)+n:n}function KP(e){return e<0?"-"+Fn(-e,6):e>9999?"+"+Fn(e,6):Fn(e,4)}function JP(e){var t=e.getUTCHours(),n=e.getUTCMinutes(),i=e.getUTCSeconds(),r=e.getUTCMilliseconds();return isNaN(e)?"Invalid Date":KP(e.getUTCFullYear())+"-"+Fn(e.getUTCMonth()+1,2)+"-"+Fn(e.getUTCDate(),2)+(r?"T"+Fn(t,2)+":"+Fn(n,2)+":"+Fn(i,2)+"."+Fn(r,3)+"Z":i?"T"+Fn(t,2)+":"+Fn(n,2)+":"+Fn(i,2)+"Z":n||t?"T"+Fn(t,2)+":"+Fn(n,2)+"Z":"")}function QP(e){var t=new RegExp('["'+e+`
2
2
  \r]`),n=e.charCodeAt(0);function i(f,d){var h,g,p=r(f,function(m,y){if(h)return h(m,y-1);g=m,h=d?XP(m,d):hD(m)});return p.columns=g||[],p}function r(f,d){var h=[],g=f.length,p=0,m=0,y,b=g<=0,x=!1;f.charCodeAt(g-1)===kl&&--g,f.charCodeAt(g-1)===Em&&--g;function v(){if(b)return xm;if(x)return x=!1,oS;var A,E=p,S;if(f.charCodeAt(E)===vm){for(;p++<g&&f.charCodeAt(p)!==vm||f.charCodeAt(++p)===vm;);return(A=p)>=g?b=!0:(S=f.charCodeAt(p++))===kl?x=!0:S===Em&&(x=!0,f.charCodeAt(p)===kl&&++p),f.slice(E+1,A-1).replace(/""/g,'"')}for(;p<g;){if((S=f.charCodeAt(A=p++))===kl)x=!0;else if(S===Em)x=!0,f.charCodeAt(p)===kl&&++p;else if(S!==n)continue;return f.slice(E,A)}return b=!0,f.slice(E,g)}for(;(y=v())!==xm;){for(var w=[];y!==oS&&y!==xm;)w.push(y),y=v();d&&(w=d(w,m++))==null||h.push(w)}return h}function o(f,d){return f.map(function(h){return d.map(function(g){return c(h[g])}).join(e)})}function s(f,d){return d==null&&(d=sS(f)),[d.map(c).join(e)].concat(o(f,d)).join(`
3
3
  `)}function a(f,d){return d==null&&(d=sS(f)),o(f,d).join(`
4
4
  `)}function u(f){return f.map(l).join(`
@@ -1,4 +1,4 @@
1
- import{r as v,bQ as tn,bR as rn,bS as nn,bT as an,d as Cn,bU as In,g as En,bt as J,bN as Fe,bO as Be,bV as Hn,bM as on,bu as N,G as sn,bW as xn,bX as ln,bY as Or,bZ as An,bv as Xe,b_ as Tn,b$ as Rn,c0 as Ln,A as un,I as jn,z as Dr,b6 as Fn,aE as Bn,S as ft,M as cn,C as Wn,j as Ce,bp as Yn,bF as Nn,bq as Vn,b7 as Sr,br as zn,B as yt,bs as qn,bm as Un,aC as Xn}from"./index.C-vLCSJp.js";import{a as Qn}from"./useBasicWidgetState.QQhMYIp5.js";import{E as Kn}from"./ErrorOutline.esm.DcGodXA0.js";import{D as Re,a as Le,T as Gn}from"./timepicker.BSrUPnyZ.js";import{I as Jn}from"./input.mfVbl2I5.js";import{I as Zn}from"./base-input.PyN4CoyX.js";import"./FormClearHelper.YYlwo10a.js";import"./possibleConstructorReturn.DO-pRPNX.js";import"./createSuper.Jon9k3Yt.js";var ea=["title","size","color","overrides"];function Pt(){return Pt=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Pt.apply(this,arguments)}function ta(e,r){if(e==null)return{};var n=ra(e,r),a,t;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(t=0;t<o.length;t++)a=o[t],!(r.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}function ra(e,r){if(e==null)return{};var n={},a=Object.keys(e),t,o;for(o=0;o<a.length;o++)t=a[o],!(r.indexOf(t)>=0)&&(n[t]=e[t]);return n}function na(e,r){return sa(e)||ia(e,r)||oa(e,r)||aa()}function aa(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1
+ import{r as v,bU as tn,bV as rn,bW as nn,bX as an,d as Cn,bY as In,g as En,bx as J,bR as Fe,bS as Be,bZ as Hn,bQ as on,by as N,G as sn,b_ as xn,b$ as ln,c0 as Or,c1 as An,bz as Xe,c2 as Tn,c3 as Rn,c4 as Ln,A as un,I as jn,z as Dr,ba as Fn,aI as Bn,S as ft,M as cn,C as Wn,j as Ce,bt as Yn,bJ as Nn,bu as Vn,bb as Sr,bv as zn,B as yt,bw as qn,bq as Un,aG as Xn}from"./index.Du_GhChx.js";import{a as Qn}from"./useBasicWidgetState.DFIfVHMH.js";import{E as Kn}from"./ErrorOutline.esm.CJg-nD07.js";import{D as Re,a as Le,T as Gn}from"./timepicker.DDp122zI.js";import{I as Jn}from"./input.CYwqmJUN.js";import{I as Zn}from"./base-input.DLahFrJX.js";import"./FormClearHelper.DwQzHDKa.js";import"./possibleConstructorReturn.DLN_CW-A.js";import"./createSuper.BR6dNcL_.js";var ea=["title","size","color","overrides"];function Pt(){return Pt=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Pt.apply(this,arguments)}function ta(e,r){if(e==null)return{};var n=ra(e,r),a,t;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(t=0;t<o.length;t++)a=o[t],!(r.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}function ra(e,r){if(e==null)return{};var n={},a=Object.keys(e),t,o;for(o=0;o<a.length;o++)t=a[o],!(r.indexOf(t)>=0)&&(n[t]=e[t]);return n}function na(e,r){return sa(e)||ia(e,r)||oa(e,r)||aa()}function aa(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function oa(e,r){if(e){if(typeof e=="string")return wr(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wr(e,r)}}function wr(e,r){(r==null||r>e.length)&&(r=e.length);for(var n=0,a=new Array(r);n<r;n++)a[n]=e[n];return a}function ia(e,r){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var a=[],t=!0,o=!1,i,s;try{for(n=n.call(e);!(t=(i=n.next()).done)&&(a.push(i.value),!(r&&a.length===r));t=!0);}catch(u){o=!0,s=u}finally{try{!t&&n.return!=null&&n.return()}finally{if(o)throw s}}return a}}function sa(e){if(Array.isArray(e))return e}function la(e,r){var n=tn(),a=na(n,2),t=a[1],o=e.title,i=o===void 0?"Left":o,s=e.size,u=e.color,c=e.overrides,p=c===void 0?{}:c,d=ta(e,ea),h=rn({component:t.icons&&t.icons.ChevronLeft?t.icons.ChevronLeft:null},p&&p.Svg?nn(p.Svg):{});return v.createElement(an,Pt({viewBox:"0 0 24 24",ref:r,title:i,size:s,color:u,overrides:{Svg:h}},d),v.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 12C9 12.2652 9.10536 12.5196 9.29289 12.7071L13.2929 16.7071C13.6834 17.0976 14.3166 17.0976 14.7071 16.7071C15.0976 16.3166 15.0976 15.6834 14.7071 15.2929L11.4142 12L14.7071 8.70711C15.0976 8.31658 15.0976 7.68342 14.7071 7.29289C14.3166 6.90237 13.6834 6.90237 13.2929 7.29289L9.29289 11.2929C9.10536 11.4804 9 11.7348 9 12Z"}))}const _r=v.forwardRef(la);var ua=["title","size","color","overrides"];function Ct(){return Ct=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ct.apply(this,arguments)}function ca(e,r){if(e==null)return{};var n=da(e,r),a,t;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(t=0;t<o.length;t++)a=o[t],!(r.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}function da(e,r){if(e==null)return{};var n={},a=Object.keys(e),t,o;for(o=0;o<a.length;o++)t=a[o],!(r.indexOf(t)>=0)&&(n[t]=e[t]);return n}function fa(e,r){return ya(e)||ga(e,r)||ha(e,r)||pa()}function pa(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3
3
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ha(e,r){if(e){if(typeof e=="string")return kr(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kr(e,r)}}function kr(e,r){(r==null||r>e.length)&&(r=e.length);for(var n=0,a=new Array(r);n<r;n++)a[n]=e[n];return a}function ga(e,r){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var a=[],t=!0,o=!1,i,s;try{for(n=n.call(e);!(t=(i=n.next()).done)&&(a.push(i.value),!(r&&a.length===r));t=!0);}catch(u){o=!0,s=u}finally{try{!t&&n.return!=null&&n.return()}finally{if(o)throw s}}return a}}function ya(e){if(Array.isArray(e))return e}function ma(e,r){var n=tn(),a=fa(n,2),t=a[1],o=e.title,i=o===void 0?"Right":o,s=e.size,u=e.color,c=e.overrides,p=c===void 0?{}:c,d=ca(e,ua),h=rn({component:t.icons&&t.icons.ChevronRight?t.icons.ChevronRight:null},p&&p.Svg?nn(p.Svg):{});return v.createElement(an,Ct({viewBox:"0 0 24 24",ref:r,title:i,size:s,color:u,overrides:{Svg:h}},d),v.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.29289 7.29289C8.90237 7.68342 8.90237 8.31658 9.29289 8.70711L12.5858 12L9.29289 15.2929C8.90237 15.6834 8.90237 16.3166 9.29289 16.7071C9.68342 17.0976 10.3166 17.0976 10.7071 16.7071L14.7071 12.7071C14.8946 12.5196 15 12.2652 15 12C15 11.7348 14.8946 11.4804 14.7071 11.2929L10.7071 7.29289C10.3166 6.90237 9.68342 6.90237 9.29289 7.29289Z"}))}const $r=v.forwardRef(ma);var mt={exports:{}},vt,Mr;function va(){if(Mr)return vt;Mr=1;function e(f){return f&&typeof f=="object"&&"default"in f?f.default:f}var r=e(Cn()),n=In();function a(f,O){for(var k=Object.getOwnPropertyNames(O),m=0;m<k.length;m++){var l=k[m],P=Object.getOwnPropertyDescriptor(O,l);P&&P.configurable&&f[l]===void 0&&Object.defineProperty(f,l,P)}return f}function t(){return(t=Object.assign||function(f){for(var O=1;O<arguments.length;O++){var k=arguments[O];for(var m in k)Object.prototype.hasOwnProperty.call(k,m)&&(f[m]=k[m])}return f}).apply(this,arguments)}function o(f,O){f.prototype=Object.create(O.prototype),a(f.prototype.constructor=f,O)}function i(f,O){if(f==null)return{};var k,m,l={},P=Object.keys(f);for(m=0;m<P.length;m++)k=P[m],0<=O.indexOf(k)||(l[k]=f[k]);return l}function s(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}var u=function(f,O,k,m,l,P,q,ae){if(!f){var T;if(O===void 0)T=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var F=[k,m,l,P,q,ae],Y=0;(T=new Error(O.replace(/%s/g,function(){return F[Y++]}))).name="Invariant Violation"}throw T.framesToPop=1,T}},c=u;function p(f,O,k){if("selectionStart"in f&&"selectionEnd"in f)f.selectionStart=O,f.selectionEnd=k;else{var m=f.createTextRange();m.collapse(!0),m.moveStart("character",O),m.moveEnd("character",k-O),m.select()}}function d(f){var O=0,k=0;if("selectionStart"in f&&"selectionEnd"in f)O=f.selectionStart,k=f.selectionEnd;else{var m=document.selection.createRange();m.parentElement()===f&&(O=-m.moveStart("character",-f.value.length),k=-m.moveEnd("character",-f.value.length))}return{start:O,end:k,length:k-O}}var h={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},y="_";function b(f,O,k){var m="",l="",P=null,q=[];if(O===void 0&&(O=y),k==null&&(k=h),!f||typeof f!="string")return{maskChar:O,formatChars:k,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var ae=!1;return f.split("").forEach(function(T){ae=!ae&&T==="\\"||(ae||!k[T]?(q.push(m.length),m.length===q.length-1&&(l+=T)):P=m.length+1,m+=T,!1)}),{maskChar:O,formatChars:k,prefix:l,mask:m,lastEditablePosition:P,permanents:q}}function g(f,O){return f.permanents.indexOf(O)!==-1}function S(f,O,k){var m=f.mask,l=f.formatChars;if(!k)return!1;if(g(f,O))return m[O]===k;var P=l[m[O]];return new RegExp(P).test(k)}function $(f,O){return O.split("").every(function(k,m){return g(f,m)||!S(f,m,k)})}function D(f,O){var k=f.maskChar,m=f.prefix;if(!k){for(;O.length>m.length&&g(f,O.length-1);)O=O.slice(0,O.length-1);return O.length}for(var l=m.length,P=O.length;P>=m.length;P--){var q=O[P];if(!g(f,P)&&S(f,P,q)){l=P+1;break}}return l}function w(f,O){return D(f,O)===f.mask.length}function _(f,O){var k=f.maskChar,m=f.mask,l=f.prefix;if(!k){for((O=I(f,"",O,0)).length<l.length&&(O=l);O.length<m.length&&g(f,O.length);)O+=m[O.length];return O}if(O)return I(f,_(f,""),O,0);for(var P=0;P<m.length;P++)g(f,P)?O+=m[P]:O+=k;return O}function B(f,O,k,m){var l=k+m,P=f.maskChar,q=f.mask,ae=f.prefix,T=O.split("");if(P)return T.map(function(Y,oe){return oe<k||l<=oe?Y:g(f,oe)?q[oe]:P}).join("");for(var F=l;F<T.length;F++)g(f,F)&&(T[F]="");return k=Math.max(ae.length,k),T.splice(k,l-k),O=T.join(""),_(f,O)}function I(f,O,k,m){var l=f.mask,P=f.maskChar,q=f.prefix,ae=k.split(""),T=w(f,O);return!P&&m>O.length&&(O+=l.slice(O.length,m)),ae.every(function(F){for(;ue=F,g(f,U=m)&&ue!==l[U];){if(m>=O.length&&(O+=l[m]),Y=F,oe=m,P&&g(f,oe)&&Y===P)return!0;if(++m>=l.length)return!1}var Y,oe,U,ue;return!S(f,m,F)&&F!==P||(m<O.length?O=P||T||m<q.length?O.slice(0,m)+F+O.slice(m+1):(O=O.slice(0,m)+F+O.slice(m),_(f,O)):P||(O+=F),++m<l.length)}),O}function x(f,O,k,m){var l=f.mask,P=f.maskChar,q=k.split(""),ae=m;return q.every(function(T){for(;Y=T,g(f,F=m)&&Y!==l[F];)if(++m>=l.length)return!1;var F,Y;return(S(f,m,T)||T===P)&&m++,m<l.length}),m-ae}function L(f,O){for(var k=O;0<=k;--k)if(!g(f,k))return k;return null}function C(f,O){for(var k=f.mask,m=O;m<k.length;++m)if(!g(f,m))return m;return null}function j(f){return f||f===0?f+"":""}function H(f,O,k,m,l){var P=f.mask,q=f.prefix,ae=f.lastEditablePosition,T=O,F="",Y=0,oe=0,U=Math.min(l.start,k.start);return k.end>l.start?oe=(Y=x(f,m,F=T.slice(l.start,k.end),U))?l.length:0:T.length<m.length&&(oe=m.length-T.length),T=m,oe&&(oe===1&&!l.length&&(U=l.start===k.start?C(f,k.start):L(f,k.start)),T=B(f,T,U,oe)),T=I(f,T,F,U),(U+=Y)>=P.length?U=P.length:U<q.length&&!Y?U=q.length:U>=q.length&&U<ae&&Y&&(U=C(f,U)),F||(F=null),{value:T=_(f,T),enteredString:F,selection:{start:U,end:U}}}function E(){var f=new RegExp("windows","i"),O=new RegExp("phone","i"),k=navigator.userAgent;return f.test(k)&&O.test(k)}function A(f){return typeof f=="function"}function R(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame}function ne(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function Q(f){return(ne()?R():function(){return setTimeout(f,1e3/60)})(f)}function K(f){(ne()||clearTimeout)(f)}var re=function(f){function O(m){var l=f.call(this,m)||this;l.focused=!1,l.mounted=!1,l.previousSelection=null,l.selectionDeferId=null,l.saveSelectionLoopDeferId=null,l.saveSelectionLoop=function(){l.previousSelection=l.getSelection(),l.saveSelectionLoopDeferId=Q(l.saveSelectionLoop)},l.runSaveSelectionLoop=function(){l.saveSelectionLoopDeferId===null&&l.saveSelectionLoop()},l.stopSaveSelectionLoop=function(){l.saveSelectionLoopDeferId!==null&&(K(l.saveSelectionLoopDeferId),l.saveSelectionLoopDeferId=null,l.previousSelection=null)},l.getInputDOMNode=function(){if(!l.mounted)return null;var M=n.findDOMNode(s(s(l))),W=typeof window<"u"&&M instanceof window.Element;if(M&&!W)return null;if(M.nodeName!=="INPUT"&&(M=M.querySelector("input")),!M)throw new Error("react-input-mask: inputComponent doesn't contain input node");return M},l.getInputValue=function(){var M=l.getInputDOMNode();return M?M.value:null},l.setInputValue=function(M){var W=l.getInputDOMNode();W&&(l.value=M,W.value=M)},l.setCursorToEnd=function(){var M=D(l.maskOptions,l.value),W=C(l.maskOptions,M);W!==null&&l.setCursorPosition(W)},l.setSelection=function(M,W,X){X===void 0&&(X={});var V=l.getInputDOMNode(),Z=l.isFocused();V&&Z&&(X.deferred||p(V,M,W),l.selectionDeferId!==null&&K(l.selectionDeferId),l.selectionDeferId=Q(function(){l.selectionDeferId=null,p(V,M,W)}),l.previousSelection={start:M,end:W,length:Math.abs(W-M)})},l.getSelection=function(){return d(l.getInputDOMNode())},l.getCursorPosition=function(){return l.getSelection().start},l.setCursorPosition=function(M){l.setSelection(M,M)},l.isFocused=function(){return l.focused},l.getBeforeMaskedValueChangeConfig=function(){var M=l.maskOptions,W=M.mask,X=M.maskChar,V=M.permanents,Z=M.formatChars;return{mask:W,maskChar:X,permanents:V,alwaysShowMask:!!l.props.alwaysShowMask,formatChars:Z}},l.isInputAutofilled=function(M,W,X,V){var Z=l.getInputDOMNode();try{if(Z.matches(":-webkit-autofill"))return!0}catch{}return!l.focused||V.end<X.length&&W.end===M.length},l.onChange=function(M){var W=s(s(l)).beforePasteState,X=s(s(l)).previousSelection,V=l.props.beforeMaskedValueChange,Z=l.getInputValue(),ge=l.value,ye=l.getSelection();l.isInputAutofilled(Z,ye,ge,X)&&(ge=_(l.maskOptions,""),X={start:0,end:0,length:0}),W&&(X=W.selection,ge=W.value,ye={start:X.start+Z.length,end:X.start+Z.length,length:0},Z=ge.slice(0,X.start)+Z+ge.slice(X.end),l.beforePasteState=null);var $e=H(l.maskOptions,Z,ye,ge,X),Ge=$e.enteredString,be=$e.selection,He=$e.value;if(A(V)){var je=V({value:He,selection:be},{value:ge,selection:X},Ge,l.getBeforeMaskedValueChangeConfig());He=je.value,be=je.selection}l.setInputValue(He),A(l.props.onChange)&&l.props.onChange(M),l.isWindowsPhoneBrowser?l.setSelection(be.start,be.end,{deferred:!0}):l.setSelection(be.start,be.end)},l.onFocus=function(M){var W=l.props.beforeMaskedValueChange,X=l.maskOptions,V=X.mask,Z=X.prefix;if(l.focused=!0,l.mounted=!0,V){if(l.value)D(l.maskOptions,l.value)<l.maskOptions.mask.length&&l.setCursorToEnd();else{var ge=_(l.maskOptions,Z),ye=_(l.maskOptions,ge),$e=D(l.maskOptions,ye),Ge=C(l.maskOptions,$e),be={start:Ge,end:Ge};if(A(W)){var He=W({value:ye,selection:be},{value:l.value,selection:null},null,l.getBeforeMaskedValueChangeConfig());ye=He.value,be=He.selection}var je=ye!==l.getInputValue();je&&l.setInputValue(ye),je&&A(l.props.onChange)&&l.props.onChange(M),l.setSelection(be.start,be.end)}l.runSaveSelectionLoop()}A(l.props.onFocus)&&l.props.onFocus(M)},l.onBlur=function(M){var W=l.props.beforeMaskedValueChange,X=l.maskOptions.mask;if(l.stopSaveSelectionLoop(),l.focused=!1,X&&!l.props.alwaysShowMask&&$(l.maskOptions,l.value)){var V="";A(W)&&(V=W({value:V,selection:null},{value:l.value,selection:l.previousSelection},null,l.getBeforeMaskedValueChangeConfig()).value);var Z=V!==l.getInputValue();Z&&l.setInputValue(V),Z&&A(l.props.onChange)&&l.props.onChange(M)}A(l.props.onBlur)&&l.props.onBlur(M)},l.onMouseDown=function(M){if(!l.focused&&document.addEventListener){l.mouseDownX=M.clientX,l.mouseDownY=M.clientY,l.mouseDownTime=new Date().getTime();var W=function X(V){if(document.removeEventListener("mouseup",X),l.focused){var Z=Math.abs(V.clientX-l.mouseDownX),ge=Math.abs(V.clientY-l.mouseDownY),ye=Math.max(Z,ge),$e=new Date().getTime()-l.mouseDownTime;(ye<=10&&$e<=200||ye<=5&&$e<=300)&&l.setCursorToEnd()}};document.addEventListener("mouseup",W)}A(l.props.onMouseDown)&&l.props.onMouseDown(M)},l.onPaste=function(M){A(l.props.onPaste)&&l.props.onPaste(M),M.defaultPrevented||(l.beforePasteState={value:l.getInputValue(),selection:l.getSelection()},l.setInputValue(""))},l.handleRef=function(M){l.props.children==null&&A(l.props.inputRef)&&l.props.inputRef(M)};var P=m.mask,q=m.maskChar,ae=m.formatChars,T=m.alwaysShowMask,F=m.beforeMaskedValueChange,Y=m.defaultValue,oe=m.value;l.maskOptions=b(P,q,ae),Y==null&&(Y=""),oe==null&&(oe=Y);var U=j(oe);if(l.maskOptions.mask&&(T||U)&&(U=_(l.maskOptions,U),A(F))){var ue=m.value;m.value==null&&(ue=Y),U=F({value:U,selection:null},{value:ue=j(ue),selection:null},null,l.getBeforeMaskedValueChangeConfig()).value}return l.value=U,l}o(O,f);var k=O.prototype;return k.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=E(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},k.componentDidUpdate=function(){var m=this.previousSelection,l=this.props,P=l.beforeMaskedValueChange,q=l.alwaysShowMask,ae=l.mask,T=l.maskChar,F=l.formatChars,Y=this.maskOptions,oe=q||this.isFocused(),U=this.props.value!=null,ue=U?j(this.props.value):this.value,M=m?m.start:null;if(this.maskOptions=b(ae,T,F),this.maskOptions.mask){!Y.mask&&this.isFocused()&&this.runSaveSelectionLoop();var W=this.maskOptions.mask&&this.maskOptions.mask!==Y.mask;if(Y.mask||U||(ue=this.getInputValue()),(W||this.maskOptions.mask&&(ue||oe))&&(ue=_(this.maskOptions,ue)),W){var X=D(this.maskOptions,ue);(M===null||X<M)&&(M=w(this.maskOptions,ue)?X:C(this.maskOptions,X))}!this.maskOptions.mask||!$(this.maskOptions,ue)||oe||U&&this.props.value||(ue="");var V={start:M,end:M};if(A(P)){var Z=P({value:ue,selection:V},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());ue=Z.value,V=Z.selection}this.value=ue;var ge=this.getInputValue()!==this.value;ge?(this.setInputValue(this.value),this.forceUpdate()):W&&this.forceUpdate();var ye=!1;V.start!=null&&V.end!=null&&(ye=!m||m.start!==V.start||m.end!==V.end),(ye||ge)&&this.setSelection(V.start,V.end)}else Y.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate())},k.componentWillUnmount=function(){this.mounted=!1,this.selectionDeferId!==null&&K(this.selectionDeferId),this.stopSaveSelectionLoop()},k.render=function(){var m,l=this.props,P=(l.mask,l.alwaysShowMask,l.maskChar,l.formatChars,l.inputRef,l.beforeMaskedValueChange,l.children),q=i(l,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if(P){A(P)||c(!1);var ae=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],T=t({},q);ae.forEach(function(Y){return delete T[Y]}),m=P(T),ae.filter(function(Y){return m.props[Y]!=null&&m.props[Y]!==q[Y]}).length&&c(!1)}else m=r.createElement("input",t({ref:this.handleRef},q));var F={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(q.disabled||q.readOnly||(F.onChange=this.onChange,F.onPaste=this.onPaste,F.onMouseDown=this.onMouseDown),q.value!=null&&(F.value=this.value)),m=r.cloneElement(m,F)},O}(r.Component);return vt=re,vt}var Pr;function ba(){return Pr||(Pr=1,mt.exports=va()),mt.exports}var Oa=ba();const Da=En(Oa);var Sa=["startEnhancer","endEnhancer","error","positive","onChange","onFocus","onBlur","value","disabled","readOnly"],wa=["Input"],_a=["mask","maskChar","overrides"];function Cr(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function bt(e){for(var r=1;r<arguments.length;r++){var n=arguments[r]!=null?arguments[r]:{};r%2?Cr(Object(n),!0).forEach(function(a){ka(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cr(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function ka(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function tt(e){"@babel/helpers - typeof";return tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},tt(e)}function Qe(){return Qe=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Qe.apply(this,arguments)}function It(e,r){if(e==null)return{};var n=$a(e,r),a,t;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(t=0;t<o.length;t++)a=o[t],!(r.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}function $a(e,r){if(e==null)return{};var n={},a=Object.keys(e),t,o;for(o=0;o<a.length;o++)t=a[o],!(r.indexOf(t)>=0)&&(n[t]=e[t]);return n}var dn=v.forwardRef(function(e,r){e.startEnhancer,e.endEnhancer,e.error,e.positive;var n=e.onChange,a=e.onFocus,t=e.onBlur,o=e.value,i=e.disabled,s=e.readOnly,u=It(e,Sa);return v.createElement(Da,Qe({onChange:n,onFocus:a,onBlur:t,value:o,disabled:i,readOnly:s},u),function(c){return v.createElement(Zn,Qe({ref:r,onChange:n,onFocus:a,onBlur:t,value:o,disabled:i,readOnly:s},c))})});dn.displayName="MaskOverride";function fn(e){var r=e.mask,n=e.maskChar,a=e.overrides;a=a===void 0?{}:a;var t=a.Input,o=t===void 0?{}:t,i=It(a,wa),s=It(e,_a),u=dn,c={},p={};typeof o=="function"?u=o:tt(o)==="object"&&(u=o.component||u,c=o.props||{},p=o.style||{}),tt(c)==="object"&&(c=bt(bt({},c),{},{mask:c.mask||r,maskChar:c.maskChar||n}));var d=bt({Input:{component:u,props:c,style:p}},i);return v.createElement(Jn,Qe({},s,{overrides:d}))}fn.defaultProps={maskChar:" "};const pn=6048e5,Ma=864e5,Ir=Symbol.for("constructDateFrom");function Pe(e,r){return typeof e=="function"?e(r):e&&typeof e=="object"&&Ir in e?e[Ir](r):e instanceof Date?new e.constructor(r):new Date(r)}function Se(e,r){return Pe(r||e,e)}let Pa={};function pt(){return Pa}function Ke(e,r){var s,u,c,p;const n=pt(),a=(r==null?void 0:r.weekStartsOn)??((u=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:u.weekStartsOn)??n.weekStartsOn??((p=(c=n.locale)==null?void 0:c.options)==null?void 0:p.weekStartsOn)??0,t=Se(e,r==null?void 0:r.in),o=t.getDay(),i=(o<a?7:0)+o-a;return t.setDate(t.getDate()-i),t.setHours(0,0,0,0),t}function rt(e,r){return Ke(e,{...r,weekStartsOn:1})}function hn(e,r){const n=Se(e,r==null?void 0:r.in),a=n.getFullYear(),t=Pe(n,0);t.setFullYear(a+1,0,4),t.setHours(0,0,0,0);const o=rt(t),i=Pe(n,0);i.setFullYear(a,0,4),i.setHours(0,0,0,0);const s=rt(i);return n.getTime()>=o.getTime()?a+1:n.getTime()>=s.getTime()?a:a-1}function Er(e){const r=Se(e),n=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return n.setUTCFullYear(r.getFullYear()),+e-+n}function Ca(e,...r){const n=Pe.bind(null,r.find(a=>typeof a=="object"));return r.map(n)}function Hr(e,r){const n=Se(e,r==null?void 0:r.in);return n.setHours(0,0,0,0),n}function Ia(e,r,n){const[a,t]=Ca(n==null?void 0:n.in,e,r),o=Hr(a),i=Hr(t),s=+o-Er(o),u=+i-Er(i);return Math.round((s-u)/Ma)}function Ea(e,r){const n=hn(e,r),a=Pe(e,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),rt(a)}function Ha(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function xa(e){return!(!Ha(e)&&typeof e!="number"||isNaN(+Se(e)))}function Aa(e,r){const n=Se(e,r==null?void 0:r.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const Ta={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Ra=(e,r,n)=>{let a;const t=Ta[e];return typeof t=="string"?a=t:r===1?a=t.one:a=t.other.replace("{{count}}",r.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};function Ot(e){return(r={})=>{const n=r.width?String(r.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const La={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ja={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Fa={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ba={date:Ot({formats:La,defaultWidth:"full"}),time:Ot({formats:ja,defaultWidth:"full"}),dateTime:Ot({formats:Fa,defaultWidth:"full"})},Wa={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Ya=(e,r,n,a)=>Wa[e];function We(e){return(r,n)=>{const a=n!=null&&n.context?String(n.context):"standalone";let t;if(a==="formatting"&&e.formattingValues){const i=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):i;t=e.formattingValues[s]||e.formattingValues[i]}else{const i=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;t=e.values[s]||e.values[i]}const o=e.argumentCallback?e.argumentCallback(r):r;return t[o]}}const Na={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Va={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},za={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},qa={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Ua={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Xa={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Qa=(e,r)=>{const n=Number(e),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Ka={ordinalNumber:Qa,era:We({values:Na,defaultWidth:"wide"}),quarter:We({values:Va,defaultWidth:"wide",argumentCallback:e=>e-1}),month:We({values:za,defaultWidth:"wide"}),day:We({values:qa,defaultWidth:"wide"}),dayPeriod:We({values:Ua,defaultWidth:"wide",formattingValues:Xa,defaultFormattingWidth:"wide"})};function Ye(e){return(r,n={})=>{const a=n.width,t=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],o=r.match(t);if(!o)return null;const i=o[0],s=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(s)?Ja(s,d=>d.test(i)):Ga(s,d=>d.test(i));let c;c=e.valueCallback?e.valueCallback(u):u,c=n.valueCallback?n.valueCallback(c):c;const p=r.slice(i.length);return{value:c,rest:p}}}function Ga(e,r){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&r(e[n]))return n}function Ja(e,r){for(let n=0;n<e.length;n++)if(r(e[n]))return n}function Za(e){return(r,n={})=>{const a=r.match(e.matchPattern);if(!a)return null;const t=a[0],o=r.match(e.parsePattern);if(!o)return null;let i=e.valueCallback?e.valueCallback(o[0]):o[0];i=n.valueCallback?n.valueCallback(i):i;const s=r.slice(t.length);return{value:i,rest:s}}}const eo=/^(\d+)(th|st|nd|rd)?/i,to=/\d+/i,ro={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},no={any:[/^b/i,/^(a|c)/i]},ao={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},oo={any:[/1/i,/2/i,/3/i,/4/i]},io={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},so={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},lo={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},uo={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},co={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},fo={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},po={ordinalNumber:Za({matchPattern:eo,parsePattern:to,valueCallback:e=>parseInt(e,10)}),era:Ye({matchPatterns:ro,defaultMatchWidth:"wide",parsePatterns:no,defaultParseWidth:"any"}),quarter:Ye({matchPatterns:ao,defaultMatchWidth:"wide",parsePatterns:oo,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ye({matchPatterns:io,defaultMatchWidth:"wide",parsePatterns:so,defaultParseWidth:"any"}),day:Ye({matchPatterns:lo,defaultMatchWidth:"wide",parsePatterns:uo,defaultParseWidth:"any"}),dayPeriod:Ye({matchPatterns:co,defaultMatchWidth:"any",parsePatterns:fo,defaultParseWidth:"any"})},Ze={code:"en-US",formatDistance:Ra,formatLong:Ba,formatRelative:Ya,localize:Ka,match:po,options:{weekStartsOn:0,firstWeekContainsDate:1}};function ho(e,r){const n=Se(e,r==null?void 0:r.in);return Ia(n,Aa(n))+1}function go(e,r){const n=Se(e,r==null?void 0:r.in),a=+rt(n)-+Ea(n);return Math.round(a/pn)+1}function gn(e,r){var p,d,h,y;const n=Se(e,r==null?void 0:r.in),a=n.getFullYear(),t=pt(),o=(r==null?void 0:r.firstWeekContainsDate)??((d=(p=r==null?void 0:r.locale)==null?void 0:p.options)==null?void 0:d.firstWeekContainsDate)??t.firstWeekContainsDate??((y=(h=t.locale)==null?void 0:h.options)==null?void 0:y.firstWeekContainsDate)??1,i=Pe((r==null?void 0:r.in)||e,0);i.setFullYear(a+1,0,o),i.setHours(0,0,0,0);const s=Ke(i,r),u=Pe((r==null?void 0:r.in)||e,0);u.setFullYear(a,0,o),u.setHours(0,0,0,0);const c=Ke(u,r);return+n>=+s?a+1:+n>=+c?a:a-1}function yo(e,r){var s,u,c,p;const n=pt(),a=(r==null?void 0:r.firstWeekContainsDate)??((u=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:u.firstWeekContainsDate)??n.firstWeekContainsDate??((p=(c=n.locale)==null?void 0:c.options)==null?void 0:p.firstWeekContainsDate)??1,t=gn(e,r),o=Pe((r==null?void 0:r.in)||e,0);return o.setFullYear(t,0,a),o.setHours(0,0,0,0),Ke(o,r)}function mo(e,r){const n=Se(e,r==null?void 0:r.in),a=+Ke(n,r)-+yo(n,r);return Math.round(a/pn)+1}function z(e,r){const n=e<0?"-":"",a=Math.abs(e).toString().padStart(r,"0");return n+a}const Me={y(e,r){const n=e.getFullYear(),a=n>0?n:1-n;return z(r==="yy"?a%100:a,r.length)},M(e,r){const n=e.getMonth();return r==="M"?String(n+1):z(n+1,2)},d(e,r){return z(e.getDate(),r.length)},a(e,r){const n=e.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,r){return z(e.getHours()%12||12,r.length)},H(e,r){return z(e.getHours(),r.length)},m(e,r){return z(e.getMinutes(),r.length)},s(e,r){return z(e.getSeconds(),r.length)},S(e,r){const n=r.length,a=e.getMilliseconds(),t=Math.trunc(a*Math.pow(10,n-3));return z(t,r.length)}},xe={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},xr={G:function(e,r,n){const a=e.getFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});case"GGGG":default:return n.era(a,{width:"wide"})}},y:function(e,r,n){if(r==="yo"){const a=e.getFullYear(),t=a>0?a:1-a;return n.ordinalNumber(t,{unit:"year"})}return Me.y(e,r)},Y:function(e,r,n,a){const t=gn(e,a),o=t>0?t:1-t;if(r==="YY"){const i=o%100;return z(i,2)}return r==="Yo"?n.ordinalNumber(o,{unit:"year"}):z(o,r.length)},R:function(e,r){const n=hn(e);return z(n,r.length)},u:function(e,r){const n=e.getFullYear();return z(n,r.length)},Q:function(e,r,n){const a=Math.ceil((e.getMonth()+1)/3);switch(r){case"Q":return String(a);case"QQ":return z(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,r,n){const a=Math.ceil((e.getMonth()+1)/3);switch(r){case"q":return String(a);case"qq":return z(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,r,n){const a=e.getMonth();switch(r){case"M":case"MM":return Me.M(e,r);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(e,r,n){const a=e.getMonth();switch(r){case"L":return String(a+1);case"LL":return z(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(e,r,n,a){const t=mo(e,a);return r==="wo"?n.ordinalNumber(t,{unit:"week"}):z(t,r.length)},I:function(e,r,n){const a=go(e);return r==="Io"?n.ordinalNumber(a,{unit:"week"}):z(a,r.length)},d:function(e,r,n){return r==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Me.d(e,r)},D:function(e,r,n){const a=ho(e);return r==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):z(a,r.length)},E:function(e,r,n){const a=e.getDay();switch(r){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});case"EEEE":default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(e,r,n,a){const t=e.getDay(),o=(t-a.weekStartsOn+8)%7||7;switch(r){case"e":return String(o);case"ee":return z(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(t,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"});case"eeee":default:return n.day(t,{width:"wide",context:"formatting"})}},c:function(e,r,n,a){const t=e.getDay(),o=(t-a.weekStartsOn+8)%7||7;switch(r){case"c":return String(o);case"cc":return z(o,r.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"});case"cccc":default:return n.day(t,{width:"wide",context:"standalone"})}},i:function(e,r,n){const a=e.getDay(),t=a===0?7:a;switch(r){case"i":return String(t);case"ii":return z(t,r.length);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});case"iiii":default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(e,r,n){const t=e.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})}},b:function(e,r,n){const a=e.getHours();let t;switch(a===12?t=xe.noon:a===0?t=xe.midnight:t=a/12>=1?"pm":"am",r){case"b":case"bb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})}},B:function(e,r,n){const a=e.getHours();let t;switch(a>=17?t=xe.evening:a>=12?t=xe.afternoon:a>=4?t=xe.morning:t=xe.night,r){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})}},h:function(e,r,n){if(r==="ho"){let a=e.getHours()%12;return a===0&&(a=12),n.ordinalNumber(a,{unit:"hour"})}return Me.h(e,r)},H:function(e,r,n){return r==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Me.H(e,r)},K:function(e,r,n){const a=e.getHours()%12;return r==="Ko"?n.ordinalNumber(a,{unit:"hour"}):z(a,r.length)},k:function(e,r,n){let a=e.getHours();return a===0&&(a=24),r==="ko"?n.ordinalNumber(a,{unit:"hour"}):z(a,r.length)},m:function(e,r,n){return r==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Me.m(e,r)},s:function(e,r,n){return r==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Me.s(e,r)},S:function(e,r){return Me.S(e,r)},X:function(e,r,n){const a=e.getTimezoneOffset();if(a===0)return"Z";switch(r){case"X":return Tr(a);case"XXXX":case"XX":return Ie(a);case"XXXXX":case"XXX":default:return Ie(a,":")}},x:function(e,r,n){const a=e.getTimezoneOffset();switch(r){case"x":return Tr(a);case"xxxx":case"xx":return Ie(a);case"xxxxx":case"xxx":default:return Ie(a,":")}},O:function(e,r,n){const a=e.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+Ar(a,":");case"OOOO":default:return"GMT"+Ie(a,":")}},z:function(e,r,n){const a=e.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+Ar(a,":");case"zzzz":default:return"GMT"+Ie(a,":")}},t:function(e,r,n){const a=Math.trunc(+e/1e3);return z(a,r.length)},T:function(e,r,n){return z(+e,r.length)}};function Ar(e,r=""){const n=e>0?"-":"+",a=Math.abs(e),t=Math.trunc(a/60),o=a%60;return o===0?n+String(t):n+String(t)+r+z(o,2)}function Tr(e,r){return e%60===0?(e>0?"-":"+")+z(Math.abs(e)/60,2):Ie(e,r)}function Ie(e,r=""){const n=e>0?"-":"+",a=Math.abs(e),t=z(Math.trunc(a/60),2),o=z(a%60,2);return n+t+r+o}const Rr=(e,r)=>{switch(e){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},yn=(e,r)=>{switch(e){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},vo=(e,r)=>{const n=e.match(/(P+)(p+)?/)||[],a=n[1],t=n[2];if(!t)return Rr(e,r);let o;switch(a){case"P":o=r.dateTime({width:"short"});break;case"PP":o=r.dateTime({width:"medium"});break;case"PPP":o=r.dateTime({width:"long"});break;case"PPPP":default:o=r.dateTime({width:"full"});break}return o.replace("{{date}}",Rr(a,r)).replace("{{time}}",yn(t,r))},bo={p:yn,P:vo},Oo=/^D+$/,Do=/^Y+$/,So=["D","DD","YY","YYYY"];function wo(e){return Oo.test(e)}function _o(e){return Do.test(e)}function ko(e,r,n){const a=$o(e,r,n);if(console.warn(a),So.includes(e))throw new RangeError(a)}function $o(e,r,n){const a=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${r}\`) for formatting ${a} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Mo=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Po=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Co=/^'([^]*?)'?$/,Io=/''/g,Eo=/[a-zA-Z]/;function Lr(e,r,n){var p,d,h,y,b,g,S,$;const a=pt(),t=(n==null?void 0:n.locale)??a.locale??Ze,o=(n==null?void 0:n.firstWeekContainsDate)??((d=(p=n==null?void 0:n.locale)==null?void 0:p.options)==null?void 0:d.firstWeekContainsDate)??a.firstWeekContainsDate??((y=(h=a.locale)==null?void 0:h.options)==null?void 0:y.firstWeekContainsDate)??1,i=(n==null?void 0:n.weekStartsOn)??((g=(b=n==null?void 0:n.locale)==null?void 0:b.options)==null?void 0:g.weekStartsOn)??a.weekStartsOn??(($=(S=a.locale)==null?void 0:S.options)==null?void 0:$.weekStartsOn)??0,s=Se(e,n==null?void 0:n.in);if(!xa(s))throw new RangeError("Invalid time value");let u=r.match(Po).map(D=>{const w=D[0];if(w==="p"||w==="P"){const _=bo[w];return _(D,t.formatLong)}return D}).join("").match(Mo).map(D=>{if(D==="''")return{isToken:!1,value:"'"};const w=D[0];if(w==="'")return{isToken:!1,value:Ho(D)};if(xr[w])return{isToken:!0,value:D};if(w.match(Eo))throw new RangeError("Format string contains an unescaped latin alphabet character `"+w+"`");return{isToken:!1,value:D}});t.localize.preprocessor&&(u=t.localize.preprocessor(s,u));const c={firstWeekContainsDate:o,weekStartsOn:i,locale:t};return u.map(D=>{if(!D.isToken)return D.value;const w=D.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&_o(w)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&wo(w))&&ko(w,r,String(e));const _=xr[w[0]];return _(s,w,t.localize,c)}).join("")}function Ho(e){const r=e.match(Co);return r?r[1].replace(Io,"'"):e}var Kt=Object.freeze({horizontal:"horizontal",vertical:"vertical"}),mn=[0,1,2,3,4,5,6],xo=[0,1,2,3,4,5,6,7,8,9,10,11],le={high:"high",default:"default"},ke={startDate:"startDate",endDate:"endDate"},Ao={locked:"locked"};function jr(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Te(e){for(var r=1;r<arguments.length;r++){var n=arguments[r]!=null?arguments[r]:{};r%2?jr(Object(n),!0).forEach(function(a){To(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jr(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function To(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}var Gt=J("label",function(e){var r=e.$disabled,n=e.$theme,a=n.colors,t=n.typography;return Te(Te({},t.font250),{},{width:"100%",color:r?a.contentSecondary:a.contentPrimary,display:"block",paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0})});Gt.displayName="Label";Gt.displayName="Label";var Jt=J("span",function(e){var r=e.$theme.sizing;return{display:"flex",width:"100%",marginTop:r.scale300,marginRight:0,marginBottom:r.scale300,marginLeft:0}});Jt.displayName="LabelContainer";Jt.displayName="LabelContainer";var Zt=J("span",function(e){var r=e.$disabled,n=e.$counterError,a=e.$theme,t=a.colors,o=a.typography;return Te(Te({},o.font100),{},{flex:0,width:"100%",color:n?t.negative400:r?t.contentSecondary:t.contentPrimary})});Zt.displayName="LabelEndEnhancer";Zt.displayName="LabelEndEnhancer";var er=J("div",function(e){var r=e.$error,n=e.$positive,a=e.$theme,t=a.colors,o=a.sizing,i=a.typography,s=t.contentSecondary;return r?s=t.negative400:n&&(s=t.positive400),Te(Te({},i.font100),{},{color:s,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,marginTop:o.scale300,marginRight:0,marginBottom:o.scale300,marginLeft:0})});er.displayName="Caption";er.displayName="Caption";var tr=J("div",function(e){var r=e.$theme.sizing;return{width:"100%",marginBottom:r.scale600}});tr.displayName="ControlContainer";tr.displayName="ControlContainer";function Ee(){return Ee=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ee.apply(this,arguments)}function nt(e){"@babel/helpers - typeof";return nt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},nt(e)}function Ro(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function Lo(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function jo(e,r,n){return r&&Lo(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Fo(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),r&&Et(e,r)}function Et(e,r){return Et=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,t){return a.__proto__=t,a},Et(e,r)}function Bo(e){var r=No();return function(){var a=at(e),t;if(r){var o=at(this).constructor;t=Reflect.construct(a,arguments,o)}else t=a.apply(this,arguments);return Wo(this,t)}}function Wo(e,r){if(r&&(nt(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Yo(e)}function Yo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function No(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function at(e){return at=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},at(e)}function Vo(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function zo(e,r,n,a){return r&&typeof r!="boolean"?typeof r=="function"?r(a):r:n&&typeof n!="boolean"?typeof n=="function"?n(a):n:e?typeof e=="function"?e(a):e:null}var Ht=function(e){Fo(n,e);var r=Bo(n);function n(){return Ro(this,n),r.apply(this,arguments)}return jo(n,[{key:"render",value:function(){var t=this.props,o=t.overrides,i=o.Label,s=o.LabelEndEnhancer,u=o.LabelContainer,c=o.Caption,p=o.ControlContainer,d=t.label,h=t.caption,y=t.disabled,b=t.error,g=t.positive,S=t.htmlFor,$=t.children,D=t.counter,w=v.Children.only($).props,_={$disabled:!!y,$error:!!b,$positive:!!g},B=Fe(i)||Gt,I=Fe(s)||Zt,x=Fe(u)||Jt,L=Fe(c)||er,C=Fe(p)||tr,j=zo(h,b,g,_),H=this.props.labelEndEnhancer;if(D){var E=null,A=null,R=null;nt(D)==="object"&&(A=D.length,E=D.maxLength,R=D.error),E=E||w.maxLength,A==null&&typeof w.value=="string"&&(A=w.value.length),A==null&&(A=0),_.$length=A,E==null?H||(H="".concat(A)):(_.$maxLength=A,H||(H="".concat(A,"/").concat(E)),A>E&&R==null&&(R=!0)),R&&(_.$error=!0,_.$counterError=!0)}return v.createElement(v.Fragment,null,d&&v.createElement(x,Ee({},_,Be(u)),v.createElement(B,Ee({"data-baseweb":"form-control-label",htmlFor:S||w.id},_,Be(i)),typeof d=="function"?d(_):d),!!H&&v.createElement(I,Ee({},_,Be(s)),typeof H=="function"?H(_):H)),v.createElement(Hn,null,function(ne){return v.createElement(C,Ee({"data-baseweb":"form-control-container"},_,Be(p)),v.Children.map($,function(Q,K){if(Q){var re=Q.key||String(K);return v.cloneElement(Q,{key:re,"aria-errormessage":b?ne:null,"aria-describedby":h||g?ne:null,disabled:w.disabled||y,error:typeof w.error<"u"?w.error:_.$error,positive:typeof w.positive<"u"?w.positive:_.$positive})}}),(!!h||!!b||g)&&v.createElement(L,Ee({"data-baseweb":"form-control-caption",id:ne},_,Be(c)),j))}))}}]),n}(v.Component);Vo(Ht,"defaultProps",{overrides:{},label:null,caption:null,disabled:!1,counter:!1});function Fr(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Br(e){for(var r=1;r<arguments.length;r++){var n=arguments[r]!=null?arguments[r]:{};r%2?Fr(Object(n),!0).forEach(function(a){qo(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fr(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function qo(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}var Uo=function(r){return xo.map(function(n){return{id:n.toString(),label:r(n)}})},Xo=function(r,n){return r.map(function(a){return n.includes(Number(a.id))?a:Br(Br({},a),{},{disabled:!0})})},Qo=function(r){var n=r.filterMonthsList,a=r.formatMonthLabel,t=Uo(a);return n&&(t=Xo(t,n)),t};function Ko(e){var r=e.$range,n=r===void 0?!1:r,a=e.$disabled,t=a===void 0?!1:a,o=e.$isHighlighted,i=o===void 0?!1:o,s=e.$isHovered,u=s===void 0?!1:s,c=e.$selected,p=c===void 0?!1:c,d=e.$hasRangeSelected,h=d===void 0?!1:d,y=e.$startDate,b=y===void 0?!1:y,g=e.$endDate,S=g===void 0?!1:g,$=e.$pseudoSelected,D=$===void 0?!1:$,w=e.$hasRangeHighlighted,_=w===void 0?!1:w,B=e.$pseudoHighlighted,I=B===void 0?!1:B,x=e.$hasRangeOnRight,L=x===void 0?!1:x,C=e.$startOfMonth,j=C===void 0?!1:C,H=e.$endOfMonth,E=H===void 0?!1:H,A=e.$outsideMonth,R=A===void 0?!1:A;return"".concat(+n).concat(+t).concat(+(i||u)).concat(+p).concat(+h).concat(+b).concat(+S).concat(+D).concat(+_).concat(+I).concat(+(_&&!I&&L)).concat(+(_&&!I&&!L)).concat(+j).concat(+E).concat(+R)}function Go(e,r){return ti(e)||ei(e,r)||Zo(e,r)||Jo()}function Jo(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
4
4
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Zo(e,r){if(e){if(typeof e=="string")return Wr(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wr(e,r)}}function Wr(e,r){(r==null||r>e.length)&&(r=e.length);for(var n=0,a=new Array(r);n<r;n++)a[n]=e[n];return a}function ei(e,r){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var a=[],t=!0,o=!1,i,s;try{for(n=n.call(e);!(t=(i=n.next()).done)&&(a.push(i.value),!(r&&a.length===r));t=!0);}catch(u){o=!0,s=u}finally{try{!t&&n.return!=null&&n.return()}finally{if(o)throw s}}return a}}function ti(e){if(Array.isArray(e))return e}function Yr(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ie(e){for(var r=1;r<arguments.length;r++){var n=arguments[r]!=null?arguments[r]:{};r%2?Yr(Object(n),!0).forEach(function(a){qe(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yr(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function qe(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}var rr=J("div",function(e){var r=e.$separateRangeInputs;return ie({width:"100%"},r?{display:"flex",justifyContent:"center"}:{})});rr.displayName="StyledInputWrapper";rr.displayName="StyledInputWrapper";var nr=J("div",function(e){var r=e.$theme;return ie(ie({},r.typography.LabelMedium),{},{marginBottom:r.sizing.scale300})});nr.displayName="StyledInputLabel";nr.displayName="StyledInputLabel";var ar=J("div",function(e){var r=e.$theme;return{width:"100%",marginRight:r.sizing.scale300}});ar.displayName="StyledStartDate";ar.displayName="StyledStartDate";var or=J("div",function(e){return e.$theme,{width:"100%"}});or.displayName="StyledEndDate";or.displayName="StyledEndDate";var ir=J("div",function(e){var r=e.$theme,n=r.typography,a=r.colors,t=r.borders;return ie(ie({},n.font200),{},{color:a.calendarForeground,backgroundColor:a.calendarBackground,textAlign:"center",borderTopLeftRadius:t.surfaceBorderRadius,borderTopRightRadius:t.surfaceBorderRadius,borderBottomRightRadius:t.surfaceBorderRadius,borderBottomLeftRadius:t.surfaceBorderRadius,display:"inline-block"})});ir.displayName="StyledRoot";ir.displayName="StyledRoot";var sr=J("div",function(e){var r=e.$orientation;return{display:"flex",flexDirection:r===Kt.vertical?"column":"row"}});sr.displayName="StyledMonthContainer";sr.displayName="StyledMonthContainer";var lr=J("div",function(e){var r=e.$theme.sizing,n=e.$density;return{paddingTop:r.scale300,paddingBottom:n===le.high?r.scale400:r.scale300,paddingLeft:r.scale500,paddingRight:r.scale500}});lr.displayName="StyledCalendarContainer";lr.displayName="StyledCalendarContainer";var ot=J("div",function(e){var r=e.$theme,n=r.direction==="rtl"?"right":"left";return{marginBottom:r.sizing.scale600,paddingLeft:r.sizing.scale600,paddingRight:r.sizing.scale600,textAlign:n}});ot.displayName="StyledSelectorContainer";ot.displayName="StyledSelectorContainer";var ur=J("div",function(e){var r=e.$theme,n=r.typography,a=r.borders,t=r.colors,o=r.sizing,i=e.$density;return ie(ie({},i===le.high?n.LabelMedium:n.LabelLarge),{},{color:t.calendarHeaderForeground,display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:o.scale600,paddingBottom:o.scale300,paddingLeft:o.scale600,paddingRight:o.scale600,backgroundColor:t.calendarHeaderBackground,borderTopLeftRadius:a.surfaceBorderRadius,borderTopRightRadius:a.surfaceBorderRadius,borderBottomRightRadius:0,borderBottomLeftRadius:0,minHeight:i===le.high?"calc(".concat(o.scale800," + ").concat(o.scale0,")"):o.scale950})});ur.displayName="StyledCalendarHeader";ur.displayName="StyledCalendarHeader";var cr=J("div",function(e){return{color:e.$theme.colors.calendarHeaderForeground,backgroundColor:e.$theme.colors.calendarHeaderBackground,whiteSpace:"nowrap"}});cr.displayName="StyledMonthHeader";cr.displayName="StyledMonthHeader";var dr=J("button",function(e){var r=e.$theme,n=r.typography,a=r.colors,t=e.$isFocusVisible,o=e.$density;return ie(ie({},o===le.high?n.LabelMedium:n.LabelLarge),{},{alignItems:"center",backgroundColor:"transparent",borderLeftWidth:0,borderRightWidth:0,borderTopWidth:0,borderBottomWidth:0,color:a.calendarHeaderForeground,cursor:"pointer",display:"flex",outline:"none",":focus":{boxShadow:t?"0 0 0 3px ".concat(a.accent):"none"}})});dr.displayName="StyledMonthYearSelectButton";dr.displayName="StyledMonthYearSelectButton";var fr=J("span",function(e){var r=e.$theme.direction==="rtl"?"marginRight":"marginLeft";return qe({alignItems:"center",display:"flex"},r,e.$theme.sizing.scale500)});fr.displayName="StyledMonthYearSelectIconContainer";fr.displayName="StyledMonthYearSelectIconContainer";function vn(e){var r=e.$theme,n=e.$disabled,a=e.$isFocusVisible;return{boxSizing:"border-box",display:"flex",color:n?r.colors.calendarHeaderForegroundDisabled:r.colors.calendarHeaderForeground,cursor:n?"default":"pointer",backgroundColor:"transparent",borderLeftWidth:0,borderRightWidth:0,borderTopWidth:0,borderBottomWidth:0,paddingTop:"0",paddingBottom:"0",paddingLeft:"0",paddingRight:"0",marginBottom:0,marginTop:0,outline:"none",":focus":n?{}:{boxShadow:a?"0 0 0 3px ".concat(r.colors.accent):"none"}}}var pr=J("button",vn);pr.displayName="StyledPrevButton";pr.displayName="StyledPrevButton";var hr=J("button",vn);hr.displayName="StyledNextButton";hr.displayName="StyledNextButton";var gr=J("div",function(e){return{display:"inline-block"}});gr.displayName="StyledMonth";gr.displayName="StyledMonth";var yr=J("div",function(e){var r=e.$theme.sizing;return{whiteSpace:"nowrap",display:"flex",marginBottom:r.scale0}});yr.displayName="StyledWeek";yr.displayName="StyledWeek";function G(e,r){var n,a=e.substr(0,12)+"1"+e.substr(13),t=e.substr(0,13)+"1"+e.substr(14);return n={},qe(n,e,r),qe(n,a,r),qe(n,t,r),n}function Dt(e,r){var n=r.colors,a={":before":{content:null},":after":{content:null}},t=a,o={color:n.calendarForegroundDisabled,":before":{content:null},":after":{content:null}},i={color:n.calendarForegroundDisabled,":before":{borderTopStyle:"none",borderBottomStyle:"none",borderLeftStyle:"none",borderRightStyle:"none",backgroundColor:"transparent"},":after":{borderTopLeftRadius:"0%",borderTopRightRadius:"0%",borderBottomLeftRadius:"0%",borderBottomRightRadius:"0%",borderTopColor:"transparent",borderBottomColor:"transparent",borderRightColor:"transparent",borderLeftColor:"transparent"}},s={":before":{content:null}},u=1;e&&e[u]==="1"&&(t=o);var c=Object.assign({},G("001000000000000",{color:n.calendarDayForegroundPseudoSelected}),G("000100000000000",{color:n.calendarDayForegroundSelected}),G("001100000000000",{color:n.calendarDayForegroundSelectedHighlighted}),{"010000000000000":{color:n.calendarForegroundDisabled,":after":{content:null}}},{"011000000000000":{color:n.calendarForegroundDisabled,":after":{content:null}}},G("000000000000001",i),G("101000000000000",s),G("101010000000000",s),G("100100000000000",{color:n.calendarDayForegroundSelected}),G("101100000000000",{color:n.calendarDayForegroundSelectedHighlighted,":before":{content:null}}),G("100111100000000",{color:n.calendarDayForegroundSelected,":before":{content:null}}),G("101111100000000",{color:n.calendarDayForegroundSelectedHighlighted,":before":{content:null}}),G("100111000000000",{color:n.calendarDayForegroundSelected}),G("100110100000000",{color:n.calendarDayForegroundSelected,":before":{left:null,right:"50%"}}),G("100100001010000",{color:n.calendarDayForegroundSelected}),G("100100001001000",{color:n.calendarDayForegroundSelected,":before":{left:null,right:"50%"}}),G("101000001010000",{":before":{left:null,right:"50%"}}),{"101000001001000":{}},{"101000001001100":{}},{"101000001001010":{}},G("100010010000000",{color:n.calendarDayForegroundPseudoSelected,":before":{left:"0",width:"100%"},":after":{content:null}}),{"101000001100000":{color:n.calendarDayForegroundPseudoSelected,":before":{left:"0",width:"100%"},":after":{content:null}}},G("100000001100000",{color:n.calendarDayForegroundPseudoSelected,":before":{left:"0",width:"100%"},":after":{content:null}}),G("101111000000000",{color:n.calendarDayForegroundSelectedHighlighted}),G("101110100000000",{color:n.calendarDayForegroundSelectedHighlighted,":before":{left:null,right:"50%"}}),G("101010010000000",{color:n.calendarDayForegroundPseudoSelectedHighlighted,":before":{left:"0",width:"100%"}}),G("100000000000001",i),G("100000001010001",i),G("100000001001001",i),G("100010000000001",i));return c[e]||t}var mr=J("div",function(e){var r=e.$disabled,n=e.$isFocusVisible,a=e.$isHighlighted,t=e.$peekNextMonth,o=e.$pseudoSelected,i=e.$range,s=e.$selected,u=e.$outsideMonth,c=e.$outsideMonthWithinRange,p=e.$hasDateLabel,d=e.$density,h=e.$hasLockedBehavior,y=e.$selectedInput,b=e.$value,g=e.$theme,S=g.colors,$=g.typography,D=g.sizing,w=Ko(e),_;p?d===le.high?_="60px":_="70px":d===le.high?_="40px":_="48px";var B=Array.isArray(b)?b:[b,null],I=Go(B,2),x=I[0],L=I[1],C=y===ke.startDate?L!==null&&typeof L<"u":x!==null&&typeof x<"u",j=i&&!(h&&!C);return ie(ie(ie({},d===le.high?$.ParagraphSmall:$.ParagraphMedium),{},{boxSizing:"border-box",position:"relative",cursor:r||!t&&u?"default":"pointer",color:S.calendarForeground,display:"inline-block",width:d===le.high?"42px":"50px",height:_,lineHeight:d===le.high?D.scale700:D.scale900,textAlign:"center",paddingTop:D.scale300,paddingBottom:D.scale300,paddingLeft:D.scale300,paddingRight:D.scale300,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,outline:"none",backgroundColor:"transparent",transform:"scale(1)"},Dt(w,e.$theme)),{},{":after":ie(ie({zIndex:-1,content:'""',boxSizing:"border-box",display:"inline-block",boxShadow:n&&(!u||t)?"0 0 0 3px ".concat(S.accent):"none",backgroundColor:s?S.calendarDayBackgroundSelectedHighlighted:o&&a?S.calendarDayBackgroundPseudoSelectedHighlighted:S.calendarBackground,height:p?"100%":d===le.high?"42px":"50px",width:"100%",position:"absolute",top:p?0:"-1px",left:0,paddingTop:D.scale200,paddingBottom:D.scale200,borderLeftWidth:"2px",borderRightWidth:"2px",borderTopWidth:"2px",borderBottomWidth:"2px",borderLeftStyle:"solid",borderRightStyle:"solid",borderTopStyle:"solid",borderBottomStyle:"solid",borderTopColor:S.borderSelected,borderBottomColor:S.borderSelected,borderRightColor:S.borderSelected,borderLeftColor:S.borderSelected,borderTopLeftRadius:p?D.scale800:"100%",borderTopRightRadius:p?D.scale800:"100%",borderBottomLeftRadius:p?D.scale800:"100%",borderBottomRightRadius:p?D.scale800:"100%"},Dt(w,e.$theme)[":after"]||{}),c?{content:null}:{})},j?{":before":ie(ie({zIndex:-1,content:'""',boxSizing:"border-box",display:"inline-block",backgroundColor:S.mono300,position:"absolute",height:"100%",width:"50%",top:0,left:"50%",borderTopWidth:"2px",borderBottomWidth:"2px",borderLeftWidth:"0",borderRightWidth:"0",borderTopStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderRightStyle:"solid",borderTopColor:"transparent",borderBottomColor:"transparent",borderLeftColor:"transparent",borderRightColor:"transparent"},Dt(w,e.$theme)[":before"]||{}),c?{backgroundColor:S.mono300,left:"0",width:"100%",content:'""'}:{})}:{})});mr.displayName="StyledDay";mr.displayName="StyledDay";var vr=J("div",function(e){var r=e.$theme,n=r.typography,a=r.colors,t=e.$selected;return ie(ie({},n.ParagraphXSmall),{},{color:t?a.contentInverseTertiary:a.contentTertiary})});vr.displayName="StyledDayLabel";vr.displayName="StyledDayLabel";var br=J("div",function(e){var r=e.$theme,n=r.typography,a=r.colors,t=r.sizing,o=e.$density;return ie(ie({},n.LabelMedium),{},{color:a.contentTertiary,boxSizing:"border-box",position:"relative",cursor:"default",display:"inline-block",width:o===le.high?"42px":"50px",height:o===le.high?"40px":"48px",textAlign:"center",lineHeight:t.scale900,paddingTop:t.scale300,paddingBottom:t.scale300,paddingLeft:t.scale200,paddingRight:t.scale200,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,backgroundColor:"transparent"})});br.displayName="StyledWeekdayHeader";br.displayName="StyledWeekdayHeader";function xt(e){"@babel/helpers - typeof";return xt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},xt(e)}function me(){return me=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},me.apply(this,arguments)}function Oe(e,r){return oi(e)||ai(e,r)||ni(e,r)||ri()}function ri(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
@@ -0,0 +1 @@
1
+ import{r as o,aR as U,z as k,cu as x,C as A,j as l,bt as L,bJ as P,bu as B,bb as D,bv as j}from"./index.Du_GhChx.js";import{u as _}from"./uniqueId.DQ5uc9Dn.js";import{u as w,a as K,b as O}from"./useOnInputChange.qZzWT6UC.js";import{I as $}from"./InputInstructions.A_59uy0m.js";import{a as q}from"./useBasicWidgetState.DFIfVHMH.js";import{T as G}from"./textarea.uAcwGUtc.js";import"./inputUtils.CQWz5UKz.js";import"./FormClearHelper.DwQzHDKa.js";import"./base-input.DLahFrJX.js";const T=(a,t)=>a.getStringValue(t)??t.default??null,J=a=>a.default??null,N=a=>a.value??null,Q=(a,t,s,u)=>{t.setStringValue(a,s.value,{fromUi:s.fromUi},u)},X=({disabled:a,element:t,widgetMgr:s,fragmentId:u})=>{var g;const p=o.useRef(_("text_area_")).current,[W,S]=U(),[r,n]=o.useState(!1),[C,b]=o.useState(!1),[i,d]=o.useState(()=>T(s,t)??null),I=o.useCallback(()=>{d(t.default??null),n(!0)},[t]),[V,c]=q({getStateFromWidgetMgr:T,getDefaultStateFromProto:J,getCurrStateFromProto:N,updateWidgetMgrState:Q,element:t,widgetMgr:s,fragmentId:u,onFormCleared:I});w(V,i,d,r);const e=k(),m=o.useCallback(()=>{n(!1),c({value:i,fromUi:!0})},[i,c]),y=o.useCallback(()=>{r&&m(),b(!1)},[r,m]),F=o.useCallback(()=>{b(!0)},[]),v=K({formId:t.formId,maxChars:t.maxChars,setDirty:n,setUiValue:d,setValueWithSource:c}),E=O(t.formId,m,r,s,u,!0),{height:f,placeholder:R,formId:h}=t,z=x({formId:h})?s.allowFormEnterToSubmit(h):r,H=C&&W>e.breakpoints.hideWidgetDetails;return A("div",{className:"stTextArea","data-testid":"stTextArea",ref:S,children:[l(j,{label:t.label,disabled:a,labelVisibility:L((g=t.labelVisibility)==null?void 0:g.value),htmlFor:p,children:t.help&&l(P,{children:l(B,{content:t.help,placement:D.TOP_RIGHT})})}),l(G,{value:i??"",placeholder:R,onBlur:y,onFocus:F,onChange:v,onKeyDown:E,"aria-label":t.label,disabled:a,id:p,overrides:{Input:{style:{lineHeight:e.lineHeights.inputWidget,height:f?`${f}px`:"",minHeight:e.sizes.largestElementHeight,resize:"vertical",paddingRight:e.spacing.md,paddingLeft:e.spacing.md,paddingBottom:e.spacing.md,paddingTop:e.spacing.md,"::placeholder":{color:e.colors.fadedText60}}},Root:{props:{"data-testid":"stTextAreaRootElement"},style:{borderLeftWidth:e.sizes.borderWidth,borderRightWidth:e.sizes.borderWidth,borderTopWidth:e.sizes.borderWidth,borderBottomWidth:e.sizes.borderWidth}}}}),H&&l($,{dirty:r,value:i??"",maxLength:t.maxChars,type:"multiline",inForm:x({formId:h}),allowEnterToSubmit:z})]})},it=o.memo(X);export{it as default};
@@ -1,2 +1,2 @@
1
- import{n as Vt,r as gt,j as lt,F as $t}from"./index.C-vLCSJp.js";/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */const{entries:At,setPrototypeOf:ct,isFrozen:qt,getPrototypeOf:Kt,getOwnPropertyDescriptor:Zt}=Object;let{freeze:S,seal:y,create:ht}=Object,{apply:we,construct:xe}=typeof Reflect<"u"&&Reflect;S||(S=function(n){return n});y||(y=function(n){return n});we||(we=function(n,s,l){return n.apply(s,l)});xe||(xe=function(n,s){return new n(...s)});const le=R(Array.prototype.forEach),Jt=R(Array.prototype.lastIndexOf),ft=R(Array.prototype.pop),$=R(Array.prototype.push),Qt=R(Array.prototype.splice),fe=R(String.prototype.toLowerCase),De=R(String.prototype.toString),ut=R(String.prototype.match),q=R(String.prototype.replace),en=R(String.prototype.indexOf),tn=R(String.prototype.trim),L=R(Object.prototype.hasOwnProperty),h=R(RegExp.prototype.test),K=nn(TypeError);function R(a){return function(n){n instanceof RegExp&&(n.lastIndex=0);for(var s=arguments.length,l=new Array(s>1?s-1:0),T=1;T<s;T++)l[T-1]=arguments[T];return we(a,n,l)}}function nn(a){return function(){for(var n=arguments.length,s=new Array(n),l=0;l<n;l++)s[l]=arguments[l];return xe(a,s)}}function r(a,n){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fe;ct&&ct(a,null);let l=n.length;for(;l--;){let T=n[l];if(typeof T=="string"){const D=s(T);D!==T&&(qt(n)||(n[l]=D),T=D)}a[T]=!0}return a}function on(a){for(let n=0;n<a.length;n++)L(a,n)||(a[n]=null);return a}function C(a){const n=ht(null);for(const[s,l]of At(a))L(a,s)&&(Array.isArray(l)?n[s]=on(l):l&&typeof l=="object"&&l.constructor===Object?n[s]=C(l):n[s]=l);return n}function Z(a,n){for(;a!==null;){const l=Zt(a,n);if(l){if(l.get)return R(l.get);if(typeof l.value=="function")return R(l.value)}a=Kt(a)}function s(){return null}return s}const mt=S(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ne=S(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ie=S(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),an=S(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Me=S(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),rn=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),pt=S(["#text"]),dt=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Ce=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Tt=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ce=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),sn=y(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ln=y(/<%[\w\W]*|[\w\W]*%>/gm),cn=y(/\$\{[\w\W]*/gm),fn=y(/^data-[\-\w.\u00B7-\uFFFF]+$/),un=y(/^aria-[\-\w]+$/),St=y(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),mn=y(/^(?:\w+script|data):/i),pn=y(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Rt=y(/^html$/i),dn=y(/^[a-z][.\w]*(-[.\w]+)+$/i);var _t=Object.freeze({__proto__:null,ARIA_ATTR:un,ATTR_WHITESPACE:pn,CUSTOM_ELEMENT:dn,DATA_ATTR:fn,DOCTYPE_NAME:Rt,ERB_EXPR:ln,IS_ALLOWED_URI:St,IS_SCRIPT_OR_DATA:mn,MUSTACHE_EXPR:sn,TMPLIT_EXPR:cn});const J={element:1,text:3,progressingInstruction:7,comment:8,document:9},Tn=function(){return typeof window>"u"?null:window},_n=function(n,s){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let l=null;const T="data-tt-policy-suffix";s&&s.hasAttribute(T)&&(l=s.getAttribute(T));const D="dompurify"+(l?"#"+l:"");try{return n.createPolicy(D,{createHTML(x){return x},createScriptURL(x){return x}})}catch{return console.warn("TrustedTypes policy "+D+" could not be created."),null}},Et=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Ot(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tn();const n=i=>Ot(i);if(n.version="3.2.6",n.removed=[],!a||!a.document||a.document.nodeType!==J.document||!a.Element)return n.isSupported=!1,n;let{document:s}=a;const l=s,T=l.currentScript,{DocumentFragment:D,HTMLTemplateElement:x,Node:ue,Element:ve,NodeFilter:G,NamedNodeMap:yt=a.NamedNodeMap||a.MozNamedAttrMap,HTMLFormElement:Lt,DOMParser:bt,trustedTypes:Q}=a,W=ve.prototype,Dt=Z(W,"cloneNode"),Nt=Z(W,"remove"),It=Z(W,"nextSibling"),Mt=Z(W,"childNodes"),ee=Z(W,"parentNode");if(typeof x=="function"){const i=s.createElement("template");i.content&&i.content.ownerDocument&&(s=i.content.ownerDocument)}let g,B="";const{implementation:me,createNodeIterator:Ct,createDocumentFragment:wt,getElementsByTagName:xt}=s,{importNode:Pt}=l;let A=Et();n.isSupported=typeof At=="function"&&typeof ee=="function"&&me&&me.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:pe,ERB_EXPR:de,TMPLIT_EXPR:Te,DATA_ATTR:kt,ARIA_ATTR:vt,IS_SCRIPT_OR_DATA:Ut,ATTR_WHITESPACE:Ue,CUSTOM_ELEMENT:Ft}=_t;let{IS_ALLOWED_URI:Fe}=_t,m=null;const He=r({},[...mt,...Ne,...Ie,...Me,...pt]);let d=null;const ze=r({},[...dt,...Ce,...Tt,...ce]);let f=Object.seal(ht(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Y=null,_e=null,Ge=!0,Ee=!0,We=!1,Be=!0,P=!1,te=!0,w=!1,ge=!1,Ae=!1,k=!1,ne=!1,oe=!1,Ye=!0,Xe=!1;const Ht="user-content-";let he=!0,X=!1,v={},U=null;const je=r({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ve=null;const $e=r({},["audio","video","img","source","image","track"]);let Se=null;const qe=r({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ie="http://www.w3.org/1998/Math/MathML",ae="http://www.w3.org/2000/svg",N="http://www.w3.org/1999/xhtml";let F=N,Re=!1,Oe=null;const zt=r({},[ie,ae,N],De);let re=r({},["mi","mo","mn","ms","mtext"]),se=r({},["annotation-xml"]);const Gt=r({},["title","style","font","a","script"]);let j=null;const Wt=["application/xhtml+xml","text/html"],Bt="text/html";let p=null,H=null;const Yt=s.createElement("form"),Ke=function(e){return e instanceof RegExp||e instanceof Function},ye=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(H&&H===e)){if((!e||typeof e!="object")&&(e={}),e=C(e),j=Wt.indexOf(e.PARSER_MEDIA_TYPE)===-1?Bt:e.PARSER_MEDIA_TYPE,p=j==="application/xhtml+xml"?De:fe,m=L(e,"ALLOWED_TAGS")?r({},e.ALLOWED_TAGS,p):He,d=L(e,"ALLOWED_ATTR")?r({},e.ALLOWED_ATTR,p):ze,Oe=L(e,"ALLOWED_NAMESPACES")?r({},e.ALLOWED_NAMESPACES,De):zt,Se=L(e,"ADD_URI_SAFE_ATTR")?r(C(qe),e.ADD_URI_SAFE_ATTR,p):qe,Ve=L(e,"ADD_DATA_URI_TAGS")?r(C($e),e.ADD_DATA_URI_TAGS,p):$e,U=L(e,"FORBID_CONTENTS")?r({},e.FORBID_CONTENTS,p):je,Y=L(e,"FORBID_TAGS")?r({},e.FORBID_TAGS,p):C({}),_e=L(e,"FORBID_ATTR")?r({},e.FORBID_ATTR,p):C({}),v=L(e,"USE_PROFILES")?e.USE_PROFILES:!1,Ge=e.ALLOW_ARIA_ATTR!==!1,Ee=e.ALLOW_DATA_ATTR!==!1,We=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Be=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,P=e.SAFE_FOR_TEMPLATES||!1,te=e.SAFE_FOR_XML!==!1,w=e.WHOLE_DOCUMENT||!1,k=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,oe=e.RETURN_TRUSTED_TYPE||!1,Ae=e.FORCE_BODY||!1,Ye=e.SANITIZE_DOM!==!1,Xe=e.SANITIZE_NAMED_PROPS||!1,he=e.KEEP_CONTENT!==!1,X=e.IN_PLACE||!1,Fe=e.ALLOWED_URI_REGEXP||St,F=e.NAMESPACE||N,re=e.MATHML_TEXT_INTEGRATION_POINTS||re,se=e.HTML_INTEGRATION_POINTS||se,f=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ke(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(f.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ke(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(f.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(f.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),P&&(Ee=!1),ne&&(k=!0),v&&(m=r({},pt),d=[],v.html===!0&&(r(m,mt),r(d,dt)),v.svg===!0&&(r(m,Ne),r(d,Ce),r(d,ce)),v.svgFilters===!0&&(r(m,Ie),r(d,Ce),r(d,ce)),v.mathMl===!0&&(r(m,Me),r(d,Tt),r(d,ce))),e.ADD_TAGS&&(m===He&&(m=C(m)),r(m,e.ADD_TAGS,p)),e.ADD_ATTR&&(d===ze&&(d=C(d)),r(d,e.ADD_ATTR,p)),e.ADD_URI_SAFE_ATTR&&r(Se,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(U===je&&(U=C(U)),r(U,e.FORBID_CONTENTS,p)),he&&(m["#text"]=!0),w&&r(m,["html","head","body"]),m.table&&(r(m,["tbody"]),delete Y.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,B=g.createHTML("")}else g===void 0&&(g=_n(Q,T)),g!==null&&typeof B=="string"&&(B=g.createHTML(""));S&&S(e),H=e}},Ze=r({},[...Ne,...Ie,...an]),Je=r({},[...Me,...rn]),Xt=function(e){let t=ee(e);(!t||!t.tagName)&&(t={namespaceURI:F,tagName:"template"});const o=fe(e.tagName),c=fe(t.tagName);return Oe[e.namespaceURI]?e.namespaceURI===ae?t.namespaceURI===N?o==="svg":t.namespaceURI===ie?o==="svg"&&(c==="annotation-xml"||re[c]):!!Ze[o]:e.namespaceURI===ie?t.namespaceURI===N?o==="math":t.namespaceURI===ae?o==="math"&&se[c]:!!Je[o]:e.namespaceURI===N?t.namespaceURI===ae&&!se[c]||t.namespaceURI===ie&&!re[c]?!1:!Je[o]&&(Gt[o]||!Ze[o]):!!(j==="application/xhtml+xml"&&Oe[e.namespaceURI]):!1},b=function(e){$(n.removed,{element:e});try{ee(e).removeChild(e)}catch{Nt(e)}},z=function(e,t){try{$(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch{$(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(k||ne)try{b(t)}catch{}else try{t.setAttribute(e,"")}catch{}},Qe=function(e){let t=null,o=null;if(Ae)e="<remove></remove>"+e;else{const u=ut(e,/^[\r\n\t ]+/);o=u&&u[0]}j==="application/xhtml+xml"&&F===N&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const c=g?g.createHTML(e):e;if(F===N)try{t=new bt().parseFromString(c,j)}catch{}if(!t||!t.documentElement){t=me.createDocument(F,"template",null);try{t.documentElement.innerHTML=Re?B:c}catch{}}const _=t.body||t.documentElement;return e&&o&&_.insertBefore(s.createTextNode(o),_.childNodes[0]||null),F===N?xt.call(t,w?"html":"body")[0]:w?t.documentElement:_},et=function(e){return Ct.call(e.ownerDocument||e,e,G.SHOW_ELEMENT|G.SHOW_COMMENT|G.SHOW_TEXT|G.SHOW_PROCESSING_INSTRUCTION|G.SHOW_CDATA_SECTION,null)},Le=function(e){return e instanceof Lt&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof yt)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},tt=function(e){return typeof ue=="function"&&e instanceof ue};function I(i,e,t){le(i,o=>{o.call(n,e,t,H)})}const nt=function(e){let t=null;if(I(A.beforeSanitizeElements,e,null),Le(e))return b(e),!0;const o=p(e.nodeName);if(I(A.uponSanitizeElement,e,{tagName:o,allowedTags:m}),te&&e.hasChildNodes()&&!tt(e.firstElementChild)&&h(/<[/\w!]/g,e.innerHTML)&&h(/<[/\w!]/g,e.textContent)||e.nodeType===J.progressingInstruction||te&&e.nodeType===J.comment&&h(/<[/\w]/g,e.data))return b(e),!0;if(!m[o]||Y[o]){if(!Y[o]&&it(o)&&(f.tagNameCheck instanceof RegExp&&h(f.tagNameCheck,o)||f.tagNameCheck instanceof Function&&f.tagNameCheck(o)))return!1;if(he&&!U[o]){const c=ee(e)||e.parentNode,_=Mt(e)||e.childNodes;if(_&&c){const u=_.length;for(let O=u-1;O>=0;--O){const M=Dt(_[O],!0);M.__removalCount=(e.__removalCount||0)+1,c.insertBefore(M,It(e))}}}return b(e),!0}return e instanceof ve&&!Xt(e)||(o==="noscript"||o==="noembed"||o==="noframes")&&h(/<\/no(script|embed|frames)/i,e.innerHTML)?(b(e),!0):(P&&e.nodeType===J.text&&(t=e.textContent,le([pe,de,Te],c=>{t=q(t,c," ")}),e.textContent!==t&&($(n.removed,{element:e.cloneNode()}),e.textContent=t)),I(A.afterSanitizeElements,e,null),!1)},ot=function(e,t,o){if(Ye&&(t==="id"||t==="name")&&(o in s||o in Yt))return!1;if(!(Ee&&!_e[t]&&h(kt,t))){if(!(Ge&&h(vt,t))){if(!d[t]||_e[t]){if(!(it(e)&&(f.tagNameCheck instanceof RegExp&&h(f.tagNameCheck,e)||f.tagNameCheck instanceof Function&&f.tagNameCheck(e))&&(f.attributeNameCheck instanceof RegExp&&h(f.attributeNameCheck,t)||f.attributeNameCheck instanceof Function&&f.attributeNameCheck(t))||t==="is"&&f.allowCustomizedBuiltInElements&&(f.tagNameCheck instanceof RegExp&&h(f.tagNameCheck,o)||f.tagNameCheck instanceof Function&&f.tagNameCheck(o))))return!1}else if(!Se[t]){if(!h(Fe,q(o,Ue,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&en(o,"data:")===0&&Ve[e])){if(!(We&&!h(Ut,q(o,Ue,"")))){if(o)return!1}}}}}}return!0},it=function(e){return e!=="annotation-xml"&&ut(e,Ft)},at=function(e){I(A.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Le(e))return;const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:d,forceKeepAttr:void 0};let c=t.length;for(;c--;){const _=t[c],{name:u,namespaceURI:O,value:M}=_,V=p(u),be=M;let E=u==="value"?be:tn(be);if(o.attrName=V,o.attrValue=E,o.keepAttr=!0,o.forceKeepAttr=void 0,I(A.uponSanitizeAttribute,e,o),E=o.attrValue,Xe&&(V==="id"||V==="name")&&(z(u,e),E=Ht+E),te&&h(/((--!?|])>)|<\/(style|title)/i,E)){z(u,e);continue}if(o.forceKeepAttr)continue;if(!o.keepAttr){z(u,e);continue}if(!Be&&h(/\/>/i,E)){z(u,e);continue}P&&le([pe,de,Te],st=>{E=q(E,st," ")});const rt=p(e.nodeName);if(!ot(rt,V,E)){z(u,e);continue}if(g&&typeof Q=="object"&&typeof Q.getAttributeType=="function"&&!O)switch(Q.getAttributeType(rt,V)){case"TrustedHTML":{E=g.createHTML(E);break}case"TrustedScriptURL":{E=g.createScriptURL(E);break}}if(E!==be)try{O?e.setAttributeNS(O,u,E):e.setAttribute(u,E),Le(e)?b(e):ft(n.removed)}catch{z(u,e)}}I(A.afterSanitizeAttributes,e,null)},jt=function i(e){let t=null;const o=et(e);for(I(A.beforeSanitizeShadowDOM,e,null);t=o.nextNode();)I(A.uponSanitizeShadowNode,t,null),nt(t),at(t),t.content instanceof D&&i(t.content);I(A.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,o=null,c=null,_=null;if(Re=!i,Re&&(i="<!-->"),typeof i!="string"&&!tt(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw K("dirty is not a string, aborting")}else throw K("toString is not a function");if(!n.isSupported)return i;if(ge||ye(e),n.removed=[],typeof i=="string"&&(X=!1),X){if(i.nodeName){const M=p(i.nodeName);if(!m[M]||Y[M])throw K("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof ue)t=Qe("<!---->"),o=t.ownerDocument.importNode(i,!0),o.nodeType===J.element&&o.nodeName==="BODY"||o.nodeName==="HTML"?t=o:t.appendChild(o);else{if(!k&&!P&&!w&&i.indexOf("<")===-1)return g&&oe?g.createHTML(i):i;if(t=Qe(i),!t)return k?null:oe?B:""}t&&Ae&&b(t.firstChild);const u=et(X?i:t);for(;c=u.nextNode();)nt(c),at(c),c.content instanceof D&&jt(c.content);if(X)return i;if(k){if(ne)for(_=wt.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(d.shadowroot||d.shadowrootmode)&&(_=Pt.call(l,_,!0)),_}let O=w?t.outerHTML:t.innerHTML;return w&&m["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&h(Rt,t.ownerDocument.doctype.name)&&(O="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
1
+ import{n as Vt,r as gt,j as lt,F as $t}from"./index.Du_GhChx.js";/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */const{entries:At,setPrototypeOf:ct,isFrozen:qt,getPrototypeOf:Kt,getOwnPropertyDescriptor:Zt}=Object;let{freeze:S,seal:y,create:ht}=Object,{apply:we,construct:xe}=typeof Reflect<"u"&&Reflect;S||(S=function(n){return n});y||(y=function(n){return n});we||(we=function(n,s,l){return n.apply(s,l)});xe||(xe=function(n,s){return new n(...s)});const le=R(Array.prototype.forEach),Jt=R(Array.prototype.lastIndexOf),ft=R(Array.prototype.pop),$=R(Array.prototype.push),Qt=R(Array.prototype.splice),fe=R(String.prototype.toLowerCase),De=R(String.prototype.toString),ut=R(String.prototype.match),q=R(String.prototype.replace),en=R(String.prototype.indexOf),tn=R(String.prototype.trim),L=R(Object.prototype.hasOwnProperty),h=R(RegExp.prototype.test),K=nn(TypeError);function R(a){return function(n){n instanceof RegExp&&(n.lastIndex=0);for(var s=arguments.length,l=new Array(s>1?s-1:0),T=1;T<s;T++)l[T-1]=arguments[T];return we(a,n,l)}}function nn(a){return function(){for(var n=arguments.length,s=new Array(n),l=0;l<n;l++)s[l]=arguments[l];return xe(a,s)}}function r(a,n){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fe;ct&&ct(a,null);let l=n.length;for(;l--;){let T=n[l];if(typeof T=="string"){const D=s(T);D!==T&&(qt(n)||(n[l]=D),T=D)}a[T]=!0}return a}function on(a){for(let n=0;n<a.length;n++)L(a,n)||(a[n]=null);return a}function C(a){const n=ht(null);for(const[s,l]of At(a))L(a,s)&&(Array.isArray(l)?n[s]=on(l):l&&typeof l=="object"&&l.constructor===Object?n[s]=C(l):n[s]=l);return n}function Z(a,n){for(;a!==null;){const l=Zt(a,n);if(l){if(l.get)return R(l.get);if(typeof l.value=="function")return R(l.value)}a=Kt(a)}function s(){return null}return s}const mt=S(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ne=S(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ie=S(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),an=S(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Me=S(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),rn=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),pt=S(["#text"]),dt=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Ce=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Tt=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ce=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),sn=y(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ln=y(/<%[\w\W]*|[\w\W]*%>/gm),cn=y(/\$\{[\w\W]*/gm),fn=y(/^data-[\-\w.\u00B7-\uFFFF]+$/),un=y(/^aria-[\-\w]+$/),St=y(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),mn=y(/^(?:\w+script|data):/i),pn=y(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Rt=y(/^html$/i),dn=y(/^[a-z][.\w]*(-[.\w]+)+$/i);var _t=Object.freeze({__proto__:null,ARIA_ATTR:un,ATTR_WHITESPACE:pn,CUSTOM_ELEMENT:dn,DATA_ATTR:fn,DOCTYPE_NAME:Rt,ERB_EXPR:ln,IS_ALLOWED_URI:St,IS_SCRIPT_OR_DATA:mn,MUSTACHE_EXPR:sn,TMPLIT_EXPR:cn});const J={element:1,text:3,progressingInstruction:7,comment:8,document:9},Tn=function(){return typeof window>"u"?null:window},_n=function(n,s){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let l=null;const T="data-tt-policy-suffix";s&&s.hasAttribute(T)&&(l=s.getAttribute(T));const D="dompurify"+(l?"#"+l:"");try{return n.createPolicy(D,{createHTML(x){return x},createScriptURL(x){return x}})}catch{return console.warn("TrustedTypes policy "+D+" could not be created."),null}},Et=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Ot(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tn();const n=i=>Ot(i);if(n.version="3.2.6",n.removed=[],!a||!a.document||a.document.nodeType!==J.document||!a.Element)return n.isSupported=!1,n;let{document:s}=a;const l=s,T=l.currentScript,{DocumentFragment:D,HTMLTemplateElement:x,Node:ue,Element:ve,NodeFilter:G,NamedNodeMap:yt=a.NamedNodeMap||a.MozNamedAttrMap,HTMLFormElement:Lt,DOMParser:bt,trustedTypes:Q}=a,W=ve.prototype,Dt=Z(W,"cloneNode"),Nt=Z(W,"remove"),It=Z(W,"nextSibling"),Mt=Z(W,"childNodes"),ee=Z(W,"parentNode");if(typeof x=="function"){const i=s.createElement("template");i.content&&i.content.ownerDocument&&(s=i.content.ownerDocument)}let g,B="";const{implementation:me,createNodeIterator:Ct,createDocumentFragment:wt,getElementsByTagName:xt}=s,{importNode:Pt}=l;let A=Et();n.isSupported=typeof At=="function"&&typeof ee=="function"&&me&&me.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:pe,ERB_EXPR:de,TMPLIT_EXPR:Te,DATA_ATTR:kt,ARIA_ATTR:vt,IS_SCRIPT_OR_DATA:Ut,ATTR_WHITESPACE:Ue,CUSTOM_ELEMENT:Ft}=_t;let{IS_ALLOWED_URI:Fe}=_t,m=null;const He=r({},[...mt,...Ne,...Ie,...Me,...pt]);let d=null;const ze=r({},[...dt,...Ce,...Tt,...ce]);let f=Object.seal(ht(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Y=null,_e=null,Ge=!0,Ee=!0,We=!1,Be=!0,P=!1,te=!0,w=!1,ge=!1,Ae=!1,k=!1,ne=!1,oe=!1,Ye=!0,Xe=!1;const Ht="user-content-";let he=!0,X=!1,v={},U=null;const je=r({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ve=null;const $e=r({},["audio","video","img","source","image","track"]);let Se=null;const qe=r({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ie="http://www.w3.org/1998/Math/MathML",ae="http://www.w3.org/2000/svg",N="http://www.w3.org/1999/xhtml";let F=N,Re=!1,Oe=null;const zt=r({},[ie,ae,N],De);let re=r({},["mi","mo","mn","ms","mtext"]),se=r({},["annotation-xml"]);const Gt=r({},["title","style","font","a","script"]);let j=null;const Wt=["application/xhtml+xml","text/html"],Bt="text/html";let p=null,H=null;const Yt=s.createElement("form"),Ke=function(e){return e instanceof RegExp||e instanceof Function},ye=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(H&&H===e)){if((!e||typeof e!="object")&&(e={}),e=C(e),j=Wt.indexOf(e.PARSER_MEDIA_TYPE)===-1?Bt:e.PARSER_MEDIA_TYPE,p=j==="application/xhtml+xml"?De:fe,m=L(e,"ALLOWED_TAGS")?r({},e.ALLOWED_TAGS,p):He,d=L(e,"ALLOWED_ATTR")?r({},e.ALLOWED_ATTR,p):ze,Oe=L(e,"ALLOWED_NAMESPACES")?r({},e.ALLOWED_NAMESPACES,De):zt,Se=L(e,"ADD_URI_SAFE_ATTR")?r(C(qe),e.ADD_URI_SAFE_ATTR,p):qe,Ve=L(e,"ADD_DATA_URI_TAGS")?r(C($e),e.ADD_DATA_URI_TAGS,p):$e,U=L(e,"FORBID_CONTENTS")?r({},e.FORBID_CONTENTS,p):je,Y=L(e,"FORBID_TAGS")?r({},e.FORBID_TAGS,p):C({}),_e=L(e,"FORBID_ATTR")?r({},e.FORBID_ATTR,p):C({}),v=L(e,"USE_PROFILES")?e.USE_PROFILES:!1,Ge=e.ALLOW_ARIA_ATTR!==!1,Ee=e.ALLOW_DATA_ATTR!==!1,We=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Be=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,P=e.SAFE_FOR_TEMPLATES||!1,te=e.SAFE_FOR_XML!==!1,w=e.WHOLE_DOCUMENT||!1,k=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,oe=e.RETURN_TRUSTED_TYPE||!1,Ae=e.FORCE_BODY||!1,Ye=e.SANITIZE_DOM!==!1,Xe=e.SANITIZE_NAMED_PROPS||!1,he=e.KEEP_CONTENT!==!1,X=e.IN_PLACE||!1,Fe=e.ALLOWED_URI_REGEXP||St,F=e.NAMESPACE||N,re=e.MATHML_TEXT_INTEGRATION_POINTS||re,se=e.HTML_INTEGRATION_POINTS||se,f=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ke(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(f.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ke(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(f.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(f.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),P&&(Ee=!1),ne&&(k=!0),v&&(m=r({},pt),d=[],v.html===!0&&(r(m,mt),r(d,dt)),v.svg===!0&&(r(m,Ne),r(d,Ce),r(d,ce)),v.svgFilters===!0&&(r(m,Ie),r(d,Ce),r(d,ce)),v.mathMl===!0&&(r(m,Me),r(d,Tt),r(d,ce))),e.ADD_TAGS&&(m===He&&(m=C(m)),r(m,e.ADD_TAGS,p)),e.ADD_ATTR&&(d===ze&&(d=C(d)),r(d,e.ADD_ATTR,p)),e.ADD_URI_SAFE_ATTR&&r(Se,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(U===je&&(U=C(U)),r(U,e.FORBID_CONTENTS,p)),he&&(m["#text"]=!0),w&&r(m,["html","head","body"]),m.table&&(r(m,["tbody"]),delete Y.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,B=g.createHTML("")}else g===void 0&&(g=_n(Q,T)),g!==null&&typeof B=="string"&&(B=g.createHTML(""));S&&S(e),H=e}},Ze=r({},[...Ne,...Ie,...an]),Je=r({},[...Me,...rn]),Xt=function(e){let t=ee(e);(!t||!t.tagName)&&(t={namespaceURI:F,tagName:"template"});const o=fe(e.tagName),c=fe(t.tagName);return Oe[e.namespaceURI]?e.namespaceURI===ae?t.namespaceURI===N?o==="svg":t.namespaceURI===ie?o==="svg"&&(c==="annotation-xml"||re[c]):!!Ze[o]:e.namespaceURI===ie?t.namespaceURI===N?o==="math":t.namespaceURI===ae?o==="math"&&se[c]:!!Je[o]:e.namespaceURI===N?t.namespaceURI===ae&&!se[c]||t.namespaceURI===ie&&!re[c]?!1:!Je[o]&&(Gt[o]||!Ze[o]):!!(j==="application/xhtml+xml"&&Oe[e.namespaceURI]):!1},b=function(e){$(n.removed,{element:e});try{ee(e).removeChild(e)}catch{Nt(e)}},z=function(e,t){try{$(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch{$(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(k||ne)try{b(t)}catch{}else try{t.setAttribute(e,"")}catch{}},Qe=function(e){let t=null,o=null;if(Ae)e="<remove></remove>"+e;else{const u=ut(e,/^[\r\n\t ]+/);o=u&&u[0]}j==="application/xhtml+xml"&&F===N&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const c=g?g.createHTML(e):e;if(F===N)try{t=new bt().parseFromString(c,j)}catch{}if(!t||!t.documentElement){t=me.createDocument(F,"template",null);try{t.documentElement.innerHTML=Re?B:c}catch{}}const _=t.body||t.documentElement;return e&&o&&_.insertBefore(s.createTextNode(o),_.childNodes[0]||null),F===N?xt.call(t,w?"html":"body")[0]:w?t.documentElement:_},et=function(e){return Ct.call(e.ownerDocument||e,e,G.SHOW_ELEMENT|G.SHOW_COMMENT|G.SHOW_TEXT|G.SHOW_PROCESSING_INSTRUCTION|G.SHOW_CDATA_SECTION,null)},Le=function(e){return e instanceof Lt&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof yt)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},tt=function(e){return typeof ue=="function"&&e instanceof ue};function I(i,e,t){le(i,o=>{o.call(n,e,t,H)})}const nt=function(e){let t=null;if(I(A.beforeSanitizeElements,e,null),Le(e))return b(e),!0;const o=p(e.nodeName);if(I(A.uponSanitizeElement,e,{tagName:o,allowedTags:m}),te&&e.hasChildNodes()&&!tt(e.firstElementChild)&&h(/<[/\w!]/g,e.innerHTML)&&h(/<[/\w!]/g,e.textContent)||e.nodeType===J.progressingInstruction||te&&e.nodeType===J.comment&&h(/<[/\w]/g,e.data))return b(e),!0;if(!m[o]||Y[o]){if(!Y[o]&&it(o)&&(f.tagNameCheck instanceof RegExp&&h(f.tagNameCheck,o)||f.tagNameCheck instanceof Function&&f.tagNameCheck(o)))return!1;if(he&&!U[o]){const c=ee(e)||e.parentNode,_=Mt(e)||e.childNodes;if(_&&c){const u=_.length;for(let O=u-1;O>=0;--O){const M=Dt(_[O],!0);M.__removalCount=(e.__removalCount||0)+1,c.insertBefore(M,It(e))}}}return b(e),!0}return e instanceof ve&&!Xt(e)||(o==="noscript"||o==="noembed"||o==="noframes")&&h(/<\/no(script|embed|frames)/i,e.innerHTML)?(b(e),!0):(P&&e.nodeType===J.text&&(t=e.textContent,le([pe,de,Te],c=>{t=q(t,c," ")}),e.textContent!==t&&($(n.removed,{element:e.cloneNode()}),e.textContent=t)),I(A.afterSanitizeElements,e,null),!1)},ot=function(e,t,o){if(Ye&&(t==="id"||t==="name")&&(o in s||o in Yt))return!1;if(!(Ee&&!_e[t]&&h(kt,t))){if(!(Ge&&h(vt,t))){if(!d[t]||_e[t]){if(!(it(e)&&(f.tagNameCheck instanceof RegExp&&h(f.tagNameCheck,e)||f.tagNameCheck instanceof Function&&f.tagNameCheck(e))&&(f.attributeNameCheck instanceof RegExp&&h(f.attributeNameCheck,t)||f.attributeNameCheck instanceof Function&&f.attributeNameCheck(t))||t==="is"&&f.allowCustomizedBuiltInElements&&(f.tagNameCheck instanceof RegExp&&h(f.tagNameCheck,o)||f.tagNameCheck instanceof Function&&f.tagNameCheck(o))))return!1}else if(!Se[t]){if(!h(Fe,q(o,Ue,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&en(o,"data:")===0&&Ve[e])){if(!(We&&!h(Ut,q(o,Ue,"")))){if(o)return!1}}}}}}return!0},it=function(e){return e!=="annotation-xml"&&ut(e,Ft)},at=function(e){I(A.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Le(e))return;const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:d,forceKeepAttr:void 0};let c=t.length;for(;c--;){const _=t[c],{name:u,namespaceURI:O,value:M}=_,V=p(u),be=M;let E=u==="value"?be:tn(be);if(o.attrName=V,o.attrValue=E,o.keepAttr=!0,o.forceKeepAttr=void 0,I(A.uponSanitizeAttribute,e,o),E=o.attrValue,Xe&&(V==="id"||V==="name")&&(z(u,e),E=Ht+E),te&&h(/((--!?|])>)|<\/(style|title)/i,E)){z(u,e);continue}if(o.forceKeepAttr)continue;if(!o.keepAttr){z(u,e);continue}if(!Be&&h(/\/>/i,E)){z(u,e);continue}P&&le([pe,de,Te],st=>{E=q(E,st," ")});const rt=p(e.nodeName);if(!ot(rt,V,E)){z(u,e);continue}if(g&&typeof Q=="object"&&typeof Q.getAttributeType=="function"&&!O)switch(Q.getAttributeType(rt,V)){case"TrustedHTML":{E=g.createHTML(E);break}case"TrustedScriptURL":{E=g.createScriptURL(E);break}}if(E!==be)try{O?e.setAttributeNS(O,u,E):e.setAttribute(u,E),Le(e)?b(e):ft(n.removed)}catch{z(u,e)}}I(A.afterSanitizeAttributes,e,null)},jt=function i(e){let t=null;const o=et(e);for(I(A.beforeSanitizeShadowDOM,e,null);t=o.nextNode();)I(A.uponSanitizeShadowNode,t,null),nt(t),at(t),t.content instanceof D&&i(t.content);I(A.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,o=null,c=null,_=null;if(Re=!i,Re&&(i="<!-->"),typeof i!="string"&&!tt(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw K("dirty is not a string, aborting")}else throw K("toString is not a function");if(!n.isSupported)return i;if(ge||ye(e),n.removed=[],typeof i=="string"&&(X=!1),X){if(i.nodeName){const M=p(i.nodeName);if(!m[M]||Y[M])throw K("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof ue)t=Qe("<!---->"),o=t.ownerDocument.importNode(i,!0),o.nodeType===J.element&&o.nodeName==="BODY"||o.nodeName==="HTML"?t=o:t.appendChild(o);else{if(!k&&!P&&!w&&i.indexOf("<")===-1)return g&&oe?g.createHTML(i):i;if(t=Qe(i),!t)return k?null:oe?B:""}t&&Ae&&b(t.firstChild);const u=et(X?i:t);for(;c=u.nextNode();)nt(c),at(c),c.content instanceof D&&jt(c.content);if(X)return i;if(k){if(ne)for(_=wt.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(d.shadowroot||d.shadowrootmode)&&(_=Pt.call(l,_,!0)),_}let O=w?t.outerHTML:t.innerHTML;return w&&m["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&h(Rt,t.ownerDocument.doctype.name)&&(O="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
2
2
  `+O),P&&le([pe,de,Te],M=>{O=q(O,M," ")}),g&&oe?g.createHTML(O):O},n.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ye(i),ge=!0},n.clearConfig=function(){H=null,ge=!1},n.isValidAttribute=function(i,e,t){H||ye({});const o=p(i),c=p(e);return ot(o,c,t)},n.addHook=function(i,e){typeof e=="function"&&$(A[i],e)},n.removeHook=function(i,e){if(e!==void 0){const t=Jt(A[i],e);return t===-1?void 0:Qt(A[i],t,1)[0]}return ft(A[i])},n.removeHooks=function(i){A[i]=[]},n.removeAllHooks=function(){A=Et()},n}var ke=Ot();const En=Vt("div",{target:"ez8s6cm0"})({width:"100%"}),Pe="data-temp-href-target";ke.addHook("beforeSanitizeAttributes",function(a){a instanceof HTMLElement&&a.hasAttribute("target")&&a.getAttribute("target")==="_blank"&&a.setAttribute(Pe,"_blank")});ke.addHook("afterSanitizeAttributes",function(a){a instanceof HTMLElement&&a.hasAttribute(Pe)&&(a.setAttribute("target","_blank"),a.setAttribute("rel","noopener noreferrer"),a.removeAttribute(Pe))});const gn=a=>{const n={USE_PROFILES:{html:!0},FORCE_BODY:!0};return ke.sanitize(a,n)};function An({element:a}){const{body:n}=a,s=gt.useMemo(()=>gn(n),[n]);return lt($t,{children:s&&lt(En,{className:"stHtml","data-testid":"stHtml",dangerouslySetInnerHTML:{__html:s}})})}const Sn=gt.memo(An);export{Sn as default};
@@ -1 +1 @@
1
- import{n as e,r as a,C as t,j as r,aC as o}from"./index.C-vLCSJp.js";import{P as i}from"./ProgressBar.2T39z4H_.js";const l=e("div",{target:"e1675qd10"})(({theme:s})=>({paddingBottom:s.spacing.sm,lineHeight:"normal"}));function n({element:s}){return t("div",{className:"stProgress","data-testid":"stProgress",children:[r(l,{children:r(o,{source:s.text,allowHTML:!1,isLabel:!0})}),r(i,{value:s.value})]})}const m=a.memo(n);export{m as default};
1
+ import{n as e,r as a,C as t,j as r,aG as o}from"./index.Du_GhChx.js";import{P as i}from"./ProgressBar.B8wHlmHP.js";const l=e("div",{target:"e1675qd10"})(({theme:s})=>({paddingBottom:s.spacing.sm,lineHeight:"normal"}));function n({element:s}){return t("div",{className:"stProgress","data-testid":"stProgress",children:[r(l,{children:r(o,{source:s.text,allowHTML:!1,isLabel:!0})}),r(i,{value:s.value})]})}const m=a.memo(n);export{m as default};