beesoft-components 0.9.4 → 0.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -693,8 +693,8 @@ var Ja = Ms.exports;
693
693
  const ce = /* @__PURE__ */ xn(Ja);
694
694
  var ir = /* @__PURE__ */ ((e) => (e[e.Focus = 0] = "Focus", e[e.FocusWithin = 1] = "FocusWithin", e))(ir || {});
695
695
  const Fr = (e = 1) => at(() => ce("dark:bsc-ring-mono-light-2 dark:bsc-ring-offset-mono-dark-1", {
696
- "focus-within:bsc-ring focus-within:bsc-ring-offset-2 focus-within:bsc-ring-opacity-50": e === 1,
697
- "focus:bsc-ring focus:bsc-ring-offset-2 focus:bsc-ring-opacity-50": e === 0
696
+ "focus-within:bsc-ring focus-within:bsc-ring-primary-2 focus-within:bsc-ring-offset-2 focus-within:bsc-ring-opacity-50": e === 1,
697
+ "focus:bsc-ring focus:bsc-ring-primary-2 focus:bsc-ring-offset-2 focus:bsc-ring-opacity-50": e === 0
698
698
  /* Focus */
699
699
  }), [e]), eo = (e, r) => {
700
700
  const t = Q(null), {
@@ -958,6 +958,8 @@ const bo = Lr(void 0), go = () => sr(bo), yo = ({ id: e, name: r, value: t, type
958
958
  value: t,
959
959
  type: n,
960
960
  checked: s,
961
+ onChange: () => {
962
+ },
961
963
  readOnly: a,
962
964
  disabled: a,
963
965
  className: o
Binary file
package/dist/index.umd.js CHANGED
@@ -28,7 +28,7 @@ Check the top-level render call using <`+M+">.")}return T}}function tr(u,T){{if(
28
28
  Copyright (c) 2018 Jed Watson.
29
29
  Licensed under the MIT License (MIT), see
30
30
  http://jedwatson.github.io/classnames
31
- */(function(e){(function(){var r={}.hasOwnProperty;function t(){for(var a="",o=0;o<arguments.length;o++){var i=arguments[o];i&&(a=s(a,n(i)))}return a}function n(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return t.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var o="";for(var i in a)r.call(a,i)&&a[i]&&(o=s(o,i));return o}function s(a,o){return o?a?a+" "+o:a+o:a}e.exports?(t.default=t,e.exports=t):window.classNames=t})()})(Mn);var Ha=Mn.exports;const ue=Fr(Ha);var At=(e=>(e[e.Focus=0]="Focus",e[e.FocusWithin=1]="FocusWithin",e))(At||{});const nr=(e=1)=>d.useMemo(()=>ue("dark:bsc-ring-mono-light-2 dark:bsc-ring-offset-mono-dark-1",{"focus-within:bsc-ring focus-within:bsc-ring-offset-2 focus-within:bsc-ring-opacity-50":e===1,"focus:bsc-ring focus:bsc-ring-offset-2 focus:bsc-ring-opacity-50":e===0}),[e]),Wa=(e,r)=>{const t=d.useRef(null),{buttonType:n,buttonStyle:s="flat",type:a="button",disabled:o=!1,form:i,fullWidth:c=!1,onClick:f,className:h,children:p}=e,y=()=>{f==null||f()},x=()=>{var _;(_=t.current)==null||_.click()};d.useImperativeHandle(r,()=>({click:x}));const w=nr(At.Focus),O=ue("bc-button max-sm:bsc-p-4 md:bsc-p-2 dark:bsc-bg-mono-light-1 dark:hover:bsc-bg-mono-light-2 dark:bsc-text-mono-dark-1",w,{"bsc-w-full":c,"bc-disabled bsc-bg-gray-3 bsc-text-gray-2 bsc-pointer-events-none":o,"bsc-bg-primary-1 bsc-text-white hover:bsc-bg-primary-2 focus:bsc-ring-primary-1":n==="primary","bsc-bg-primary-2 bsc-text-white hover:bsc-bg-primary-3 focus:bsc-ring-primary-2":n==="secondary","bsc-bg-info bsc-text-white focus:bsc-ring-info":n==="info","bsc-bg-success bsc-text-white focus:bsc-ring-success":n==="success","bsc-bg-warning bsc-text-white focus:bsc-ring-warning":n==="warning","bsc-bg-error bsc-text-white focus:bsc-ring-error":n==="error","bsc-rounded-md":s==="curved","bsc-rounded-full !bsc-px-4":s==="round"},h);return l.jsx("button",{ref:t,type:a,onClick:y,disabled:o,form:i,className:O,children:p})},We=d.forwardRef(Wa),Hr=e=>{const[r,t]=d.useState(!0),n=jn();return d.useEffect(()=>{e!==void 0?t(e):n&&n.useAnimations!==void 0&&t(n.useAnimations)},[n,e]),r},Rn=d.createContext(void 0),An=()=>d.useContext(Rn),Va=({children:e})=>{const r=d.useId(),t=d.useMemo(()=>({sharedId:r}),[r]);return l.jsx(Rn.Provider,{value:t,children:e})},sr=e=>e==null?!1:typeof e=="object",Ln=e=>e instanceof Date,$n=e=>typeof e=="function",Fn=e=>{const r=typeof e;return r==="string"||r==="number"||r==="boolean"||r==="bigint"},Wr=e=>{if(!sr(e))return e;const r={},t=Object.keys(e);for(let n=0,s=t.length;n<s;n++){const a=t[n],o=e[a];Fn(o)||$n(o)?r[a]=o:Ln(o)?r[a]=new Date(o.getTime()):Array.isArray(o)?r[a]=Vr(o):sr(o)&&(r[a]=Wr(o))}return r},Vr=e=>{let r=e.length;const t=new Array(r);for(;r--!==0;){const n=e[r];Fn(n)||$n(n)?t[r]=n:Ln(n)?t[r]=new Date(n.getTime()):sr(n)&&!Array.isArray(n)?t[r]=Wr(n):Array.isArray(n)?t[r]=Vr(n):t[r]=n}return t},Ba=e=>sr(e)?Array.isArray(e)?Vr(e):Wr(e):e;function za(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ua=function e(r,t){if(r===t)return!0;if(r&&t&&typeof r=="object"&&typeof t=="object"){if(r.constructor!==t.constructor)return!1;var n,s,a;if(Array.isArray(r)){if(n=r.length,n!=t.length)return!1;for(s=n;s--!==0;)if(!e(r[s],t[s]))return!1;return!0}if(r.constructor===RegExp)return r.source===t.source&&r.flags===t.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===t.valueOf();if(r.toString!==Object.prototype.toString)return r.toString()===t.toString();if(a=Object.keys(r),n=a.length,n!==Object.keys(t).length)return!1;for(s=n;s--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[s]))return!1;for(s=n;s--!==0;){var o=a[s];if(!e(r[o],t[o]))return!1}return!0}return r!==r&&t!==t};const Yn=za(Ua);function qa(e,r){for(let t=e.length;t--!==0;)if(!Yn(e[t],r[t]))return!0;return!1}const ar=(e,r)=>{const t=d.useRef([]),n=t.current.length>0&&t.current[0]&&qa(t.current[0],r);return(t.current.length===0||n)&&(t.current=[Ba(r),e()]),t.current[1]},Hn=e=>{const r=d.useRef();let t=!1;r.current!==void 0&&(t=!Yn(r.current,e));const n={changed:t,previousValue:r.current};return r.current=e,n},Ga=e=>typeof e=="function",Za=e=>{const[r,t]=d.useState({value:e,initial:!0}),n=d.useRef(e);return[r,s=>{if(!Ga(s))t({value:s,initial:!1});else{const a=s(n.current);n.current=a,t({value:a,initial:!1})}}]},Qa=e=>{const[r,t]=Za(e),n=d.useRef({value:e,initial:!0});return n.current!==r&&(n.current=r),[r,t,n]},Ka=e=>{const[r,t]=d.useState(e),n=d.useRef(e);return n.current!==r&&(n.current=r),[r,t,n]};function Wn(){return window.navigator.languages?window.navigator.languages[0]:window.navigator.language}function Xa(e,r,t){const n=[];for(let s=e;s<=r;s++)n.push(t?t(s):s);return n}function Ja(e,r){const t=e.target;return t?!r.isSameNode(t)&&!r.contains(t):!1}function eo(e,r){return e.isSameNode(r)||e.contains(r)}function to(e,r){const t=Object.entries(r),n=getComputedStyle(e);for(let s=0,a=t.length;s<a;s++){const[o,i]=t[s];if(typeof i=="string"&&i.indexOf(",")>-1){if(!i.split(",").map(f=>f.trim()).includes(n[o]))return!1}else if(n[o]!==i)return!1}return!0}function ro(e,r){const t=Object.entries(r),n=getComputedStyle(e);for(let s=0,a=t.length;s<a;s++){const[o,i]=t[s];if(typeof i=="string"&&i.indexOf(",")>-1){if(i.split(",").map(f=>f.trim()).includes(n[o]))return!0}else if(n[o]===i)return!0}return!1}function Vn(e,r,t=!1,n){if(t&&to(e,r)){if(!n||(n==null?void 0:n(e))===!0)return e}else if(!t&&ro(e,r)&&(!n||(n==null?void 0:n(e))===!0))return e;return e.parentElement?Vn(e.parentElement,r,t,n):e}function Bn(e,r){const t=Array.from(document.querySelectorAll("body *")),n=[];for(let s=0,a=t.length;s<a;s++){const o=getComputedStyle(t[s]);o[e]&&r(o[e])&&n.push(o[e])}return n}function dp(e){return e}function no(e){const r=document.documentElement;Object.keys(e).forEach(t=>{r.style.setProperty(t,e[t])})}function so(e){return{"--theme-bsc-primary-1":e.primary1,"--theme-bsc-primary-2":e.primary2,"--theme-bsc-primary-3":e.primary3,"--theme-bsc-primary-4":e.primary4,"--theme-bsc-primary-5":e.primary5,"--theme-bsc-gray-1":e.gray1||"#303030","--theme-bsc-gray-2":e.gray2||"#5f5f5f","--theme-bsc-gray-3":e.gray3||"#8f8f8f","--theme-bsc-gray-4":e.gray4||"#bebebe","--theme-bsc-gray-5":e.gray5||"#eee","--theme-bsc-black":e.black||"#000","--theme-bsc-white":e.white||"#fff","--theme-bsc-mono-dark-1":e.monoDark1||"#222","--theme-bsc-mono-dark-2":e.monoDark2||"#3c3c3c","--theme-bsc-mono-dark-3":e.monoDark3||"#4e4e4e","--theme-bsc-mono-light-1":e.monoLight1||"#fefefe","--theme-bsc-mono-light-2":e.monoLight2||"#eee","--theme-bsc-mono-light-3":e.monoLight3||"#ccc","--theme-bsc-info":e.info||"#2e7ff8","--theme-bsc-success":e.success||"#53ae0c","--theme-bsc-warning":e.warning||"#ff6914","--theme-bsc-error":e.error||"#f01616"}}const ao=d.createContext(void 0),oo=()=>d.useContext(ao),io=({id:e,name:r,value:t,type:n,checked:s,readOnly:a,className:o})=>l.jsx("input",{id:e,name:r,value:t,type:n,checked:s,readOnly:a,disabled:a,className:o}),co=({type:e,props:r,renderProps:t,signalName:n,onSignalRetrieved:s,children:a,className:o})=>{const i=oo(),{id:c,name:f}=ar(()=>{const h=r;return{id:h.id,name:h.name}},[r]);return d.useEffect(()=>{i&&n&&i[n]&&s&&s(i[n])},[i]),l.jsxs(l.Fragment,{children:[c&&f&&e&&l.jsx(io,{id:c,name:f,type:e,className:o,...r}),a&&a(t)]})},uo=(e,r)=>{const{name:t,value:n,checked:s=!1,partial:a=!1,onChange:o,children:i,labelStyles:c,className:f}=e,h=An(),p=d.useId(),[y,x,w]=Qa({checked:!1,partial:!1}),O=Hn(s),_=Hn(a),S={id:(h==null?void 0:h.sharedId)||e.id||p,...e,...y.value};d.useEffect(()=>{if(y.initial)x({checked:a?!0:s,partial:a});else{const b=O.changed?s:y.value.checked,A=_.changed?a:y.value.partial;x({checked:A?!0:b,partial:A})}},[s,a]);const R=b=>{var k;const A=((k=w.current)==null?void 0:k.value.partial)===!0?!0:b.target.checked;x({checked:A,partial:!1}),o==null||o({originalEvent:b,name:t||b.target.name,value:n,checked:A})},z=b=>{var k;const A={checked:b?!0:((k=w.current)==null?void 0:k.value.checked)||!1,partial:b};x(A)},F=b=>{x({checked:b,partial:!1})};return d.useImperativeHandle(r,()=>({setPartiallyChecked:z,setChecked:F})),l.jsx("label",{className:c,onChange:b=>R(b),children:l.jsx(co,{id:p,name:t,type:"checkbox",props:S,renderProps:y.value,className:f,children:i})})},lo=d.memo(d.forwardRef(uo)),fo=({label:e,htmlFor:r,className:t})=>{const n=An(),s=d.useMemo(()=>(n==null?void 0:n.sharedId)||r,[n==null?void 0:n.sharedId,r]);return l.jsx("label",{htmlFor:s,className:t,children:e})},Ze=({label:e,htmlFor:r,readOnly:t=!1,className:n})=>{const s=ue("bc-label",{"bsc-text-black dark:bsc-text-mono-light-1":!t,"bc-read-only bsc-text-gray-4 dark:bsc-text-mono-light-3 bsc-pointer-events-none":t},n);return l.jsx(fo,{label:e,htmlFor:r,className:s})},ho=(e,r)=>{const{name:t,label:n,value:s,readOnly:a=!1,checked:o=!1,partial:i=!1,labelLocation:c=Ae.Right,className:f,useAnimation:h,onChange:p}=e,y=Hr(h),x=ue("bc-checkbox-wrapper bsc-flex bsc-items-center",{"bc-read-only bsc-pointer-events-none bsc-text-gray-2 dark:bsc-text-mono-light-3":a},f),w=ue("bc-checkbox-label bsc-cursor-pointer",{"bsc-ml-2":c===Ae.Right,"bsc-mr-2":c===Ae.Left}),O=nr(At.FocusWithin),_=ue("bc-checkbox-outer bsc-relative bsc-rounded *:bsc-block *:bsc-size-[21px]",{"bsc-checkbox-animate":!a&&y,"bc-read-only bsc-checkbox-no-animate":a||!a&&!y},O),S=ue("bc-checkbox-inner bsc-relative bsc-m-0 bsc-cursor-pointer bsc-appearance-none bsc-rounded bsc-border-none bsc-bg-mono-light-1 bsc-p-0 bsc-outline-none dark:bsc-bg-mono-dark-1 dark:checked:bsc-bg-mono-light-1",{"[transition:box-shadow_0.3s]":y,"bsc-checkbox":!a,"bc-read-only bsc-checkbox-read-only":a}),R=ue("bc-checkbox-svg bsc-pointer-events-none bsc-absolute bsc-left-0 bsc-top-0 bsc-stroke-mono-light-1 bsc-stroke-2 [stroke-linecap:round] [stroke-linejoin:round] [transform:scale(0)_translateZ(0)] dark:bsc-stroke-mono-dark-3",{"bsc-fill-primary-1 dark:bsc-fill-mono-light-1":!a,"bc-read-only bsc-fill-primary-4 dark:bsc-fill-mono-light-3":a});return l.jsx(Va,{children:l.jsxs("div",{className:x,children:[n&&c===Ae.Left&&l.jsx(Ze,{label:n,readOnly:a,className:w}),l.jsx(lo,{ref:r,name:t,value:s,checked:o,partial:i,readOnly:a,className:S,labelStyles:_,onChange:p,children:({partial:z})=>l.jsx("svg",{viewBox:"0 0 21 21",className:R,children:z?l.jsx("polyline",{points:"6 10.5 16 10.5"}):l.jsx("polyline",{points:"5 10.75 8.5 14.25 16 6"})})}),n&&c===Ae.Right&&l.jsx(Ze,{label:n,readOnly:a,className:w})]})})},zn=d.memo(d.forwardRef(ho)),po=({name:e,label:r,value:t,data:n,textField:s,valueField:a,readOnly:o=!1,orientation:i=Ie.Vertical,className:c,onChange:f})=>{const[h,p]=d.useState([]),y=ar(()=>n,[n]);d.useEffect(()=>{p(t??[])},[t]);const x=R=>{const{value:z,checked:F}=R;let b;F?b=[...h,z]:b=h.filter(A=>A!==z),p(b),f==null||f({name:e,value:b})},w=(R,z)=>l.jsx(zn,{name:e,label:R[s],value:R[a],checked:h.some(F=>F===R[a]),readOnly:o,onChange:F=>F&&x(F),className:"bsc-mr-3"},`${e}_checkbox_${z}`),O=ue("bsc-flex bsc-flex-col bsc-gap-1",c),_=ue("bsc-flex bsc-gap-1",{"bsc-flex-col":i===Ie.Vertical}),S=R=>l.jsx("div",{className:_,children:R.map(w)});return l.jsxs("div",{className:O,children:[r&&l.jsx(Ze,{label:r,readOnly:o}),y&&S(y)]})},mo=d.memo(po);var bo=typeof global=="object"&&global&&global.Object===Object&&global;const Un=bo;var go=typeof self=="object"&&self&&self.Object===Object&&self,yo=Un||go||Function("return this")();const Ye=yo;var vo=Ye.Symbol;const bt=vo;var qn=Object.prototype,xo=qn.hasOwnProperty,wo=qn.toString,Lt=bt?bt.toStringTag:void 0;function To(e){var r=xo.call(e,Lt),t=e[Lt];try{e[Lt]=void 0;var n=!0}catch{}var s=wo.call(e);return n&&(r?e[Lt]=t:delete e[Lt]),s}var So=Object.prototype,Po=So.toString;function Eo(e){return Po.call(e)}var ko="[object Null]",Co="[object Undefined]",Gn=bt?bt.toStringTag:void 0;function gt(e){return e==null?e===void 0?Co:ko:Gn&&Gn in Object(e)?To(e):Eo(e)}function yt(e){return e!=null&&typeof e=="object"}var Do="[object Symbol]";function Oo(e){return typeof e=="symbol"||yt(e)&&gt(e)==Do}var _o=Array.isArray;const Br=_o;var No=/\s/;function Io(e){for(var r=e.length;r--&&No.test(e.charAt(r)););return r}var jo=/^\s+/;function Mo(e){return e&&e.slice(0,Io(e)+1).replace(jo,"")}function Qe(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}var Zn=0/0,Ro=/^[-+]0x[0-9a-f]+$/i,Ao=/^0b[01]+$/i,Lo=/^0o[0-7]+$/i,$o=parseInt;function Qn(e){if(typeof e=="number")return e;if(Oo(e))return Zn;if(Qe(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=Qe(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=Mo(e);var t=Ao.test(e);return t||Lo.test(e)?$o(e.slice(2),t?2:8):Ro.test(e)?Zn:+e}var Fo="[object AsyncFunction]",Yo="[object Function]",Ho="[object GeneratorFunction]",Wo="[object Proxy]";function Kn(e){if(!Qe(e))return!1;var r=gt(e);return r==Yo||r==Ho||r==Fo||r==Wo}var Vo=Ye["__core-js_shared__"];const zr=Vo;var Xn=function(){var e=/[^.]+$/.exec(zr&&zr.keys&&zr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Bo(e){return!!Xn&&Xn in e}var zo=Function.prototype,Uo=zo.toString;function at(e){if(e!=null){try{return Uo.call(e)}catch{}try{return e+""}catch{}}return""}var qo=/[\\^$.*+?()[\]{}|]/g,Go=/^\[object .+?Constructor\]$/,Zo=Function.prototype,Qo=Object.prototype,Ko=Zo.toString,Xo=Qo.hasOwnProperty,Jo=RegExp("^"+Ko.call(Xo).replace(qo,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ei(e){if(!Qe(e)||Bo(e))return!1;var r=Kn(e)?Jo:Go;return r.test(at(e))}function ti(e,r){return e==null?void 0:e[r]}function ot(e,r){var t=ti(e,r);return ei(t)?t:void 0}var ri=ot(Ye,"WeakMap");const Ur=ri;var Jn=Object.create,ni=function(){function e(){}return function(r){if(!Qe(r))return{};if(Jn)return Jn(r);e.prototype=r;var t=new e;return e.prototype=void 0,t}}();const si=ni;function ai(e,r){var t=-1,n=e.length;for(r||(r=Array(n));++t<n;)r[t]=e[t];return r}var oi=function(){try{var e=ot(Object,"defineProperty");return e({},"",{}),e}catch{}}();const es=oi;function ii(e,r){for(var t=-1,n=e==null?0:e.length;++t<n&&r(e[t],t,e)!==!1;);return e}var ci=9007199254740991,ui=/^(?:0|[1-9]\d*)$/;function li(e,r){var t=typeof e;return r=r??ci,!!r&&(t=="number"||t!="symbol"&&ui.test(e))&&e>-1&&e%1==0&&e<r}function ts(e,r,t){r=="__proto__"&&es?es(e,r,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[r]=t}function rs(e,r){return e===r||e!==e&&r!==r}var fi=Object.prototype,di=fi.hasOwnProperty;function ns(e,r,t){var n=e[r];(!(di.call(e,r)&&rs(n,t))||t===void 0&&!(r in e))&&ts(e,r,t)}function or(e,r,t,n){var s=!t;t||(t={});for(var a=-1,o=r.length;++a<o;){var i=r[a],c=n?n(t[i],e[i],i,t,e):void 0;c===void 0&&(c=e[i]),s?ts(t,i,c):ns(t,i,c)}return t}var hi=9007199254740991;function ss(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=hi}function as(e){return e!=null&&ss(e.length)&&!Kn(e)}var pi=Object.prototype;function qr(e){var r=e&&e.constructor,t=typeof r=="function"&&r.prototype||pi;return e===t}function mi(e,r){for(var t=-1,n=Array(e);++t<e;)n[t]=r(t);return n}var bi="[object Arguments]";function os(e){return yt(e)&&gt(e)==bi}var is=Object.prototype,gi=is.hasOwnProperty,yi=is.propertyIsEnumerable,vi=os(function(){return arguments}())?os:function(e){return yt(e)&&gi.call(e,"callee")&&!yi.call(e,"callee")};const xi=vi;function wi(){return!1}var cs=typeof K=="object"&&K&&!K.nodeType&&K,us=cs&&typeof module=="object"&&module&&!module.nodeType&&module,Ti=us&&us.exports===cs,ls=Ti?Ye.Buffer:void 0,Si=ls?ls.isBuffer:void 0,Pi=Si||wi;const fs=Pi;var Ei="[object Arguments]",ki="[object Array]",Ci="[object Boolean]",Di="[object Date]",Oi="[object Error]",_i="[object Function]",Ni="[object Map]",Ii="[object Number]",ji="[object Object]",Mi="[object RegExp]",Ri="[object Set]",Ai="[object String]",Li="[object WeakMap]",$i="[object ArrayBuffer]",Fi="[object DataView]",Yi="[object Float32Array]",Hi="[object Float64Array]",Wi="[object Int8Array]",Vi="[object Int16Array]",Bi="[object Int32Array]",zi="[object Uint8Array]",Ui="[object Uint8ClampedArray]",qi="[object Uint16Array]",Gi="[object Uint32Array]",xe={};xe[Yi]=xe[Hi]=xe[Wi]=xe[Vi]=xe[Bi]=xe[zi]=xe[Ui]=xe[qi]=xe[Gi]=!0,xe[Ei]=xe[ki]=xe[$i]=xe[Ci]=xe[Fi]=xe[Di]=xe[Oi]=xe[_i]=xe[Ni]=xe[Ii]=xe[ji]=xe[Mi]=xe[Ri]=xe[Ai]=xe[Li]=!1;function Zi(e){return yt(e)&&ss(e.length)&&!!xe[gt(e)]}function Gr(e){return function(r){return e(r)}}var ds=typeof K=="object"&&K&&!K.nodeType&&K,$t=ds&&typeof module=="object"&&module&&!module.nodeType&&module,Qi=$t&&$t.exports===ds,Zr=Qi&&Un.process,Ki=function(){try{var e=$t&&$t.require&&$t.require("util").types;return e||Zr&&Zr.binding&&Zr.binding("util")}catch{}}();const vt=Ki;var hs=vt&&vt.isTypedArray,Xi=hs?Gr(hs):Zi;const Ji=Xi;var ec=Object.prototype,tc=ec.hasOwnProperty;function ps(e,r){var t=Br(e),n=!t&&xi(e),s=!t&&!n&&fs(e),a=!t&&!n&&!s&&Ji(e),o=t||n||s||a,i=o?mi(e.length,String):[],c=i.length;for(var f in e)(r||tc.call(e,f))&&!(o&&(f=="length"||s&&(f=="offset"||f=="parent")||a&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||li(f,c)))&&i.push(f);return i}function ms(e,r){return function(t){return e(r(t))}}var rc=ms(Object.keys,Object);const nc=rc;var sc=Object.prototype,ac=sc.hasOwnProperty;function oc(e){if(!qr(e))return nc(e);var r=[];for(var t in Object(e))ac.call(e,t)&&t!="constructor"&&r.push(t);return r}function Qr(e){return as(e)?ps(e):oc(e)}function ic(e){var r=[];if(e!=null)for(var t in Object(e))r.push(t);return r}var cc=Object.prototype,uc=cc.hasOwnProperty;function lc(e){if(!Qe(e))return ic(e);var r=qr(e),t=[];for(var n in e)n=="constructor"&&(r||!uc.call(e,n))||t.push(n);return t}function Kr(e){return as(e)?ps(e,!0):lc(e)}var fc=ot(Object,"create");const Ft=fc;function dc(){this.__data__=Ft?Ft(null):{},this.size=0}function hc(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}var pc="__lodash_hash_undefined__",mc=Object.prototype,bc=mc.hasOwnProperty;function gc(e){var r=this.__data__;if(Ft){var t=r[e];return t===pc?void 0:t}return bc.call(r,e)?r[e]:void 0}var yc=Object.prototype,vc=yc.hasOwnProperty;function xc(e){var r=this.__data__;return Ft?r[e]!==void 0:vc.call(r,e)}var wc="__lodash_hash_undefined__";function Tc(e,r){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=Ft&&r===void 0?wc:r,this}function it(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}it.prototype.clear=dc,it.prototype.delete=hc,it.prototype.get=gc,it.prototype.has=xc,it.prototype.set=Tc;function Sc(){this.__data__=[],this.size=0}function ir(e,r){for(var t=e.length;t--;)if(rs(e[t][0],r))return t;return-1}var Pc=Array.prototype,Ec=Pc.splice;function kc(e){var r=this.__data__,t=ir(r,e);if(t<0)return!1;var n=r.length-1;return t==n?r.pop():Ec.call(r,t,1),--this.size,!0}function Cc(e){var r=this.__data__,t=ir(r,e);return t<0?void 0:r[t][1]}function Dc(e){return ir(this.__data__,e)>-1}function Oc(e,r){var t=this.__data__,n=ir(t,e);return n<0?(++this.size,t.push([e,r])):t[n][1]=r,this}function Ke(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}Ke.prototype.clear=Sc,Ke.prototype.delete=kc,Ke.prototype.get=Cc,Ke.prototype.has=Dc,Ke.prototype.set=Oc;var _c=ot(Ye,"Map");const Yt=_c;function Nc(){this.size=0,this.__data__={hash:new it,map:new(Yt||Ke),string:new it}}function Ic(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}function cr(e,r){var t=e.__data__;return Ic(r)?t[typeof r=="string"?"string":"hash"]:t.map}function jc(e){var r=cr(this,e).delete(e);return this.size-=r?1:0,r}function Mc(e){return cr(this,e).get(e)}function Rc(e){return cr(this,e).has(e)}function Ac(e,r){var t=cr(this,e),n=t.size;return t.set(e,r),this.size+=t.size==n?0:1,this}function xt(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}xt.prototype.clear=Nc,xt.prototype.delete=jc,xt.prototype.get=Mc,xt.prototype.has=Rc,xt.prototype.set=Ac;function bs(e,r){for(var t=-1,n=r.length,s=e.length;++t<n;)e[s+t]=r[t];return e}var Lc=ms(Object.getPrototypeOf,Object);const gs=Lc;function $c(){this.__data__=new Ke,this.size=0}function Fc(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t}function Yc(e){return this.__data__.get(e)}function Hc(e){return this.__data__.has(e)}var Wc=200;function Vc(e,r){var t=this.__data__;if(t instanceof Ke){var n=t.__data__;if(!Yt||n.length<Wc-1)return n.push([e,r]),this.size=++t.size,this;t=this.__data__=new xt(n)}return t.set(e,r),this.size=t.size,this}function wt(e){var r=this.__data__=new Ke(e);this.size=r.size}wt.prototype.clear=$c,wt.prototype.delete=Fc,wt.prototype.get=Yc,wt.prototype.has=Hc,wt.prototype.set=Vc;function Bc(e,r){return e&&or(r,Qr(r),e)}function zc(e,r){return e&&or(r,Kr(r),e)}var ys=typeof K=="object"&&K&&!K.nodeType&&K,vs=ys&&typeof module=="object"&&module&&!module.nodeType&&module,Uc=vs&&vs.exports===ys,xs=Uc?Ye.Buffer:void 0,ws=xs?xs.allocUnsafe:void 0;function qc(e,r){if(r)return e.slice();var t=e.length,n=ws?ws(t):new e.constructor(t);return e.copy(n),n}function Gc(e,r){for(var t=-1,n=e==null?0:e.length,s=0,a=[];++t<n;){var o=e[t];r(o,t,e)&&(a[s++]=o)}return a}function Ts(){return[]}var Zc=Object.prototype,Qc=Zc.propertyIsEnumerable,Ss=Object.getOwnPropertySymbols,Kc=Ss?function(e){return e==null?[]:(e=Object(e),Gc(Ss(e),function(r){return Qc.call(e,r)}))}:Ts;const Xr=Kc;function Xc(e,r){return or(e,Xr(e),r)}var Jc=Object.getOwnPropertySymbols,eu=Jc?function(e){for(var r=[];e;)bs(r,Xr(e)),e=gs(e);return r}:Ts;const Ps=eu;function tu(e,r){return or(e,Ps(e),r)}function Es(e,r,t){var n=r(e);return Br(e)?n:bs(n,t(e))}function ru(e){return Es(e,Qr,Xr)}function nu(e){return Es(e,Kr,Ps)}var su=ot(Ye,"DataView");const Jr=su;var au=ot(Ye,"Promise");const en=au;var ou=ot(Ye,"Set");const tn=ou;var ks="[object Map]",iu="[object Object]",Cs="[object Promise]",Ds="[object Set]",Os="[object WeakMap]",_s="[object DataView]",cu=at(Jr),uu=at(Yt),lu=at(en),fu=at(tn),du=at(Ur),ct=gt;(Jr&&ct(new Jr(new ArrayBuffer(1)))!=_s||Yt&&ct(new Yt)!=ks||en&&ct(en.resolve())!=Cs||tn&&ct(new tn)!=Ds||Ur&&ct(new Ur)!=Os)&&(ct=function(e){var r=gt(e),t=r==iu?e.constructor:void 0,n=t?at(t):"";if(n)switch(n){case cu:return _s;case uu:return ks;case lu:return Cs;case fu:return Ds;case du:return Os}return r});const rn=ct;var hu=Object.prototype,pu=hu.hasOwnProperty;function mu(e){var r=e.length,t=new e.constructor(r);return r&&typeof e[0]=="string"&&pu.call(e,"index")&&(t.index=e.index,t.input=e.input),t}var bu=Ye.Uint8Array;const Ns=bu;function nn(e){var r=new e.constructor(e.byteLength);return new Ns(r).set(new Ns(e)),r}function gu(e,r){var t=r?nn(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.byteLength)}var yu=/\w*$/;function vu(e){var r=new e.constructor(e.source,yu.exec(e));return r.lastIndex=e.lastIndex,r}var Is=bt?bt.prototype:void 0,js=Is?Is.valueOf:void 0;function xu(e){return js?Object(js.call(e)):{}}function wu(e,r){var t=r?nn(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}var Tu="[object Boolean]",Su="[object Date]",Pu="[object Map]",Eu="[object Number]",ku="[object RegExp]",Cu="[object Set]",Du="[object String]",Ou="[object Symbol]",_u="[object ArrayBuffer]",Nu="[object DataView]",Iu="[object Float32Array]",ju="[object Float64Array]",Mu="[object Int8Array]",Ru="[object Int16Array]",Au="[object Int32Array]",Lu="[object Uint8Array]",$u="[object Uint8ClampedArray]",Fu="[object Uint16Array]",Yu="[object Uint32Array]";function Hu(e,r,t){var n=e.constructor;switch(r){case _u:return nn(e);case Tu:case Su:return new n(+e);case Nu:return gu(e,t);case Iu:case ju:case Mu:case Ru:case Au:case Lu:case $u:case Fu:case Yu:return wu(e,t);case Pu:return new n;case Eu:case Du:return new n(e);case ku:return vu(e);case Cu:return new n;case Ou:return xu(e)}}function Wu(e){return typeof e.constructor=="function"&&!qr(e)?si(gs(e)):{}}var Vu="[object Map]";function Bu(e){return yt(e)&&rn(e)==Vu}var Ms=vt&&vt.isMap,zu=Ms?Gr(Ms):Bu;const Uu=zu;var qu="[object Set]";function Gu(e){return yt(e)&&rn(e)==qu}var Rs=vt&&vt.isSet,Zu=Rs?Gr(Rs):Gu;const Qu=Zu;var Ku=1,Xu=2,Ju=4,As="[object Arguments]",el="[object Array]",tl="[object Boolean]",rl="[object Date]",nl="[object Error]",Ls="[object Function]",sl="[object GeneratorFunction]",al="[object Map]",ol="[object Number]",$s="[object Object]",il="[object RegExp]",cl="[object Set]",ul="[object String]",ll="[object Symbol]",fl="[object WeakMap]",dl="[object ArrayBuffer]",hl="[object DataView]",pl="[object Float32Array]",ml="[object Float64Array]",bl="[object Int8Array]",gl="[object Int16Array]",yl="[object Int32Array]",vl="[object Uint8Array]",xl="[object Uint8ClampedArray]",wl="[object Uint16Array]",Tl="[object Uint32Array]",ye={};ye[As]=ye[el]=ye[dl]=ye[hl]=ye[tl]=ye[rl]=ye[pl]=ye[ml]=ye[bl]=ye[gl]=ye[yl]=ye[al]=ye[ol]=ye[$s]=ye[il]=ye[cl]=ye[ul]=ye[ll]=ye[vl]=ye[xl]=ye[wl]=ye[Tl]=!0,ye[nl]=ye[Ls]=ye[fl]=!1;function ur(e,r,t,n,s,a){var o,i=r&Ku,c=r&Xu,f=r&Ju;if(t&&(o=s?t(e,n,s,a):t(e)),o!==void 0)return o;if(!Qe(e))return e;var h=Br(e);if(h){if(o=mu(e),!i)return ai(e,o)}else{var p=rn(e),y=p==Ls||p==sl;if(fs(e))return qc(e,i);if(p==$s||p==As||y&&!s){if(o=c||y?{}:Wu(e),!i)return c?tu(e,zc(o,e)):Xc(e,Bc(o,e))}else{if(!ye[p])return s?e:{};o=Hu(e,p,i)}}a||(a=new wt);var x=a.get(e);if(x)return x;a.set(e,o),Qu(e)?e.forEach(function(_){o.add(ur(_,r,t,_,e,a))}):Uu(e)&&e.forEach(function(_,S){o.set(S,ur(_,r,t,S,e,a))});var w=f?c?nu:ru:c?Kr:Qr,O=h?void 0:w(e);return ii(O||e,function(_,S){O&&(S=_,_=e[S]),ns(o,S,ur(_,r,t,S,e,a))}),o}var Sl=1,Pl=4;function El(e){return ur(e,Sl|Pl)}var kl=function(){return Ye.Date.now()};const sn=kl;var Cl="Expected a function",Dl=Math.max,Ol=Math.min;function Ht(e,r,t){var n,s,a,o,i,c,f=0,h=!1,p=!1,y=!0;if(typeof e!="function")throw new TypeError(Cl);r=Qn(r)||0,Qe(t)&&(h=!!t.leading,p="maxWait"in t,a=p?Dl(Qn(t.maxWait)||0,r):a,y="trailing"in t?!!t.trailing:y);function x(A){var k=n,W=s;return n=s=void 0,f=A,o=e.apply(W,k),o}function w(A){return f=A,i=setTimeout(S,r),h?x(A):o}function O(A){var k=A-c,W=A-f,V=r-k;return p?Ol(V,a-W):V}function _(A){var k=A-c,W=A-f;return c===void 0||k>=r||k<0||p&&W>=a}function S(){var A=sn();if(_(A))return R(A);i=setTimeout(S,O(A))}function R(A){return i=void 0,y&&n?x(A):(n=s=void 0,o)}function z(){i!==void 0&&clearTimeout(i),f=0,n=c=s=i=void 0}function F(){return i===void 0?o:R(sn())}function b(){var A=sn(),k=_(A);if(n=arguments,s=this,c=A,k){if(i===void 0)return w(c);if(p)return clearTimeout(i),i=setTimeout(S,r),x(c)}return i===void 0&&(i=setTimeout(S,r)),o}return b.cancel=z,b.flush=F,b}var _l="Expected a function";function Nl(e,r,t){var n=!0,s=!0;if(typeof e!="function")throw new TypeError(_l);return Qe(t)&&(n="leading"in t?!!t.leading:n,s="trailing"in t?!!t.trailing:s),Ht(e,r,{leading:n,maxWait:r,trailing:s})}const Il=(e,r)=>{const{value:t,readOnly:n=!1,debounceTime:s=800,fillContainer:a=!0,leftElement:o,rightElement:i,className:c,leftElementClassName:f,rightElementClassName:h,isSingleLine:p=!0,allowSingleLineScroll:y=!1,inputMode:x,placeholder:w,onFocus:O,onBlur:_,onInput:S,onInnerTextChange:R,onInnerHTMLChange:z,onElementCreate:F,onLeftElementClick:b,onRightElementClick:A}=e,k=d.useRef("bsc-flex-grow focus:bsc-outline-none"),W=d.useRef("bsc-text-gray-4"),V=d.useRef(),ne=d.useCallback(P=>{const Y=P.target,G=Y.innerHTML;Y.className=`${k.current}`,w&&G===w&&(Y.innerHTML=""),O==null||O(P)},[w,O]),te=d.useCallback(P=>{const Y=P.target.innerHTML;if(w&&Y===""){const G=P.target;G.innerHTML=w,G.className=`${k.current} ${W.current}`}_==null||_(P)},[w,_]),X=d.useCallback(P=>{var Y,G;(Y=V.current)==null||Y.removeEventListener("focus",ne),(G=V.current)==null||G.removeEventListener("blur",te),w&&P&&P!==document.activeElement&&P.innerHTML===""&&(P.innerHTML=w,P.className=`${k.current} ${W.current}`),P.addEventListener("focus",ne),P.addEventListener("blur",te),V.current=P},[w]),N=d.useCallback(P=>{F==null||F(P)},[F]),$=P=>{b==null||b(P)},j=P=>{A==null||A(P)},C=Ht(P=>{S==null||S(P),R==null||R(P.target.innerText),z==null||z(P.target.innerHTML)},s),q=d.useCallback(P=>{V.current&&(V.current.innerText=P)},[]),v=d.useCallback(P=>{V.current&&(V.current.innerHTML=P)},[]),ee=d.useCallback(()=>{var P;(P=V.current)==null||P.focus()},[]);d.useImperativeHandle(r,()=>({inputElement:V.current,setInnerText:q,setInnerHTML:v,focus:ee}));const g=ue({"bsc-w-full ":a},"bsc-flex bsc-flex-row bsc-items-center bsc-shadow-sm bsc-border bsc-border-solid bsc-border-gray-3 dark:bsc-border-white dark:bsc-bg-mono-dark-1 dark:bsc-text-mono-light-1 bsc-rounded-md bsc-p-2",{"bsc-overflow-x-auto bsc-overflow-y-hidden bsc-whitespace-pre":p&&y,"bsc-overflow-hidden bsc-whitespace-pre":p&&!y},c),D=ue("bsc-flex-shrink",{"bsc-mr-2":o},f),B=ue("bsc-flex-shrink",{"bsc-ml-2":i},h);return l.jsxs("div",{className:g,ref:P=>P&&N(P),children:[o&&l.jsx("div",{className:D,onClick:$,children:o}),l.jsx("div",{ref:P=>P&&X(P),className:k.current,contentEditable:!n,suppressContentEditableWarning:!0,inputMode:x,onInput:C,children:t}),i&&l.jsx("div",{className:B,onClick:j,children:i})]})},lr=d.forwardRef(Il);function fe(e){const r=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&r==="[object Date]"?new e.constructor(+e):typeof e=="number"||r==="[object Number]"||typeof e=="string"||r==="[object String]"?new Date(e):new Date(NaN)}function ve(e,r){return e instanceof Date?new e.constructor(r):new Date(r)}function Tt(e,r){const t=fe(e);return isNaN(r)?ve(e,NaN):(r&&t.setDate(t.getDate()+r),t)}function ut(e,r){const t=fe(e);if(isNaN(r))return ve(e,NaN);if(!r)return t;const n=t.getDate(),s=ve(e,t.getTime());s.setMonth(t.getMonth()+r+1,0);const a=s.getDate();return n>=a?s:(t.setFullYear(s.getFullYear(),s.getMonth(),n),t)}const Fs=6048e5,an=6e4,on=36e5,jl=1e3;let Ml={};function Wt(){return Ml}function tt(e,r){var i,c,f,h;const t=Wt(),n=(r==null?void 0:r.weekStartsOn)??((c=(i=r==null?void 0:r.locale)==null?void 0:i.options)==null?void 0:c.weekStartsOn)??t.weekStartsOn??((h=(f=t.locale)==null?void 0:f.options)==null?void 0:h.weekStartsOn)??0,s=fe(e),a=s.getDay(),o=(a<n?7:0)+a-n;return s.setDate(s.getDate()-o),s.setHours(0,0,0,0),s}function St(e){return tt(e,{weekStartsOn:1})}function Rl(e){const r=fe(e),t=r.getFullYear(),n=ve(e,0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);const s=St(n),a=ve(e,0);a.setFullYear(t,0,4),a.setHours(0,0,0,0);const o=St(a);return r.getTime()>=s.getTime()?t+1:r.getTime()>=o.getTime()?t:t-1}function Ys(e){const r=fe(e);return r.setHours(0,0,0,0),r}function Hs(e){const r=fe(e),t=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return t.setUTCFullYear(r.getFullYear()),+e-+t}function Al(e){const r=Rl(e),t=ve(e,0);return t.setFullYear(r,0,4),t.setHours(0,0,0,0),St(t)}function fr(e,r){return ut(e,r*12)}function Ws(e,r){const t=Ys(e),n=Ys(r);return+t==+n}function Ll(e){const r=fe(e),t=r.getMonth();return r.setFullYear(r.getFullYear(),t+1,0),r.setHours(23,59,59,999),r}function $l(e,r){const t=fe(e.start),n=fe(e.end);let s=+t>+n;const a=s?+t:+n,o=s?n:t;o.setHours(0,0,0,0);let i=(r==null?void 0:r.step)??1;if(!i)return[];i<0&&(i=-i,s=!s);const c=[];for(;+o<=a;)c.push(fe(o)),o.setDate(o.getDate()+i),o.setHours(0,0,0,0);return s?c.reverse():c}function Vs(e){const r=fe(e);return r.setDate(1),r.setHours(0,0,0,0),r}function Fl(e,r){const t=fe(e.start),n=fe(e.end);let s=+t>+n;const a=s?+t:+n,o=s?n:t;o.setHours(0,0,0,0),o.setMonth(0,1);let i=(r==null?void 0:r.step)??1;if(!i)return[];i<0&&(i=-i,s=!s);const c=[];for(;+o<=a;)c.push(fe(o)),o.setFullYear(o.getFullYear()+i);return s?c.reverse():c}const Yl={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"}},Hl=(e,r,t)=>{let n;const s=Yl[e];return typeof s=="string"?n=s:r===1?n=s.one:n=s.other.replace("{{count}}",r.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+n:n+" ago":n};function cn(e){return(r={})=>{const t=r.width?String(r.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const Wl={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Vl={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Bl={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},zl={date:cn({formats:Wl,defaultWidth:"full"}),time:cn({formats:Vl,defaultWidth:"full"}),dateTime:cn({formats:Bl,defaultWidth:"full"})},Ul={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},ql=(e,r,t,n)=>Ul[e];function Vt(e){return(r,t)=>{const n=t!=null&&t.context?String(t.context):"standalone";let s;if(n==="formatting"&&e.formattingValues){const o=e.defaultFormattingWidth||e.defaultWidth,i=t!=null&&t.width?String(t.width):o;s=e.formattingValues[i]||e.formattingValues[o]}else{const o=e.defaultWidth,i=t!=null&&t.width?String(t.width):e.defaultWidth;s=e.values[i]||e.values[o]}const a=e.argumentCallback?e.argumentCallback(r):r;return s[a]}}const Gl={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Zl={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Ql={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"]},Kl={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"]},Xl={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"}},Jl={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"}},ef={ordinalNumber:(e,r)=>{const t=Number(e),n=t%100;if(n>20||n<10)switch(n%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},era:Vt({values:Gl,defaultWidth:"wide"}),quarter:Vt({values:Zl,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Vt({values:Ql,defaultWidth:"wide"}),day:Vt({values:Kl,defaultWidth:"wide"}),dayPeriod:Vt({values:Xl,defaultWidth:"wide",formattingValues:Jl,defaultFormattingWidth:"wide"})};function Bt(e){return(r,t={})=>{const n=t.width,s=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],a=r.match(s);if(!a)return null;const o=a[0],i=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(i)?rf(i,p=>p.test(o)):tf(i,p=>p.test(o));let f;f=e.valueCallback?e.valueCallback(c):c,f=t.valueCallback?t.valueCallback(f):f;const h=r.slice(o.length);return{value:f,rest:h}}}function tf(e,r){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&r(e[t]))return t}function rf(e,r){for(let t=0;t<e.length;t++)if(r(e[t]))return t}function nf(e){return(r,t={})=>{const n=r.match(e.matchPattern);if(!n)return null;const s=n[0],a=r.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];o=t.valueCallback?t.valueCallback(o):o;const i=r.slice(s.length);return{value:o,rest:i}}}const sf=/^(\d+)(th|st|nd|rd)?/i,af=/\d+/i,of={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},cf={any:[/^b/i,/^(a|c)/i]},uf={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},lf={any:[/1/i,/2/i,/3/i,/4/i]},ff={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},df={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]},hf={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},pf={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]},mf={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},bf={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}},gf={ordinalNumber:nf({matchPattern:sf,parsePattern:af,valueCallback:e=>parseInt(e,10)}),era:Bt({matchPatterns:of,defaultMatchWidth:"wide",parsePatterns:cf,defaultParseWidth:"any"}),quarter:Bt({matchPatterns:uf,defaultMatchWidth:"wide",parsePatterns:lf,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Bt({matchPatterns:ff,defaultMatchWidth:"wide",parsePatterns:df,defaultParseWidth:"any"}),day:Bt({matchPatterns:hf,defaultMatchWidth:"wide",parsePatterns:pf,defaultParseWidth:"any"}),dayPeriod:Bt({matchPatterns:mf,defaultMatchWidth:"any",parsePatterns:bf,defaultParseWidth:"any"})},yf={code:"en-US",formatDistance:Hl,formatLong:zl,formatRelative:ql,localize:ef,match:gf,options:{weekStartsOn:0,firstWeekContainsDate:1}};function vf(e){const r=fe(e),t=+St(r)-+Al(r);return Math.round(t/Fs)+1}function Bs(e,r){var h,p,y,x;const t=fe(e),n=t.getFullYear(),s=Wt(),a=(r==null?void 0:r.firstWeekContainsDate)??((p=(h=r==null?void 0:r.locale)==null?void 0:h.options)==null?void 0:p.firstWeekContainsDate)??s.firstWeekContainsDate??((x=(y=s.locale)==null?void 0:y.options)==null?void 0:x.firstWeekContainsDate)??1,o=ve(e,0);o.setFullYear(n+1,0,a),o.setHours(0,0,0,0);const i=tt(o,r),c=ve(e,0);c.setFullYear(n,0,a),c.setHours(0,0,0,0);const f=tt(c,r);return t.getTime()>=i.getTime()?n+1:t.getTime()>=f.getTime()?n:n-1}function xf(e,r){var i,c,f,h;const t=Wt(),n=(r==null?void 0:r.firstWeekContainsDate)??((c=(i=r==null?void 0:r.locale)==null?void 0:i.options)==null?void 0:c.firstWeekContainsDate)??t.firstWeekContainsDate??((h=(f=t.locale)==null?void 0:f.options)==null?void 0:h.firstWeekContainsDate)??1,s=Bs(e,r),a=ve(e,0);return a.setFullYear(s,0,n),a.setHours(0,0,0,0),tt(a,r)}function wf(e,r){const t=fe(e),n=+tt(t,r)-+xf(t,r);return Math.round(n/Fs)+1}const zs=(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"})}},Us=(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"})}},qs={p:Us,P:(e,r)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],s=t[2];if(!s)return zs(e,r);let a;switch(n){case"P":a=r.dateTime({width:"short"});break;case"PP":a=r.dateTime({width:"medium"});break;case"PPP":a=r.dateTime({width:"long"});break;case"PPPP":default:a=r.dateTime({width:"full"});break}return a.replace("{{date}}",zs(n,r)).replace("{{time}}",Us(s,r))}},Tf=/^D+$/,Sf=/^Y+$/,Pf=["D","DD","YY","YYYY"];function Ef(e){return Tf.test(e)}function kf(e){return Sf.test(e)}function Gs(e,r,t){const n=Cf(e,r,t);if(console.warn(n),Pf.includes(e))throw new RangeError(n)}function Cf(e,r,t){const n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${r}\`) for formatting ${n} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function un(e){return fe(e).getDay()}function Zs(e){const r=fe(e),t=r.getFullYear(),n=r.getMonth(),s=ve(e,0);return s.setFullYear(t,n+1,0),s.setHours(0,0,0,0),s.getDate()}function Df(){return Object.assign({},Wt())}function Of(e){let t=fe(e).getDay();return t===0&&(t=7),t}function _f(e){const r=fe(e),t=r.getMonth();return r.setFullYear(r.getFullYear(),t+1,0),r.setHours(0,0,0,0),r}function Nf(e,r){const t=fe(e),n=fe(r);return+t<+n}function If(e,r){const t=r instanceof Date?ve(r,0):new r(0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}const jf=10;class Qs{constructor(){m(this,"subPriority",0)}validate(r,t){return!0}}class Mf extends Qs{constructor(r,t,n,s,a){super(),this.value=r,this.validateValue=t,this.setValue=n,this.priority=s,a&&(this.subPriority=a)}validate(r,t){return this.validateValue(r,this.value,t)}set(r,t,n){return this.setValue(r,t,this.value,n)}}class Rf extends Qs{constructor(){super(...arguments);m(this,"priority",jf);m(this,"subPriority",-1)}set(t,n){return n.timestampIsSet?t:ve(t,If(t,Date))}}class de{run(r,t,n,s){const a=this.parse(r,t,n,s);return a?{setter:new Mf(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(r,t,n){return!0}}class Af extends de{constructor(){super(...arguments);m(this,"priority",140);m(this,"incompatibleTokens",["R","u","t","T"])}parse(t,n,s){switch(n){case"G":case"GG":case"GGG":return s.era(t,{width:"abbreviated"})||s.era(t,{width:"narrow"});case"GGGGG":return s.era(t,{width:"narrow"});case"GGGG":default:return s.era(t,{width:"wide"})||s.era(t,{width:"abbreviated"})||s.era(t,{width:"narrow"})}}set(t,n,s){return n.era=s,t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}}const Ee={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Ve={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function ke(e,r){return e&&{value:r(e.value),rest:e.rest}}function Te(e,r){const t=r.match(e);return t?{value:parseInt(t[0],10),rest:r.slice(t[0].length)}:null}function Be(e,r){const t=r.match(e);if(!t)return null;if(t[0]==="Z")return{value:0,rest:r.slice(1)};const n=t[1]==="+"?1:-1,s=t[2]?parseInt(t[2],10):0,a=t[3]?parseInt(t[3],10):0,o=t[5]?parseInt(t[5],10):0;return{value:n*(s*on+a*an+o*jl),rest:r.slice(t[0].length)}}function Ks(e){return Te(Ee.anyDigitsSigned,e)}function Se(e,r){switch(e){case 1:return Te(Ee.singleDigit,r);case 2:return Te(Ee.twoDigits,r);case 3:return Te(Ee.threeDigits,r);case 4:return Te(Ee.fourDigits,r);default:return Te(new RegExp("^\\d{1,"+e+"}"),r)}}function dr(e,r){switch(e){case 1:return Te(Ee.singleDigitSigned,r);case 2:return Te(Ee.twoDigitsSigned,r);case 3:return Te(Ee.threeDigitsSigned,r);case 4:return Te(Ee.fourDigitsSigned,r);default:return Te(new RegExp("^-?\\d{1,"+e+"}"),r)}}function ln(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function Xs(e,r){const t=r>0,n=t?r:1-r;let s;if(n<=50)s=e||100;else{const a=n+50,o=Math.trunc(a/100)*100,i=e>=a%100;s=e+o-(i?100:0)}return t?s:1-s}function Js(e){return e%400===0||e%4===0&&e%100!==0}class Lf extends de{constructor(){super(...arguments);m(this,"priority",130);m(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,n,s){const a=o=>({year:o,isTwoDigitYear:n==="yy"});switch(n){case"y":return ke(Se(4,t),a);case"yo":return ke(s.ordinalNumber(t,{unit:"year"}),a);default:return ke(Se(n.length,t),a)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,s){const a=t.getFullYear();if(s.isTwoDigitYear){const i=Xs(s.year,a);return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}const o=!("era"in n)||n.era===1?s.year:1-s.year;return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}}class $f extends de{constructor(){super(...arguments);m(this,"priority",130);m(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,n,s){const a=o=>({year:o,isTwoDigitYear:n==="YY"});switch(n){case"Y":return ke(Se(4,t),a);case"Yo":return ke(s.ordinalNumber(t,{unit:"year"}),a);default:return ke(Se(n.length,t),a)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,s,a){const o=Bs(t,a);if(s.isTwoDigitYear){const c=Xs(s.year,o);return t.setFullYear(c,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),tt(t,a)}const i=!("era"in n)||n.era===1?s.year:1-s.year;return t.setFullYear(i,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),tt(t,a)}}class Ff extends de{constructor(){super(...arguments);m(this,"priority",130);m(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return dr(n==="R"?4:n.length,t)}set(t,n,s){const a=ve(t,0);return a.setFullYear(s,0,4),a.setHours(0,0,0,0),St(a)}}class Yf extends de{constructor(){super(...arguments);m(this,"priority",130);m(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return dr(n==="u"?4:n.length,t)}set(t,n,s){return t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}}class Hf extends de{constructor(){super(...arguments);m(this,"priority",120);m(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,s){switch(n){case"Q":case"QQ":return Se(n.length,t);case"Qo":return s.ordinalNumber(t,{unit:"quarter"});case"QQQ":return s.quarter(t,{width:"abbreviated",context:"formatting"})||s.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return s.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return s.quarter(t,{width:"wide",context:"formatting"})||s.quarter(t,{width:"abbreviated",context:"formatting"})||s.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,s){return t.setMonth((s-1)*3,1),t.setHours(0,0,0,0),t}}class Wf extends de{constructor(){super(...arguments);m(this,"priority",120);m(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,s){switch(n){case"q":case"qq":return Se(n.length,t);case"qo":return s.ordinalNumber(t,{unit:"quarter"});case"qqq":return s.quarter(t,{width:"abbreviated",context:"standalone"})||s.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return s.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return s.quarter(t,{width:"wide",context:"standalone"})||s.quarter(t,{width:"abbreviated",context:"standalone"})||s.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,s){return t.setMonth((s-1)*3,1),t.setHours(0,0,0,0),t}}class Vf extends de{constructor(){super(...arguments);m(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);m(this,"priority",110)}parse(t,n,s){const a=o=>o-1;switch(n){case"M":return ke(Te(Ee.month,t),a);case"MM":return ke(Se(2,t),a);case"Mo":return ke(s.ordinalNumber(t,{unit:"month"}),a);case"MMM":return s.month(t,{width:"abbreviated",context:"formatting"})||s.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return s.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return s.month(t,{width:"wide",context:"formatting"})||s.month(t,{width:"abbreviated",context:"formatting"})||s.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,s){return t.setMonth(s,1),t.setHours(0,0,0,0),t}}class Bf extends de{constructor(){super(...arguments);m(this,"priority",110);m(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,s){const a=o=>o-1;switch(n){case"L":return ke(Te(Ee.month,t),a);case"LL":return ke(Se(2,t),a);case"Lo":return ke(s.ordinalNumber(t,{unit:"month"}),a);case"LLL":return s.month(t,{width:"abbreviated",context:"standalone"})||s.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return s.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return s.month(t,{width:"wide",context:"standalone"})||s.month(t,{width:"abbreviated",context:"standalone"})||s.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,s){return t.setMonth(s,1),t.setHours(0,0,0,0),t}}function zf(e,r,t){const n=fe(e),s=wf(n,t)-r;return n.setDate(n.getDate()-s*7),n}class Uf extends de{constructor(){super(...arguments);m(this,"priority",100);m(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,s){switch(n){case"w":return Te(Ee.week,t);case"wo":return s.ordinalNumber(t,{unit:"week"});default:return Se(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,s,a){return tt(zf(t,s,a),a)}}function qf(e,r){const t=fe(e),n=vf(t)-r;return t.setDate(t.getDate()-n*7),t}class Gf extends de{constructor(){super(...arguments);m(this,"priority",100);m(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,s){switch(n){case"I":return Te(Ee.week,t);case"Io":return s.ordinalNumber(t,{unit:"week"});default:return Se(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,s){return St(qf(t,s))}}const Zf=[31,28,31,30,31,30,31,31,30,31,30,31],Qf=[31,29,31,30,31,30,31,31,30,31,30,31];class Kf extends de{constructor(){super(...arguments);m(this,"priority",90);m(this,"subPriority",1);m(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,s){switch(n){case"d":return Te(Ee.date,t);case"do":return s.ordinalNumber(t,{unit:"date"});default:return Se(n.length,t)}}validate(t,n){const s=t.getFullYear(),a=Js(s),o=t.getMonth();return a?n>=1&&n<=Qf[o]:n>=1&&n<=Zf[o]}set(t,n,s){return t.setDate(s),t.setHours(0,0,0,0),t}}class Xf extends de{constructor(){super(...arguments);m(this,"priority",90);m(this,"subpriority",1);m(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,s){switch(n){case"D":case"DD":return Te(Ee.dayOfYear,t);case"Do":return s.ordinalNumber(t,{unit:"date"});default:return Se(n.length,t)}}validate(t,n){const s=t.getFullYear();return Js(s)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,s){return t.setMonth(0,s),t.setHours(0,0,0,0),t}}function fn(e,r,t){var p,y,x,w;const n=Wt(),s=(t==null?void 0:t.weekStartsOn)??((y=(p=t==null?void 0:t.locale)==null?void 0:p.options)==null?void 0:y.weekStartsOn)??n.weekStartsOn??((w=(x=n.locale)==null?void 0:x.options)==null?void 0:w.weekStartsOn)??0,a=fe(e),o=a.getDay(),c=(r%7+7)%7,f=7-s,h=r<0||r>6?r-(o+f)%7:(c+f)%7-(o+f)%7;return Tt(a,h)}class Jf extends de{constructor(){super(...arguments);m(this,"priority",90);m(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,n,s){switch(n){case"E":case"EE":case"EEE":return s.day(t,{width:"abbreviated",context:"formatting"})||s.day(t,{width:"short",context:"formatting"})||s.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return s.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return s.day(t,{width:"short",context:"formatting"})||s.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return s.day(t,{width:"wide",context:"formatting"})||s.day(t,{width:"abbreviated",context:"formatting"})||s.day(t,{width:"short",context:"formatting"})||s.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,s,a){return t=fn(t,s,a),t.setHours(0,0,0,0),t}}class ed extends de{constructor(){super(...arguments);m(this,"priority",90);m(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,s,a){const o=i=>{const c=Math.floor((i-1)/7)*7;return(i+a.weekStartsOn+6)%7+c};switch(n){case"e":case"ee":return ke(Se(n.length,t),o);case"eo":return ke(s.ordinalNumber(t,{unit:"day"}),o);case"eee":return s.day(t,{width:"abbreviated",context:"formatting"})||s.day(t,{width:"short",context:"formatting"})||s.day(t,{width:"narrow",context:"formatting"});case"eeeee":return s.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return s.day(t,{width:"short",context:"formatting"})||s.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return s.day(t,{width:"wide",context:"formatting"})||s.day(t,{width:"abbreviated",context:"formatting"})||s.day(t,{width:"short",context:"formatting"})||s.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,s,a){return t=fn(t,s,a),t.setHours(0,0,0,0),t}}class td extends de{constructor(){super(...arguments);m(this,"priority",90);m(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,s,a){const o=i=>{const c=Math.floor((i-1)/7)*7;return(i+a.weekStartsOn+6)%7+c};switch(n){case"c":case"cc":return ke(Se(n.length,t),o);case"co":return ke(s.ordinalNumber(t,{unit:"day"}),o);case"ccc":return s.day(t,{width:"abbreviated",context:"standalone"})||s.day(t,{width:"short",context:"standalone"})||s.day(t,{width:"narrow",context:"standalone"});case"ccccc":return s.day(t,{width:"narrow",context:"standalone"});case"cccccc":return s.day(t,{width:"short",context:"standalone"})||s.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return s.day(t,{width:"wide",context:"standalone"})||s.day(t,{width:"abbreviated",context:"standalone"})||s.day(t,{width:"short",context:"standalone"})||s.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,s,a){return t=fn(t,s,a),t.setHours(0,0,0,0),t}}function rd(e,r){const t=fe(e),n=Of(t),s=r-n;return Tt(t,s)}class nd extends de{constructor(){super(...arguments);m(this,"priority",90);m(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,n,s){const a=o=>o===0?7:o;switch(n){case"i":case"ii":return Se(n.length,t);case"io":return s.ordinalNumber(t,{unit:"day"});case"iii":return ke(s.day(t,{width:"abbreviated",context:"formatting"})||s.day(t,{width:"short",context:"formatting"})||s.day(t,{width:"narrow",context:"formatting"}),a);case"iiiii":return ke(s.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return ke(s.day(t,{width:"short",context:"formatting"})||s.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return ke(s.day(t,{width:"wide",context:"formatting"})||s.day(t,{width:"abbreviated",context:"formatting"})||s.day(t,{width:"short",context:"formatting"})||s.day(t,{width:"narrow",context:"formatting"}),a)}}validate(t,n){return n>=1&&n<=7}set(t,n,s){return t=rd(t,s),t.setHours(0,0,0,0),t}}class sd extends de{constructor(){super(...arguments);m(this,"priority",80);m(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,n,s){switch(n){case"a":case"aa":case"aaa":return s.dayPeriod(t,{width:"abbreviated",context:"formatting"})||s.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return s.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return s.dayPeriod(t,{width:"wide",context:"formatting"})||s.dayPeriod(t,{width:"abbreviated",context:"formatting"})||s.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,s){return t.setHours(ln(s),0,0,0),t}}class ad extends de{constructor(){super(...arguments);m(this,"priority",80);m(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,n,s){switch(n){case"b":case"bb":case"bbb":return s.dayPeriod(t,{width:"abbreviated",context:"formatting"})||s.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return s.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return s.dayPeriod(t,{width:"wide",context:"formatting"})||s.dayPeriod(t,{width:"abbreviated",context:"formatting"})||s.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,s){return t.setHours(ln(s),0,0,0),t}}class od extends de{constructor(){super(...arguments);m(this,"priority",80);m(this,"incompatibleTokens",["a","b","t","T"])}parse(t,n,s){switch(n){case"B":case"BB":case"BBB":return s.dayPeriod(t,{width:"abbreviated",context:"formatting"})||s.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return s.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return s.dayPeriod(t,{width:"wide",context:"formatting"})||s.dayPeriod(t,{width:"abbreviated",context:"formatting"})||s.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,s){return t.setHours(ln(s),0,0,0),t}}class id extends de{constructor(){super(...arguments);m(this,"priority",70);m(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,s){switch(n){case"h":return Te(Ee.hour12h,t);case"ho":return s.ordinalNumber(t,{unit:"hour"});default:return Se(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,s){const a=t.getHours()>=12;return a&&s<12?t.setHours(s+12,0,0,0):!a&&s===12?t.setHours(0,0,0,0):t.setHours(s,0,0,0),t}}class cd extends de{constructor(){super(...arguments);m(this,"priority",70);m(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,s){switch(n){case"H":return Te(Ee.hour23h,t);case"Ho":return s.ordinalNumber(t,{unit:"hour"});default:return Se(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,s){return t.setHours(s,0,0,0),t}}class ud extends de{constructor(){super(...arguments);m(this,"priority",70);m(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,s){switch(n){case"K":return Te(Ee.hour11h,t);case"Ko":return s.ordinalNumber(t,{unit:"hour"});default:return Se(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,s){return t.getHours()>=12&&s<12?t.setHours(s+12,0,0,0):t.setHours(s,0,0,0),t}}class ld extends de{constructor(){super(...arguments);m(this,"priority",70);m(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,s){switch(n){case"k":return Te(Ee.hour24h,t);case"ko":return s.ordinalNumber(t,{unit:"hour"});default:return Se(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,s){const a=s<=24?s%24:s;return t.setHours(a,0,0,0),t}}class fd extends de{constructor(){super(...arguments);m(this,"priority",60);m(this,"incompatibleTokens",["t","T"])}parse(t,n,s){switch(n){case"m":return Te(Ee.minute,t);case"mo":return s.ordinalNumber(t,{unit:"minute"});default:return Se(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,s){return t.setMinutes(s,0,0),t}}class dd extends de{constructor(){super(...arguments);m(this,"priority",50);m(this,"incompatibleTokens",["t","T"])}parse(t,n,s){switch(n){case"s":return Te(Ee.second,t);case"so":return s.ordinalNumber(t,{unit:"second"});default:return Se(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,s){return t.setSeconds(s,0),t}}class hd extends de{constructor(){super(...arguments);m(this,"priority",30);m(this,"incompatibleTokens",["t","T"])}parse(t,n){const s=a=>Math.trunc(a*Math.pow(10,-n.length+3));return ke(Se(n.length,t),s)}set(t,n,s){return t.setMilliseconds(s),t}}class pd extends de{constructor(){super(...arguments);m(this,"priority",10);m(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return Be(Ve.basicOptionalMinutes,t);case"XX":return Be(Ve.basic,t);case"XXXX":return Be(Ve.basicOptionalSeconds,t);case"XXXXX":return Be(Ve.extendedOptionalSeconds,t);case"XXX":default:return Be(Ve.extended,t)}}set(t,n,s){return n.timestampIsSet?t:ve(t,t.getTime()-Hs(t)-s)}}class md extends de{constructor(){super(...arguments);m(this,"priority",10);m(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return Be(Ve.basicOptionalMinutes,t);case"xx":return Be(Ve.basic,t);case"xxxx":return Be(Ve.basicOptionalSeconds,t);case"xxxxx":return Be(Ve.extendedOptionalSeconds,t);case"xxx":default:return Be(Ve.extended,t)}}set(t,n,s){return n.timestampIsSet?t:ve(t,t.getTime()-Hs(t)-s)}}class bd extends de{constructor(){super(...arguments);m(this,"priority",40);m(this,"incompatibleTokens","*")}parse(t){return Ks(t)}set(t,n,s){return[ve(t,s*1e3),{timestampIsSet:!0}]}}class gd extends de{constructor(){super(...arguments);m(this,"priority",20);m(this,"incompatibleTokens","*")}parse(t){return Ks(t)}set(t,n,s){return[ve(t,s),{timestampIsSet:!0}]}}const yd={G:new Af,y:new Lf,Y:new $f,R:new Ff,u:new Yf,Q:new Hf,q:new Wf,M:new Vf,L:new Bf,w:new Uf,I:new Gf,d:new Kf,D:new Xf,E:new Jf,e:new ed,c:new td,i:new nd,a:new sd,b:new ad,B:new od,h:new id,H:new cd,K:new ud,k:new ld,m:new fd,s:new dd,S:new hd,X:new pd,x:new md,t:new bd,T:new gd},vd=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,xd=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,wd=/^'([^]*?)'?$/,Td=/''/g,Sd=/\S/,Pd=/[a-zA-Z]/;function ze(e,r,t,n){var O,_,S,R,z,F,b,A;const s=Df(),a=(n==null?void 0:n.locale)??s.locale??yf,o=(n==null?void 0:n.firstWeekContainsDate)??((_=(O=n==null?void 0:n.locale)==null?void 0:O.options)==null?void 0:_.firstWeekContainsDate)??s.firstWeekContainsDate??((R=(S=s.locale)==null?void 0:S.options)==null?void 0:R.firstWeekContainsDate)??1,i=(n==null?void 0:n.weekStartsOn)??((F=(z=n==null?void 0:n.locale)==null?void 0:z.options)==null?void 0:F.weekStartsOn)??s.weekStartsOn??((A=(b=s.locale)==null?void 0:b.options)==null?void 0:A.weekStartsOn)??0;if(r==="")return e===""?fe(t):ve(t,NaN);const c={firstWeekContainsDate:o,weekStartsOn:i,locale:a},f=[new Rf],h=r.match(xd).map(k=>{const W=k[0];if(W in qs){const V=qs[W];return V(k,a.formatLong)}return k}).join("").match(vd),p=[];for(let k of h){!(n!=null&&n.useAdditionalWeekYearTokens)&&kf(k)&&Gs(k,r,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&Ef(k)&&Gs(k,r,e);const W=k[0],V=yd[W];if(V){const{incompatibleTokens:ne}=V;if(Array.isArray(ne)){const X=p.find(N=>ne.includes(N.token)||N.token===W);if(X)throw new RangeError(`The format string mustn't contain \`${X.fullToken}\` and \`${k}\` at the same time`)}else if(V.incompatibleTokens==="*"&&p.length>0)throw new RangeError(`The format string mustn't contain \`${k}\` and any other token at the same time`);p.push({token:W,fullToken:k});const te=V.run(e,k,a.match,c);if(!te)return ve(t,NaN);f.push(te.setter),e=te.rest}else{if(W.match(Pd))throw new RangeError("Format string contains an unescaped latin alphabet character `"+W+"`");if(k==="''"?k="'":W==="'"&&(k=Ed(k)),e.indexOf(k)===0)e=e.slice(k.length);else return ve(t,NaN)}}if(e.length>0&&Sd.test(e))return ve(t,NaN);const y=f.map(k=>k.priority).sort((k,W)=>W-k).filter((k,W,V)=>V.indexOf(k)===W).map(k=>f.filter(W=>W.priority===k).sort((W,V)=>V.subPriority-W.subPriority)).map(k=>k[0]);let x=fe(t);if(isNaN(x.getTime()))return ve(t,NaN);const w={};for(const k of y){if(!k.validate(x,c))return ve(t,NaN);const W=k.set(x,w,c);Array.isArray(W)?(x=W[0],Object.assign(w,W[1])):x=W}return ve(t,x)}function Ed(e){return e.match(wd)[1].replace(Td,"'")}function kd(e){return Ws(e,Date.now())}function Cd(e,r){return Tt(e,-r)}function Dd(e,r){let t=r-un(e);return t<=0&&(t+=7),Tt(e,t)}function Od(e,r){const t=(r==null?void 0:r.additionalDigits)??2,n=jd(e);let s;if(n.date){const c=Md(n.date,t);s=Rd(c.restDateString,c.year)}if(!s||isNaN(s.getTime()))return new Date(NaN);const a=s.getTime();let o=0,i;if(n.time&&(o=Ad(n.time),isNaN(o)))return new Date(NaN);if(n.timezone){if(i=Ld(n.timezone),isNaN(i))return new Date(NaN)}else{const c=new Date(a+o),f=new Date(0);return f.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),f.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),f}return new Date(a+o+i)}const hr={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},_d=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Nd=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Id=/^([+-])(\d{2})(?::?(\d{2}))?$/;function jd(e){const r={},t=e.split(hr.dateTimeDelimiter);let n;if(t.length>2)return r;if(/:/.test(t[0])?n=t[0]:(r.date=t[0],n=t[1],hr.timeZoneDelimiter.test(r.date)&&(r.date=e.split(hr.timeZoneDelimiter)[0],n=e.substr(r.date.length,e.length))),n){const s=hr.timezone.exec(n);s?(r.time=n.replace(s[1],""),r.timezone=s[1]):r.time=n}return r}function Md(e,r){const t=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+r)+"})|(\\d{2}|[+-]\\d{"+(2+r)+"})$)"),n=e.match(t);if(!n)return{year:NaN,restDateString:""};const s=n[1]?parseInt(n[1]):null,a=n[2]?parseInt(n[2]):null;return{year:a===null?s:a*100,restDateString:e.slice((n[1]||n[2]).length)}}function Rd(e,r){if(r===null)return new Date(NaN);const t=e.match(_d);if(!t)return new Date(NaN);const n=!!t[4],s=zt(t[1]),a=zt(t[2])-1,o=zt(t[3]),i=zt(t[4]),c=zt(t[5])-1;if(n)return Wd(r,i,c)?$d(r,i,c):new Date(NaN);{const f=new Date(0);return!Yd(r,a,o)||!Hd(r,s)?new Date(NaN):(f.setUTCFullYear(r,a,Math.max(s,o)),f)}}function zt(e){return e?parseInt(e):1}function Ad(e){const r=e.match(Nd);if(!r)return NaN;const t=dn(r[1]),n=dn(r[2]),s=dn(r[3]);return Vd(t,n,s)?t*on+n*an+s*1e3:NaN}function dn(e){return e&&parseFloat(e.replace(",","."))||0}function Ld(e){if(e==="Z")return 0;const r=e.match(Id);if(!r)return 0;const t=r[1]==="+"?-1:1,n=parseInt(r[2]),s=r[3]&&parseInt(r[3])||0;return Bd(n,s)?t*(n*on+s*an):NaN}function $d(e,r,t){const n=new Date(0);n.setUTCFullYear(e,0,4);const s=n.getUTCDay()||7,a=(r-1)*7+t+1-s;return n.setUTCDate(n.getUTCDate()+a),n}const Fd=[31,null,31,30,31,30,31,31,30,31,30,31];function ea(e){return e%400===0||e%4===0&&e%100!==0}function Yd(e,r,t){return r>=0&&r<=11&&t>=1&&t<=(Fd[r]||(ea(e)?29:28))}function Hd(e,r){return r>=1&&r<=(ea(e)?366:365)}function Wd(e,r,t){return r>=1&&r<=53&&t>=0&&t<=6}function Vd(e,r,t){return e===24?r===0&&t===0:t>=0&&t<60&&r>=0&&r<60&&e>=0&&e<25}function Bd(e,r){return r>=0&&r<=59}function zd(e,r){const t=fe(e),n=t.getFullYear(),s=t.getDate(),a=ve(e,0);a.setFullYear(n,r,15),a.setHours(0,0,0,0);const o=Zs(a);return t.setMonth(r,Math.min(s,o)),t}function Ud(e,r){const t=fe(e);return isNaN(+t)?ve(e,NaN):(t.setFullYear(r),t)}function ta(e,r){return ut(e,-r)}function ra(e,r){return fr(e,-r)}var je=(e=>(e[e.Regular=24]="Regular",e[e.Small=20]="Small",e))(je||{});const na=({className:e})=>l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:e,children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5m-9-6h.008v.008H12v-.008ZM12 15h.008v.008H12V15Zm0 2.25h.008v.008H12v-.008ZM9.75 15h.008v.008H9.75V15Zm0 2.25h.008v.008H9.75v-.008ZM7.5 15h.008v.008H7.5V15Zm0 2.25h.008v.008H7.5v-.008Zm6.75-4.5h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V15Zm0 2.25h.008v.008h-.008v-.008Zm2.25-4.5h.008v.008H16.5v-.008Zm0 2.25h.008v.008H16.5V15Z"})}),qd=({className:e})=>{const r=ue("bsc-h-6 bsc-w-6",e);return l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:r,children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"})})},Gd=({className:e})=>{const r=ue("bsc-h-6 bsc-w-6",e);return l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:r,children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5 8.25 12l7.5-7.5"})})},Zd=({className:e})=>{const r=ue("bsc-h-6 bsc-w-6",e);return l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:r,children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"})})},Qd=({className:e})=>{const r=ue("bsc-h-6 bsc-w-6",e);return l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:r,children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"})})},Kd=({className:e})=>l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:e,children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"})}),Le=({icon:e,size:r=je.Regular,onClick:t,className:n})=>{const s=d.useRef({calendar:na,chevronDown:qd,chevronLeft:Gd,chevronRight:Zd,chevronUp:Qd,close:Kd}),a=d.useMemo(()=>s.current[e]||na,[e]),o=ue({"bsc-h-[24px] bsc-w-[24px]":r===je.Regular,"bsc-h-[20px] bsc-w-[20px]":r===je.Small},n);return l.jsx("div",{onClick:t,children:l.jsx(a,{className:o})})},lt=({template:e,props:r,children:t})=>e(r,t);function Xd(e,r){if(r===e)return!1;const t=Object.values(r),n=Object.values(e);if(t.length!==n.length||t.some((a,o)=>a!==n[o]))return!0;const s=Object.keys(e);return Object.keys(r).some((a,o)=>a!==s[o])}function Jd(e,r){return e.matches[r]=!1,e.mediaQueries[r]={},e}function sa(e){const r=Object.keys(e);return typeof window>"u"?r.reduce(Jd,{mediaQueries:{},matches:{}}):r.reduce((t,n)=>{const s=window.matchMedia(e[n]);return t.mediaQueries[n]=s,t.matches[n]=s.matches,t},{mediaQueries:{},matches:{}})}function eh(e,r){function t(n,s){return n[s]=e.mediaQueries[s].matches,n}switch(r.type){case"updateMatches":return{matches:Object.keys(e.mediaQueries).reduce(t,{}),mediaQueries:e.mediaQueries};case"setQueries":return sa(r.queries)}}function th(e){const r=jt.useRef(e),[t,n]=jt.useReducer(eh,e,sa);jt.useEffect(()=>{Xd(e,r.current)&&(n({type:"setQueries",queries:e}),r.current=e)},[e]);function s(){return n({type:"updateMatches"})}function a(c){const f=s;return typeof c.addListener<"u"?c.addListener(f):c.addEventListener("change",f),f}jt.useEffect(()=>{const c=Object.values(t.mediaQueries),f=c.map(a);function h(p,y){typeof p.addListener<"u"?p.removeListener(f[y]):p.removeEventListener("change",f[y])}return()=>{c.forEach(h)}},[t.mediaQueries]);const{matches:o}=t,i=jt.useMemo(()=>Object.values(o),[o]);return{matches:o,matchesAny:i.some(Boolean),matchesAll:i.length>0&&i.every(Boolean)}}function pr(e){return th(rh(e)).matchesAll}const hn={};function rh(e){return hn[e]===void 0&&(hn[e]={default:e}),hn[e]}const pn=({mobileQuery:e="screen and (max-device-width: 40rem)",tabletQuery:r="screen and (min-device-width: 40.01rem) and (max-device-width: 63.9375rem)",desktopQuery:t="screen and (min-device-width: 64rem)",mobileMarkup:n,aboveMobileMarkup:s,tabletMarkup:a,desktopMarkup:o})=>{const i=pr(e),c=pr(r),f=pr(t);return(()=>i&&n?n:!i&&s?s:c&&a?a:f&&o?o:(console.error("Invalid media settings"),null))()};function aa(e,r,t){const n=a=>{const o=a.target,i=e.style.display!=="hidden";e&&i&&!eo(e,o)&&!s(t,o)&&r(!1),r(!0)},s=(a,o)=>{if(!a)return!1;for(let i=0,c=a.length;i<c;i++)if(a[i].isSameNode(o)||a[i].contains(o))return!0;return!1};return document.addEventListener("mousedown",n),n}function oa(e){document.removeEventListener("mousedown",e)}function nh(e,r){if(e==null)return{};var t={},n=Object.keys(e),s,a;for(a=0;a<n.length;a++)s=n[a],!(r.indexOf(s)>=0)&&(t[s]=e[s]);return t}function mn(e,r){return mn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},mn(e,r)}function sh(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,mn(e,r)}var bn={exports:{}},mr={exports:{}},pe={};/** @license React v16.13.1
31
+ */(function(e){(function(){var r={}.hasOwnProperty;function t(){for(var a="",o=0;o<arguments.length;o++){var i=arguments[o];i&&(a=s(a,n(i)))}return a}function n(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return t.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var o="";for(var i in a)r.call(a,i)&&a[i]&&(o=s(o,i));return o}function s(a,o){return o?a?a+" "+o:a+o:a}e.exports?(t.default=t,e.exports=t):window.classNames=t})()})(Mn);var Ha=Mn.exports;const ue=Fr(Ha);var At=(e=>(e[e.Focus=0]="Focus",e[e.FocusWithin=1]="FocusWithin",e))(At||{});const nr=(e=1)=>d.useMemo(()=>ue("dark:bsc-ring-mono-light-2 dark:bsc-ring-offset-mono-dark-1",{"focus-within:bsc-ring focus-within:bsc-ring-primary-2 focus-within:bsc-ring-offset-2 focus-within:bsc-ring-opacity-50":e===1,"focus:bsc-ring focus:bsc-ring-primary-2 focus:bsc-ring-offset-2 focus:bsc-ring-opacity-50":e===0}),[e]),Wa=(e,r)=>{const t=d.useRef(null),{buttonType:n,buttonStyle:s="flat",type:a="button",disabled:o=!1,form:i,fullWidth:c=!1,onClick:f,className:h,children:p}=e,y=()=>{f==null||f()},x=()=>{var _;(_=t.current)==null||_.click()};d.useImperativeHandle(r,()=>({click:x}));const w=nr(At.Focus),O=ue("bc-button max-sm:bsc-p-4 md:bsc-p-2 dark:bsc-bg-mono-light-1 dark:hover:bsc-bg-mono-light-2 dark:bsc-text-mono-dark-1",w,{"bsc-w-full":c,"bc-disabled bsc-bg-gray-3 bsc-text-gray-2 bsc-pointer-events-none":o,"bsc-bg-primary-1 bsc-text-white hover:bsc-bg-primary-2 focus:bsc-ring-primary-1":n==="primary","bsc-bg-primary-2 bsc-text-white hover:bsc-bg-primary-3 focus:bsc-ring-primary-2":n==="secondary","bsc-bg-info bsc-text-white focus:bsc-ring-info":n==="info","bsc-bg-success bsc-text-white focus:bsc-ring-success":n==="success","bsc-bg-warning bsc-text-white focus:bsc-ring-warning":n==="warning","bsc-bg-error bsc-text-white focus:bsc-ring-error":n==="error","bsc-rounded-md":s==="curved","bsc-rounded-full !bsc-px-4":s==="round"},h);return l.jsx("button",{ref:t,type:a,onClick:y,disabled:o,form:i,className:O,children:p})},We=d.forwardRef(Wa),Hr=e=>{const[r,t]=d.useState(!0),n=jn();return d.useEffect(()=>{e!==void 0?t(e):n&&n.useAnimations!==void 0&&t(n.useAnimations)},[n,e]),r},Rn=d.createContext(void 0),An=()=>d.useContext(Rn),Va=({children:e})=>{const r=d.useId(),t=d.useMemo(()=>({sharedId:r}),[r]);return l.jsx(Rn.Provider,{value:t,children:e})},sr=e=>e==null?!1:typeof e=="object",Ln=e=>e instanceof Date,$n=e=>typeof e=="function",Fn=e=>{const r=typeof e;return r==="string"||r==="number"||r==="boolean"||r==="bigint"},Wr=e=>{if(!sr(e))return e;const r={},t=Object.keys(e);for(let n=0,s=t.length;n<s;n++){const a=t[n],o=e[a];Fn(o)||$n(o)?r[a]=o:Ln(o)?r[a]=new Date(o.getTime()):Array.isArray(o)?r[a]=Vr(o):sr(o)&&(r[a]=Wr(o))}return r},Vr=e=>{let r=e.length;const t=new Array(r);for(;r--!==0;){const n=e[r];Fn(n)||$n(n)?t[r]=n:Ln(n)?t[r]=new Date(n.getTime()):sr(n)&&!Array.isArray(n)?t[r]=Wr(n):Array.isArray(n)?t[r]=Vr(n):t[r]=n}return t},Ba=e=>sr(e)?Array.isArray(e)?Vr(e):Wr(e):e;function za(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ua=function e(r,t){if(r===t)return!0;if(r&&t&&typeof r=="object"&&typeof t=="object"){if(r.constructor!==t.constructor)return!1;var n,s,a;if(Array.isArray(r)){if(n=r.length,n!=t.length)return!1;for(s=n;s--!==0;)if(!e(r[s],t[s]))return!1;return!0}if(r.constructor===RegExp)return r.source===t.source&&r.flags===t.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===t.valueOf();if(r.toString!==Object.prototype.toString)return r.toString()===t.toString();if(a=Object.keys(r),n=a.length,n!==Object.keys(t).length)return!1;for(s=n;s--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[s]))return!1;for(s=n;s--!==0;){var o=a[s];if(!e(r[o],t[o]))return!1}return!0}return r!==r&&t!==t};const Yn=za(Ua);function qa(e,r){for(let t=e.length;t--!==0;)if(!Yn(e[t],r[t]))return!0;return!1}const ar=(e,r)=>{const t=d.useRef([]),n=t.current.length>0&&t.current[0]&&qa(t.current[0],r);return(t.current.length===0||n)&&(t.current=[Ba(r),e()]),t.current[1]},Hn=e=>{const r=d.useRef();let t=!1;r.current!==void 0&&(t=!Yn(r.current,e));const n={changed:t,previousValue:r.current};return r.current=e,n},Ga=e=>typeof e=="function",Za=e=>{const[r,t]=d.useState({value:e,initial:!0}),n=d.useRef(e);return[r,s=>{if(!Ga(s))t({value:s,initial:!1});else{const a=s(n.current);n.current=a,t({value:a,initial:!1})}}]},Qa=e=>{const[r,t]=Za(e),n=d.useRef({value:e,initial:!0});return n.current!==r&&(n.current=r),[r,t,n]},Ka=e=>{const[r,t]=d.useState(e),n=d.useRef(e);return n.current!==r&&(n.current=r),[r,t,n]};function Wn(){return window.navigator.languages?window.navigator.languages[0]:window.navigator.language}function Xa(e,r,t){const n=[];for(let s=e;s<=r;s++)n.push(t?t(s):s);return n}function Ja(e,r){const t=e.target;return t?!r.isSameNode(t)&&!r.contains(t):!1}function eo(e,r){return e.isSameNode(r)||e.contains(r)}function to(e,r){const t=Object.entries(r),n=getComputedStyle(e);for(let s=0,a=t.length;s<a;s++){const[o,i]=t[s];if(typeof i=="string"&&i.indexOf(",")>-1){if(!i.split(",").map(f=>f.trim()).includes(n[o]))return!1}else if(n[o]!==i)return!1}return!0}function ro(e,r){const t=Object.entries(r),n=getComputedStyle(e);for(let s=0,a=t.length;s<a;s++){const[o,i]=t[s];if(typeof i=="string"&&i.indexOf(",")>-1){if(i.split(",").map(f=>f.trim()).includes(n[o]))return!0}else if(n[o]===i)return!0}return!1}function Vn(e,r,t=!1,n){if(t&&to(e,r)){if(!n||(n==null?void 0:n(e))===!0)return e}else if(!t&&ro(e,r)&&(!n||(n==null?void 0:n(e))===!0))return e;return e.parentElement?Vn(e.parentElement,r,t,n):e}function Bn(e,r){const t=Array.from(document.querySelectorAll("body *")),n=[];for(let s=0,a=t.length;s<a;s++){const o=getComputedStyle(t[s]);o[e]&&r(o[e])&&n.push(o[e])}return n}function dp(e){return e}function no(e){const r=document.documentElement;Object.keys(e).forEach(t=>{r.style.setProperty(t,e[t])})}function so(e){return{"--theme-bsc-primary-1":e.primary1,"--theme-bsc-primary-2":e.primary2,"--theme-bsc-primary-3":e.primary3,"--theme-bsc-primary-4":e.primary4,"--theme-bsc-primary-5":e.primary5,"--theme-bsc-gray-1":e.gray1||"#303030","--theme-bsc-gray-2":e.gray2||"#5f5f5f","--theme-bsc-gray-3":e.gray3||"#8f8f8f","--theme-bsc-gray-4":e.gray4||"#bebebe","--theme-bsc-gray-5":e.gray5||"#eee","--theme-bsc-black":e.black||"#000","--theme-bsc-white":e.white||"#fff","--theme-bsc-mono-dark-1":e.monoDark1||"#222","--theme-bsc-mono-dark-2":e.monoDark2||"#3c3c3c","--theme-bsc-mono-dark-3":e.monoDark3||"#4e4e4e","--theme-bsc-mono-light-1":e.monoLight1||"#fefefe","--theme-bsc-mono-light-2":e.monoLight2||"#eee","--theme-bsc-mono-light-3":e.monoLight3||"#ccc","--theme-bsc-info":e.info||"#2e7ff8","--theme-bsc-success":e.success||"#53ae0c","--theme-bsc-warning":e.warning||"#ff6914","--theme-bsc-error":e.error||"#f01616"}}const ao=d.createContext(void 0),oo=()=>d.useContext(ao),io=({id:e,name:r,value:t,type:n,checked:s,readOnly:a,className:o})=>l.jsx("input",{id:e,name:r,value:t,type:n,checked:s,onChange:()=>{},readOnly:a,disabled:a,className:o}),co=({type:e,props:r,renderProps:t,signalName:n,onSignalRetrieved:s,children:a,className:o})=>{const i=oo(),{id:c,name:f}=ar(()=>{const h=r;return{id:h.id,name:h.name}},[r]);return d.useEffect(()=>{i&&n&&i[n]&&s&&s(i[n])},[i]),l.jsxs(l.Fragment,{children:[c&&f&&e&&l.jsx(io,{id:c,name:f,type:e,className:o,...r}),a&&a(t)]})},uo=(e,r)=>{const{name:t,value:n,checked:s=!1,partial:a=!1,onChange:o,children:i,labelStyles:c,className:f}=e,h=An(),p=d.useId(),[y,x,w]=Qa({checked:!1,partial:!1}),O=Hn(s),_=Hn(a),S={id:(h==null?void 0:h.sharedId)||e.id||p,...e,...y.value};d.useEffect(()=>{if(y.initial)x({checked:a?!0:s,partial:a});else{const b=O.changed?s:y.value.checked,A=_.changed?a:y.value.partial;x({checked:A?!0:b,partial:A})}},[s,a]);const R=b=>{var k;const A=((k=w.current)==null?void 0:k.value.partial)===!0?!0:b.target.checked;x({checked:A,partial:!1}),o==null||o({originalEvent:b,name:t||b.target.name,value:n,checked:A})},z=b=>{var k;const A={checked:b?!0:((k=w.current)==null?void 0:k.value.checked)||!1,partial:b};x(A)},F=b=>{x({checked:b,partial:!1})};return d.useImperativeHandle(r,()=>({setPartiallyChecked:z,setChecked:F})),l.jsx("label",{className:c,onChange:b=>R(b),children:l.jsx(co,{id:p,name:t,type:"checkbox",props:S,renderProps:y.value,className:f,children:i})})},lo=d.memo(d.forwardRef(uo)),fo=({label:e,htmlFor:r,className:t})=>{const n=An(),s=d.useMemo(()=>(n==null?void 0:n.sharedId)||r,[n==null?void 0:n.sharedId,r]);return l.jsx("label",{htmlFor:s,className:t,children:e})},Ze=({label:e,htmlFor:r,readOnly:t=!1,className:n})=>{const s=ue("bc-label",{"bsc-text-black dark:bsc-text-mono-light-1":!t,"bc-read-only bsc-text-gray-4 dark:bsc-text-mono-light-3 bsc-pointer-events-none":t},n);return l.jsx(fo,{label:e,htmlFor:r,className:s})},ho=(e,r)=>{const{name:t,label:n,value:s,readOnly:a=!1,checked:o=!1,partial:i=!1,labelLocation:c=Ae.Right,className:f,useAnimation:h,onChange:p}=e,y=Hr(h),x=ue("bc-checkbox-wrapper bsc-flex bsc-items-center",{"bc-read-only bsc-pointer-events-none bsc-text-gray-2 dark:bsc-text-mono-light-3":a},f),w=ue("bc-checkbox-label bsc-cursor-pointer",{"bsc-ml-2":c===Ae.Right,"bsc-mr-2":c===Ae.Left}),O=nr(At.FocusWithin),_=ue("bc-checkbox-outer bsc-relative bsc-rounded *:bsc-block *:bsc-size-[21px]",{"bsc-checkbox-animate":!a&&y,"bc-read-only bsc-checkbox-no-animate":a||!a&&!y},O),S=ue("bc-checkbox-inner bsc-relative bsc-m-0 bsc-cursor-pointer bsc-appearance-none bsc-rounded bsc-border-none bsc-bg-mono-light-1 bsc-p-0 bsc-outline-none dark:bsc-bg-mono-dark-1 dark:checked:bsc-bg-mono-light-1",{"[transition:box-shadow_0.3s]":y,"bsc-checkbox":!a,"bc-read-only bsc-checkbox-read-only":a}),R=ue("bc-checkbox-svg bsc-pointer-events-none bsc-absolute bsc-left-0 bsc-top-0 bsc-stroke-mono-light-1 bsc-stroke-2 [stroke-linecap:round] [stroke-linejoin:round] [transform:scale(0)_translateZ(0)] dark:bsc-stroke-mono-dark-3",{"bsc-fill-primary-1 dark:bsc-fill-mono-light-1":!a,"bc-read-only bsc-fill-primary-4 dark:bsc-fill-mono-light-3":a});return l.jsx(Va,{children:l.jsxs("div",{className:x,children:[n&&c===Ae.Left&&l.jsx(Ze,{label:n,readOnly:a,className:w}),l.jsx(lo,{ref:r,name:t,value:s,checked:o,partial:i,readOnly:a,className:S,labelStyles:_,onChange:p,children:({partial:z})=>l.jsx("svg",{viewBox:"0 0 21 21",className:R,children:z?l.jsx("polyline",{points:"6 10.5 16 10.5"}):l.jsx("polyline",{points:"5 10.75 8.5 14.25 16 6"})})}),n&&c===Ae.Right&&l.jsx(Ze,{label:n,readOnly:a,className:w})]})})},zn=d.memo(d.forwardRef(ho)),po=({name:e,label:r,value:t,data:n,textField:s,valueField:a,readOnly:o=!1,orientation:i=Ie.Vertical,className:c,onChange:f})=>{const[h,p]=d.useState([]),y=ar(()=>n,[n]);d.useEffect(()=>{p(t??[])},[t]);const x=R=>{const{value:z,checked:F}=R;let b;F?b=[...h,z]:b=h.filter(A=>A!==z),p(b),f==null||f({name:e,value:b})},w=(R,z)=>l.jsx(zn,{name:e,label:R[s],value:R[a],checked:h.some(F=>F===R[a]),readOnly:o,onChange:F=>F&&x(F),className:"bsc-mr-3"},`${e}_checkbox_${z}`),O=ue("bsc-flex bsc-flex-col bsc-gap-1",c),_=ue("bsc-flex bsc-gap-1",{"bsc-flex-col":i===Ie.Vertical}),S=R=>l.jsx("div",{className:_,children:R.map(w)});return l.jsxs("div",{className:O,children:[r&&l.jsx(Ze,{label:r,readOnly:o}),y&&S(y)]})},mo=d.memo(po);var bo=typeof global=="object"&&global&&global.Object===Object&&global;const Un=bo;var go=typeof self=="object"&&self&&self.Object===Object&&self,yo=Un||go||Function("return this")();const Ye=yo;var vo=Ye.Symbol;const bt=vo;var qn=Object.prototype,xo=qn.hasOwnProperty,wo=qn.toString,Lt=bt?bt.toStringTag:void 0;function To(e){var r=xo.call(e,Lt),t=e[Lt];try{e[Lt]=void 0;var n=!0}catch{}var s=wo.call(e);return n&&(r?e[Lt]=t:delete e[Lt]),s}var So=Object.prototype,Po=So.toString;function Eo(e){return Po.call(e)}var ko="[object Null]",Co="[object Undefined]",Gn=bt?bt.toStringTag:void 0;function gt(e){return e==null?e===void 0?Co:ko:Gn&&Gn in Object(e)?To(e):Eo(e)}function yt(e){return e!=null&&typeof e=="object"}var Do="[object Symbol]";function Oo(e){return typeof e=="symbol"||yt(e)&&gt(e)==Do}var _o=Array.isArray;const Br=_o;var No=/\s/;function Io(e){for(var r=e.length;r--&&No.test(e.charAt(r)););return r}var jo=/^\s+/;function Mo(e){return e&&e.slice(0,Io(e)+1).replace(jo,"")}function Qe(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}var Zn=0/0,Ro=/^[-+]0x[0-9a-f]+$/i,Ao=/^0b[01]+$/i,Lo=/^0o[0-7]+$/i,$o=parseInt;function Qn(e){if(typeof e=="number")return e;if(Oo(e))return Zn;if(Qe(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=Qe(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=Mo(e);var t=Ao.test(e);return t||Lo.test(e)?$o(e.slice(2),t?2:8):Ro.test(e)?Zn:+e}var Fo="[object AsyncFunction]",Yo="[object Function]",Ho="[object GeneratorFunction]",Wo="[object Proxy]";function Kn(e){if(!Qe(e))return!1;var r=gt(e);return r==Yo||r==Ho||r==Fo||r==Wo}var Vo=Ye["__core-js_shared__"];const zr=Vo;var Xn=function(){var e=/[^.]+$/.exec(zr&&zr.keys&&zr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Bo(e){return!!Xn&&Xn in e}var zo=Function.prototype,Uo=zo.toString;function at(e){if(e!=null){try{return Uo.call(e)}catch{}try{return e+""}catch{}}return""}var qo=/[\\^$.*+?()[\]{}|]/g,Go=/^\[object .+?Constructor\]$/,Zo=Function.prototype,Qo=Object.prototype,Ko=Zo.toString,Xo=Qo.hasOwnProperty,Jo=RegExp("^"+Ko.call(Xo).replace(qo,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ei(e){if(!Qe(e)||Bo(e))return!1;var r=Kn(e)?Jo:Go;return r.test(at(e))}function ti(e,r){return e==null?void 0:e[r]}function ot(e,r){var t=ti(e,r);return ei(t)?t:void 0}var ri=ot(Ye,"WeakMap");const Ur=ri;var Jn=Object.create,ni=function(){function e(){}return function(r){if(!Qe(r))return{};if(Jn)return Jn(r);e.prototype=r;var t=new e;return e.prototype=void 0,t}}();const si=ni;function ai(e,r){var t=-1,n=e.length;for(r||(r=Array(n));++t<n;)r[t]=e[t];return r}var oi=function(){try{var e=ot(Object,"defineProperty");return e({},"",{}),e}catch{}}();const es=oi;function ii(e,r){for(var t=-1,n=e==null?0:e.length;++t<n&&r(e[t],t,e)!==!1;);return e}var ci=9007199254740991,ui=/^(?:0|[1-9]\d*)$/;function li(e,r){var t=typeof e;return r=r??ci,!!r&&(t=="number"||t!="symbol"&&ui.test(e))&&e>-1&&e%1==0&&e<r}function ts(e,r,t){r=="__proto__"&&es?es(e,r,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[r]=t}function rs(e,r){return e===r||e!==e&&r!==r}var fi=Object.prototype,di=fi.hasOwnProperty;function ns(e,r,t){var n=e[r];(!(di.call(e,r)&&rs(n,t))||t===void 0&&!(r in e))&&ts(e,r,t)}function or(e,r,t,n){var s=!t;t||(t={});for(var a=-1,o=r.length;++a<o;){var i=r[a],c=n?n(t[i],e[i],i,t,e):void 0;c===void 0&&(c=e[i]),s?ts(t,i,c):ns(t,i,c)}return t}var hi=9007199254740991;function ss(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=hi}function as(e){return e!=null&&ss(e.length)&&!Kn(e)}var pi=Object.prototype;function qr(e){var r=e&&e.constructor,t=typeof r=="function"&&r.prototype||pi;return e===t}function mi(e,r){for(var t=-1,n=Array(e);++t<e;)n[t]=r(t);return n}var bi="[object Arguments]";function os(e){return yt(e)&&gt(e)==bi}var is=Object.prototype,gi=is.hasOwnProperty,yi=is.propertyIsEnumerable,vi=os(function(){return arguments}())?os:function(e){return yt(e)&&gi.call(e,"callee")&&!yi.call(e,"callee")};const xi=vi;function wi(){return!1}var cs=typeof K=="object"&&K&&!K.nodeType&&K,us=cs&&typeof module=="object"&&module&&!module.nodeType&&module,Ti=us&&us.exports===cs,ls=Ti?Ye.Buffer:void 0,Si=ls?ls.isBuffer:void 0,Pi=Si||wi;const fs=Pi;var Ei="[object Arguments]",ki="[object Array]",Ci="[object Boolean]",Di="[object Date]",Oi="[object Error]",_i="[object Function]",Ni="[object Map]",Ii="[object Number]",ji="[object Object]",Mi="[object RegExp]",Ri="[object Set]",Ai="[object String]",Li="[object WeakMap]",$i="[object ArrayBuffer]",Fi="[object DataView]",Yi="[object Float32Array]",Hi="[object Float64Array]",Wi="[object Int8Array]",Vi="[object Int16Array]",Bi="[object Int32Array]",zi="[object Uint8Array]",Ui="[object Uint8ClampedArray]",qi="[object Uint16Array]",Gi="[object Uint32Array]",xe={};xe[Yi]=xe[Hi]=xe[Wi]=xe[Vi]=xe[Bi]=xe[zi]=xe[Ui]=xe[qi]=xe[Gi]=!0,xe[Ei]=xe[ki]=xe[$i]=xe[Ci]=xe[Fi]=xe[Di]=xe[Oi]=xe[_i]=xe[Ni]=xe[Ii]=xe[ji]=xe[Mi]=xe[Ri]=xe[Ai]=xe[Li]=!1;function Zi(e){return yt(e)&&ss(e.length)&&!!xe[gt(e)]}function Gr(e){return function(r){return e(r)}}var ds=typeof K=="object"&&K&&!K.nodeType&&K,$t=ds&&typeof module=="object"&&module&&!module.nodeType&&module,Qi=$t&&$t.exports===ds,Zr=Qi&&Un.process,Ki=function(){try{var e=$t&&$t.require&&$t.require("util").types;return e||Zr&&Zr.binding&&Zr.binding("util")}catch{}}();const vt=Ki;var hs=vt&&vt.isTypedArray,Xi=hs?Gr(hs):Zi;const Ji=Xi;var ec=Object.prototype,tc=ec.hasOwnProperty;function ps(e,r){var t=Br(e),n=!t&&xi(e),s=!t&&!n&&fs(e),a=!t&&!n&&!s&&Ji(e),o=t||n||s||a,i=o?mi(e.length,String):[],c=i.length;for(var f in e)(r||tc.call(e,f))&&!(o&&(f=="length"||s&&(f=="offset"||f=="parent")||a&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||li(f,c)))&&i.push(f);return i}function ms(e,r){return function(t){return e(r(t))}}var rc=ms(Object.keys,Object);const nc=rc;var sc=Object.prototype,ac=sc.hasOwnProperty;function oc(e){if(!qr(e))return nc(e);var r=[];for(var t in Object(e))ac.call(e,t)&&t!="constructor"&&r.push(t);return r}function Qr(e){return as(e)?ps(e):oc(e)}function ic(e){var r=[];if(e!=null)for(var t in Object(e))r.push(t);return r}var cc=Object.prototype,uc=cc.hasOwnProperty;function lc(e){if(!Qe(e))return ic(e);var r=qr(e),t=[];for(var n in e)n=="constructor"&&(r||!uc.call(e,n))||t.push(n);return t}function Kr(e){return as(e)?ps(e,!0):lc(e)}var fc=ot(Object,"create");const Ft=fc;function dc(){this.__data__=Ft?Ft(null):{},this.size=0}function hc(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}var pc="__lodash_hash_undefined__",mc=Object.prototype,bc=mc.hasOwnProperty;function gc(e){var r=this.__data__;if(Ft){var t=r[e];return t===pc?void 0:t}return bc.call(r,e)?r[e]:void 0}var yc=Object.prototype,vc=yc.hasOwnProperty;function xc(e){var r=this.__data__;return Ft?r[e]!==void 0:vc.call(r,e)}var wc="__lodash_hash_undefined__";function Tc(e,r){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=Ft&&r===void 0?wc:r,this}function it(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}it.prototype.clear=dc,it.prototype.delete=hc,it.prototype.get=gc,it.prototype.has=xc,it.prototype.set=Tc;function Sc(){this.__data__=[],this.size=0}function ir(e,r){for(var t=e.length;t--;)if(rs(e[t][0],r))return t;return-1}var Pc=Array.prototype,Ec=Pc.splice;function kc(e){var r=this.__data__,t=ir(r,e);if(t<0)return!1;var n=r.length-1;return t==n?r.pop():Ec.call(r,t,1),--this.size,!0}function Cc(e){var r=this.__data__,t=ir(r,e);return t<0?void 0:r[t][1]}function Dc(e){return ir(this.__data__,e)>-1}function Oc(e,r){var t=this.__data__,n=ir(t,e);return n<0?(++this.size,t.push([e,r])):t[n][1]=r,this}function Ke(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}Ke.prototype.clear=Sc,Ke.prototype.delete=kc,Ke.prototype.get=Cc,Ke.prototype.has=Dc,Ke.prototype.set=Oc;var _c=ot(Ye,"Map");const Yt=_c;function Nc(){this.size=0,this.__data__={hash:new it,map:new(Yt||Ke),string:new it}}function Ic(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}function cr(e,r){var t=e.__data__;return Ic(r)?t[typeof r=="string"?"string":"hash"]:t.map}function jc(e){var r=cr(this,e).delete(e);return this.size-=r?1:0,r}function Mc(e){return cr(this,e).get(e)}function Rc(e){return cr(this,e).has(e)}function Ac(e,r){var t=cr(this,e),n=t.size;return t.set(e,r),this.size+=t.size==n?0:1,this}function xt(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}xt.prototype.clear=Nc,xt.prototype.delete=jc,xt.prototype.get=Mc,xt.prototype.has=Rc,xt.prototype.set=Ac;function bs(e,r){for(var t=-1,n=r.length,s=e.length;++t<n;)e[s+t]=r[t];return e}var Lc=ms(Object.getPrototypeOf,Object);const gs=Lc;function $c(){this.__data__=new Ke,this.size=0}function Fc(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t}function Yc(e){return this.__data__.get(e)}function Hc(e){return this.__data__.has(e)}var Wc=200;function Vc(e,r){var t=this.__data__;if(t instanceof Ke){var n=t.__data__;if(!Yt||n.length<Wc-1)return n.push([e,r]),this.size=++t.size,this;t=this.__data__=new xt(n)}return t.set(e,r),this.size=t.size,this}function wt(e){var r=this.__data__=new Ke(e);this.size=r.size}wt.prototype.clear=$c,wt.prototype.delete=Fc,wt.prototype.get=Yc,wt.prototype.has=Hc,wt.prototype.set=Vc;function Bc(e,r){return e&&or(r,Qr(r),e)}function zc(e,r){return e&&or(r,Kr(r),e)}var ys=typeof K=="object"&&K&&!K.nodeType&&K,vs=ys&&typeof module=="object"&&module&&!module.nodeType&&module,Uc=vs&&vs.exports===ys,xs=Uc?Ye.Buffer:void 0,ws=xs?xs.allocUnsafe:void 0;function qc(e,r){if(r)return e.slice();var t=e.length,n=ws?ws(t):new e.constructor(t);return e.copy(n),n}function Gc(e,r){for(var t=-1,n=e==null?0:e.length,s=0,a=[];++t<n;){var o=e[t];r(o,t,e)&&(a[s++]=o)}return a}function Ts(){return[]}var Zc=Object.prototype,Qc=Zc.propertyIsEnumerable,Ss=Object.getOwnPropertySymbols,Kc=Ss?function(e){return e==null?[]:(e=Object(e),Gc(Ss(e),function(r){return Qc.call(e,r)}))}:Ts;const Xr=Kc;function Xc(e,r){return or(e,Xr(e),r)}var Jc=Object.getOwnPropertySymbols,eu=Jc?function(e){for(var r=[];e;)bs(r,Xr(e)),e=gs(e);return r}:Ts;const Ps=eu;function tu(e,r){return or(e,Ps(e),r)}function Es(e,r,t){var n=r(e);return Br(e)?n:bs(n,t(e))}function ru(e){return Es(e,Qr,Xr)}function nu(e){return Es(e,Kr,Ps)}var su=ot(Ye,"DataView");const Jr=su;var au=ot(Ye,"Promise");const en=au;var ou=ot(Ye,"Set");const tn=ou;var ks="[object Map]",iu="[object Object]",Cs="[object Promise]",Ds="[object Set]",Os="[object WeakMap]",_s="[object DataView]",cu=at(Jr),uu=at(Yt),lu=at(en),fu=at(tn),du=at(Ur),ct=gt;(Jr&&ct(new Jr(new ArrayBuffer(1)))!=_s||Yt&&ct(new Yt)!=ks||en&&ct(en.resolve())!=Cs||tn&&ct(new tn)!=Ds||Ur&&ct(new Ur)!=Os)&&(ct=function(e){var r=gt(e),t=r==iu?e.constructor:void 0,n=t?at(t):"";if(n)switch(n){case cu:return _s;case uu:return ks;case lu:return Cs;case fu:return Ds;case du:return Os}return r});const rn=ct;var hu=Object.prototype,pu=hu.hasOwnProperty;function mu(e){var r=e.length,t=new e.constructor(r);return r&&typeof e[0]=="string"&&pu.call(e,"index")&&(t.index=e.index,t.input=e.input),t}var bu=Ye.Uint8Array;const Ns=bu;function nn(e){var r=new e.constructor(e.byteLength);return new Ns(r).set(new Ns(e)),r}function gu(e,r){var t=r?nn(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.byteLength)}var yu=/\w*$/;function vu(e){var r=new e.constructor(e.source,yu.exec(e));return r.lastIndex=e.lastIndex,r}var Is=bt?bt.prototype:void 0,js=Is?Is.valueOf:void 0;function xu(e){return js?Object(js.call(e)):{}}function wu(e,r){var t=r?nn(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}var Tu="[object Boolean]",Su="[object Date]",Pu="[object Map]",Eu="[object Number]",ku="[object RegExp]",Cu="[object Set]",Du="[object String]",Ou="[object Symbol]",_u="[object ArrayBuffer]",Nu="[object DataView]",Iu="[object Float32Array]",ju="[object Float64Array]",Mu="[object Int8Array]",Ru="[object Int16Array]",Au="[object Int32Array]",Lu="[object Uint8Array]",$u="[object Uint8ClampedArray]",Fu="[object Uint16Array]",Yu="[object Uint32Array]";function Hu(e,r,t){var n=e.constructor;switch(r){case _u:return nn(e);case Tu:case Su:return new n(+e);case Nu:return gu(e,t);case Iu:case ju:case Mu:case Ru:case Au:case Lu:case $u:case Fu:case Yu:return wu(e,t);case Pu:return new n;case Eu:case Du:return new n(e);case ku:return vu(e);case Cu:return new n;case Ou:return xu(e)}}function Wu(e){return typeof e.constructor=="function"&&!qr(e)?si(gs(e)):{}}var Vu="[object Map]";function Bu(e){return yt(e)&&rn(e)==Vu}var Ms=vt&&vt.isMap,zu=Ms?Gr(Ms):Bu;const Uu=zu;var qu="[object Set]";function Gu(e){return yt(e)&&rn(e)==qu}var Rs=vt&&vt.isSet,Zu=Rs?Gr(Rs):Gu;const Qu=Zu;var Ku=1,Xu=2,Ju=4,As="[object Arguments]",el="[object Array]",tl="[object Boolean]",rl="[object Date]",nl="[object Error]",Ls="[object Function]",sl="[object GeneratorFunction]",al="[object Map]",ol="[object Number]",$s="[object Object]",il="[object RegExp]",cl="[object Set]",ul="[object String]",ll="[object Symbol]",fl="[object WeakMap]",dl="[object ArrayBuffer]",hl="[object DataView]",pl="[object Float32Array]",ml="[object Float64Array]",bl="[object Int8Array]",gl="[object Int16Array]",yl="[object Int32Array]",vl="[object Uint8Array]",xl="[object Uint8ClampedArray]",wl="[object Uint16Array]",Tl="[object Uint32Array]",ye={};ye[As]=ye[el]=ye[dl]=ye[hl]=ye[tl]=ye[rl]=ye[pl]=ye[ml]=ye[bl]=ye[gl]=ye[yl]=ye[al]=ye[ol]=ye[$s]=ye[il]=ye[cl]=ye[ul]=ye[ll]=ye[vl]=ye[xl]=ye[wl]=ye[Tl]=!0,ye[nl]=ye[Ls]=ye[fl]=!1;function ur(e,r,t,n,s,a){var o,i=r&Ku,c=r&Xu,f=r&Ju;if(t&&(o=s?t(e,n,s,a):t(e)),o!==void 0)return o;if(!Qe(e))return e;var h=Br(e);if(h){if(o=mu(e),!i)return ai(e,o)}else{var p=rn(e),y=p==Ls||p==sl;if(fs(e))return qc(e,i);if(p==$s||p==As||y&&!s){if(o=c||y?{}:Wu(e),!i)return c?tu(e,zc(o,e)):Xc(e,Bc(o,e))}else{if(!ye[p])return s?e:{};o=Hu(e,p,i)}}a||(a=new wt);var x=a.get(e);if(x)return x;a.set(e,o),Qu(e)?e.forEach(function(_){o.add(ur(_,r,t,_,e,a))}):Uu(e)&&e.forEach(function(_,S){o.set(S,ur(_,r,t,S,e,a))});var w=f?c?nu:ru:c?Kr:Qr,O=h?void 0:w(e);return ii(O||e,function(_,S){O&&(S=_,_=e[S]),ns(o,S,ur(_,r,t,S,e,a))}),o}var Sl=1,Pl=4;function El(e){return ur(e,Sl|Pl)}var kl=function(){return Ye.Date.now()};const sn=kl;var Cl="Expected a function",Dl=Math.max,Ol=Math.min;function Ht(e,r,t){var n,s,a,o,i,c,f=0,h=!1,p=!1,y=!0;if(typeof e!="function")throw new TypeError(Cl);r=Qn(r)||0,Qe(t)&&(h=!!t.leading,p="maxWait"in t,a=p?Dl(Qn(t.maxWait)||0,r):a,y="trailing"in t?!!t.trailing:y);function x(A){var k=n,W=s;return n=s=void 0,f=A,o=e.apply(W,k),o}function w(A){return f=A,i=setTimeout(S,r),h?x(A):o}function O(A){var k=A-c,W=A-f,V=r-k;return p?Ol(V,a-W):V}function _(A){var k=A-c,W=A-f;return c===void 0||k>=r||k<0||p&&W>=a}function S(){var A=sn();if(_(A))return R(A);i=setTimeout(S,O(A))}function R(A){return i=void 0,y&&n?x(A):(n=s=void 0,o)}function z(){i!==void 0&&clearTimeout(i),f=0,n=c=s=i=void 0}function F(){return i===void 0?o:R(sn())}function b(){var A=sn(),k=_(A);if(n=arguments,s=this,c=A,k){if(i===void 0)return w(c);if(p)return clearTimeout(i),i=setTimeout(S,r),x(c)}return i===void 0&&(i=setTimeout(S,r)),o}return b.cancel=z,b.flush=F,b}var _l="Expected a function";function Nl(e,r,t){var n=!0,s=!0;if(typeof e!="function")throw new TypeError(_l);return Qe(t)&&(n="leading"in t?!!t.leading:n,s="trailing"in t?!!t.trailing:s),Ht(e,r,{leading:n,maxWait:r,trailing:s})}const Il=(e,r)=>{const{value:t,readOnly:n=!1,debounceTime:s=800,fillContainer:a=!0,leftElement:o,rightElement:i,className:c,leftElementClassName:f,rightElementClassName:h,isSingleLine:p=!0,allowSingleLineScroll:y=!1,inputMode:x,placeholder:w,onFocus:O,onBlur:_,onInput:S,onInnerTextChange:R,onInnerHTMLChange:z,onElementCreate:F,onLeftElementClick:b,onRightElementClick:A}=e,k=d.useRef("bsc-flex-grow focus:bsc-outline-none"),W=d.useRef("bsc-text-gray-4"),V=d.useRef(),ne=d.useCallback(P=>{const Y=P.target,G=Y.innerHTML;Y.className=`${k.current}`,w&&G===w&&(Y.innerHTML=""),O==null||O(P)},[w,O]),te=d.useCallback(P=>{const Y=P.target.innerHTML;if(w&&Y===""){const G=P.target;G.innerHTML=w,G.className=`${k.current} ${W.current}`}_==null||_(P)},[w,_]),X=d.useCallback(P=>{var Y,G;(Y=V.current)==null||Y.removeEventListener("focus",ne),(G=V.current)==null||G.removeEventListener("blur",te),w&&P&&P!==document.activeElement&&P.innerHTML===""&&(P.innerHTML=w,P.className=`${k.current} ${W.current}`),P.addEventListener("focus",ne),P.addEventListener("blur",te),V.current=P},[w]),N=d.useCallback(P=>{F==null||F(P)},[F]),$=P=>{b==null||b(P)},j=P=>{A==null||A(P)},C=Ht(P=>{S==null||S(P),R==null||R(P.target.innerText),z==null||z(P.target.innerHTML)},s),q=d.useCallback(P=>{V.current&&(V.current.innerText=P)},[]),v=d.useCallback(P=>{V.current&&(V.current.innerHTML=P)},[]),ee=d.useCallback(()=>{var P;(P=V.current)==null||P.focus()},[]);d.useImperativeHandle(r,()=>({inputElement:V.current,setInnerText:q,setInnerHTML:v,focus:ee}));const g=ue({"bsc-w-full ":a},"bsc-flex bsc-flex-row bsc-items-center bsc-shadow-sm bsc-border bsc-border-solid bsc-border-gray-3 dark:bsc-border-white dark:bsc-bg-mono-dark-1 dark:bsc-text-mono-light-1 bsc-rounded-md bsc-p-2",{"bsc-overflow-x-auto bsc-overflow-y-hidden bsc-whitespace-pre":p&&y,"bsc-overflow-hidden bsc-whitespace-pre":p&&!y},c),D=ue("bsc-flex-shrink",{"bsc-mr-2":o},f),B=ue("bsc-flex-shrink",{"bsc-ml-2":i},h);return l.jsxs("div",{className:g,ref:P=>P&&N(P),children:[o&&l.jsx("div",{className:D,onClick:$,children:o}),l.jsx("div",{ref:P=>P&&X(P),className:k.current,contentEditable:!n,suppressContentEditableWarning:!0,inputMode:x,onInput:C,children:t}),i&&l.jsx("div",{className:B,onClick:j,children:i})]})},lr=d.forwardRef(Il);function fe(e){const r=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&r==="[object Date]"?new e.constructor(+e):typeof e=="number"||r==="[object Number]"||typeof e=="string"||r==="[object String]"?new Date(e):new Date(NaN)}function ve(e,r){return e instanceof Date?new e.constructor(r):new Date(r)}function Tt(e,r){const t=fe(e);return isNaN(r)?ve(e,NaN):(r&&t.setDate(t.getDate()+r),t)}function ut(e,r){const t=fe(e);if(isNaN(r))return ve(e,NaN);if(!r)return t;const n=t.getDate(),s=ve(e,t.getTime());s.setMonth(t.getMonth()+r+1,0);const a=s.getDate();return n>=a?s:(t.setFullYear(s.getFullYear(),s.getMonth(),n),t)}const Fs=6048e5,an=6e4,on=36e5,jl=1e3;let Ml={};function Wt(){return Ml}function tt(e,r){var i,c,f,h;const t=Wt(),n=(r==null?void 0:r.weekStartsOn)??((c=(i=r==null?void 0:r.locale)==null?void 0:i.options)==null?void 0:c.weekStartsOn)??t.weekStartsOn??((h=(f=t.locale)==null?void 0:f.options)==null?void 0:h.weekStartsOn)??0,s=fe(e),a=s.getDay(),o=(a<n?7:0)+a-n;return s.setDate(s.getDate()-o),s.setHours(0,0,0,0),s}function St(e){return tt(e,{weekStartsOn:1})}function Rl(e){const r=fe(e),t=r.getFullYear(),n=ve(e,0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);const s=St(n),a=ve(e,0);a.setFullYear(t,0,4),a.setHours(0,0,0,0);const o=St(a);return r.getTime()>=s.getTime()?t+1:r.getTime()>=o.getTime()?t:t-1}function Ys(e){const r=fe(e);return r.setHours(0,0,0,0),r}function Hs(e){const r=fe(e),t=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return t.setUTCFullYear(r.getFullYear()),+e-+t}function Al(e){const r=Rl(e),t=ve(e,0);return t.setFullYear(r,0,4),t.setHours(0,0,0,0),St(t)}function fr(e,r){return ut(e,r*12)}function Ws(e,r){const t=Ys(e),n=Ys(r);return+t==+n}function Ll(e){const r=fe(e),t=r.getMonth();return r.setFullYear(r.getFullYear(),t+1,0),r.setHours(23,59,59,999),r}function $l(e,r){const t=fe(e.start),n=fe(e.end);let s=+t>+n;const a=s?+t:+n,o=s?n:t;o.setHours(0,0,0,0);let i=(r==null?void 0:r.step)??1;if(!i)return[];i<0&&(i=-i,s=!s);const c=[];for(;+o<=a;)c.push(fe(o)),o.setDate(o.getDate()+i),o.setHours(0,0,0,0);return s?c.reverse():c}function Vs(e){const r=fe(e);return r.setDate(1),r.setHours(0,0,0,0),r}function Fl(e,r){const t=fe(e.start),n=fe(e.end);let s=+t>+n;const a=s?+t:+n,o=s?n:t;o.setHours(0,0,0,0),o.setMonth(0,1);let i=(r==null?void 0:r.step)??1;if(!i)return[];i<0&&(i=-i,s=!s);const c=[];for(;+o<=a;)c.push(fe(o)),o.setFullYear(o.getFullYear()+i);return s?c.reverse():c}const Yl={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"}},Hl=(e,r,t)=>{let n;const s=Yl[e];return typeof s=="string"?n=s:r===1?n=s.one:n=s.other.replace("{{count}}",r.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+n:n+" ago":n};function cn(e){return(r={})=>{const t=r.width?String(r.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const Wl={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Vl={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Bl={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},zl={date:cn({formats:Wl,defaultWidth:"full"}),time:cn({formats:Vl,defaultWidth:"full"}),dateTime:cn({formats:Bl,defaultWidth:"full"})},Ul={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},ql=(e,r,t,n)=>Ul[e];function Vt(e){return(r,t)=>{const n=t!=null&&t.context?String(t.context):"standalone";let s;if(n==="formatting"&&e.formattingValues){const o=e.defaultFormattingWidth||e.defaultWidth,i=t!=null&&t.width?String(t.width):o;s=e.formattingValues[i]||e.formattingValues[o]}else{const o=e.defaultWidth,i=t!=null&&t.width?String(t.width):e.defaultWidth;s=e.values[i]||e.values[o]}const a=e.argumentCallback?e.argumentCallback(r):r;return s[a]}}const Gl={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Zl={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Ql={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"]},Kl={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"]},Xl={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"}},Jl={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"}},ef={ordinalNumber:(e,r)=>{const t=Number(e),n=t%100;if(n>20||n<10)switch(n%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},era:Vt({values:Gl,defaultWidth:"wide"}),quarter:Vt({values:Zl,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Vt({values:Ql,defaultWidth:"wide"}),day:Vt({values:Kl,defaultWidth:"wide"}),dayPeriod:Vt({values:Xl,defaultWidth:"wide",formattingValues:Jl,defaultFormattingWidth:"wide"})};function Bt(e){return(r,t={})=>{const n=t.width,s=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],a=r.match(s);if(!a)return null;const o=a[0],i=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(i)?rf(i,p=>p.test(o)):tf(i,p=>p.test(o));let f;f=e.valueCallback?e.valueCallback(c):c,f=t.valueCallback?t.valueCallback(f):f;const h=r.slice(o.length);return{value:f,rest:h}}}function tf(e,r){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&r(e[t]))return t}function rf(e,r){for(let t=0;t<e.length;t++)if(r(e[t]))return t}function nf(e){return(r,t={})=>{const n=r.match(e.matchPattern);if(!n)return null;const s=n[0],a=r.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];o=t.valueCallback?t.valueCallback(o):o;const i=r.slice(s.length);return{value:o,rest:i}}}const sf=/^(\d+)(th|st|nd|rd)?/i,af=/\d+/i,of={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},cf={any:[/^b/i,/^(a|c)/i]},uf={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},lf={any:[/1/i,/2/i,/3/i,/4/i]},ff={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},df={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]},hf={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},pf={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]},mf={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},bf={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}},gf={ordinalNumber:nf({matchPattern:sf,parsePattern:af,valueCallback:e=>parseInt(e,10)}),era:Bt({matchPatterns:of,defaultMatchWidth:"wide",parsePatterns:cf,defaultParseWidth:"any"}),quarter:Bt({matchPatterns:uf,defaultMatchWidth:"wide",parsePatterns:lf,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Bt({matchPatterns:ff,defaultMatchWidth:"wide",parsePatterns:df,defaultParseWidth:"any"}),day:Bt({matchPatterns:hf,defaultMatchWidth:"wide",parsePatterns:pf,defaultParseWidth:"any"}),dayPeriod:Bt({matchPatterns:mf,defaultMatchWidth:"any",parsePatterns:bf,defaultParseWidth:"any"})},yf={code:"en-US",formatDistance:Hl,formatLong:zl,formatRelative:ql,localize:ef,match:gf,options:{weekStartsOn:0,firstWeekContainsDate:1}};function vf(e){const r=fe(e),t=+St(r)-+Al(r);return Math.round(t/Fs)+1}function Bs(e,r){var h,p,y,x;const t=fe(e),n=t.getFullYear(),s=Wt(),a=(r==null?void 0:r.firstWeekContainsDate)??((p=(h=r==null?void 0:r.locale)==null?void 0:h.options)==null?void 0:p.firstWeekContainsDate)??s.firstWeekContainsDate??((x=(y=s.locale)==null?void 0:y.options)==null?void 0:x.firstWeekContainsDate)??1,o=ve(e,0);o.setFullYear(n+1,0,a),o.setHours(0,0,0,0);const i=tt(o,r),c=ve(e,0);c.setFullYear(n,0,a),c.setHours(0,0,0,0);const f=tt(c,r);return t.getTime()>=i.getTime()?n+1:t.getTime()>=f.getTime()?n:n-1}function xf(e,r){var i,c,f,h;const t=Wt(),n=(r==null?void 0:r.firstWeekContainsDate)??((c=(i=r==null?void 0:r.locale)==null?void 0:i.options)==null?void 0:c.firstWeekContainsDate)??t.firstWeekContainsDate??((h=(f=t.locale)==null?void 0:f.options)==null?void 0:h.firstWeekContainsDate)??1,s=Bs(e,r),a=ve(e,0);return a.setFullYear(s,0,n),a.setHours(0,0,0,0),tt(a,r)}function wf(e,r){const t=fe(e),n=+tt(t,r)-+xf(t,r);return Math.round(n/Fs)+1}const zs=(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"})}},Us=(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"})}},qs={p:Us,P:(e,r)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],s=t[2];if(!s)return zs(e,r);let a;switch(n){case"P":a=r.dateTime({width:"short"});break;case"PP":a=r.dateTime({width:"medium"});break;case"PPP":a=r.dateTime({width:"long"});break;case"PPPP":default:a=r.dateTime({width:"full"});break}return a.replace("{{date}}",zs(n,r)).replace("{{time}}",Us(s,r))}},Tf=/^D+$/,Sf=/^Y+$/,Pf=["D","DD","YY","YYYY"];function Ef(e){return Tf.test(e)}function kf(e){return Sf.test(e)}function Gs(e,r,t){const n=Cf(e,r,t);if(console.warn(n),Pf.includes(e))throw new RangeError(n)}function Cf(e,r,t){const n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${r}\`) for formatting ${n} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function un(e){return fe(e).getDay()}function Zs(e){const r=fe(e),t=r.getFullYear(),n=r.getMonth(),s=ve(e,0);return s.setFullYear(t,n+1,0),s.setHours(0,0,0,0),s.getDate()}function Df(){return Object.assign({},Wt())}function Of(e){let t=fe(e).getDay();return t===0&&(t=7),t}function _f(e){const r=fe(e),t=r.getMonth();return r.setFullYear(r.getFullYear(),t+1,0),r.setHours(0,0,0,0),r}function Nf(e,r){const t=fe(e),n=fe(r);return+t<+n}function If(e,r){const t=r instanceof Date?ve(r,0):new r(0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}const jf=10;class Qs{constructor(){m(this,"subPriority",0)}validate(r,t){return!0}}class Mf extends Qs{constructor(r,t,n,s,a){super(),this.value=r,this.validateValue=t,this.setValue=n,this.priority=s,a&&(this.subPriority=a)}validate(r,t){return this.validateValue(r,this.value,t)}set(r,t,n){return this.setValue(r,t,this.value,n)}}class Rf extends Qs{constructor(){super(...arguments);m(this,"priority",jf);m(this,"subPriority",-1)}set(t,n){return n.timestampIsSet?t:ve(t,If(t,Date))}}class de{run(r,t,n,s){const a=this.parse(r,t,n,s);return a?{setter:new Mf(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(r,t,n){return!0}}class Af extends de{constructor(){super(...arguments);m(this,"priority",140);m(this,"incompatibleTokens",["R","u","t","T"])}parse(t,n,s){switch(n){case"G":case"GG":case"GGG":return s.era(t,{width:"abbreviated"})||s.era(t,{width:"narrow"});case"GGGGG":return s.era(t,{width:"narrow"});case"GGGG":default:return s.era(t,{width:"wide"})||s.era(t,{width:"abbreviated"})||s.era(t,{width:"narrow"})}}set(t,n,s){return n.era=s,t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}}const Ee={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Ve={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function ke(e,r){return e&&{value:r(e.value),rest:e.rest}}function Te(e,r){const t=r.match(e);return t?{value:parseInt(t[0],10),rest:r.slice(t[0].length)}:null}function Be(e,r){const t=r.match(e);if(!t)return null;if(t[0]==="Z")return{value:0,rest:r.slice(1)};const n=t[1]==="+"?1:-1,s=t[2]?parseInt(t[2],10):0,a=t[3]?parseInt(t[3],10):0,o=t[5]?parseInt(t[5],10):0;return{value:n*(s*on+a*an+o*jl),rest:r.slice(t[0].length)}}function Ks(e){return Te(Ee.anyDigitsSigned,e)}function Se(e,r){switch(e){case 1:return Te(Ee.singleDigit,r);case 2:return Te(Ee.twoDigits,r);case 3:return Te(Ee.threeDigits,r);case 4:return Te(Ee.fourDigits,r);default:return Te(new RegExp("^\\d{1,"+e+"}"),r)}}function dr(e,r){switch(e){case 1:return Te(Ee.singleDigitSigned,r);case 2:return Te(Ee.twoDigitsSigned,r);case 3:return Te(Ee.threeDigitsSigned,r);case 4:return Te(Ee.fourDigitsSigned,r);default:return Te(new RegExp("^-?\\d{1,"+e+"}"),r)}}function ln(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function Xs(e,r){const t=r>0,n=t?r:1-r;let s;if(n<=50)s=e||100;else{const a=n+50,o=Math.trunc(a/100)*100,i=e>=a%100;s=e+o-(i?100:0)}return t?s:1-s}function Js(e){return e%400===0||e%4===0&&e%100!==0}class Lf extends de{constructor(){super(...arguments);m(this,"priority",130);m(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,n,s){const a=o=>({year:o,isTwoDigitYear:n==="yy"});switch(n){case"y":return ke(Se(4,t),a);case"yo":return ke(s.ordinalNumber(t,{unit:"year"}),a);default:return ke(Se(n.length,t),a)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,s){const a=t.getFullYear();if(s.isTwoDigitYear){const i=Xs(s.year,a);return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}const o=!("era"in n)||n.era===1?s.year:1-s.year;return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}}class $f extends de{constructor(){super(...arguments);m(this,"priority",130);m(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,n,s){const a=o=>({year:o,isTwoDigitYear:n==="YY"});switch(n){case"Y":return ke(Se(4,t),a);case"Yo":return ke(s.ordinalNumber(t,{unit:"year"}),a);default:return ke(Se(n.length,t),a)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,s,a){const o=Bs(t,a);if(s.isTwoDigitYear){const c=Xs(s.year,o);return t.setFullYear(c,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),tt(t,a)}const i=!("era"in n)||n.era===1?s.year:1-s.year;return t.setFullYear(i,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),tt(t,a)}}class Ff extends de{constructor(){super(...arguments);m(this,"priority",130);m(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return dr(n==="R"?4:n.length,t)}set(t,n,s){const a=ve(t,0);return a.setFullYear(s,0,4),a.setHours(0,0,0,0),St(a)}}class Yf extends de{constructor(){super(...arguments);m(this,"priority",130);m(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return dr(n==="u"?4:n.length,t)}set(t,n,s){return t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}}class Hf extends de{constructor(){super(...arguments);m(this,"priority",120);m(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,s){switch(n){case"Q":case"QQ":return Se(n.length,t);case"Qo":return s.ordinalNumber(t,{unit:"quarter"});case"QQQ":return s.quarter(t,{width:"abbreviated",context:"formatting"})||s.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return s.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return s.quarter(t,{width:"wide",context:"formatting"})||s.quarter(t,{width:"abbreviated",context:"formatting"})||s.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,s){return t.setMonth((s-1)*3,1),t.setHours(0,0,0,0),t}}class Wf extends de{constructor(){super(...arguments);m(this,"priority",120);m(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,s){switch(n){case"q":case"qq":return Se(n.length,t);case"qo":return s.ordinalNumber(t,{unit:"quarter"});case"qqq":return s.quarter(t,{width:"abbreviated",context:"standalone"})||s.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return s.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return s.quarter(t,{width:"wide",context:"standalone"})||s.quarter(t,{width:"abbreviated",context:"standalone"})||s.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,s){return t.setMonth((s-1)*3,1),t.setHours(0,0,0,0),t}}class Vf extends de{constructor(){super(...arguments);m(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);m(this,"priority",110)}parse(t,n,s){const a=o=>o-1;switch(n){case"M":return ke(Te(Ee.month,t),a);case"MM":return ke(Se(2,t),a);case"Mo":return ke(s.ordinalNumber(t,{unit:"month"}),a);case"MMM":return s.month(t,{width:"abbreviated",context:"formatting"})||s.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return s.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return s.month(t,{width:"wide",context:"formatting"})||s.month(t,{width:"abbreviated",context:"formatting"})||s.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,s){return t.setMonth(s,1),t.setHours(0,0,0,0),t}}class Bf extends de{constructor(){super(...arguments);m(this,"priority",110);m(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,s){const a=o=>o-1;switch(n){case"L":return ke(Te(Ee.month,t),a);case"LL":return ke(Se(2,t),a);case"Lo":return ke(s.ordinalNumber(t,{unit:"month"}),a);case"LLL":return s.month(t,{width:"abbreviated",context:"standalone"})||s.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return s.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return s.month(t,{width:"wide",context:"standalone"})||s.month(t,{width:"abbreviated",context:"standalone"})||s.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,s){return t.setMonth(s,1),t.setHours(0,0,0,0),t}}function zf(e,r,t){const n=fe(e),s=wf(n,t)-r;return n.setDate(n.getDate()-s*7),n}class Uf extends de{constructor(){super(...arguments);m(this,"priority",100);m(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,s){switch(n){case"w":return Te(Ee.week,t);case"wo":return s.ordinalNumber(t,{unit:"week"});default:return Se(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,s,a){return tt(zf(t,s,a),a)}}function qf(e,r){const t=fe(e),n=vf(t)-r;return t.setDate(t.getDate()-n*7),t}class Gf extends de{constructor(){super(...arguments);m(this,"priority",100);m(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,s){switch(n){case"I":return Te(Ee.week,t);case"Io":return s.ordinalNumber(t,{unit:"week"});default:return Se(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,s){return St(qf(t,s))}}const Zf=[31,28,31,30,31,30,31,31,30,31,30,31],Qf=[31,29,31,30,31,30,31,31,30,31,30,31];class Kf extends de{constructor(){super(...arguments);m(this,"priority",90);m(this,"subPriority",1);m(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,s){switch(n){case"d":return Te(Ee.date,t);case"do":return s.ordinalNumber(t,{unit:"date"});default:return Se(n.length,t)}}validate(t,n){const s=t.getFullYear(),a=Js(s),o=t.getMonth();return a?n>=1&&n<=Qf[o]:n>=1&&n<=Zf[o]}set(t,n,s){return t.setDate(s),t.setHours(0,0,0,0),t}}class Xf extends de{constructor(){super(...arguments);m(this,"priority",90);m(this,"subpriority",1);m(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,s){switch(n){case"D":case"DD":return Te(Ee.dayOfYear,t);case"Do":return s.ordinalNumber(t,{unit:"date"});default:return Se(n.length,t)}}validate(t,n){const s=t.getFullYear();return Js(s)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,s){return t.setMonth(0,s),t.setHours(0,0,0,0),t}}function fn(e,r,t){var p,y,x,w;const n=Wt(),s=(t==null?void 0:t.weekStartsOn)??((y=(p=t==null?void 0:t.locale)==null?void 0:p.options)==null?void 0:y.weekStartsOn)??n.weekStartsOn??((w=(x=n.locale)==null?void 0:x.options)==null?void 0:w.weekStartsOn)??0,a=fe(e),o=a.getDay(),c=(r%7+7)%7,f=7-s,h=r<0||r>6?r-(o+f)%7:(c+f)%7-(o+f)%7;return Tt(a,h)}class Jf extends de{constructor(){super(...arguments);m(this,"priority",90);m(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,n,s){switch(n){case"E":case"EE":case"EEE":return s.day(t,{width:"abbreviated",context:"formatting"})||s.day(t,{width:"short",context:"formatting"})||s.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return s.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return s.day(t,{width:"short",context:"formatting"})||s.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return s.day(t,{width:"wide",context:"formatting"})||s.day(t,{width:"abbreviated",context:"formatting"})||s.day(t,{width:"short",context:"formatting"})||s.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,s,a){return t=fn(t,s,a),t.setHours(0,0,0,0),t}}class ed extends de{constructor(){super(...arguments);m(this,"priority",90);m(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,s,a){const o=i=>{const c=Math.floor((i-1)/7)*7;return(i+a.weekStartsOn+6)%7+c};switch(n){case"e":case"ee":return ke(Se(n.length,t),o);case"eo":return ke(s.ordinalNumber(t,{unit:"day"}),o);case"eee":return s.day(t,{width:"abbreviated",context:"formatting"})||s.day(t,{width:"short",context:"formatting"})||s.day(t,{width:"narrow",context:"formatting"});case"eeeee":return s.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return s.day(t,{width:"short",context:"formatting"})||s.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return s.day(t,{width:"wide",context:"formatting"})||s.day(t,{width:"abbreviated",context:"formatting"})||s.day(t,{width:"short",context:"formatting"})||s.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,s,a){return t=fn(t,s,a),t.setHours(0,0,0,0),t}}class td extends de{constructor(){super(...arguments);m(this,"priority",90);m(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,s,a){const o=i=>{const c=Math.floor((i-1)/7)*7;return(i+a.weekStartsOn+6)%7+c};switch(n){case"c":case"cc":return ke(Se(n.length,t),o);case"co":return ke(s.ordinalNumber(t,{unit:"day"}),o);case"ccc":return s.day(t,{width:"abbreviated",context:"standalone"})||s.day(t,{width:"short",context:"standalone"})||s.day(t,{width:"narrow",context:"standalone"});case"ccccc":return s.day(t,{width:"narrow",context:"standalone"});case"cccccc":return s.day(t,{width:"short",context:"standalone"})||s.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return s.day(t,{width:"wide",context:"standalone"})||s.day(t,{width:"abbreviated",context:"standalone"})||s.day(t,{width:"short",context:"standalone"})||s.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,s,a){return t=fn(t,s,a),t.setHours(0,0,0,0),t}}function rd(e,r){const t=fe(e),n=Of(t),s=r-n;return Tt(t,s)}class nd extends de{constructor(){super(...arguments);m(this,"priority",90);m(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,n,s){const a=o=>o===0?7:o;switch(n){case"i":case"ii":return Se(n.length,t);case"io":return s.ordinalNumber(t,{unit:"day"});case"iii":return ke(s.day(t,{width:"abbreviated",context:"formatting"})||s.day(t,{width:"short",context:"formatting"})||s.day(t,{width:"narrow",context:"formatting"}),a);case"iiiii":return ke(s.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return ke(s.day(t,{width:"short",context:"formatting"})||s.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return ke(s.day(t,{width:"wide",context:"formatting"})||s.day(t,{width:"abbreviated",context:"formatting"})||s.day(t,{width:"short",context:"formatting"})||s.day(t,{width:"narrow",context:"formatting"}),a)}}validate(t,n){return n>=1&&n<=7}set(t,n,s){return t=rd(t,s),t.setHours(0,0,0,0),t}}class sd extends de{constructor(){super(...arguments);m(this,"priority",80);m(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,n,s){switch(n){case"a":case"aa":case"aaa":return s.dayPeriod(t,{width:"abbreviated",context:"formatting"})||s.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return s.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return s.dayPeriod(t,{width:"wide",context:"formatting"})||s.dayPeriod(t,{width:"abbreviated",context:"formatting"})||s.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,s){return t.setHours(ln(s),0,0,0),t}}class ad extends de{constructor(){super(...arguments);m(this,"priority",80);m(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,n,s){switch(n){case"b":case"bb":case"bbb":return s.dayPeriod(t,{width:"abbreviated",context:"formatting"})||s.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return s.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return s.dayPeriod(t,{width:"wide",context:"formatting"})||s.dayPeriod(t,{width:"abbreviated",context:"formatting"})||s.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,s){return t.setHours(ln(s),0,0,0),t}}class od extends de{constructor(){super(...arguments);m(this,"priority",80);m(this,"incompatibleTokens",["a","b","t","T"])}parse(t,n,s){switch(n){case"B":case"BB":case"BBB":return s.dayPeriod(t,{width:"abbreviated",context:"formatting"})||s.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return s.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return s.dayPeriod(t,{width:"wide",context:"formatting"})||s.dayPeriod(t,{width:"abbreviated",context:"formatting"})||s.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,s){return t.setHours(ln(s),0,0,0),t}}class id extends de{constructor(){super(...arguments);m(this,"priority",70);m(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,s){switch(n){case"h":return Te(Ee.hour12h,t);case"ho":return s.ordinalNumber(t,{unit:"hour"});default:return Se(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,s){const a=t.getHours()>=12;return a&&s<12?t.setHours(s+12,0,0,0):!a&&s===12?t.setHours(0,0,0,0):t.setHours(s,0,0,0),t}}class cd extends de{constructor(){super(...arguments);m(this,"priority",70);m(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,s){switch(n){case"H":return Te(Ee.hour23h,t);case"Ho":return s.ordinalNumber(t,{unit:"hour"});default:return Se(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,s){return t.setHours(s,0,0,0),t}}class ud extends de{constructor(){super(...arguments);m(this,"priority",70);m(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,s){switch(n){case"K":return Te(Ee.hour11h,t);case"Ko":return s.ordinalNumber(t,{unit:"hour"});default:return Se(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,s){return t.getHours()>=12&&s<12?t.setHours(s+12,0,0,0):t.setHours(s,0,0,0),t}}class ld extends de{constructor(){super(...arguments);m(this,"priority",70);m(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,s){switch(n){case"k":return Te(Ee.hour24h,t);case"ko":return s.ordinalNumber(t,{unit:"hour"});default:return Se(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,s){const a=s<=24?s%24:s;return t.setHours(a,0,0,0),t}}class fd extends de{constructor(){super(...arguments);m(this,"priority",60);m(this,"incompatibleTokens",["t","T"])}parse(t,n,s){switch(n){case"m":return Te(Ee.minute,t);case"mo":return s.ordinalNumber(t,{unit:"minute"});default:return Se(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,s){return t.setMinutes(s,0,0),t}}class dd extends de{constructor(){super(...arguments);m(this,"priority",50);m(this,"incompatibleTokens",["t","T"])}parse(t,n,s){switch(n){case"s":return Te(Ee.second,t);case"so":return s.ordinalNumber(t,{unit:"second"});default:return Se(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,s){return t.setSeconds(s,0),t}}class hd extends de{constructor(){super(...arguments);m(this,"priority",30);m(this,"incompatibleTokens",["t","T"])}parse(t,n){const s=a=>Math.trunc(a*Math.pow(10,-n.length+3));return ke(Se(n.length,t),s)}set(t,n,s){return t.setMilliseconds(s),t}}class pd extends de{constructor(){super(...arguments);m(this,"priority",10);m(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return Be(Ve.basicOptionalMinutes,t);case"XX":return Be(Ve.basic,t);case"XXXX":return Be(Ve.basicOptionalSeconds,t);case"XXXXX":return Be(Ve.extendedOptionalSeconds,t);case"XXX":default:return Be(Ve.extended,t)}}set(t,n,s){return n.timestampIsSet?t:ve(t,t.getTime()-Hs(t)-s)}}class md extends de{constructor(){super(...arguments);m(this,"priority",10);m(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return Be(Ve.basicOptionalMinutes,t);case"xx":return Be(Ve.basic,t);case"xxxx":return Be(Ve.basicOptionalSeconds,t);case"xxxxx":return Be(Ve.extendedOptionalSeconds,t);case"xxx":default:return Be(Ve.extended,t)}}set(t,n,s){return n.timestampIsSet?t:ve(t,t.getTime()-Hs(t)-s)}}class bd extends de{constructor(){super(...arguments);m(this,"priority",40);m(this,"incompatibleTokens","*")}parse(t){return Ks(t)}set(t,n,s){return[ve(t,s*1e3),{timestampIsSet:!0}]}}class gd extends de{constructor(){super(...arguments);m(this,"priority",20);m(this,"incompatibleTokens","*")}parse(t){return Ks(t)}set(t,n,s){return[ve(t,s),{timestampIsSet:!0}]}}const yd={G:new Af,y:new Lf,Y:new $f,R:new Ff,u:new Yf,Q:new Hf,q:new Wf,M:new Vf,L:new Bf,w:new Uf,I:new Gf,d:new Kf,D:new Xf,E:new Jf,e:new ed,c:new td,i:new nd,a:new sd,b:new ad,B:new od,h:new id,H:new cd,K:new ud,k:new ld,m:new fd,s:new dd,S:new hd,X:new pd,x:new md,t:new bd,T:new gd},vd=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,xd=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,wd=/^'([^]*?)'?$/,Td=/''/g,Sd=/\S/,Pd=/[a-zA-Z]/;function ze(e,r,t,n){var O,_,S,R,z,F,b,A;const s=Df(),a=(n==null?void 0:n.locale)??s.locale??yf,o=(n==null?void 0:n.firstWeekContainsDate)??((_=(O=n==null?void 0:n.locale)==null?void 0:O.options)==null?void 0:_.firstWeekContainsDate)??s.firstWeekContainsDate??((R=(S=s.locale)==null?void 0:S.options)==null?void 0:R.firstWeekContainsDate)??1,i=(n==null?void 0:n.weekStartsOn)??((F=(z=n==null?void 0:n.locale)==null?void 0:z.options)==null?void 0:F.weekStartsOn)??s.weekStartsOn??((A=(b=s.locale)==null?void 0:b.options)==null?void 0:A.weekStartsOn)??0;if(r==="")return e===""?fe(t):ve(t,NaN);const c={firstWeekContainsDate:o,weekStartsOn:i,locale:a},f=[new Rf],h=r.match(xd).map(k=>{const W=k[0];if(W in qs){const V=qs[W];return V(k,a.formatLong)}return k}).join("").match(vd),p=[];for(let k of h){!(n!=null&&n.useAdditionalWeekYearTokens)&&kf(k)&&Gs(k,r,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&Ef(k)&&Gs(k,r,e);const W=k[0],V=yd[W];if(V){const{incompatibleTokens:ne}=V;if(Array.isArray(ne)){const X=p.find(N=>ne.includes(N.token)||N.token===W);if(X)throw new RangeError(`The format string mustn't contain \`${X.fullToken}\` and \`${k}\` at the same time`)}else if(V.incompatibleTokens==="*"&&p.length>0)throw new RangeError(`The format string mustn't contain \`${k}\` and any other token at the same time`);p.push({token:W,fullToken:k});const te=V.run(e,k,a.match,c);if(!te)return ve(t,NaN);f.push(te.setter),e=te.rest}else{if(W.match(Pd))throw new RangeError("Format string contains an unescaped latin alphabet character `"+W+"`");if(k==="''"?k="'":W==="'"&&(k=Ed(k)),e.indexOf(k)===0)e=e.slice(k.length);else return ve(t,NaN)}}if(e.length>0&&Sd.test(e))return ve(t,NaN);const y=f.map(k=>k.priority).sort((k,W)=>W-k).filter((k,W,V)=>V.indexOf(k)===W).map(k=>f.filter(W=>W.priority===k).sort((W,V)=>V.subPriority-W.subPriority)).map(k=>k[0]);let x=fe(t);if(isNaN(x.getTime()))return ve(t,NaN);const w={};for(const k of y){if(!k.validate(x,c))return ve(t,NaN);const W=k.set(x,w,c);Array.isArray(W)?(x=W[0],Object.assign(w,W[1])):x=W}return ve(t,x)}function Ed(e){return e.match(wd)[1].replace(Td,"'")}function kd(e){return Ws(e,Date.now())}function Cd(e,r){return Tt(e,-r)}function Dd(e,r){let t=r-un(e);return t<=0&&(t+=7),Tt(e,t)}function Od(e,r){const t=(r==null?void 0:r.additionalDigits)??2,n=jd(e);let s;if(n.date){const c=Md(n.date,t);s=Rd(c.restDateString,c.year)}if(!s||isNaN(s.getTime()))return new Date(NaN);const a=s.getTime();let o=0,i;if(n.time&&(o=Ad(n.time),isNaN(o)))return new Date(NaN);if(n.timezone){if(i=Ld(n.timezone),isNaN(i))return new Date(NaN)}else{const c=new Date(a+o),f=new Date(0);return f.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),f.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),f}return new Date(a+o+i)}const hr={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},_d=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Nd=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Id=/^([+-])(\d{2})(?::?(\d{2}))?$/;function jd(e){const r={},t=e.split(hr.dateTimeDelimiter);let n;if(t.length>2)return r;if(/:/.test(t[0])?n=t[0]:(r.date=t[0],n=t[1],hr.timeZoneDelimiter.test(r.date)&&(r.date=e.split(hr.timeZoneDelimiter)[0],n=e.substr(r.date.length,e.length))),n){const s=hr.timezone.exec(n);s?(r.time=n.replace(s[1],""),r.timezone=s[1]):r.time=n}return r}function Md(e,r){const t=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+r)+"})|(\\d{2}|[+-]\\d{"+(2+r)+"})$)"),n=e.match(t);if(!n)return{year:NaN,restDateString:""};const s=n[1]?parseInt(n[1]):null,a=n[2]?parseInt(n[2]):null;return{year:a===null?s:a*100,restDateString:e.slice((n[1]||n[2]).length)}}function Rd(e,r){if(r===null)return new Date(NaN);const t=e.match(_d);if(!t)return new Date(NaN);const n=!!t[4],s=zt(t[1]),a=zt(t[2])-1,o=zt(t[3]),i=zt(t[4]),c=zt(t[5])-1;if(n)return Wd(r,i,c)?$d(r,i,c):new Date(NaN);{const f=new Date(0);return!Yd(r,a,o)||!Hd(r,s)?new Date(NaN):(f.setUTCFullYear(r,a,Math.max(s,o)),f)}}function zt(e){return e?parseInt(e):1}function Ad(e){const r=e.match(Nd);if(!r)return NaN;const t=dn(r[1]),n=dn(r[2]),s=dn(r[3]);return Vd(t,n,s)?t*on+n*an+s*1e3:NaN}function dn(e){return e&&parseFloat(e.replace(",","."))||0}function Ld(e){if(e==="Z")return 0;const r=e.match(Id);if(!r)return 0;const t=r[1]==="+"?-1:1,n=parseInt(r[2]),s=r[3]&&parseInt(r[3])||0;return Bd(n,s)?t*(n*on+s*an):NaN}function $d(e,r,t){const n=new Date(0);n.setUTCFullYear(e,0,4);const s=n.getUTCDay()||7,a=(r-1)*7+t+1-s;return n.setUTCDate(n.getUTCDate()+a),n}const Fd=[31,null,31,30,31,30,31,31,30,31,30,31];function ea(e){return e%400===0||e%4===0&&e%100!==0}function Yd(e,r,t){return r>=0&&r<=11&&t>=1&&t<=(Fd[r]||(ea(e)?29:28))}function Hd(e,r){return r>=1&&r<=(ea(e)?366:365)}function Wd(e,r,t){return r>=1&&r<=53&&t>=0&&t<=6}function Vd(e,r,t){return e===24?r===0&&t===0:t>=0&&t<60&&r>=0&&r<60&&e>=0&&e<25}function Bd(e,r){return r>=0&&r<=59}function zd(e,r){const t=fe(e),n=t.getFullYear(),s=t.getDate(),a=ve(e,0);a.setFullYear(n,r,15),a.setHours(0,0,0,0);const o=Zs(a);return t.setMonth(r,Math.min(s,o)),t}function Ud(e,r){const t=fe(e);return isNaN(+t)?ve(e,NaN):(t.setFullYear(r),t)}function ta(e,r){return ut(e,-r)}function ra(e,r){return fr(e,-r)}var je=(e=>(e[e.Regular=24]="Regular",e[e.Small=20]="Small",e))(je||{});const na=({className:e})=>l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:e,children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5m-9-6h.008v.008H12v-.008ZM12 15h.008v.008H12V15Zm0 2.25h.008v.008H12v-.008ZM9.75 15h.008v.008H9.75V15Zm0 2.25h.008v.008H9.75v-.008ZM7.5 15h.008v.008H7.5V15Zm0 2.25h.008v.008H7.5v-.008Zm6.75-4.5h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V15Zm0 2.25h.008v.008h-.008v-.008Zm2.25-4.5h.008v.008H16.5v-.008Zm0 2.25h.008v.008H16.5V15Z"})}),qd=({className:e})=>{const r=ue("bsc-h-6 bsc-w-6",e);return l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:r,children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"})})},Gd=({className:e})=>{const r=ue("bsc-h-6 bsc-w-6",e);return l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:r,children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5 8.25 12l7.5-7.5"})})},Zd=({className:e})=>{const r=ue("bsc-h-6 bsc-w-6",e);return l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:r,children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"})})},Qd=({className:e})=>{const r=ue("bsc-h-6 bsc-w-6",e);return l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:r,children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"})})},Kd=({className:e})=>l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:e,children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"})}),Le=({icon:e,size:r=je.Regular,onClick:t,className:n})=>{const s=d.useRef({calendar:na,chevronDown:qd,chevronLeft:Gd,chevronRight:Zd,chevronUp:Qd,close:Kd}),a=d.useMemo(()=>s.current[e]||na,[e]),o=ue({"bsc-h-[24px] bsc-w-[24px]":r===je.Regular,"bsc-h-[20px] bsc-w-[20px]":r===je.Small},n);return l.jsx("div",{onClick:t,children:l.jsx(a,{className:o})})},lt=({template:e,props:r,children:t})=>e(r,t);function Xd(e,r){if(r===e)return!1;const t=Object.values(r),n=Object.values(e);if(t.length!==n.length||t.some((a,o)=>a!==n[o]))return!0;const s=Object.keys(e);return Object.keys(r).some((a,o)=>a!==s[o])}function Jd(e,r){return e.matches[r]=!1,e.mediaQueries[r]={},e}function sa(e){const r=Object.keys(e);return typeof window>"u"?r.reduce(Jd,{mediaQueries:{},matches:{}}):r.reduce((t,n)=>{const s=window.matchMedia(e[n]);return t.mediaQueries[n]=s,t.matches[n]=s.matches,t},{mediaQueries:{},matches:{}})}function eh(e,r){function t(n,s){return n[s]=e.mediaQueries[s].matches,n}switch(r.type){case"updateMatches":return{matches:Object.keys(e.mediaQueries).reduce(t,{}),mediaQueries:e.mediaQueries};case"setQueries":return sa(r.queries)}}function th(e){const r=jt.useRef(e),[t,n]=jt.useReducer(eh,e,sa);jt.useEffect(()=>{Xd(e,r.current)&&(n({type:"setQueries",queries:e}),r.current=e)},[e]);function s(){return n({type:"updateMatches"})}function a(c){const f=s;return typeof c.addListener<"u"?c.addListener(f):c.addEventListener("change",f),f}jt.useEffect(()=>{const c=Object.values(t.mediaQueries),f=c.map(a);function h(p,y){typeof p.addListener<"u"?p.removeListener(f[y]):p.removeEventListener("change",f[y])}return()=>{c.forEach(h)}},[t.mediaQueries]);const{matches:o}=t,i=jt.useMemo(()=>Object.values(o),[o]);return{matches:o,matchesAny:i.some(Boolean),matchesAll:i.length>0&&i.every(Boolean)}}function pr(e){return th(rh(e)).matchesAll}const hn={};function rh(e){return hn[e]===void 0&&(hn[e]={default:e}),hn[e]}const pn=({mobileQuery:e="screen and (max-device-width: 40rem)",tabletQuery:r="screen and (min-device-width: 40.01rem) and (max-device-width: 63.9375rem)",desktopQuery:t="screen and (min-device-width: 64rem)",mobileMarkup:n,aboveMobileMarkup:s,tabletMarkup:a,desktopMarkup:o})=>{const i=pr(e),c=pr(r),f=pr(t);return(()=>i&&n?n:!i&&s?s:c&&a?a:f&&o?o:(console.error("Invalid media settings"),null))()};function aa(e,r,t){const n=a=>{const o=a.target,i=e.style.display!=="hidden";e&&i&&!eo(e,o)&&!s(t,o)&&r(!1),r(!0)},s=(a,o)=>{if(!a)return!1;for(let i=0,c=a.length;i<c;i++)if(a[i].isSameNode(o)||a[i].contains(o))return!0;return!1};return document.addEventListener("mousedown",n),n}function oa(e){document.removeEventListener("mousedown",e)}function nh(e,r){if(e==null)return{};var t={},n=Object.keys(e),s,a;for(a=0;a<n.length;a++)s=n[a],!(r.indexOf(s)>=0)&&(t[s]=e[s]);return t}function mn(e,r){return mn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},mn(e,r)}function sh(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,mn(e,r)}var bn={exports:{}},mr={exports:{}},pe={};/** @license React v16.13.1
32
32
  * react-is.production.min.js
33
33
  *
34
34
  * Copyright (c) Facebook, Inc. and its affiliates.
Binary file
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- *,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }:not(.bsc-dark) .bsc-checkbox{box-shadow:inset 0 0 0 1px var(--theme-bsc-gray-2)}:not(.bsc-dark) .bsc-checkbox:not(:checked):hover{box-shadow:inset 0 0 0 2px var(--theme-bsc-gray-4)}:not(.bsc-dark) .bsc-checkbox:checked{box-shadow:inset 0 0 0 11px var(--theme-bsc-primary-1)}:not(.bsc-dark) .bsc-checkbox-read-only{box-shadow:inset 0 0 0 1px var(--theme-bsc-gray-4)}:not(.bsc-dark) .bsc-checkbox-read-only:checked{box-shadow:inset 0 0 0 11px var(--theme-bsc-primary-4)}:is(.bsc-dark) .bsc-checkbox{box-shadow:inset 0 0 0 1px var(--theme-bsc-mono-light-2)}:is(.bsc-dark) .bsc-checkbox:checked{box-shadow:inset 0 0 0 11px var(--theme-bsc-mono-light-2)}:is(.bsc-dark) .bsc-checkbox:not(:checked):hover{box-shadow:inset 0 0 0 2px var(--theme-bsc-mono-light-2)}:is(.bsc-dark) .bsc-checkbox-read-only{box-shadow:inset 0 0 0 1px var(--theme-bsc-mono-light-3)}:is(.bsc-dark) .bsc-checkbox-read-only:checked{box-shadow:inset 0 0 0 11px var(--theme-bsc-mono-light-3)}.bsc-checkbox-animate input:checked+svg{animation:bsc-bounce .4s ease-in-out forwards .2s}.bsc-checkbox-no-animate input:checked+svg{transform:scale(1)}:is(.bsc-radio-item,.bsc-radio-item-read-only) svg{stroke-width:1;fill:none}:is(.bsc-radio-item,.bsc-radio-item-read-only) input+svg circle~circle{display:none}@keyframes bsc-bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:scale(1.2);animation-timing-function:cubic-bezier(0,0,.2,1)}75%{transform:scale(.9)}to{transform:scale(1)}}.bsc-radio-item-animate input:checked+svg circle~circle{animation:bsc-bounce .4s ease-in-out forwards .2s}:not(.bsc-dark) .bsc-radio-item svg{stroke:var(--theme-bsc-gray-2)}:not(.bsc-dark) .bsc-radio-item-read-only svg{stroke:var(--theme-bsc-gray-4)}:not(.bsc-dark) .bsc-radio-item input:checked+svg circle{fill:var(--theme-bsc-primary-1)}:not(.bsc-dark) .bsc-radio-item-read-only input:checked+svg circle{fill:var(--theme-bsc-primary-4)}:not(.bsc-dark) :is(.bsc-radio-item,.bsc-radio-item-read-only) input:checked+svg circle~circle{display:block;fill:var(--theme-bsc-white)}:is(.bsc-dark) .bsc-radio-item svg{stroke:var(--theme-bsc-mono-light-2)}:is(.bsc-dark) .bsc-radio-item-read-only svg{stroke:var(--theme-bsc-mono-light-3)}:is(.bsc-dark) .bsc-radio-item input:checked+svg circle{fill:var(--theme-bsc-mono-light-2)}:is(.bsc-dark) .bsc-radio-item-read-only input:checked+svg circle{fill:var(--theme-bsc-mono-light-3)}:is(.bsc-dark) :is(.bsc-radio-item,.bsc-radio-item-read-only) input:checked+svg circle~circle{display:block;fill:var(--theme-bsc-mono-dark-1)}.bsc-toggle-switch input:checked+#switch{transform:translate(40px)}.bsc-pointer-events-none{pointer-events:none}.bsc-fixed{position:fixed}.bsc-absolute{position:absolute}.bsc-relative{position:relative}.bsc-bottom-0{bottom:0}.bsc-left-0{left:0}.bsc-left-\[4px\]{left:4px}.bsc-top-0{top:0}.bsc-top-\[4px\]{top:4px}.bsc-col-span-3{grid-column:span 3 / span 3}.bsc-col-span-4{grid-column:span 4 / span 4}.bsc-m-0{margin:0}.bsc-mb-2{margin-bottom:.5rem}.bsc-ml-2{margin-left:.5rem}.bsc-mr-2{margin-right:.5rem}.bsc-mr-3{margin-right:.75rem}.bsc-mt-0{margin-top:0}.bsc-mt-0\.5{margin-top:.125rem}.bsc-flex{display:flex}.bsc-grid{display:grid}.bsc-hidden{display:none}.bsc-h-3\/4{height:75%}.bsc-h-6{height:1.5rem}.bsc-h-\[20px\]{height:20px}.bsc-h-\[22px\]{height:22px}.bsc-h-\[24px\]{height:24px}.bsc-h-\[30px\]{height:30px}.bsc-h-full{height:100%}.bsc-h-screen{height:100vh}.bsc-max-h-\[300px\]{max-height:300px}.bsc-w-24{width:6rem}.bsc-w-6{width:1.5rem}.bsc-w-\[20px\]{width:20px}.bsc-w-\[22px\]{width:22px}.bsc-w-\[24px\]{width:24px}.bsc-w-\[70px\]{width:70px}.bsc-w-full{width:100%}.bsc-min-w-\[329px\]{min-width:329px}.bsc-flex-1{flex:1 1 0%}.bsc-flex-shrink{flex-shrink:1}.bsc-flex-grow{flex-grow:1}.bsc-cursor-not-allowed{cursor:not-allowed}.bsc-cursor-pointer{cursor:pointer}.bsc-appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.bsc-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.bsc-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.bsc-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.bsc-grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.bsc-flex-row{flex-direction:row}.bsc-flex-col{flex-direction:column}.bsc-items-center{align-items:center}.bsc-justify-center{justify-content:center}.bsc-gap-1{gap:.25rem}.bsc-gap-2{gap:.5rem}.bsc-gap-3{gap:.75rem}.bsc-gap-4{gap:1rem}.bsc-overflow-hidden{overflow:hidden}.bsc-overflow-scroll{overflow:scroll}.bsc-overflow-x-auto{overflow-x:auto}.bsc-overflow-y-auto{overflow-y:auto}.bsc-overflow-y-hidden{overflow-y:hidden}.bsc-whitespace-pre{white-space:pre}.bsc-rounded{border-radius:.25rem}.bsc-rounded-full{border-radius:9999px}.bsc-rounded-md{border-radius:.375rem}.bsc-rounded-b-md{border-bottom-right-radius:.375rem;border-bottom-left-radius:.375rem}.bsc-rounded-l-md{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}.bsc-rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.bsc-rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.bsc-border{border-width:1px}.bsc-border-b{border-bottom-width:1px}.bsc-border-l{border-left-width:1px}.bsc-border-r{border-right-width:1px}.bsc-border-t{border-top-width:1px}.bsc-border-solid{border-style:solid}.\!bsc-border-none{border-style:none!important}.bsc-border-none{border-style:none}.\!bsc-border-error{border-color:var(--theme-bsc-error)!important}.\!bsc-border-transparent{border-color:transparent!important}.bsc-border-black{border-color:var(--theme-bsc-black)}.bsc-border-gray-3{border-color:var(--theme-bsc-gray-3)}.bsc-border-gray-4{border-color:var(--theme-bsc-gray-4)}.bsc-border-mono-light-2{border-color:var(--theme-bsc-mono-light-2)}.bsc-bg-error{background-color:var(--theme-bsc-error)}.bsc-bg-gray-2{background-color:var(--theme-bsc-gray-2)}.bsc-bg-gray-3{background-color:var(--theme-bsc-gray-3)}.bsc-bg-gray-4{background-color:var(--theme-bsc-gray-4)}.bsc-bg-gray-5{background-color:var(--theme-bsc-gray-5)}.bsc-bg-info{background-color:var(--theme-bsc-info)}.bsc-bg-mono-dark-1{background-color:var(--theme-bsc-mono-dark-1)}.bsc-bg-mono-dark-3{background-color:var(--theme-bsc-mono-dark-3)}.bsc-bg-mono-light-1{background-color:var(--theme-bsc-mono-light-1)}.bsc-bg-mono-light-2{background-color:var(--theme-bsc-mono-light-2)}.bsc-bg-mono-light-3{background-color:var(--theme-bsc-mono-light-3)}.bsc-bg-primary-1{background-color:var(--theme-bsc-primary-1)}.bsc-bg-primary-2{background-color:var(--theme-bsc-primary-2)}.bsc-bg-primary-3{background-color:var(--theme-bsc-primary-3)}.bsc-bg-primary-5{background-color:var(--theme-bsc-primary-5)}.bsc-bg-success{background-color:var(--theme-bsc-success)}.bsc-bg-transparent{background-color:transparent}.bsc-bg-warning{background-color:var(--theme-bsc-warning)}.bsc-bg-white{background-color:var(--theme-bsc-white)}.bsc-fill-mono-light-1{fill:var(--theme-bsc-mono-light-1)}.bsc-fill-mono-light-3{fill:var(--theme-bsc-mono-light-3)}.bsc-fill-primary-1{fill:var(--theme-bsc-primary-1)}.bsc-fill-primary-4{fill:var(--theme-bsc-primary-4)}.bsc-stroke-mono-light-1{stroke:var(--theme-bsc-mono-light-1)}.bsc-stroke-2{stroke-width:2}.bsc-p-0{padding:0}.bsc-p-2{padding:.5rem}.bsc-p-4{padding:1rem}.\!bsc-px-4{padding-left:1rem!important;padding-right:1rem!important}.bsc-px-1{padding-left:.25rem;padding-right:.25rem}.bsc-px-2{padding-left:.5rem;padding-right:.5rem}.bsc-py-1{padding-top:.25rem;padding-bottom:.25rem}.bsc-pb-2{padding-bottom:.5rem}.bsc-pb-8{padding-bottom:2rem}.bsc-pl-1{padding-left:.25rem}.bsc-pl-2{padding-left:.5rem}.bsc-pl-4{padding-left:1rem}.bsc-pr-1{padding-right:.25rem}.bsc-pr-2{padding-right:.5rem}.bsc-pr-4{padding-right:1rem}.bsc-text-left{text-align:left}.bsc-text-center{text-align:center}.\!bsc-text-sm{font-size:.875rem!important;line-height:1.25rem!important}.bsc-text-sm{font-size:.875rem;line-height:1.25rem}.bsc-text-xs{font-size:.75rem;line-height:1rem}.bsc-font-bold{font-weight:700}.bsc-font-medium{font-weight:500}.bsc-text-black{color:var(--theme-bsc-black)}.bsc-text-error{color:var(--theme-bsc-error)}.bsc-text-gray-2{color:var(--theme-bsc-gray-2)}.bsc-text-gray-3{color:var(--theme-bsc-gray-3)}.bsc-text-gray-4{color:var(--theme-bsc-gray-4)}.bsc-text-mono-dark-1{color:var(--theme-bsc-mono-dark-1)}.bsc-text-mono-light-1{color:var(--theme-bsc-mono-light-1)}.bsc-text-mono-light-3{color:var(--theme-bsc-mono-light-3)}.bsc-text-primary-1{color:var(--theme-bsc-primary-1)}.bsc-text-white{color:var(--theme-bsc-white)}.bsc-shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.bsc-shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.bsc-outline-none{outline:2px solid transparent;outline-offset:2px}.bsc-ring-error{--tw-ring-color: var(--theme-bsc-error)}.bsc-ring-info{--tw-ring-color: var(--theme-bsc-info)}.bsc-ring-primary-1{--tw-ring-color: var(--theme-bsc-primary-1)}.bsc-ring-primary-2{--tw-ring-color: var(--theme-bsc-primary-2)}.bsc-ring-success{--tw-ring-color: var(--theme-bsc-success)}.bsc-ring-warning{--tw-ring-color: var(--theme-bsc-warning)}.bsc-ring-opacity-50{--tw-ring-opacity: .5}.\[stroke-linecap\:round\]{stroke-linecap:round}.\[stroke-linejoin\:round\]{stroke-linejoin:round}.\[transform\:scale\(0\)_translateZ\(0\)\]{transform:scale(0) translateZ(0)}.\[transition\:0\.3s\]{transition:.3s}.\[transition\:background-color_1s\]{transition:background-color 1s}.\[transition\:box-shadow_0\.3s\]{transition:box-shadow .3s}.\[width\:max-content\]{width:-moz-max-content;width:max-content}:root{--theme-bsc-primary-1: #2f54ff;--theme-bsc-primary-2: #5f7bff;--theme-bsc-primary-3: #899eff;--theme-bsc-primary-4: #b4c1ff;--theme-bsc-primary-5: #dee4ff;--theme-bsc-gray-1: #303030;--theme-bsc-gray-2: #5f5f5f;--theme-bsc-gray-3: #8f8f8f;--theme-bsc-gray-4: #bebebe;--theme-bsc-gray-5: #eee;--theme-bsc-black: #000;--theme-bsc-white: #fff;--theme-bsc-mono-dark-1: #222;--theme-bsc-mono-dark-2: #3c3c3c;--theme-bsc-mono-dark-3: #4e4e4e;--theme-bsc-mono-light-1: #fefefe;--theme-bsc-mono-light-2: #eee;--theme-bsc-mono-light-3: #ccc;--theme-bsc-info: #2e7ff8;--theme-bsc-success: #53ae0c;--theme-bsc-warning: #ff6914;--theme-bsc-error: #f01616}.\*\:bsc-block>*{display:block}.\*\:bsc-size-\[21px\]>*{width:21px;height:21px}.\*\:bsc-cursor-pointer>*{cursor:pointer}.focus-within\:bsc-ring:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-within\:bsc-ring-opacity-50:focus-within{--tw-ring-opacity: .5}.focus-within\:bsc-ring-offset-2:focus-within{--tw-ring-offset-width: 2px}.hover\:bsc-bg-gray-4:hover{background-color:var(--theme-bsc-gray-4)}.hover\:bsc-bg-primary-2:hover{background-color:var(--theme-bsc-primary-2)}.hover\:bsc-bg-primary-3:hover{background-color:var(--theme-bsc-primary-3)}.focus\:bsc-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:bsc-ring:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:bsc-ring-error:focus{--tw-ring-color: var(--theme-bsc-error)}.focus\:bsc-ring-info:focus{--tw-ring-color: var(--theme-bsc-info)}.focus\:bsc-ring-primary-1:focus{--tw-ring-color: var(--theme-bsc-primary-1)}.focus\:bsc-ring-primary-2:focus{--tw-ring-color: var(--theme-bsc-primary-2)}.focus\:bsc-ring-success:focus{--tw-ring-color: var(--theme-bsc-success)}.focus\:bsc-ring-warning:focus{--tw-ring-color: var(--theme-bsc-warning)}.focus\:bsc-ring-opacity-50:focus{--tw-ring-opacity: .5}.focus\:bsc-ring-offset-2:focus{--tw-ring-offset-width: 2px}.has-\[\:checked\]\:bsc-bg-primary-1:has(:checked){background-color:var(--theme-bsc-primary-1)}.has-\[\:checked\]\:bsc-bg-primary-4:has(:checked){background-color:var(--theme-bsc-primary-4)}.has-\[\:checked\]\:bsc-text-gray-5:has(:checked){color:var(--theme-bsc-gray-5)}.has-\[\:checked\]\:bsc-text-white:has(:checked){color:var(--theme-bsc-white)}:is(.bsc-dark .dark\:bsc-border){border-width:1px}:is(.bsc-dark .dark\:bsc-border-t){border-top-width:1px}:is(.bsc-dark .dark\:bsc-border-solid){border-style:solid}:is(.bsc-dark .dark\:bsc-border-mono-dark-1){border-color:var(--theme-bsc-mono-dark-1)}:is(.bsc-dark .dark\:bsc-border-mono-light-1){border-color:var(--theme-bsc-mono-light-1)}:is(.bsc-dark .dark\:bsc-border-mono-light-2){border-color:var(--theme-bsc-mono-light-2)}:is(.bsc-dark .dark\:bsc-border-mono-light-3){border-color:var(--theme-bsc-mono-light-3)}:is(.bsc-dark .dark\:bsc-border-white){border-color:var(--theme-bsc-white)}:is(.bsc-dark .dark\:bsc-bg-mono-dark-1){background-color:var(--theme-bsc-mono-dark-1)}:is(.bsc-dark .dark\:bsc-bg-mono-dark-2){background-color:var(--theme-bsc-mono-dark-2)}:is(.bsc-dark .dark\:bsc-bg-mono-dark-3){background-color:var(--theme-bsc-mono-dark-3)}:is(.bsc-dark .dark\:bsc-bg-mono-light-1){background-color:var(--theme-bsc-mono-light-1)}:is(.bsc-dark .dark\:bsc-bg-mono-light-3){background-color:var(--theme-bsc-mono-light-3)}:is(.bsc-dark .dark\:bsc-fill-mono-light-1){fill:var(--theme-bsc-mono-light-1)}:is(.bsc-dark .dark\:bsc-fill-mono-light-3){fill:var(--theme-bsc-mono-light-3)}:is(.bsc-dark .dark\:bsc-stroke-mono-dark-3){stroke:var(--theme-bsc-mono-dark-3)}:is(.bsc-dark .dark\:bsc-text-mono-dark-1){color:var(--theme-bsc-mono-dark-1)}:is(.bsc-dark .dark\:bsc-text-mono-light-1){color:var(--theme-bsc-mono-light-1)}:is(.bsc-dark .dark\:bsc-text-mono-light-3){color:var(--theme-bsc-mono-light-3)}:is(.bsc-dark .dark\:bsc-ring-mono-light-2){--tw-ring-color: var(--theme-bsc-mono-light-2)}:is(.bsc-dark .dark\:bsc-ring-offset-mono-dark-1){--tw-ring-offset-color: var(--theme-bsc-mono-dark-1)}:is(.bsc-dark .dark\:checked\:bsc-bg-mono-light-1:checked){background-color:var(--theme-bsc-mono-light-1)}:is(.bsc-dark .dark\:hover\:bsc-bg-mono-light-1:hover){background-color:var(--theme-bsc-mono-light-1)}:is(.bsc-dark .dark\:hover\:bsc-bg-mono-light-2:hover){background-color:var(--theme-bsc-mono-light-2)}:is(.bsc-dark .dark\:hover\:bsc-text-mono-dark-1:hover){color:var(--theme-bsc-mono-dark-1)}:is(.bsc-dark .dark\:hover\:bsc-text-mono-dark-2:hover){color:var(--theme-bsc-mono-dark-2)}:is(.bsc-dark .has-\[\:checked\]\:dark\:bsc-bg-mono-light-1):has(:checked){background-color:var(--theme-bsc-mono-light-1)}:is(.bsc-dark .has-\[\:checked\]\:dark\:bsc-bg-mono-light-2):has(:checked){background-color:var(--theme-bsc-mono-light-2)}:is(.bsc-dark .has-\[\:checked\]\:dark\:bsc-bg-mono-light-3):has(:checked){background-color:var(--theme-bsc-mono-light-3)}:is(.bsc-dark .has-\[\:checked\]\:dark\:bsc-text-mono-dark-1):has(:checked){color:var(--theme-bsc-mono-dark-1)}:is(.bsc-dark .has-\[\:checked\]\:dark\:bsc-text-mono-dark-3):has(:checked){color:var(--theme-bsc-mono-dark-3)}@media not all and (min-width: 640px){.max-sm\:bsc-p-4{padding:1rem}}@media (min-width: 768px){.md\:bsc-p-2{padding:.5rem}}.\[\&\>\*\]\:bsc-pr-2>*{padding-right:.5rem}
1
+ *,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }:not(.bsc-dark) .bsc-checkbox{box-shadow:inset 0 0 0 1px var(--theme-bsc-gray-2)}:not(.bsc-dark) .bsc-checkbox:not(:checked):hover{box-shadow:inset 0 0 0 2px var(--theme-bsc-gray-4)}:not(.bsc-dark) .bsc-checkbox:checked{box-shadow:inset 0 0 0 11px var(--theme-bsc-primary-1)}:not(.bsc-dark) .bsc-checkbox-read-only{box-shadow:inset 0 0 0 1px var(--theme-bsc-gray-4)}:not(.bsc-dark) .bsc-checkbox-read-only:checked{box-shadow:inset 0 0 0 11px var(--theme-bsc-primary-4)}:is(.bsc-dark) .bsc-checkbox{box-shadow:inset 0 0 0 1px var(--theme-bsc-mono-light-2)}:is(.bsc-dark) .bsc-checkbox:checked{box-shadow:inset 0 0 0 11px var(--theme-bsc-mono-light-2)}:is(.bsc-dark) .bsc-checkbox:not(:checked):hover{box-shadow:inset 0 0 0 2px var(--theme-bsc-mono-light-2)}:is(.bsc-dark) .bsc-checkbox-read-only{box-shadow:inset 0 0 0 1px var(--theme-bsc-mono-light-3)}:is(.bsc-dark) .bsc-checkbox-read-only:checked{box-shadow:inset 0 0 0 11px var(--theme-bsc-mono-light-3)}.bsc-checkbox-animate input:checked+svg{animation:bsc-bounce .4s ease-in-out forwards .2s}.bsc-checkbox-no-animate input:checked+svg{transform:scale(1)}:is(.bsc-radio-item,.bsc-radio-item-read-only) svg{stroke-width:1;fill:none}:is(.bsc-radio-item,.bsc-radio-item-read-only) input+svg circle~circle{display:none}@keyframes bsc-bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:scale(1.2);animation-timing-function:cubic-bezier(0,0,.2,1)}75%{transform:scale(.9)}to{transform:scale(1)}}.bsc-radio-item-animate input:checked+svg circle~circle{animation:bsc-bounce .4s ease-in-out forwards .2s}:not(.bsc-dark) .bsc-radio-item svg{stroke:var(--theme-bsc-gray-2)}:not(.bsc-dark) .bsc-radio-item-read-only svg{stroke:var(--theme-bsc-gray-4)}:not(.bsc-dark) .bsc-radio-item input:checked+svg circle{fill:var(--theme-bsc-primary-1)}:not(.bsc-dark) .bsc-radio-item-read-only input:checked+svg circle{fill:var(--theme-bsc-primary-4)}:not(.bsc-dark) :is(.bsc-radio-item,.bsc-radio-item-read-only) input:checked+svg circle~circle{display:block;fill:var(--theme-bsc-white)}:is(.bsc-dark) .bsc-radio-item svg{stroke:var(--theme-bsc-mono-light-2)}:is(.bsc-dark) .bsc-radio-item-read-only svg{stroke:var(--theme-bsc-mono-light-3)}:is(.bsc-dark) .bsc-radio-item input:checked+svg circle{fill:var(--theme-bsc-mono-light-2)}:is(.bsc-dark) .bsc-radio-item-read-only input:checked+svg circle{fill:var(--theme-bsc-mono-light-3)}:is(.bsc-dark) :is(.bsc-radio-item,.bsc-radio-item-read-only) input:checked+svg circle~circle{display:block;fill:var(--theme-bsc-mono-dark-1)}.bsc-toggle-switch input:checked+#switch{transform:translate(40px)}.bsc-pointer-events-none{pointer-events:none}.bsc-fixed{position:fixed}.bsc-absolute{position:absolute}.bsc-relative{position:relative}.bsc-bottom-0{bottom:0}.bsc-left-0{left:0}.bsc-left-\[4px\]{left:4px}.bsc-top-0{top:0}.bsc-top-\[4px\]{top:4px}.bsc-col-span-3{grid-column:span 3 / span 3}.bsc-col-span-4{grid-column:span 4 / span 4}.bsc-m-0{margin:0}.bsc-mb-2{margin-bottom:.5rem}.bsc-ml-2{margin-left:.5rem}.bsc-mr-2{margin-right:.5rem}.bsc-mr-3{margin-right:.75rem}.bsc-mt-0{margin-top:0}.bsc-mt-0\.5{margin-top:.125rem}.bsc-flex{display:flex}.bsc-grid{display:grid}.bsc-hidden{display:none}.bsc-h-3\/4{height:75%}.bsc-h-6{height:1.5rem}.bsc-h-\[20px\]{height:20px}.bsc-h-\[22px\]{height:22px}.bsc-h-\[24px\]{height:24px}.bsc-h-\[30px\]{height:30px}.bsc-h-full{height:100%}.bsc-h-screen{height:100vh}.bsc-max-h-\[300px\]{max-height:300px}.bsc-w-24{width:6rem}.bsc-w-6{width:1.5rem}.bsc-w-\[20px\]{width:20px}.bsc-w-\[22px\]{width:22px}.bsc-w-\[24px\]{width:24px}.bsc-w-\[70px\]{width:70px}.bsc-w-full{width:100%}.bsc-min-w-\[329px\]{min-width:329px}.bsc-flex-1{flex:1 1 0%}.bsc-flex-shrink{flex-shrink:1}.bsc-flex-grow{flex-grow:1}.bsc-cursor-not-allowed{cursor:not-allowed}.bsc-cursor-pointer{cursor:pointer}.bsc-appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.bsc-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.bsc-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.bsc-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.bsc-grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.bsc-flex-row{flex-direction:row}.bsc-flex-col{flex-direction:column}.bsc-items-center{align-items:center}.bsc-justify-center{justify-content:center}.bsc-gap-1{gap:.25rem}.bsc-gap-2{gap:.5rem}.bsc-gap-3{gap:.75rem}.bsc-gap-4{gap:1rem}.bsc-overflow-hidden{overflow:hidden}.bsc-overflow-scroll{overflow:scroll}.bsc-overflow-x-auto{overflow-x:auto}.bsc-overflow-y-auto{overflow-y:auto}.bsc-overflow-y-hidden{overflow-y:hidden}.bsc-whitespace-pre{white-space:pre}.bsc-rounded{border-radius:.25rem}.bsc-rounded-full{border-radius:9999px}.bsc-rounded-md{border-radius:.375rem}.bsc-rounded-b-md{border-bottom-right-radius:.375rem;border-bottom-left-radius:.375rem}.bsc-rounded-l-md{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}.bsc-rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.bsc-rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.bsc-border{border-width:1px}.bsc-border-b{border-bottom-width:1px}.bsc-border-l{border-left-width:1px}.bsc-border-r{border-right-width:1px}.bsc-border-t{border-top-width:1px}.bsc-border-solid{border-style:solid}.\!bsc-border-none{border-style:none!important}.bsc-border-none{border-style:none}.\!bsc-border-error{border-color:var(--theme-bsc-error)!important}.\!bsc-border-transparent{border-color:transparent!important}.bsc-border-black{border-color:var(--theme-bsc-black)}.bsc-border-gray-3{border-color:var(--theme-bsc-gray-3)}.bsc-border-gray-4{border-color:var(--theme-bsc-gray-4)}.bsc-border-mono-light-2{border-color:var(--theme-bsc-mono-light-2)}.bsc-bg-error{background-color:var(--theme-bsc-error)}.bsc-bg-gray-2{background-color:var(--theme-bsc-gray-2)}.bsc-bg-gray-3{background-color:var(--theme-bsc-gray-3)}.bsc-bg-gray-4{background-color:var(--theme-bsc-gray-4)}.bsc-bg-gray-5{background-color:var(--theme-bsc-gray-5)}.bsc-bg-info{background-color:var(--theme-bsc-info)}.bsc-bg-mono-dark-1{background-color:var(--theme-bsc-mono-dark-1)}.bsc-bg-mono-dark-3{background-color:var(--theme-bsc-mono-dark-3)}.bsc-bg-mono-light-1{background-color:var(--theme-bsc-mono-light-1)}.bsc-bg-mono-light-2{background-color:var(--theme-bsc-mono-light-2)}.bsc-bg-mono-light-3{background-color:var(--theme-bsc-mono-light-3)}.bsc-bg-primary-1{background-color:var(--theme-bsc-primary-1)}.bsc-bg-primary-2{background-color:var(--theme-bsc-primary-2)}.bsc-bg-primary-3{background-color:var(--theme-bsc-primary-3)}.bsc-bg-primary-5{background-color:var(--theme-bsc-primary-5)}.bsc-bg-success{background-color:var(--theme-bsc-success)}.bsc-bg-transparent{background-color:transparent}.bsc-bg-warning{background-color:var(--theme-bsc-warning)}.bsc-bg-white{background-color:var(--theme-bsc-white)}.bsc-fill-mono-light-1{fill:var(--theme-bsc-mono-light-1)}.bsc-fill-mono-light-3{fill:var(--theme-bsc-mono-light-3)}.bsc-fill-primary-1{fill:var(--theme-bsc-primary-1)}.bsc-fill-primary-4{fill:var(--theme-bsc-primary-4)}.bsc-stroke-mono-light-1{stroke:var(--theme-bsc-mono-light-1)}.bsc-stroke-2{stroke-width:2}.bsc-p-0{padding:0}.bsc-p-2{padding:.5rem}.bsc-p-4{padding:1rem}.\!bsc-px-4{padding-left:1rem!important;padding-right:1rem!important}.bsc-px-1{padding-left:.25rem;padding-right:.25rem}.bsc-px-2{padding-left:.5rem;padding-right:.5rem}.bsc-py-1{padding-top:.25rem;padding-bottom:.25rem}.bsc-pb-2{padding-bottom:.5rem}.bsc-pb-8{padding-bottom:2rem}.bsc-pl-1{padding-left:.25rem}.bsc-pl-2{padding-left:.5rem}.bsc-pl-4{padding-left:1rem}.bsc-pr-1{padding-right:.25rem}.bsc-pr-2{padding-right:.5rem}.bsc-pr-4{padding-right:1rem}.bsc-text-left{text-align:left}.bsc-text-center{text-align:center}.\!bsc-text-sm{font-size:.875rem!important;line-height:1.25rem!important}.bsc-text-sm{font-size:.875rem;line-height:1.25rem}.bsc-text-xs{font-size:.75rem;line-height:1rem}.bsc-font-bold{font-weight:700}.bsc-font-medium{font-weight:500}.bsc-text-black{color:var(--theme-bsc-black)}.bsc-text-error{color:var(--theme-bsc-error)}.bsc-text-gray-2{color:var(--theme-bsc-gray-2)}.bsc-text-gray-3{color:var(--theme-bsc-gray-3)}.bsc-text-gray-4{color:var(--theme-bsc-gray-4)}.bsc-text-mono-dark-1{color:var(--theme-bsc-mono-dark-1)}.bsc-text-mono-light-1{color:var(--theme-bsc-mono-light-1)}.bsc-text-mono-light-3{color:var(--theme-bsc-mono-light-3)}.bsc-text-primary-1{color:var(--theme-bsc-primary-1)}.bsc-text-white{color:var(--theme-bsc-white)}.bsc-shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.bsc-shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.bsc-outline-none{outline:2px solid transparent;outline-offset:2px}.bsc-ring-error{--tw-ring-color: var(--theme-bsc-error)}.bsc-ring-info{--tw-ring-color: var(--theme-bsc-info)}.bsc-ring-primary-1{--tw-ring-color: var(--theme-bsc-primary-1)}.bsc-ring-primary-2{--tw-ring-color: var(--theme-bsc-primary-2)}.bsc-ring-success{--tw-ring-color: var(--theme-bsc-success)}.bsc-ring-warning{--tw-ring-color: var(--theme-bsc-warning)}.bsc-ring-opacity-50{--tw-ring-opacity: .5}.\[stroke-linecap\:round\]{stroke-linecap:round}.\[stroke-linejoin\:round\]{stroke-linejoin:round}.\[transform\:scale\(0\)_translateZ\(0\)\]{transform:scale(0) translateZ(0)}.\[transition\:0\.3s\]{transition:.3s}.\[transition\:background-color_1s\]{transition:background-color 1s}.\[transition\:box-shadow_0\.3s\]{transition:box-shadow .3s}.\[width\:max-content\]{width:-moz-max-content;width:max-content}:root{--theme-bsc-primary-1: #2f54ff;--theme-bsc-primary-2: #5f7bff;--theme-bsc-primary-3: #899eff;--theme-bsc-primary-4: #b4c1ff;--theme-bsc-primary-5: #dee4ff;--theme-bsc-gray-1: #303030;--theme-bsc-gray-2: #5f5f5f;--theme-bsc-gray-3: #8f8f8f;--theme-bsc-gray-4: #bebebe;--theme-bsc-gray-5: #eee;--theme-bsc-black: #000;--theme-bsc-white: #fff;--theme-bsc-mono-dark-1: #222;--theme-bsc-mono-dark-2: #3c3c3c;--theme-bsc-mono-dark-3: #4e4e4e;--theme-bsc-mono-light-1: #fefefe;--theme-bsc-mono-light-2: #eee;--theme-bsc-mono-light-3: #ccc;--theme-bsc-info: #2e7ff8;--theme-bsc-success: #53ae0c;--theme-bsc-warning: #ff6914;--theme-bsc-error: #f01616}.\*\:bsc-block>*{display:block}.\*\:bsc-size-\[21px\]>*{width:21px;height:21px}.\*\:bsc-cursor-pointer>*{cursor:pointer}.focus-within\:bsc-ring:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-within\:bsc-ring-primary-2:focus-within{--tw-ring-color: var(--theme-bsc-primary-2)}.focus-within\:bsc-ring-opacity-50:focus-within{--tw-ring-opacity: .5}.focus-within\:bsc-ring-offset-2:focus-within{--tw-ring-offset-width: 2px}.hover\:bsc-bg-gray-4:hover{background-color:var(--theme-bsc-gray-4)}.hover\:bsc-bg-primary-2:hover{background-color:var(--theme-bsc-primary-2)}.hover\:bsc-bg-primary-3:hover{background-color:var(--theme-bsc-primary-3)}.focus\:bsc-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:bsc-ring:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:bsc-ring-error:focus{--tw-ring-color: var(--theme-bsc-error)}.focus\:bsc-ring-info:focus{--tw-ring-color: var(--theme-bsc-info)}.focus\:bsc-ring-primary-1:focus{--tw-ring-color: var(--theme-bsc-primary-1)}.focus\:bsc-ring-primary-2:focus{--tw-ring-color: var(--theme-bsc-primary-2)}.focus\:bsc-ring-success:focus{--tw-ring-color: var(--theme-bsc-success)}.focus\:bsc-ring-warning:focus{--tw-ring-color: var(--theme-bsc-warning)}.focus\:bsc-ring-opacity-50:focus{--tw-ring-opacity: .5}.focus\:bsc-ring-offset-2:focus{--tw-ring-offset-width: 2px}.has-\[\:checked\]\:bsc-bg-primary-1:has(:checked){background-color:var(--theme-bsc-primary-1)}.has-\[\:checked\]\:bsc-bg-primary-4:has(:checked){background-color:var(--theme-bsc-primary-4)}.has-\[\:checked\]\:bsc-text-gray-5:has(:checked){color:var(--theme-bsc-gray-5)}.has-\[\:checked\]\:bsc-text-white:has(:checked){color:var(--theme-bsc-white)}:is(.bsc-dark .dark\:bsc-border){border-width:1px}:is(.bsc-dark .dark\:bsc-border-t){border-top-width:1px}:is(.bsc-dark .dark\:bsc-border-solid){border-style:solid}:is(.bsc-dark .dark\:bsc-border-mono-dark-1){border-color:var(--theme-bsc-mono-dark-1)}:is(.bsc-dark .dark\:bsc-border-mono-light-1){border-color:var(--theme-bsc-mono-light-1)}:is(.bsc-dark .dark\:bsc-border-mono-light-2){border-color:var(--theme-bsc-mono-light-2)}:is(.bsc-dark .dark\:bsc-border-mono-light-3){border-color:var(--theme-bsc-mono-light-3)}:is(.bsc-dark .dark\:bsc-border-white){border-color:var(--theme-bsc-white)}:is(.bsc-dark .dark\:bsc-bg-mono-dark-1){background-color:var(--theme-bsc-mono-dark-1)}:is(.bsc-dark .dark\:bsc-bg-mono-dark-2){background-color:var(--theme-bsc-mono-dark-2)}:is(.bsc-dark .dark\:bsc-bg-mono-dark-3){background-color:var(--theme-bsc-mono-dark-3)}:is(.bsc-dark .dark\:bsc-bg-mono-light-1){background-color:var(--theme-bsc-mono-light-1)}:is(.bsc-dark .dark\:bsc-bg-mono-light-3){background-color:var(--theme-bsc-mono-light-3)}:is(.bsc-dark .dark\:bsc-fill-mono-light-1){fill:var(--theme-bsc-mono-light-1)}:is(.bsc-dark .dark\:bsc-fill-mono-light-3){fill:var(--theme-bsc-mono-light-3)}:is(.bsc-dark .dark\:bsc-stroke-mono-dark-3){stroke:var(--theme-bsc-mono-dark-3)}:is(.bsc-dark .dark\:bsc-text-mono-dark-1){color:var(--theme-bsc-mono-dark-1)}:is(.bsc-dark .dark\:bsc-text-mono-light-1){color:var(--theme-bsc-mono-light-1)}:is(.bsc-dark .dark\:bsc-text-mono-light-3){color:var(--theme-bsc-mono-light-3)}:is(.bsc-dark .dark\:bsc-ring-mono-light-2){--tw-ring-color: var(--theme-bsc-mono-light-2)}:is(.bsc-dark .dark\:bsc-ring-offset-mono-dark-1){--tw-ring-offset-color: var(--theme-bsc-mono-dark-1)}:is(.bsc-dark .dark\:checked\:bsc-bg-mono-light-1:checked){background-color:var(--theme-bsc-mono-light-1)}:is(.bsc-dark .dark\:hover\:bsc-bg-mono-light-1:hover){background-color:var(--theme-bsc-mono-light-1)}:is(.bsc-dark .dark\:hover\:bsc-bg-mono-light-2:hover){background-color:var(--theme-bsc-mono-light-2)}:is(.bsc-dark .dark\:hover\:bsc-text-mono-dark-1:hover){color:var(--theme-bsc-mono-dark-1)}:is(.bsc-dark .dark\:hover\:bsc-text-mono-dark-2:hover){color:var(--theme-bsc-mono-dark-2)}:is(.bsc-dark .has-\[\:checked\]\:dark\:bsc-bg-mono-light-1):has(:checked){background-color:var(--theme-bsc-mono-light-1)}:is(.bsc-dark .has-\[\:checked\]\:dark\:bsc-bg-mono-light-2):has(:checked){background-color:var(--theme-bsc-mono-light-2)}:is(.bsc-dark .has-\[\:checked\]\:dark\:bsc-bg-mono-light-3):has(:checked){background-color:var(--theme-bsc-mono-light-3)}:is(.bsc-dark .has-\[\:checked\]\:dark\:bsc-text-mono-dark-1):has(:checked){color:var(--theme-bsc-mono-dark-1)}:is(.bsc-dark .has-\[\:checked\]\:dark\:bsc-text-mono-dark-3):has(:checked){color:var(--theme-bsc-mono-dark-3)}@media not all and (min-width: 640px){.max-sm\:bsc-p-4{padding:1rem}}@media (min-width: 768px){.md\:bsc-p-2{padding:.5rem}}.\[\&\>\*\]\:bsc-pr-2>*{padding-right:.5rem}
package/dist/style.css.gz CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beesoft-components",
3
- "version": "0.9.4",
3
+ "version": "0.9.5",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "author": {