beesoft-components 0.9.1-3 → 0.9.1-4

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
@@ -906,7 +906,7 @@ const js = /* @__PURE__ */ oo(io), co = (e, r) => {
906
906
  partial: i
907
907
  });
908
908
  else {
909
- console.log(w, "check changed", S.changed, "check property", o);
909
+ console.log(w, "check changed", JSON.stringify(S), "check property", o);
910
910
  const B = S.changed ? o : y.value.checked, E = O.changed ? i : y.value.partial;
911
911
  console.log(w, "new checked", B), v({
912
912
  checked: E ? !0 : B,
Binary file
package/dist/index.umd.js CHANGED
@@ -28,7 +28,7 @@ Check the top-level render call using <`+R+">.")}return S}}function ka(u,S){{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})()})(En);var Ma=En.exports;const ce=Or(Ma);var Mt=(e=>(e[e.Focus=0]="Focus",e[e.FocusWithin=1]="FocusWithin",e))(Mt||{});const Xt=(e=1)=>d.useMemo(()=>ce("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]),Ra=(e,r)=>{const t=d.useRef(null),{buttonType:n,buttonStyle:s="flat",type:a="button",disabled:o=!1,form:i,fullWidth:c=!1,onClick:l,className:h,children:m}=e,v=()=>{l==null||l()},x=()=>{var N;(N=t.current)==null||N.click()};d.useImperativeHandle(r,()=>({click:x}));const w=Xt(Mt.Focus),k=ce("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 f.jsx("button",{ref:t,type:a,onClick:v,disabled:o,form:i,className:k,children:m})},We=d.forwardRef(Ra),Jt=e=>e==null?!1:typeof e=="object",Aa=e=>Array.isArray(e)&&e.every(r=>Jt(r)),La=e=>e instanceof Date,$a=e=>Array.isArray(e)&&e.every(r=>r instanceof Date),kn=e=>typeof e=="function",Fa=e=>Array.isArray(e)&&e.every(r=>kn(r)),Cn=e=>{const r=typeof e;return r==="string"||r==="number"||r==="boolean"||r==="bigint"},Ya=e=>Array.isArray(e)&&e.every(r=>Cn(r)),_r=e=>{if(!Jt(e))return e;const r={},t=Object.keys(e);for(let n=t.length;n--!==0;){const s=t[n],a=e[s];Cn(a)||kn(a)?r[s]=a:La(a)?r[s]=new Date(a.getTime()):Array.isArray(a)?r[s]=Dn(a):Jt(a)&&(r[s]=_r(a))}return r},Ha=e=>{let r=e.length;const t=new Array(r);for(;r--!==0;)t[r]=e[r];return t},Wa=e=>{let r=e.length;const t=new Array(r);for(;r--!==0;)t[r]=new Date(e[r].getTime());return t},Va=e=>{let r=e.length;const t=new Array(r);for(;r--!==0;)t[r]=_r(e[r]);return t},Dn=e=>{if(Ya(e)||Fa(e))return Ha(e);if($a(e))return Wa(e);if(Aa(e))return Va(e);let r=e.length;const t=new Array(r);for(;r--!==0;)t[r]=e[r];return t},Ba=e=>Jt(e)?Array.isArray(e)?Dn(e):_r(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 On=za(Ua),qa=(e,r)=>{for(let t=e.length;t--!==0;)if(e[t]!==r[t]&&!On(e[t],r[t]))return!0;return!1},Ir=(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]},Nn=e=>{const r=d.useRef();let t=!1;r.current!==void 0&&(t=!On(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]},jr=e=>{const[r,t]=d.useState(!0),n=Pn();return d.useEffect(()=>{e!==void 0?t(e):n&&n.useAnimations!==void 0&&t(n.useAnimations)},[n,e]),r},qe=({label:e,htmlFor:r,readOnly:t=!1,className:n})=>{const s=ce("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 f.jsx("label",{htmlFor:r,className:s,children:e})},Ka=(e,r)=>{const{name:t,label:n,value:s,readOnly:a=!1,checked:o=!1,partial:i=!1,labelLocation:c=Me.Right,className:l,useAnimation:h,onChange:m}=e,[v,x,w]=Qa({checked:!1,partial:!1}),k=Nn(o),N=Nn(i),T=d.useId(),A=jr(h);console.log(T,"checked property",JSON.stringify(k)),d.useEffect(()=>{if(v.initial)x({checked:i?!0:o,partial:i});else{console.log(T,"check changed",k.changed,"check property",o);const z=k.changed?o:v.value.checked,E=N.changed?i:v.value.partial;console.log(T,"new checked",z),x({checked:E?!0:z,partial:E})}},[o,i]);const B=z=>{var P;const E=((P=w.current)==null?void 0:P.value.partial)===!0?!0:z.target.checked;x({checked:E,partial:!1}),m==null||m({originalEvent:z,name:t||z.target.name,value:s,checked:E})},F=z=>{var P;const E={checked:z?!0:((P=w.current)==null?void 0:P.value.checked)||!1,partial:z};x(E)},g=z=>{x({checked:z,partial:!1})};d.useImperativeHandle(r,()=>({setPartiallyChecked:F,setChecked:g}));const $=ce("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},l),_=ce("bc-checkbox-label bsc-cursor-pointer",{"bsc-ml-2":c===Me.Right,"bsc-mr-2":c===Me.Left}),W=Xt(Mt.FocusWithin),Y=ce("bc-checkbox-outer bsc-relative bsc-rounded *:bsc-block *:bsc-size-[21px]",{"bsc-checkbox-animate":!a&&A,"bc-read-only bsc-checkbox-no-animate":a||!a&&!A},W),re=ce("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]":A,"bsc-checkbox":!a,"bc-read-only bsc-checkbox-read-only":a}),te=ce("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 console.log(T,"checked state",v.value),f.jsxs("div",{className:$,children:[n&&c===Me.Left&&f.jsx(qe,{label:n,htmlFor:T,readOnly:a,className:_}),f.jsxs("label",{className:Y,children:[f.jsx("input",{id:T,name:t,type:"checkbox",checked:v.value.checked,onChange:B,className:re}),f.jsx("svg",{viewBox:"0 0 21 21",className:te,children:v.value.partial?f.jsx("polyline",{points:"6 10.5 16 10.5"}):f.jsx("polyline",{points:"5 10.75 8.5 14.25 16 6"})})]}),n&&c===Me.Right&&f.jsx(qe,{label:n,htmlFor:T,readOnly:a,className:_})]})},_n=d.memo(d.forwardRef(Ka)),Xa=({name:e,label:r,value:t,data:n,textField:s,valueField:a,readOnly:o=!1,orientation:i=Ne.Vertical,className:c,onChange:l})=>{const[h,m]=d.useState([]),v=Ir(()=>n,[n]);d.useEffect(()=>{m(t??[])},[t]);const x=A=>{const{value:B,checked:F}=A;let g;F?g=[...h,B]:g=h.filter($=>$!==B),m(g),l==null||l({name:e,value:g})},w=(A,B)=>f.jsx(_n,{name:e,label:A[s],value:A[a],checked:h.some(F=>F===A[a]),readOnly:o,onChange:F=>F&&x(F),className:"bsc-mr-3"},`${e}_checkbox_${B}`),k=ce("bsc-flex bsc-flex-col bsc-gap-1",c),N=ce("bsc-flex bsc-gap-1",{"bsc-flex-col":i===Ne.Vertical}),T=A=>f.jsx("div",{className:N,children:A.map(w)});return f.jsxs("div",{className:k,children:[r&&f.jsx(qe,{label:r,readOnly:o}),v&&T(v)]})},Ja=d.memo(Xa);var eo=typeof global=="object"&&global&&global.Object===Object&&global;const In=eo;var to=typeof self=="object"&&self&&self.Object===Object&&self,ro=In||to||Function("return this")();const Fe=ro;var no=Fe.Symbol;const ht=no;var jn=Object.prototype,so=jn.hasOwnProperty,ao=jn.toString,Rt=ht?ht.toStringTag:void 0;function oo(e){var r=so.call(e,Rt),t=e[Rt];try{e[Rt]=void 0;var n=!0}catch{}var s=ao.call(e);return n&&(r?e[Rt]=t:delete e[Rt]),s}var io=Object.prototype,co=io.toString;function uo(e){return co.call(e)}var lo="[object Null]",fo="[object Undefined]",Mn=ht?ht.toStringTag:void 0;function pt(e){return e==null?e===void 0?fo:lo:Mn&&Mn in Object(e)?oo(e):uo(e)}function mt(e){return e!=null&&typeof e=="object"}var ho="[object Symbol]";function po(e){return typeof e=="symbol"||mt(e)&&pt(e)==ho}var mo=Array.isArray;const Mr=mo;var bo=/\s/;function go(e){for(var r=e.length;r--&&bo.test(e.charAt(r)););return r}var yo=/^\s+/;function vo(e){return e&&e.slice(0,go(e)+1).replace(yo,"")}function Ge(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}var Rn=0/0,xo=/^[-+]0x[0-9a-f]+$/i,wo=/^0b[01]+$/i,To=/^0o[0-7]+$/i,So=parseInt;function An(e){if(typeof e=="number")return e;if(po(e))return Rn;if(Ge(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=Ge(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=vo(e);var t=wo.test(e);return t||To.test(e)?So(e.slice(2),t?2:8):xo.test(e)?Rn:+e}var Po="[object AsyncFunction]",Eo="[object Function]",ko="[object GeneratorFunction]",Co="[object Proxy]";function Ln(e){if(!Ge(e))return!1;var r=pt(e);return r==Eo||r==ko||r==Po||r==Co}var Do=Fe["__core-js_shared__"];const Rr=Do;var $n=function(){var e=/[^.]+$/.exec(Rr&&Rr.keys&&Rr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Oo(e){return!!$n&&$n in e}var No=Function.prototype,_o=No.toString;function st(e){if(e!=null){try{return _o.call(e)}catch{}try{return e+""}catch{}}return""}var Io=/[\\^$.*+?()[\]{}|]/g,jo=/^\[object .+?Constructor\]$/,Mo=Function.prototype,Ro=Object.prototype,Ao=Mo.toString,Lo=Ro.hasOwnProperty,$o=RegExp("^"+Ao.call(Lo).replace(Io,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Fo(e){if(!Ge(e)||Oo(e))return!1;var r=Ln(e)?$o:jo;return r.test(st(e))}function Yo(e,r){return e==null?void 0:e[r]}function at(e,r){var t=Yo(e,r);return Fo(t)?t:void 0}var Ho=at(Fe,"WeakMap");const Ar=Ho;var Fn=Object.create,Wo=function(){function e(){}return function(r){if(!Ge(r))return{};if(Fn)return Fn(r);e.prototype=r;var t=new e;return e.prototype=void 0,t}}();const Vo=Wo;function Bo(e,r){var t=-1,n=e.length;for(r||(r=Array(n));++t<n;)r[t]=e[t];return r}var zo=function(){try{var e=at(Object,"defineProperty");return e({},"",{}),e}catch{}}();const Yn=zo;function Uo(e,r){for(var t=-1,n=e==null?0:e.length;++t<n&&r(e[t],t,e)!==!1;);return e}var qo=9007199254740991,Go=/^(?:0|[1-9]\d*)$/;function Zo(e,r){var t=typeof e;return r=r??qo,!!r&&(t=="number"||t!="symbol"&&Go.test(e))&&e>-1&&e%1==0&&e<r}function Hn(e,r,t){r=="__proto__"&&Yn?Yn(e,r,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[r]=t}function Wn(e,r){return e===r||e!==e&&r!==r}var Qo=Object.prototype,Ko=Qo.hasOwnProperty;function Vn(e,r,t){var n=e[r];(!(Ko.call(e,r)&&Wn(n,t))||t===void 0&&!(r in e))&&Hn(e,r,t)}function er(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?Hn(t,i,c):Vn(t,i,c)}return t}var Xo=9007199254740991;function Bn(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Xo}function zn(e){return e!=null&&Bn(e.length)&&!Ln(e)}var Jo=Object.prototype;function Lr(e){var r=e&&e.constructor,t=typeof r=="function"&&r.prototype||Jo;return e===t}function ei(e,r){for(var t=-1,n=Array(e);++t<e;)n[t]=r(t);return n}var ti="[object Arguments]";function Un(e){return mt(e)&&pt(e)==ti}var qn=Object.prototype,ri=qn.hasOwnProperty,ni=qn.propertyIsEnumerable,si=Un(function(){return arguments}())?Un:function(e){return mt(e)&&ri.call(e,"callee")&&!ni.call(e,"callee")};const ai=si;function oi(){return!1}var Gn=typeof K=="object"&&K&&!K.nodeType&&K,Zn=Gn&&typeof module=="object"&&module&&!module.nodeType&&module,ii=Zn&&Zn.exports===Gn,Qn=ii?Fe.Buffer:void 0,ci=Qn?Qn.isBuffer:void 0,ui=ci||oi;const Kn=ui;var li="[object Arguments]",fi="[object Array]",di="[object Boolean]",hi="[object Date]",pi="[object Error]",mi="[object Function]",bi="[object Map]",gi="[object Number]",yi="[object Object]",vi="[object RegExp]",xi="[object Set]",wi="[object String]",Ti="[object WeakMap]",Si="[object ArrayBuffer]",Pi="[object DataView]",Ei="[object Float32Array]",ki="[object Float64Array]",Ci="[object Int8Array]",Di="[object Int16Array]",Oi="[object Int32Array]",Ni="[object Uint8Array]",_i="[object Uint8ClampedArray]",Ii="[object Uint16Array]",ji="[object Uint32Array]",ve={};ve[Ei]=ve[ki]=ve[Ci]=ve[Di]=ve[Oi]=ve[Ni]=ve[_i]=ve[Ii]=ve[ji]=!0,ve[li]=ve[fi]=ve[Si]=ve[di]=ve[Pi]=ve[hi]=ve[pi]=ve[mi]=ve[bi]=ve[gi]=ve[yi]=ve[vi]=ve[xi]=ve[wi]=ve[Ti]=!1;function Mi(e){return mt(e)&&Bn(e.length)&&!!ve[pt(e)]}function $r(e){return function(r){return e(r)}}var Xn=typeof K=="object"&&K&&!K.nodeType&&K,At=Xn&&typeof module=="object"&&module&&!module.nodeType&&module,Ri=At&&At.exports===Xn,Fr=Ri&&In.process,Ai=function(){try{var e=At&&At.require&&At.require("util").types;return e||Fr&&Fr.binding&&Fr.binding("util")}catch{}}();const bt=Ai;var Jn=bt&&bt.isTypedArray,Li=Jn?$r(Jn):Mi;const $i=Li;var Fi=Object.prototype,Yi=Fi.hasOwnProperty;function es(e,r){var t=Mr(e),n=!t&&ai(e),s=!t&&!n&&Kn(e),a=!t&&!n&&!s&&$i(e),o=t||n||s||a,i=o?ei(e.length,String):[],c=i.length;for(var l in e)(r||Yi.call(e,l))&&!(o&&(l=="length"||s&&(l=="offset"||l=="parent")||a&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||Zo(l,c)))&&i.push(l);return i}function ts(e,r){return function(t){return e(r(t))}}var Hi=ts(Object.keys,Object);const Wi=Hi;var Vi=Object.prototype,Bi=Vi.hasOwnProperty;function zi(e){if(!Lr(e))return Wi(e);var r=[];for(var t in Object(e))Bi.call(e,t)&&t!="constructor"&&r.push(t);return r}function Yr(e){return zn(e)?es(e):zi(e)}function Ui(e){var r=[];if(e!=null)for(var t in Object(e))r.push(t);return r}var qi=Object.prototype,Gi=qi.hasOwnProperty;function Zi(e){if(!Ge(e))return Ui(e);var r=Lr(e),t=[];for(var n in e)n=="constructor"&&(r||!Gi.call(e,n))||t.push(n);return t}function Hr(e){return zn(e)?es(e,!0):Zi(e)}var Qi=at(Object,"create");const Lt=Qi;function Ki(){this.__data__=Lt?Lt(null):{},this.size=0}function Xi(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}var Ji="__lodash_hash_undefined__",ec=Object.prototype,tc=ec.hasOwnProperty;function rc(e){var r=this.__data__;if(Lt){var t=r[e];return t===Ji?void 0:t}return tc.call(r,e)?r[e]:void 0}var nc=Object.prototype,sc=nc.hasOwnProperty;function ac(e){var r=this.__data__;return Lt?r[e]!==void 0:sc.call(r,e)}var oc="__lodash_hash_undefined__";function ic(e,r){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=Lt&&r===void 0?oc:r,this}function ot(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])}}ot.prototype.clear=Ki,ot.prototype.delete=Xi,ot.prototype.get=rc,ot.prototype.has=ac,ot.prototype.set=ic;function cc(){this.__data__=[],this.size=0}function tr(e,r){for(var t=e.length;t--;)if(Wn(e[t][0],r))return t;return-1}var uc=Array.prototype,lc=uc.splice;function fc(e){var r=this.__data__,t=tr(r,e);if(t<0)return!1;var n=r.length-1;return t==n?r.pop():lc.call(r,t,1),--this.size,!0}function dc(e){var r=this.__data__,t=tr(r,e);return t<0?void 0:r[t][1]}function hc(e){return tr(this.__data__,e)>-1}function pc(e,r){var t=this.__data__,n=tr(t,e);return n<0?(++this.size,t.push([e,r])):t[n][1]=r,this}function Ze(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])}}Ze.prototype.clear=cc,Ze.prototype.delete=fc,Ze.prototype.get=dc,Ze.prototype.has=hc,Ze.prototype.set=pc;var mc=at(Fe,"Map");const $t=mc;function bc(){this.size=0,this.__data__={hash:new ot,map:new($t||Ze),string:new ot}}function gc(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}function rr(e,r){var t=e.__data__;return gc(r)?t[typeof r=="string"?"string":"hash"]:t.map}function yc(e){var r=rr(this,e).delete(e);return this.size-=r?1:0,r}function vc(e){return rr(this,e).get(e)}function xc(e){return rr(this,e).has(e)}function wc(e,r){var t=rr(this,e),n=t.size;return t.set(e,r),this.size+=t.size==n?0:1,this}function gt(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])}}gt.prototype.clear=bc,gt.prototype.delete=yc,gt.prototype.get=vc,gt.prototype.has=xc,gt.prototype.set=wc;function rs(e,r){for(var t=-1,n=r.length,s=e.length;++t<n;)e[s+t]=r[t];return e}var Tc=ts(Object.getPrototypeOf,Object);const ns=Tc;function Sc(){this.__data__=new Ze,this.size=0}function Pc(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t}function Ec(e){return this.__data__.get(e)}function kc(e){return this.__data__.has(e)}var Cc=200;function Dc(e,r){var t=this.__data__;if(t instanceof Ze){var n=t.__data__;if(!$t||n.length<Cc-1)return n.push([e,r]),this.size=++t.size,this;t=this.__data__=new gt(n)}return t.set(e,r),this.size=t.size,this}function yt(e){var r=this.__data__=new Ze(e);this.size=r.size}yt.prototype.clear=Sc,yt.prototype.delete=Pc,yt.prototype.get=Ec,yt.prototype.has=kc,yt.prototype.set=Dc;function Oc(e,r){return e&&er(r,Yr(r),e)}function Nc(e,r){return e&&er(r,Hr(r),e)}var ss=typeof K=="object"&&K&&!K.nodeType&&K,as=ss&&typeof module=="object"&&module&&!module.nodeType&&module,_c=as&&as.exports===ss,os=_c?Fe.Buffer:void 0,is=os?os.allocUnsafe:void 0;function Ic(e,r){if(r)return e.slice();var t=e.length,n=is?is(t):new e.constructor(t);return e.copy(n),n}function jc(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 cs(){return[]}var Mc=Object.prototype,Rc=Mc.propertyIsEnumerable,us=Object.getOwnPropertySymbols,Ac=us?function(e){return e==null?[]:(e=Object(e),jc(us(e),function(r){return Rc.call(e,r)}))}:cs;const Wr=Ac;function Lc(e,r){return er(e,Wr(e),r)}var $c=Object.getOwnPropertySymbols,Fc=$c?function(e){for(var r=[];e;)rs(r,Wr(e)),e=ns(e);return r}:cs;const ls=Fc;function Yc(e,r){return er(e,ls(e),r)}function fs(e,r,t){var n=r(e);return Mr(e)?n:rs(n,t(e))}function Hc(e){return fs(e,Yr,Wr)}function Wc(e){return fs(e,Hr,ls)}var Vc=at(Fe,"DataView");const Vr=Vc;var Bc=at(Fe,"Promise");const Br=Bc;var zc=at(Fe,"Set");const zr=zc;var ds="[object Map]",Uc="[object Object]",hs="[object Promise]",ps="[object Set]",ms="[object WeakMap]",bs="[object DataView]",qc=st(Vr),Gc=st($t),Zc=st(Br),Qc=st(zr),Kc=st(Ar),it=pt;(Vr&&it(new Vr(new ArrayBuffer(1)))!=bs||$t&&it(new $t)!=ds||Br&&it(Br.resolve())!=hs||zr&&it(new zr)!=ps||Ar&&it(new Ar)!=ms)&&(it=function(e){var r=pt(e),t=r==Uc?e.constructor:void 0,n=t?st(t):"";if(n)switch(n){case qc:return bs;case Gc:return ds;case Zc:return hs;case Qc:return ps;case Kc:return ms}return r});const Ur=it;var Xc=Object.prototype,Jc=Xc.hasOwnProperty;function eu(e){var r=e.length,t=new e.constructor(r);return r&&typeof e[0]=="string"&&Jc.call(e,"index")&&(t.index=e.index,t.input=e.input),t}var tu=Fe.Uint8Array;const gs=tu;function qr(e){var r=new e.constructor(e.byteLength);return new gs(r).set(new gs(e)),r}function ru(e,r){var t=r?qr(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.byteLength)}var nu=/\w*$/;function su(e){var r=new e.constructor(e.source,nu.exec(e));return r.lastIndex=e.lastIndex,r}var ys=ht?ht.prototype:void 0,vs=ys?ys.valueOf:void 0;function au(e){return vs?Object(vs.call(e)):{}}function ou(e,r){var t=r?qr(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}var iu="[object Boolean]",cu="[object Date]",uu="[object Map]",lu="[object Number]",fu="[object RegExp]",du="[object Set]",hu="[object String]",pu="[object Symbol]",mu="[object ArrayBuffer]",bu="[object DataView]",gu="[object Float32Array]",yu="[object Float64Array]",vu="[object Int8Array]",xu="[object Int16Array]",wu="[object Int32Array]",Tu="[object Uint8Array]",Su="[object Uint8ClampedArray]",Pu="[object Uint16Array]",Eu="[object Uint32Array]";function ku(e,r,t){var n=e.constructor;switch(r){case mu:return qr(e);case iu:case cu:return new n(+e);case bu:return ru(e,t);case gu:case yu:case vu:case xu:case wu:case Tu:case Su:case Pu:case Eu:return ou(e,t);case uu:return new n;case lu:case hu:return new n(e);case fu:return su(e);case du:return new n;case pu:return au(e)}}function Cu(e){return typeof e.constructor=="function"&&!Lr(e)?Vo(ns(e)):{}}var Du="[object Map]";function Ou(e){return mt(e)&&Ur(e)==Du}var xs=bt&&bt.isMap,Nu=xs?$r(xs):Ou;const _u=Nu;var Iu="[object Set]";function ju(e){return mt(e)&&Ur(e)==Iu}var ws=bt&&bt.isSet,Mu=ws?$r(ws):ju;const Ru=Mu;var Au=1,Lu=2,$u=4,Ts="[object Arguments]",Fu="[object Array]",Yu="[object Boolean]",Hu="[object Date]",Wu="[object Error]",Ss="[object Function]",Vu="[object GeneratorFunction]",Bu="[object Map]",zu="[object Number]",Ps="[object Object]",Uu="[object RegExp]",qu="[object Set]",Gu="[object String]",Zu="[object Symbol]",Qu="[object WeakMap]",Ku="[object ArrayBuffer]",Xu="[object DataView]",Ju="[object Float32Array]",el="[object Float64Array]",tl="[object Int8Array]",rl="[object Int16Array]",nl="[object Int32Array]",sl="[object Uint8Array]",al="[object Uint8ClampedArray]",ol="[object Uint16Array]",il="[object Uint32Array]",ge={};ge[Ts]=ge[Fu]=ge[Ku]=ge[Xu]=ge[Yu]=ge[Hu]=ge[Ju]=ge[el]=ge[tl]=ge[rl]=ge[nl]=ge[Bu]=ge[zu]=ge[Ps]=ge[Uu]=ge[qu]=ge[Gu]=ge[Zu]=ge[sl]=ge[al]=ge[ol]=ge[il]=!0,ge[Wu]=ge[Ss]=ge[Qu]=!1;function nr(e,r,t,n,s,a){var o,i=r&Au,c=r&Lu,l=r&$u;if(t&&(o=s?t(e,n,s,a):t(e)),o!==void 0)return o;if(!Ge(e))return e;var h=Mr(e);if(h){if(o=eu(e),!i)return Bo(e,o)}else{var m=Ur(e),v=m==Ss||m==Vu;if(Kn(e))return Ic(e,i);if(m==Ps||m==Ts||v&&!s){if(o=c||v?{}:Cu(e),!i)return c?Yc(e,Nc(o,e)):Lc(e,Oc(o,e))}else{if(!ge[m])return s?e:{};o=ku(e,m,i)}}a||(a=new yt);var x=a.get(e);if(x)return x;a.set(e,o),Ru(e)?e.forEach(function(N){o.add(nr(N,r,t,N,e,a))}):_u(e)&&e.forEach(function(N,T){o.set(T,nr(N,r,t,T,e,a))});var w=l?c?Wc:Hc:c?Hr:Yr,k=h?void 0:w(e);return Uo(k||e,function(N,T){k&&(T=N,N=e[T]),Vn(o,T,nr(N,r,t,T,e,a))}),o}var cl=1,ul=4;function ll(e){return nr(e,cl|ul)}var fl=function(){return Fe.Date.now()};const Gr=fl;var dl="Expected a function",hl=Math.max,pl=Math.min;function Ft(e,r,t){var n,s,a,o,i,c,l=0,h=!1,m=!1,v=!0;if(typeof e!="function")throw new TypeError(dl);r=An(r)||0,Ge(t)&&(h=!!t.leading,m="maxWait"in t,a=m?hl(An(t.maxWait)||0,r):a,v="trailing"in t?!!t.trailing:v);function x($){var _=n,W=s;return n=s=void 0,l=$,o=e.apply(W,_),o}function w($){return l=$,i=setTimeout(T,r),h?x($):o}function k($){var _=$-c,W=$-l,Y=r-_;return m?pl(Y,a-W):Y}function N($){var _=$-c,W=$-l;return c===void 0||_>=r||_<0||m&&W>=a}function T(){var $=Gr();if(N($))return A($);i=setTimeout(T,k($))}function A($){return i=void 0,v&&n?x($):(n=s=void 0,o)}function B(){i!==void 0&&clearTimeout(i),l=0,n=c=s=i=void 0}function F(){return i===void 0?o:A(Gr())}function g(){var $=Gr(),_=N($);if(n=arguments,s=this,c=$,_){if(i===void 0)return w(c);if(m)return clearTimeout(i),i=setTimeout(T,r),x(c)}return i===void 0&&(i=setTimeout(T,r)),o}return g.cancel=B,g.flush=F,g}var ml="Expected a function";function bl(e,r,t){var n=!0,s=!0;if(typeof e!="function")throw new TypeError(ml);return Ge(t)&&(n="leading"in t?!!t.leading:n,s="trailing"in t?!!t.trailing:s),Ft(e,r,{leading:n,maxWait:r,trailing:s})}const gl=(e,r)=>{const{value:t,readOnly:n=!1,debounceTime:s=800,fillContainer:a=!0,leftElement:o,rightElement:i,className:c,leftElementClassName:l,rightElementClassName:h,isSingleLine:m=!0,allowSingleLineScroll:v=!1,inputMode:x,placeholder:w,onFocus:k,onBlur:N,onInput:T,onInnerTextChange:A,onInnerHTMLChange:B,onElementCreate:F,onLeftElementClick:g,onRightElementClick:$}=e,_=d.useRef("bsc-flex-grow focus:bsc-outline-none"),W=d.useRef("bsc-text-gray-4"),Y=d.useRef(),re=d.useCallback(p=>{const j=p.target,q=j.innerHTML;j.className=`${_.current}`,w&&q===w&&(j.innerHTML=""),k==null||k(p)},[w,k]),te=d.useCallback(p=>{const j=p.target.innerHTML;if(w&&j===""){const q=p.target;q.innerHTML=w,q.className=`${_.current} ${W.current}`}N==null||N(p)},[w,N]),z=d.useCallback(p=>{var j,q;(j=Y.current)==null||j.removeEventListener("focus",re),(q=Y.current)==null||q.removeEventListener("blur",te),w&&p&&p!==document.activeElement&&p.innerHTML===""&&(p.innerHTML=w,p.className=`${_.current} ${W.current}`),p.addEventListener("focus",re),p.addEventListener("blur",te),Y.current=p},[w]),E=d.useCallback(p=>{F==null||F(p)},[F]),P=p=>{g==null||g(p)},I=p=>{$==null||$(p)},C=Ft(p=>{T==null||T(p),A==null||A(p.target.innerText),B==null||B(p.target.innerHTML)},s),G=d.useCallback(p=>{Y.current&&(Y.current.innerText=p)},[]),O=d.useCallback(p=>{Y.current&&(Y.current.innerHTML=p)},[]),se=d.useCallback(()=>{var p;(p=Y.current)==null||p.focus()},[]);d.useImperativeHandle(r,()=>({inputElement:Y.current,setInnerText:G,setInnerHTML:O,focus:se}));const y=ce({"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":m&&v,"bsc-overflow-hidden bsc-whitespace-pre":m&&!v},c),D=ce("bsc-flex-shrink",{"bsc-mr-2":o},l),V=ce("bsc-flex-shrink",{"bsc-ml-2":i},h);return f.jsxs("div",{className:y,ref:p=>p&&E(p),children:[o&&f.jsx("div",{className:D,onClick:P,children:o}),f.jsx("div",{ref:p=>p&&z(p),className:_.current,contentEditable:!n,suppressContentEditableWarning:!0,inputMode:x,onInput:C,children:t}),i&&f.jsx("div",{className:V,onClick:I,children:i})]})},sr=d.forwardRef(gl);function ue(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 ye(e,r){return e instanceof Date?new e.constructor(r):new Date(r)}function vt(e,r){const t=ue(e);return isNaN(r)?ye(e,NaN):(r&&t.setDate(t.getDate()+r),t)}function ct(e,r){const t=ue(e);if(isNaN(r))return ye(e,NaN);if(!r)return t;const n=t.getDate(),s=ye(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 Es=6048e5,Zr=6e4,Qr=36e5,yl=1e3;let vl={};function Yt(){return vl}function rt(e,r){var i,c,l,h;const t=Yt(),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=(l=t.locale)==null?void 0:l.options)==null?void 0:h.weekStartsOn)??0,s=ue(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 xt(e){return rt(e,{weekStartsOn:1})}function xl(e){const r=ue(e),t=r.getFullYear(),n=ye(e,0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);const s=xt(n),a=ye(e,0);a.setFullYear(t,0,4),a.setHours(0,0,0,0);const o=xt(a);return r.getTime()>=s.getTime()?t+1:r.getTime()>=o.getTime()?t:t-1}function ks(e){const r=ue(e);return r.setHours(0,0,0,0),r}function Cs(e){const r=ue(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 wl(e){const r=xl(e),t=ye(e,0);return t.setFullYear(r,0,4),t.setHours(0,0,0,0),xt(t)}function ar(e,r){return ct(e,r*12)}function Ds(e,r){const t=ks(e),n=ks(r);return+t==+n}function Tl(e){const r=ue(e),t=r.getMonth();return r.setFullYear(r.getFullYear(),t+1,0),r.setHours(23,59,59,999),r}function Sl(e,r){const t=ue(e.start),n=ue(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(ue(o)),o.setDate(o.getDate()+i),o.setHours(0,0,0,0);return s?c.reverse():c}function Os(e){const r=ue(e);return r.setDate(1),r.setHours(0,0,0,0),r}function Pl(e,r){const t=ue(e.start),n=ue(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(ue(o)),o.setFullYear(o.getFullYear()+i);return s?c.reverse():c}const El={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"}},kl=(e,r,t)=>{let n;const s=El[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 Kr(e){return(r={})=>{const t=r.width?String(r.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const Cl={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Dl={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ol={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Nl={date:Kr({formats:Cl,defaultWidth:"full"}),time:Kr({formats:Dl,defaultWidth:"full"}),dateTime:Kr({formats:Ol,defaultWidth:"full"})},_l={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Il=(e,r,t,n)=>_l[e];function Ht(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 jl={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Ml={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Rl={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"]},Al={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"]},Ll={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"}},$l={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"}},Fl={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:Ht({values:jl,defaultWidth:"wide"}),quarter:Ht({values:Ml,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ht({values:Rl,defaultWidth:"wide"}),day:Ht({values:Al,defaultWidth:"wide"}),dayPeriod:Ht({values:Ll,defaultWidth:"wide",formattingValues:$l,defaultFormattingWidth:"wide"})};function Wt(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)?Hl(i,m=>m.test(o)):Yl(i,m=>m.test(o));let l;l=e.valueCallback?e.valueCallback(c):c,l=t.valueCallback?t.valueCallback(l):l;const h=r.slice(o.length);return{value:l,rest:h}}}function Yl(e,r){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&r(e[t]))return t}function Hl(e,r){for(let t=0;t<e.length;t++)if(r(e[t]))return t}function Wl(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 Vl=/^(\d+)(th|st|nd|rd)?/i,Bl=/\d+/i,zl={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},Ul={any:[/^b/i,/^(a|c)/i]},ql={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Gl={any:[/1/i,/2/i,/3/i,/4/i]},Zl={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},Ql={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]},Kl={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},Xl={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]},Jl={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},ef={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}},tf={ordinalNumber:Wl({matchPattern:Vl,parsePattern:Bl,valueCallback:e=>parseInt(e,10)}),era:Wt({matchPatterns:zl,defaultMatchWidth:"wide",parsePatterns:Ul,defaultParseWidth:"any"}),quarter:Wt({matchPatterns:ql,defaultMatchWidth:"wide",parsePatterns:Gl,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Wt({matchPatterns:Zl,defaultMatchWidth:"wide",parsePatterns:Ql,defaultParseWidth:"any"}),day:Wt({matchPatterns:Kl,defaultMatchWidth:"wide",parsePatterns:Xl,defaultParseWidth:"any"}),dayPeriod:Wt({matchPatterns:Jl,defaultMatchWidth:"any",parsePatterns:ef,defaultParseWidth:"any"})},rf={code:"en-US",formatDistance:kl,formatLong:Nl,formatRelative:Il,localize:Fl,match:tf,options:{weekStartsOn:0,firstWeekContainsDate:1}};function nf(e){const r=ue(e),t=+xt(r)-+wl(r);return Math.round(t/Es)+1}function Ns(e,r){var h,m,v,x;const t=ue(e),n=t.getFullYear(),s=Yt(),a=(r==null?void 0:r.firstWeekContainsDate)??((m=(h=r==null?void 0:r.locale)==null?void 0:h.options)==null?void 0:m.firstWeekContainsDate)??s.firstWeekContainsDate??((x=(v=s.locale)==null?void 0:v.options)==null?void 0:x.firstWeekContainsDate)??1,o=ye(e,0);o.setFullYear(n+1,0,a),o.setHours(0,0,0,0);const i=rt(o,r),c=ye(e,0);c.setFullYear(n,0,a),c.setHours(0,0,0,0);const l=rt(c,r);return t.getTime()>=i.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}function sf(e,r){var i,c,l,h;const t=Yt(),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=(l=t.locale)==null?void 0:l.options)==null?void 0:h.firstWeekContainsDate)??1,s=Ns(e,r),a=ye(e,0);return a.setFullYear(s,0,n),a.setHours(0,0,0,0),rt(a,r)}function af(e,r){const t=ue(e),n=+rt(t,r)-+sf(t,r);return Math.round(n/Es)+1}const _s=(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"})}},Is=(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"})}},js={p:Is,P:(e,r)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],s=t[2];if(!s)return _s(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}}",_s(n,r)).replace("{{time}}",Is(s,r))}},of=/^D+$/,cf=/^Y+$/,uf=["D","DD","YY","YYYY"];function lf(e){return of.test(e)}function ff(e){return cf.test(e)}function Ms(e,r,t){const n=df(e,r,t);if(console.warn(n),uf.includes(e))throw new RangeError(n)}function df(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 Xr(e){return ue(e).getDay()}function Rs(e){const r=ue(e),t=r.getFullYear(),n=r.getMonth(),s=ye(e,0);return s.setFullYear(t,n+1,0),s.setHours(0,0,0,0),s.getDate()}function hf(){return Object.assign({},Yt())}function pf(e){let t=ue(e).getDay();return t===0&&(t=7),t}function mf(e){const r=ue(e),t=r.getMonth();return r.setFullYear(r.getFullYear(),t+1,0),r.setHours(0,0,0,0),r}function bf(e,r){const t=ue(e),n=ue(r);return+t<+n}function gf(e,r){const t=r instanceof Date?ye(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 yf=10;class As{constructor(){b(this,"subPriority",0)}validate(r,t){return!0}}class vf extends As{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 xf extends As{constructor(){super(...arguments);b(this,"priority",yf);b(this,"subPriority",-1)}set(t,n){return n.timestampIsSet?t:ye(t,gf(t,Date))}}class le{run(r,t,n,s){const a=this.parse(r,t,n,s);return a?{setter:new vf(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(r,t,n){return!0}}class wf extends le{constructor(){super(...arguments);b(this,"priority",140);b(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 Pe={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 Ee(e,r){return e&&{value:r(e.value),rest:e.rest}}function we(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*Qr+a*Zr+o*yl),rest:r.slice(t[0].length)}}function Ls(e){return we(Pe.anyDigitsSigned,e)}function Te(e,r){switch(e){case 1:return we(Pe.singleDigit,r);case 2:return we(Pe.twoDigits,r);case 3:return we(Pe.threeDigits,r);case 4:return we(Pe.fourDigits,r);default:return we(new RegExp("^\\d{1,"+e+"}"),r)}}function or(e,r){switch(e){case 1:return we(Pe.singleDigitSigned,r);case 2:return we(Pe.twoDigitsSigned,r);case 3:return we(Pe.threeDigitsSigned,r);case 4:return we(Pe.fourDigitsSigned,r);default:return we(new RegExp("^-?\\d{1,"+e+"}"),r)}}function Jr(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 $s(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 Fs(e){return e%400===0||e%4===0&&e%100!==0}class Tf extends le{constructor(){super(...arguments);b(this,"priority",130);b(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 Ee(Te(4,t),a);case"yo":return Ee(s.ordinalNumber(t,{unit:"year"}),a);default:return Ee(Te(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=$s(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 Sf extends le{constructor(){super(...arguments);b(this,"priority",130);b(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 Ee(Te(4,t),a);case"Yo":return Ee(s.ordinalNumber(t,{unit:"year"}),a);default:return Ee(Te(n.length,t),a)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,s,a){const o=Ns(t,a);if(s.isTwoDigitYear){const c=$s(s.year,o);return t.setFullYear(c,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),rt(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),rt(t,a)}}class Pf extends le{constructor(){super(...arguments);b(this,"priority",130);b(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return or(n==="R"?4:n.length,t)}set(t,n,s){const a=ye(t,0);return a.setFullYear(s,0,4),a.setHours(0,0,0,0),xt(a)}}class Ef extends le{constructor(){super(...arguments);b(this,"priority",130);b(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return or(n==="u"?4:n.length,t)}set(t,n,s){return t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}}class kf extends le{constructor(){super(...arguments);b(this,"priority",120);b(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 Te(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 Cf extends le{constructor(){super(...arguments);b(this,"priority",120);b(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 Te(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 Df extends le{constructor(){super(...arguments);b(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);b(this,"priority",110)}parse(t,n,s){const a=o=>o-1;switch(n){case"M":return Ee(we(Pe.month,t),a);case"MM":return Ee(Te(2,t),a);case"Mo":return Ee(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 Of extends le{constructor(){super(...arguments);b(this,"priority",110);b(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 Ee(we(Pe.month,t),a);case"LL":return Ee(Te(2,t),a);case"Lo":return Ee(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 Nf(e,r,t){const n=ue(e),s=af(n,t)-r;return n.setDate(n.getDate()-s*7),n}class _f extends le{constructor(){super(...arguments);b(this,"priority",100);b(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,s){switch(n){case"w":return we(Pe.week,t);case"wo":return s.ordinalNumber(t,{unit:"week"});default:return Te(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,s,a){return rt(Nf(t,s,a),a)}}function If(e,r){const t=ue(e),n=nf(t)-r;return t.setDate(t.getDate()-n*7),t}class jf extends le{constructor(){super(...arguments);b(this,"priority",100);b(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 we(Pe.week,t);case"Io":return s.ordinalNumber(t,{unit:"week"});default:return Te(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,s){return xt(If(t,s))}}const Mf=[31,28,31,30,31,30,31,31,30,31,30,31],Rf=[31,29,31,30,31,30,31,31,30,31,30,31];class Af extends le{constructor(){super(...arguments);b(this,"priority",90);b(this,"subPriority",1);b(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,s){switch(n){case"d":return we(Pe.date,t);case"do":return s.ordinalNumber(t,{unit:"date"});default:return Te(n.length,t)}}validate(t,n){const s=t.getFullYear(),a=Fs(s),o=t.getMonth();return a?n>=1&&n<=Rf[o]:n>=1&&n<=Mf[o]}set(t,n,s){return t.setDate(s),t.setHours(0,0,0,0),t}}class Lf extends le{constructor(){super(...arguments);b(this,"priority",90);b(this,"subpriority",1);b(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 we(Pe.dayOfYear,t);case"Do":return s.ordinalNumber(t,{unit:"date"});default:return Te(n.length,t)}}validate(t,n){const s=t.getFullYear();return Fs(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 en(e,r,t){var m,v,x,w;const n=Yt(),s=(t==null?void 0:t.weekStartsOn)??((v=(m=t==null?void 0:t.locale)==null?void 0:m.options)==null?void 0:v.weekStartsOn)??n.weekStartsOn??((w=(x=n.locale)==null?void 0:x.options)==null?void 0:w.weekStartsOn)??0,a=ue(e),o=a.getDay(),c=(r%7+7)%7,l=7-s,h=r<0||r>6?r-(o+l)%7:(c+l)%7-(o+l)%7;return vt(a,h)}class $f extends le{constructor(){super(...arguments);b(this,"priority",90);b(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=en(t,s,a),t.setHours(0,0,0,0),t}}class Ff extends le{constructor(){super(...arguments);b(this,"priority",90);b(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 Ee(Te(n.length,t),o);case"eo":return Ee(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=en(t,s,a),t.setHours(0,0,0,0),t}}class Yf extends le{constructor(){super(...arguments);b(this,"priority",90);b(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 Ee(Te(n.length,t),o);case"co":return Ee(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=en(t,s,a),t.setHours(0,0,0,0),t}}function Hf(e,r){const t=ue(e),n=pf(t),s=r-n;return vt(t,s)}class Wf extends le{constructor(){super(...arguments);b(this,"priority",90);b(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 Te(n.length,t);case"io":return s.ordinalNumber(t,{unit:"day"});case"iii":return Ee(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 Ee(s.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return Ee(s.day(t,{width:"short",context:"formatting"})||s.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return Ee(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=Hf(t,s),t.setHours(0,0,0,0),t}}class Vf extends le{constructor(){super(...arguments);b(this,"priority",80);b(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(Jr(s),0,0,0),t}}class Bf extends le{constructor(){super(...arguments);b(this,"priority",80);b(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(Jr(s),0,0,0),t}}class zf extends le{constructor(){super(...arguments);b(this,"priority",80);b(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(Jr(s),0,0,0),t}}class Uf extends le{constructor(){super(...arguments);b(this,"priority",70);b(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,s){switch(n){case"h":return we(Pe.hour12h,t);case"ho":return s.ordinalNumber(t,{unit:"hour"});default:return Te(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 qf extends le{constructor(){super(...arguments);b(this,"priority",70);b(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,s){switch(n){case"H":return we(Pe.hour23h,t);case"Ho":return s.ordinalNumber(t,{unit:"hour"});default:return Te(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,s){return t.setHours(s,0,0,0),t}}class Gf extends le{constructor(){super(...arguments);b(this,"priority",70);b(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,s){switch(n){case"K":return we(Pe.hour11h,t);case"Ko":return s.ordinalNumber(t,{unit:"hour"});default:return Te(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 Zf extends le{constructor(){super(...arguments);b(this,"priority",70);b(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,s){switch(n){case"k":return we(Pe.hour24h,t);case"ko":return s.ordinalNumber(t,{unit:"hour"});default:return Te(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 Qf extends le{constructor(){super(...arguments);b(this,"priority",60);b(this,"incompatibleTokens",["t","T"])}parse(t,n,s){switch(n){case"m":return we(Pe.minute,t);case"mo":return s.ordinalNumber(t,{unit:"minute"});default:return Te(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,s){return t.setMinutes(s,0,0),t}}class Kf extends le{constructor(){super(...arguments);b(this,"priority",50);b(this,"incompatibleTokens",["t","T"])}parse(t,n,s){switch(n){case"s":return we(Pe.second,t);case"so":return s.ordinalNumber(t,{unit:"second"});default:return Te(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,s){return t.setSeconds(s,0),t}}class Xf extends le{constructor(){super(...arguments);b(this,"priority",30);b(this,"incompatibleTokens",["t","T"])}parse(t,n){const s=a=>Math.trunc(a*Math.pow(10,-n.length+3));return Ee(Te(n.length,t),s)}set(t,n,s){return t.setMilliseconds(s),t}}class Jf extends le{constructor(){super(...arguments);b(this,"priority",10);b(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:ye(t,t.getTime()-Cs(t)-s)}}class ed extends le{constructor(){super(...arguments);b(this,"priority",10);b(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:ye(t,t.getTime()-Cs(t)-s)}}class td extends le{constructor(){super(...arguments);b(this,"priority",40);b(this,"incompatibleTokens","*")}parse(t){return Ls(t)}set(t,n,s){return[ye(t,s*1e3),{timestampIsSet:!0}]}}class rd extends le{constructor(){super(...arguments);b(this,"priority",20);b(this,"incompatibleTokens","*")}parse(t){return Ls(t)}set(t,n,s){return[ye(t,s),{timestampIsSet:!0}]}}const nd={G:new wf,y:new Tf,Y:new Sf,R:new Pf,u:new Ef,Q:new kf,q:new Cf,M:new Df,L:new Of,w:new _f,I:new jf,d:new Af,D:new Lf,E:new $f,e:new Ff,c:new Yf,i:new Wf,a:new Vf,b:new Bf,B:new zf,h:new Uf,H:new qf,K:new Gf,k:new Zf,m:new Qf,s:new Kf,S:new Xf,X:new Jf,x:new ed,t:new td,T:new rd},sd=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ad=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,od=/^'([^]*?)'?$/,id=/''/g,cd=/\S/,ud=/[a-zA-Z]/;function ze(e,r,t,n){var k,N,T,A,B,F,g,$;const s=hf(),a=(n==null?void 0:n.locale)??s.locale??rf,o=(n==null?void 0:n.firstWeekContainsDate)??((N=(k=n==null?void 0:n.locale)==null?void 0:k.options)==null?void 0:N.firstWeekContainsDate)??s.firstWeekContainsDate??((A=(T=s.locale)==null?void 0:T.options)==null?void 0:A.firstWeekContainsDate)??1,i=(n==null?void 0:n.weekStartsOn)??((F=(B=n==null?void 0:n.locale)==null?void 0:B.options)==null?void 0:F.weekStartsOn)??s.weekStartsOn??(($=(g=s.locale)==null?void 0:g.options)==null?void 0:$.weekStartsOn)??0;if(r==="")return e===""?ue(t):ye(t,NaN);const c={firstWeekContainsDate:o,weekStartsOn:i,locale:a},l=[new xf],h=r.match(ad).map(_=>{const W=_[0];if(W in js){const Y=js[W];return Y(_,a.formatLong)}return _}).join("").match(sd),m=[];for(let _ of h){!(n!=null&&n.useAdditionalWeekYearTokens)&&ff(_)&&Ms(_,r,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&lf(_)&&Ms(_,r,e);const W=_[0],Y=nd[W];if(Y){const{incompatibleTokens:re}=Y;if(Array.isArray(re)){const z=m.find(E=>re.includes(E.token)||E.token===W);if(z)throw new RangeError(`The format string mustn't contain \`${z.fullToken}\` and \`${_}\` at the same time`)}else if(Y.incompatibleTokens==="*"&&m.length>0)throw new RangeError(`The format string mustn't contain \`${_}\` and any other token at the same time`);m.push({token:W,fullToken:_});const te=Y.run(e,_,a.match,c);if(!te)return ye(t,NaN);l.push(te.setter),e=te.rest}else{if(W.match(ud))throw new RangeError("Format string contains an unescaped latin alphabet character `"+W+"`");if(_==="''"?_="'":W==="'"&&(_=ld(_)),e.indexOf(_)===0)e=e.slice(_.length);else return ye(t,NaN)}}if(e.length>0&&cd.test(e))return ye(t,NaN);const v=l.map(_=>_.priority).sort((_,W)=>W-_).filter((_,W,Y)=>Y.indexOf(_)===W).map(_=>l.filter(W=>W.priority===_).sort((W,Y)=>Y.subPriority-W.subPriority)).map(_=>_[0]);let x=ue(t);if(isNaN(x.getTime()))return ye(t,NaN);const w={};for(const _ of v){if(!_.validate(x,c))return ye(t,NaN);const W=_.set(x,w,c);Array.isArray(W)?(x=W[0],Object.assign(w,W[1])):x=W}return ye(t,x)}function ld(e){return e.match(od)[1].replace(id,"'")}function fd(e){return Ds(e,Date.now())}function dd(e,r){return vt(e,-r)}function hd(e,r){let t=r-Xr(e);return t<=0&&(t+=7),vt(e,t)}function pd(e,r){const t=(r==null?void 0:r.additionalDigits)??2,n=yd(e);let s;if(n.date){const c=vd(n.date,t);s=xd(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=wd(n.time),isNaN(o)))return new Date(NaN);if(n.timezone){if(i=Td(n.timezone),isNaN(i))return new Date(NaN)}else{const c=new Date(a+o),l=new Date(0);return l.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),l.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),l}return new Date(a+o+i)}const ir={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},md=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,bd=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,gd=/^([+-])(\d{2})(?::?(\d{2}))?$/;function yd(e){const r={},t=e.split(ir.dateTimeDelimiter);let n;if(t.length>2)return r;if(/:/.test(t[0])?n=t[0]:(r.date=t[0],n=t[1],ir.timeZoneDelimiter.test(r.date)&&(r.date=e.split(ir.timeZoneDelimiter)[0],n=e.substr(r.date.length,e.length))),n){const s=ir.timezone.exec(n);s?(r.time=n.replace(s[1],""),r.timezone=s[1]):r.time=n}return r}function vd(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 xd(e,r){if(r===null)return new Date(NaN);const t=e.match(md);if(!t)return new Date(NaN);const n=!!t[4],s=Vt(t[1]),a=Vt(t[2])-1,o=Vt(t[3]),i=Vt(t[4]),c=Vt(t[5])-1;if(n)return Cd(r,i,c)?Sd(r,i,c):new Date(NaN);{const l=new Date(0);return!Ed(r,a,o)||!kd(r,s)?new Date(NaN):(l.setUTCFullYear(r,a,Math.max(s,o)),l)}}function Vt(e){return e?parseInt(e):1}function wd(e){const r=e.match(bd);if(!r)return NaN;const t=tn(r[1]),n=tn(r[2]),s=tn(r[3]);return Dd(t,n,s)?t*Qr+n*Zr+s*1e3:NaN}function tn(e){return e&&parseFloat(e.replace(",","."))||0}function Td(e){if(e==="Z")return 0;const r=e.match(gd);if(!r)return 0;const t=r[1]==="+"?-1:1,n=parseInt(r[2]),s=r[3]&&parseInt(r[3])||0;return Od(n,s)?t*(n*Qr+s*Zr):NaN}function Sd(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 Pd=[31,null,31,30,31,30,31,31,30,31,30,31];function Ys(e){return e%400===0||e%4===0&&e%100!==0}function Ed(e,r,t){return r>=0&&r<=11&&t>=1&&t<=(Pd[r]||(Ys(e)?29:28))}function kd(e,r){return r>=1&&r<=(Ys(e)?366:365)}function Cd(e,r,t){return r>=1&&r<=53&&t>=0&&t<=6}function Dd(e,r,t){return e===24?r===0&&t===0:t>=0&&t<60&&r>=0&&r<60&&e>=0&&e<25}function Od(e,r){return r>=0&&r<=59}function Nd(e,r){const t=ue(e),n=t.getFullYear(),s=t.getDate(),a=ye(e,0);a.setFullYear(n,r,15),a.setHours(0,0,0,0);const o=Rs(a);return t.setMonth(r,Math.min(s,o)),t}function _d(e,r){const t=ue(e);return isNaN(+t)?ye(e,NaN):(t.setFullYear(r),t)}function Hs(e,r){return ct(e,-r)}function Ws(e,r){return ar(e,-r)}function Vs(){return window.navigator.languages?window.navigator.languages[0]:window.navigator.language}function Id(e,r,t){const n=[];for(let s=e;s<=r;s++)n.push(t?t(s):s);return n}function jd(e,r){const t=e.target;return t?!r.isSameNode(t)&&!r.contains(t):!1}function Md(e,r){return e.isSameNode(r)||e.contains(r)}function Rd(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(l=>l.trim()).includes(n[o]))return!1}else if(n[o]!==i)return!1}return!0}function Ad(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(l=>l.trim()).includes(n[o]))return!0}else if(n[o]===i)return!0}return!1}function Bs(e,r,t=!1,n){if(t&&Rd(e,r)){if(!n||(n==null?void 0:n(e))===!0)return e}else if(!t&&Ad(e,r)&&(!n||(n==null?void 0:n(e))===!0))return e;return e.parentElement?Bs(e.parentElement,r,t,n):e}function zs(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 up(e){return e}function Ld(e){const r=document.documentElement;Object.keys(e).forEach(t=>{r.style.setProperty(t,e[t])})}function $d(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"}}var _e=(e=>(e[e.Regular=24]="Regular",e[e.Small=20]="Small",e))(_e||{});const Us=({className:e})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:e,children:f.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"})}),Fd=({className:e})=>{const r=ce("bsc-h-6 bsc-w-6",e);return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:r,children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"})})},Yd=({className:e})=>{const r=ce("bsc-h-6 bsc-w-6",e);return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:r,children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5 8.25 12l7.5-7.5"})})},Hd=({className:e})=>{const r=ce("bsc-h-6 bsc-w-6",e);return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:r,children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"})})},Wd=({className:e})=>{const r=ce("bsc-h-6 bsc-w-6",e);return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:r,children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"})})},Vd=({className:e})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:e,children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"})}),Re=({icon:e,size:r=_e.Regular,onClick:t,className:n})=>{const s=d.useRef({calendar:Us,chevronDown:Fd,chevronLeft:Yd,chevronRight:Hd,chevronUp:Wd,close:Vd}),a=d.useMemo(()=>s.current[e]||Us,[e]),o=ce({"bsc-h-[24px] bsc-w-[24px]":r===_e.Regular,"bsc-h-[20px] bsc-w-[20px]":r===_e.Small},n);return f.jsx("div",{onClick:t,children:f.jsx(a,{className:o})})},wt=({template:e,props:r,children:t})=>e(r,t);function Bd(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 zd(e,r){return e.matches[r]=!1,e.mediaQueries[r]={},e}function qs(e){const r=Object.keys(e);return typeof window>"u"?r.reduce(zd,{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 Ud(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 qs(r.queries)}}function qd(e){const r=_t.useRef(e),[t,n]=_t.useReducer(Ud,e,qs);_t.useEffect(()=>{Bd(e,r.current)&&(n({type:"setQueries",queries:e}),r.current=e)},[e]);function s(){return n({type:"updateMatches"})}function a(c){const l=s;return typeof c.addListener<"u"?c.addListener(l):c.addEventListener("change",l),l}_t.useEffect(()=>{const c=Object.values(t.mediaQueries),l=c.map(a);function h(m,v){typeof m.addListener<"u"?m.removeListener(l[v]):m.removeEventListener("change",l[v])}return()=>{c.forEach(h)}},[t.mediaQueries]);const{matches:o}=t,i=_t.useMemo(()=>Object.values(o),[o]);return{matches:o,matchesAny:i.some(Boolean),matchesAll:i.length>0&&i.every(Boolean)}}function cr(e){return qd(Gd(e)).matchesAll}const rn={};function Gd(e){return rn[e]===void 0&&(rn[e]={default:e}),rn[e]}const nn=({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=cr(e),c=cr(r),l=cr(t);return(()=>i&&n?n:!i&&s?s:c&&a?a:l&&o?o:(console.error("Invalid media settings"),null))()};function Gs(e,r,t){const n=a=>{const o=a.target,i=e.style.display!=="hidden";e&&i&&!Md(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 Zs(e){document.removeEventListener("mousedown",e)}function Zd(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 sn(e,r){return sn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},sn(e,r)}function Qd(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,sn(e,r)}var an={exports:{}},ur={exports:{}},de={};/** @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})()})(En);var Ma=En.exports;const ce=Or(Ma);var Mt=(e=>(e[e.Focus=0]="Focus",e[e.FocusWithin=1]="FocusWithin",e))(Mt||{});const Xt=(e=1)=>d.useMemo(()=>ce("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]),Ra=(e,r)=>{const t=d.useRef(null),{buttonType:n,buttonStyle:s="flat",type:a="button",disabled:o=!1,form:i,fullWidth:c=!1,onClick:l,className:h,children:m}=e,v=()=>{l==null||l()},x=()=>{var N;(N=t.current)==null||N.click()};d.useImperativeHandle(r,()=>({click:x}));const w=Xt(Mt.Focus),k=ce("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 f.jsx("button",{ref:t,type:a,onClick:v,disabled:o,form:i,className:k,children:m})},We=d.forwardRef(Ra),Jt=e=>e==null?!1:typeof e=="object",Aa=e=>Array.isArray(e)&&e.every(r=>Jt(r)),La=e=>e instanceof Date,$a=e=>Array.isArray(e)&&e.every(r=>r instanceof Date),kn=e=>typeof e=="function",Fa=e=>Array.isArray(e)&&e.every(r=>kn(r)),Cn=e=>{const r=typeof e;return r==="string"||r==="number"||r==="boolean"||r==="bigint"},Ya=e=>Array.isArray(e)&&e.every(r=>Cn(r)),_r=e=>{if(!Jt(e))return e;const r={},t=Object.keys(e);for(let n=t.length;n--!==0;){const s=t[n],a=e[s];Cn(a)||kn(a)?r[s]=a:La(a)?r[s]=new Date(a.getTime()):Array.isArray(a)?r[s]=Dn(a):Jt(a)&&(r[s]=_r(a))}return r},Ha=e=>{let r=e.length;const t=new Array(r);for(;r--!==0;)t[r]=e[r];return t},Wa=e=>{let r=e.length;const t=new Array(r);for(;r--!==0;)t[r]=new Date(e[r].getTime());return t},Va=e=>{let r=e.length;const t=new Array(r);for(;r--!==0;)t[r]=_r(e[r]);return t},Dn=e=>{if(Ya(e)||Fa(e))return Ha(e);if($a(e))return Wa(e);if(Aa(e))return Va(e);let r=e.length;const t=new Array(r);for(;r--!==0;)t[r]=e[r];return t},Ba=e=>Jt(e)?Array.isArray(e)?Dn(e):_r(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 On=za(Ua),qa=(e,r)=>{for(let t=e.length;t--!==0;)if(e[t]!==r[t]&&!On(e[t],r[t]))return!0;return!1},Ir=(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]},Nn=e=>{const r=d.useRef();let t=!1;r.current!==void 0&&(t=!On(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]},jr=e=>{const[r,t]=d.useState(!0),n=Pn();return d.useEffect(()=>{e!==void 0?t(e):n&&n.useAnimations!==void 0&&t(n.useAnimations)},[n,e]),r},qe=({label:e,htmlFor:r,readOnly:t=!1,className:n})=>{const s=ce("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 f.jsx("label",{htmlFor:r,className:s,children:e})},Ka=(e,r)=>{const{name:t,label:n,value:s,readOnly:a=!1,checked:o=!1,partial:i=!1,labelLocation:c=Me.Right,className:l,useAnimation:h,onChange:m}=e,[v,x,w]=Qa({checked:!1,partial:!1}),k=Nn(o),N=Nn(i),T=d.useId(),A=jr(h);console.log(T,"checked property",JSON.stringify(k)),d.useEffect(()=>{if(v.initial)x({checked:i?!0:o,partial:i});else{console.log(T,"check changed",JSON.stringify(k),"check property",o);const z=k.changed?o:v.value.checked,E=N.changed?i:v.value.partial;console.log(T,"new checked",z),x({checked:E?!0:z,partial:E})}},[o,i]);const B=z=>{var P;const E=((P=w.current)==null?void 0:P.value.partial)===!0?!0:z.target.checked;x({checked:E,partial:!1}),m==null||m({originalEvent:z,name:t||z.target.name,value:s,checked:E})},F=z=>{var P;const E={checked:z?!0:((P=w.current)==null?void 0:P.value.checked)||!1,partial:z};x(E)},g=z=>{x({checked:z,partial:!1})};d.useImperativeHandle(r,()=>({setPartiallyChecked:F,setChecked:g}));const $=ce("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},l),_=ce("bc-checkbox-label bsc-cursor-pointer",{"bsc-ml-2":c===Me.Right,"bsc-mr-2":c===Me.Left}),W=Xt(Mt.FocusWithin),Y=ce("bc-checkbox-outer bsc-relative bsc-rounded *:bsc-block *:bsc-size-[21px]",{"bsc-checkbox-animate":!a&&A,"bc-read-only bsc-checkbox-no-animate":a||!a&&!A},W),re=ce("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]":A,"bsc-checkbox":!a,"bc-read-only bsc-checkbox-read-only":a}),te=ce("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 console.log(T,"checked state",v.value),f.jsxs("div",{className:$,children:[n&&c===Me.Left&&f.jsx(qe,{label:n,htmlFor:T,readOnly:a,className:_}),f.jsxs("label",{className:Y,children:[f.jsx("input",{id:T,name:t,type:"checkbox",checked:v.value.checked,onChange:B,className:re}),f.jsx("svg",{viewBox:"0 0 21 21",className:te,children:v.value.partial?f.jsx("polyline",{points:"6 10.5 16 10.5"}):f.jsx("polyline",{points:"5 10.75 8.5 14.25 16 6"})})]}),n&&c===Me.Right&&f.jsx(qe,{label:n,htmlFor:T,readOnly:a,className:_})]})},_n=d.memo(d.forwardRef(Ka)),Xa=({name:e,label:r,value:t,data:n,textField:s,valueField:a,readOnly:o=!1,orientation:i=Ne.Vertical,className:c,onChange:l})=>{const[h,m]=d.useState([]),v=Ir(()=>n,[n]);d.useEffect(()=>{m(t??[])},[t]);const x=A=>{const{value:B,checked:F}=A;let g;F?g=[...h,B]:g=h.filter($=>$!==B),m(g),l==null||l({name:e,value:g})},w=(A,B)=>f.jsx(_n,{name:e,label:A[s],value:A[a],checked:h.some(F=>F===A[a]),readOnly:o,onChange:F=>F&&x(F),className:"bsc-mr-3"},`${e}_checkbox_${B}`),k=ce("bsc-flex bsc-flex-col bsc-gap-1",c),N=ce("bsc-flex bsc-gap-1",{"bsc-flex-col":i===Ne.Vertical}),T=A=>f.jsx("div",{className:N,children:A.map(w)});return f.jsxs("div",{className:k,children:[r&&f.jsx(qe,{label:r,readOnly:o}),v&&T(v)]})},Ja=d.memo(Xa);var eo=typeof global=="object"&&global&&global.Object===Object&&global;const In=eo;var to=typeof self=="object"&&self&&self.Object===Object&&self,ro=In||to||Function("return this")();const Fe=ro;var no=Fe.Symbol;const ht=no;var jn=Object.prototype,so=jn.hasOwnProperty,ao=jn.toString,Rt=ht?ht.toStringTag:void 0;function oo(e){var r=so.call(e,Rt),t=e[Rt];try{e[Rt]=void 0;var n=!0}catch{}var s=ao.call(e);return n&&(r?e[Rt]=t:delete e[Rt]),s}var io=Object.prototype,co=io.toString;function uo(e){return co.call(e)}var lo="[object Null]",fo="[object Undefined]",Mn=ht?ht.toStringTag:void 0;function pt(e){return e==null?e===void 0?fo:lo:Mn&&Mn in Object(e)?oo(e):uo(e)}function mt(e){return e!=null&&typeof e=="object"}var ho="[object Symbol]";function po(e){return typeof e=="symbol"||mt(e)&&pt(e)==ho}var mo=Array.isArray;const Mr=mo;var bo=/\s/;function go(e){for(var r=e.length;r--&&bo.test(e.charAt(r)););return r}var yo=/^\s+/;function vo(e){return e&&e.slice(0,go(e)+1).replace(yo,"")}function Ge(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}var Rn=0/0,xo=/^[-+]0x[0-9a-f]+$/i,wo=/^0b[01]+$/i,To=/^0o[0-7]+$/i,So=parseInt;function An(e){if(typeof e=="number")return e;if(po(e))return Rn;if(Ge(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=Ge(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=vo(e);var t=wo.test(e);return t||To.test(e)?So(e.slice(2),t?2:8):xo.test(e)?Rn:+e}var Po="[object AsyncFunction]",Eo="[object Function]",ko="[object GeneratorFunction]",Co="[object Proxy]";function Ln(e){if(!Ge(e))return!1;var r=pt(e);return r==Eo||r==ko||r==Po||r==Co}var Do=Fe["__core-js_shared__"];const Rr=Do;var $n=function(){var e=/[^.]+$/.exec(Rr&&Rr.keys&&Rr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Oo(e){return!!$n&&$n in e}var No=Function.prototype,_o=No.toString;function st(e){if(e!=null){try{return _o.call(e)}catch{}try{return e+""}catch{}}return""}var Io=/[\\^$.*+?()[\]{}|]/g,jo=/^\[object .+?Constructor\]$/,Mo=Function.prototype,Ro=Object.prototype,Ao=Mo.toString,Lo=Ro.hasOwnProperty,$o=RegExp("^"+Ao.call(Lo).replace(Io,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Fo(e){if(!Ge(e)||Oo(e))return!1;var r=Ln(e)?$o:jo;return r.test(st(e))}function Yo(e,r){return e==null?void 0:e[r]}function at(e,r){var t=Yo(e,r);return Fo(t)?t:void 0}var Ho=at(Fe,"WeakMap");const Ar=Ho;var Fn=Object.create,Wo=function(){function e(){}return function(r){if(!Ge(r))return{};if(Fn)return Fn(r);e.prototype=r;var t=new e;return e.prototype=void 0,t}}();const Vo=Wo;function Bo(e,r){var t=-1,n=e.length;for(r||(r=Array(n));++t<n;)r[t]=e[t];return r}var zo=function(){try{var e=at(Object,"defineProperty");return e({},"",{}),e}catch{}}();const Yn=zo;function Uo(e,r){for(var t=-1,n=e==null?0:e.length;++t<n&&r(e[t],t,e)!==!1;);return e}var qo=9007199254740991,Go=/^(?:0|[1-9]\d*)$/;function Zo(e,r){var t=typeof e;return r=r??qo,!!r&&(t=="number"||t!="symbol"&&Go.test(e))&&e>-1&&e%1==0&&e<r}function Hn(e,r,t){r=="__proto__"&&Yn?Yn(e,r,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[r]=t}function Wn(e,r){return e===r||e!==e&&r!==r}var Qo=Object.prototype,Ko=Qo.hasOwnProperty;function Vn(e,r,t){var n=e[r];(!(Ko.call(e,r)&&Wn(n,t))||t===void 0&&!(r in e))&&Hn(e,r,t)}function er(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?Hn(t,i,c):Vn(t,i,c)}return t}var Xo=9007199254740991;function Bn(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Xo}function zn(e){return e!=null&&Bn(e.length)&&!Ln(e)}var Jo=Object.prototype;function Lr(e){var r=e&&e.constructor,t=typeof r=="function"&&r.prototype||Jo;return e===t}function ei(e,r){for(var t=-1,n=Array(e);++t<e;)n[t]=r(t);return n}var ti="[object Arguments]";function Un(e){return mt(e)&&pt(e)==ti}var qn=Object.prototype,ri=qn.hasOwnProperty,ni=qn.propertyIsEnumerable,si=Un(function(){return arguments}())?Un:function(e){return mt(e)&&ri.call(e,"callee")&&!ni.call(e,"callee")};const ai=si;function oi(){return!1}var Gn=typeof K=="object"&&K&&!K.nodeType&&K,Zn=Gn&&typeof module=="object"&&module&&!module.nodeType&&module,ii=Zn&&Zn.exports===Gn,Qn=ii?Fe.Buffer:void 0,ci=Qn?Qn.isBuffer:void 0,ui=ci||oi;const Kn=ui;var li="[object Arguments]",fi="[object Array]",di="[object Boolean]",hi="[object Date]",pi="[object Error]",mi="[object Function]",bi="[object Map]",gi="[object Number]",yi="[object Object]",vi="[object RegExp]",xi="[object Set]",wi="[object String]",Ti="[object WeakMap]",Si="[object ArrayBuffer]",Pi="[object DataView]",Ei="[object Float32Array]",ki="[object Float64Array]",Ci="[object Int8Array]",Di="[object Int16Array]",Oi="[object Int32Array]",Ni="[object Uint8Array]",_i="[object Uint8ClampedArray]",Ii="[object Uint16Array]",ji="[object Uint32Array]",ve={};ve[Ei]=ve[ki]=ve[Ci]=ve[Di]=ve[Oi]=ve[Ni]=ve[_i]=ve[Ii]=ve[ji]=!0,ve[li]=ve[fi]=ve[Si]=ve[di]=ve[Pi]=ve[hi]=ve[pi]=ve[mi]=ve[bi]=ve[gi]=ve[yi]=ve[vi]=ve[xi]=ve[wi]=ve[Ti]=!1;function Mi(e){return mt(e)&&Bn(e.length)&&!!ve[pt(e)]}function $r(e){return function(r){return e(r)}}var Xn=typeof K=="object"&&K&&!K.nodeType&&K,At=Xn&&typeof module=="object"&&module&&!module.nodeType&&module,Ri=At&&At.exports===Xn,Fr=Ri&&In.process,Ai=function(){try{var e=At&&At.require&&At.require("util").types;return e||Fr&&Fr.binding&&Fr.binding("util")}catch{}}();const bt=Ai;var Jn=bt&&bt.isTypedArray,Li=Jn?$r(Jn):Mi;const $i=Li;var Fi=Object.prototype,Yi=Fi.hasOwnProperty;function es(e,r){var t=Mr(e),n=!t&&ai(e),s=!t&&!n&&Kn(e),a=!t&&!n&&!s&&$i(e),o=t||n||s||a,i=o?ei(e.length,String):[],c=i.length;for(var l in e)(r||Yi.call(e,l))&&!(o&&(l=="length"||s&&(l=="offset"||l=="parent")||a&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||Zo(l,c)))&&i.push(l);return i}function ts(e,r){return function(t){return e(r(t))}}var Hi=ts(Object.keys,Object);const Wi=Hi;var Vi=Object.prototype,Bi=Vi.hasOwnProperty;function zi(e){if(!Lr(e))return Wi(e);var r=[];for(var t in Object(e))Bi.call(e,t)&&t!="constructor"&&r.push(t);return r}function Yr(e){return zn(e)?es(e):zi(e)}function Ui(e){var r=[];if(e!=null)for(var t in Object(e))r.push(t);return r}var qi=Object.prototype,Gi=qi.hasOwnProperty;function Zi(e){if(!Ge(e))return Ui(e);var r=Lr(e),t=[];for(var n in e)n=="constructor"&&(r||!Gi.call(e,n))||t.push(n);return t}function Hr(e){return zn(e)?es(e,!0):Zi(e)}var Qi=at(Object,"create");const Lt=Qi;function Ki(){this.__data__=Lt?Lt(null):{},this.size=0}function Xi(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}var Ji="__lodash_hash_undefined__",ec=Object.prototype,tc=ec.hasOwnProperty;function rc(e){var r=this.__data__;if(Lt){var t=r[e];return t===Ji?void 0:t}return tc.call(r,e)?r[e]:void 0}var nc=Object.prototype,sc=nc.hasOwnProperty;function ac(e){var r=this.__data__;return Lt?r[e]!==void 0:sc.call(r,e)}var oc="__lodash_hash_undefined__";function ic(e,r){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=Lt&&r===void 0?oc:r,this}function ot(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])}}ot.prototype.clear=Ki,ot.prototype.delete=Xi,ot.prototype.get=rc,ot.prototype.has=ac,ot.prototype.set=ic;function cc(){this.__data__=[],this.size=0}function tr(e,r){for(var t=e.length;t--;)if(Wn(e[t][0],r))return t;return-1}var uc=Array.prototype,lc=uc.splice;function fc(e){var r=this.__data__,t=tr(r,e);if(t<0)return!1;var n=r.length-1;return t==n?r.pop():lc.call(r,t,1),--this.size,!0}function dc(e){var r=this.__data__,t=tr(r,e);return t<0?void 0:r[t][1]}function hc(e){return tr(this.__data__,e)>-1}function pc(e,r){var t=this.__data__,n=tr(t,e);return n<0?(++this.size,t.push([e,r])):t[n][1]=r,this}function Ze(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])}}Ze.prototype.clear=cc,Ze.prototype.delete=fc,Ze.prototype.get=dc,Ze.prototype.has=hc,Ze.prototype.set=pc;var mc=at(Fe,"Map");const $t=mc;function bc(){this.size=0,this.__data__={hash:new ot,map:new($t||Ze),string:new ot}}function gc(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}function rr(e,r){var t=e.__data__;return gc(r)?t[typeof r=="string"?"string":"hash"]:t.map}function yc(e){var r=rr(this,e).delete(e);return this.size-=r?1:0,r}function vc(e){return rr(this,e).get(e)}function xc(e){return rr(this,e).has(e)}function wc(e,r){var t=rr(this,e),n=t.size;return t.set(e,r),this.size+=t.size==n?0:1,this}function gt(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])}}gt.prototype.clear=bc,gt.prototype.delete=yc,gt.prototype.get=vc,gt.prototype.has=xc,gt.prototype.set=wc;function rs(e,r){for(var t=-1,n=r.length,s=e.length;++t<n;)e[s+t]=r[t];return e}var Tc=ts(Object.getPrototypeOf,Object);const ns=Tc;function Sc(){this.__data__=new Ze,this.size=0}function Pc(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t}function Ec(e){return this.__data__.get(e)}function kc(e){return this.__data__.has(e)}var Cc=200;function Dc(e,r){var t=this.__data__;if(t instanceof Ze){var n=t.__data__;if(!$t||n.length<Cc-1)return n.push([e,r]),this.size=++t.size,this;t=this.__data__=new gt(n)}return t.set(e,r),this.size=t.size,this}function yt(e){var r=this.__data__=new Ze(e);this.size=r.size}yt.prototype.clear=Sc,yt.prototype.delete=Pc,yt.prototype.get=Ec,yt.prototype.has=kc,yt.prototype.set=Dc;function Oc(e,r){return e&&er(r,Yr(r),e)}function Nc(e,r){return e&&er(r,Hr(r),e)}var ss=typeof K=="object"&&K&&!K.nodeType&&K,as=ss&&typeof module=="object"&&module&&!module.nodeType&&module,_c=as&&as.exports===ss,os=_c?Fe.Buffer:void 0,is=os?os.allocUnsafe:void 0;function Ic(e,r){if(r)return e.slice();var t=e.length,n=is?is(t):new e.constructor(t);return e.copy(n),n}function jc(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 cs(){return[]}var Mc=Object.prototype,Rc=Mc.propertyIsEnumerable,us=Object.getOwnPropertySymbols,Ac=us?function(e){return e==null?[]:(e=Object(e),jc(us(e),function(r){return Rc.call(e,r)}))}:cs;const Wr=Ac;function Lc(e,r){return er(e,Wr(e),r)}var $c=Object.getOwnPropertySymbols,Fc=$c?function(e){for(var r=[];e;)rs(r,Wr(e)),e=ns(e);return r}:cs;const ls=Fc;function Yc(e,r){return er(e,ls(e),r)}function fs(e,r,t){var n=r(e);return Mr(e)?n:rs(n,t(e))}function Hc(e){return fs(e,Yr,Wr)}function Wc(e){return fs(e,Hr,ls)}var Vc=at(Fe,"DataView");const Vr=Vc;var Bc=at(Fe,"Promise");const Br=Bc;var zc=at(Fe,"Set");const zr=zc;var ds="[object Map]",Uc="[object Object]",hs="[object Promise]",ps="[object Set]",ms="[object WeakMap]",bs="[object DataView]",qc=st(Vr),Gc=st($t),Zc=st(Br),Qc=st(zr),Kc=st(Ar),it=pt;(Vr&&it(new Vr(new ArrayBuffer(1)))!=bs||$t&&it(new $t)!=ds||Br&&it(Br.resolve())!=hs||zr&&it(new zr)!=ps||Ar&&it(new Ar)!=ms)&&(it=function(e){var r=pt(e),t=r==Uc?e.constructor:void 0,n=t?st(t):"";if(n)switch(n){case qc:return bs;case Gc:return ds;case Zc:return hs;case Qc:return ps;case Kc:return ms}return r});const Ur=it;var Xc=Object.prototype,Jc=Xc.hasOwnProperty;function eu(e){var r=e.length,t=new e.constructor(r);return r&&typeof e[0]=="string"&&Jc.call(e,"index")&&(t.index=e.index,t.input=e.input),t}var tu=Fe.Uint8Array;const gs=tu;function qr(e){var r=new e.constructor(e.byteLength);return new gs(r).set(new gs(e)),r}function ru(e,r){var t=r?qr(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.byteLength)}var nu=/\w*$/;function su(e){var r=new e.constructor(e.source,nu.exec(e));return r.lastIndex=e.lastIndex,r}var ys=ht?ht.prototype:void 0,vs=ys?ys.valueOf:void 0;function au(e){return vs?Object(vs.call(e)):{}}function ou(e,r){var t=r?qr(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}var iu="[object Boolean]",cu="[object Date]",uu="[object Map]",lu="[object Number]",fu="[object RegExp]",du="[object Set]",hu="[object String]",pu="[object Symbol]",mu="[object ArrayBuffer]",bu="[object DataView]",gu="[object Float32Array]",yu="[object Float64Array]",vu="[object Int8Array]",xu="[object Int16Array]",wu="[object Int32Array]",Tu="[object Uint8Array]",Su="[object Uint8ClampedArray]",Pu="[object Uint16Array]",Eu="[object Uint32Array]";function ku(e,r,t){var n=e.constructor;switch(r){case mu:return qr(e);case iu:case cu:return new n(+e);case bu:return ru(e,t);case gu:case yu:case vu:case xu:case wu:case Tu:case Su:case Pu:case Eu:return ou(e,t);case uu:return new n;case lu:case hu:return new n(e);case fu:return su(e);case du:return new n;case pu:return au(e)}}function Cu(e){return typeof e.constructor=="function"&&!Lr(e)?Vo(ns(e)):{}}var Du="[object Map]";function Ou(e){return mt(e)&&Ur(e)==Du}var xs=bt&&bt.isMap,Nu=xs?$r(xs):Ou;const _u=Nu;var Iu="[object Set]";function ju(e){return mt(e)&&Ur(e)==Iu}var ws=bt&&bt.isSet,Mu=ws?$r(ws):ju;const Ru=Mu;var Au=1,Lu=2,$u=4,Ts="[object Arguments]",Fu="[object Array]",Yu="[object Boolean]",Hu="[object Date]",Wu="[object Error]",Ss="[object Function]",Vu="[object GeneratorFunction]",Bu="[object Map]",zu="[object Number]",Ps="[object Object]",Uu="[object RegExp]",qu="[object Set]",Gu="[object String]",Zu="[object Symbol]",Qu="[object WeakMap]",Ku="[object ArrayBuffer]",Xu="[object DataView]",Ju="[object Float32Array]",el="[object Float64Array]",tl="[object Int8Array]",rl="[object Int16Array]",nl="[object Int32Array]",sl="[object Uint8Array]",al="[object Uint8ClampedArray]",ol="[object Uint16Array]",il="[object Uint32Array]",ge={};ge[Ts]=ge[Fu]=ge[Ku]=ge[Xu]=ge[Yu]=ge[Hu]=ge[Ju]=ge[el]=ge[tl]=ge[rl]=ge[nl]=ge[Bu]=ge[zu]=ge[Ps]=ge[Uu]=ge[qu]=ge[Gu]=ge[Zu]=ge[sl]=ge[al]=ge[ol]=ge[il]=!0,ge[Wu]=ge[Ss]=ge[Qu]=!1;function nr(e,r,t,n,s,a){var o,i=r&Au,c=r&Lu,l=r&$u;if(t&&(o=s?t(e,n,s,a):t(e)),o!==void 0)return o;if(!Ge(e))return e;var h=Mr(e);if(h){if(o=eu(e),!i)return Bo(e,o)}else{var m=Ur(e),v=m==Ss||m==Vu;if(Kn(e))return Ic(e,i);if(m==Ps||m==Ts||v&&!s){if(o=c||v?{}:Cu(e),!i)return c?Yc(e,Nc(o,e)):Lc(e,Oc(o,e))}else{if(!ge[m])return s?e:{};o=ku(e,m,i)}}a||(a=new yt);var x=a.get(e);if(x)return x;a.set(e,o),Ru(e)?e.forEach(function(N){o.add(nr(N,r,t,N,e,a))}):_u(e)&&e.forEach(function(N,T){o.set(T,nr(N,r,t,T,e,a))});var w=l?c?Wc:Hc:c?Hr:Yr,k=h?void 0:w(e);return Uo(k||e,function(N,T){k&&(T=N,N=e[T]),Vn(o,T,nr(N,r,t,T,e,a))}),o}var cl=1,ul=4;function ll(e){return nr(e,cl|ul)}var fl=function(){return Fe.Date.now()};const Gr=fl;var dl="Expected a function",hl=Math.max,pl=Math.min;function Ft(e,r,t){var n,s,a,o,i,c,l=0,h=!1,m=!1,v=!0;if(typeof e!="function")throw new TypeError(dl);r=An(r)||0,Ge(t)&&(h=!!t.leading,m="maxWait"in t,a=m?hl(An(t.maxWait)||0,r):a,v="trailing"in t?!!t.trailing:v);function x($){var _=n,W=s;return n=s=void 0,l=$,o=e.apply(W,_),o}function w($){return l=$,i=setTimeout(T,r),h?x($):o}function k($){var _=$-c,W=$-l,Y=r-_;return m?pl(Y,a-W):Y}function N($){var _=$-c,W=$-l;return c===void 0||_>=r||_<0||m&&W>=a}function T(){var $=Gr();if(N($))return A($);i=setTimeout(T,k($))}function A($){return i=void 0,v&&n?x($):(n=s=void 0,o)}function B(){i!==void 0&&clearTimeout(i),l=0,n=c=s=i=void 0}function F(){return i===void 0?o:A(Gr())}function g(){var $=Gr(),_=N($);if(n=arguments,s=this,c=$,_){if(i===void 0)return w(c);if(m)return clearTimeout(i),i=setTimeout(T,r),x(c)}return i===void 0&&(i=setTimeout(T,r)),o}return g.cancel=B,g.flush=F,g}var ml="Expected a function";function bl(e,r,t){var n=!0,s=!0;if(typeof e!="function")throw new TypeError(ml);return Ge(t)&&(n="leading"in t?!!t.leading:n,s="trailing"in t?!!t.trailing:s),Ft(e,r,{leading:n,maxWait:r,trailing:s})}const gl=(e,r)=>{const{value:t,readOnly:n=!1,debounceTime:s=800,fillContainer:a=!0,leftElement:o,rightElement:i,className:c,leftElementClassName:l,rightElementClassName:h,isSingleLine:m=!0,allowSingleLineScroll:v=!1,inputMode:x,placeholder:w,onFocus:k,onBlur:N,onInput:T,onInnerTextChange:A,onInnerHTMLChange:B,onElementCreate:F,onLeftElementClick:g,onRightElementClick:$}=e,_=d.useRef("bsc-flex-grow focus:bsc-outline-none"),W=d.useRef("bsc-text-gray-4"),Y=d.useRef(),re=d.useCallback(p=>{const j=p.target,q=j.innerHTML;j.className=`${_.current}`,w&&q===w&&(j.innerHTML=""),k==null||k(p)},[w,k]),te=d.useCallback(p=>{const j=p.target.innerHTML;if(w&&j===""){const q=p.target;q.innerHTML=w,q.className=`${_.current} ${W.current}`}N==null||N(p)},[w,N]),z=d.useCallback(p=>{var j,q;(j=Y.current)==null||j.removeEventListener("focus",re),(q=Y.current)==null||q.removeEventListener("blur",te),w&&p&&p!==document.activeElement&&p.innerHTML===""&&(p.innerHTML=w,p.className=`${_.current} ${W.current}`),p.addEventListener("focus",re),p.addEventListener("blur",te),Y.current=p},[w]),E=d.useCallback(p=>{F==null||F(p)},[F]),P=p=>{g==null||g(p)},I=p=>{$==null||$(p)},C=Ft(p=>{T==null||T(p),A==null||A(p.target.innerText),B==null||B(p.target.innerHTML)},s),G=d.useCallback(p=>{Y.current&&(Y.current.innerText=p)},[]),O=d.useCallback(p=>{Y.current&&(Y.current.innerHTML=p)},[]),se=d.useCallback(()=>{var p;(p=Y.current)==null||p.focus()},[]);d.useImperativeHandle(r,()=>({inputElement:Y.current,setInnerText:G,setInnerHTML:O,focus:se}));const y=ce({"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":m&&v,"bsc-overflow-hidden bsc-whitespace-pre":m&&!v},c),D=ce("bsc-flex-shrink",{"bsc-mr-2":o},l),V=ce("bsc-flex-shrink",{"bsc-ml-2":i},h);return f.jsxs("div",{className:y,ref:p=>p&&E(p),children:[o&&f.jsx("div",{className:D,onClick:P,children:o}),f.jsx("div",{ref:p=>p&&z(p),className:_.current,contentEditable:!n,suppressContentEditableWarning:!0,inputMode:x,onInput:C,children:t}),i&&f.jsx("div",{className:V,onClick:I,children:i})]})},sr=d.forwardRef(gl);function ue(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 ye(e,r){return e instanceof Date?new e.constructor(r):new Date(r)}function vt(e,r){const t=ue(e);return isNaN(r)?ye(e,NaN):(r&&t.setDate(t.getDate()+r),t)}function ct(e,r){const t=ue(e);if(isNaN(r))return ye(e,NaN);if(!r)return t;const n=t.getDate(),s=ye(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 Es=6048e5,Zr=6e4,Qr=36e5,yl=1e3;let vl={};function Yt(){return vl}function rt(e,r){var i,c,l,h;const t=Yt(),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=(l=t.locale)==null?void 0:l.options)==null?void 0:h.weekStartsOn)??0,s=ue(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 xt(e){return rt(e,{weekStartsOn:1})}function xl(e){const r=ue(e),t=r.getFullYear(),n=ye(e,0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);const s=xt(n),a=ye(e,0);a.setFullYear(t,0,4),a.setHours(0,0,0,0);const o=xt(a);return r.getTime()>=s.getTime()?t+1:r.getTime()>=o.getTime()?t:t-1}function ks(e){const r=ue(e);return r.setHours(0,0,0,0),r}function Cs(e){const r=ue(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 wl(e){const r=xl(e),t=ye(e,0);return t.setFullYear(r,0,4),t.setHours(0,0,0,0),xt(t)}function ar(e,r){return ct(e,r*12)}function Ds(e,r){const t=ks(e),n=ks(r);return+t==+n}function Tl(e){const r=ue(e),t=r.getMonth();return r.setFullYear(r.getFullYear(),t+1,0),r.setHours(23,59,59,999),r}function Sl(e,r){const t=ue(e.start),n=ue(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(ue(o)),o.setDate(o.getDate()+i),o.setHours(0,0,0,0);return s?c.reverse():c}function Os(e){const r=ue(e);return r.setDate(1),r.setHours(0,0,0,0),r}function Pl(e,r){const t=ue(e.start),n=ue(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(ue(o)),o.setFullYear(o.getFullYear()+i);return s?c.reverse():c}const El={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"}},kl=(e,r,t)=>{let n;const s=El[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 Kr(e){return(r={})=>{const t=r.width?String(r.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const Cl={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Dl={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ol={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Nl={date:Kr({formats:Cl,defaultWidth:"full"}),time:Kr({formats:Dl,defaultWidth:"full"}),dateTime:Kr({formats:Ol,defaultWidth:"full"})},_l={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Il=(e,r,t,n)=>_l[e];function Ht(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 jl={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Ml={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Rl={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"]},Al={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"]},Ll={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"}},$l={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"}},Fl={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:Ht({values:jl,defaultWidth:"wide"}),quarter:Ht({values:Ml,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ht({values:Rl,defaultWidth:"wide"}),day:Ht({values:Al,defaultWidth:"wide"}),dayPeriod:Ht({values:Ll,defaultWidth:"wide",formattingValues:$l,defaultFormattingWidth:"wide"})};function Wt(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)?Hl(i,m=>m.test(o)):Yl(i,m=>m.test(o));let l;l=e.valueCallback?e.valueCallback(c):c,l=t.valueCallback?t.valueCallback(l):l;const h=r.slice(o.length);return{value:l,rest:h}}}function Yl(e,r){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&r(e[t]))return t}function Hl(e,r){for(let t=0;t<e.length;t++)if(r(e[t]))return t}function Wl(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 Vl=/^(\d+)(th|st|nd|rd)?/i,Bl=/\d+/i,zl={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},Ul={any:[/^b/i,/^(a|c)/i]},ql={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Gl={any:[/1/i,/2/i,/3/i,/4/i]},Zl={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},Ql={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]},Kl={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},Xl={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]},Jl={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},ef={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}},tf={ordinalNumber:Wl({matchPattern:Vl,parsePattern:Bl,valueCallback:e=>parseInt(e,10)}),era:Wt({matchPatterns:zl,defaultMatchWidth:"wide",parsePatterns:Ul,defaultParseWidth:"any"}),quarter:Wt({matchPatterns:ql,defaultMatchWidth:"wide",parsePatterns:Gl,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Wt({matchPatterns:Zl,defaultMatchWidth:"wide",parsePatterns:Ql,defaultParseWidth:"any"}),day:Wt({matchPatterns:Kl,defaultMatchWidth:"wide",parsePatterns:Xl,defaultParseWidth:"any"}),dayPeriod:Wt({matchPatterns:Jl,defaultMatchWidth:"any",parsePatterns:ef,defaultParseWidth:"any"})},rf={code:"en-US",formatDistance:kl,formatLong:Nl,formatRelative:Il,localize:Fl,match:tf,options:{weekStartsOn:0,firstWeekContainsDate:1}};function nf(e){const r=ue(e),t=+xt(r)-+wl(r);return Math.round(t/Es)+1}function Ns(e,r){var h,m,v,x;const t=ue(e),n=t.getFullYear(),s=Yt(),a=(r==null?void 0:r.firstWeekContainsDate)??((m=(h=r==null?void 0:r.locale)==null?void 0:h.options)==null?void 0:m.firstWeekContainsDate)??s.firstWeekContainsDate??((x=(v=s.locale)==null?void 0:v.options)==null?void 0:x.firstWeekContainsDate)??1,o=ye(e,0);o.setFullYear(n+1,0,a),o.setHours(0,0,0,0);const i=rt(o,r),c=ye(e,0);c.setFullYear(n,0,a),c.setHours(0,0,0,0);const l=rt(c,r);return t.getTime()>=i.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}function sf(e,r){var i,c,l,h;const t=Yt(),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=(l=t.locale)==null?void 0:l.options)==null?void 0:h.firstWeekContainsDate)??1,s=Ns(e,r),a=ye(e,0);return a.setFullYear(s,0,n),a.setHours(0,0,0,0),rt(a,r)}function af(e,r){const t=ue(e),n=+rt(t,r)-+sf(t,r);return Math.round(n/Es)+1}const _s=(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"})}},Is=(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"})}},js={p:Is,P:(e,r)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],s=t[2];if(!s)return _s(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}}",_s(n,r)).replace("{{time}}",Is(s,r))}},of=/^D+$/,cf=/^Y+$/,uf=["D","DD","YY","YYYY"];function lf(e){return of.test(e)}function ff(e){return cf.test(e)}function Ms(e,r,t){const n=df(e,r,t);if(console.warn(n),uf.includes(e))throw new RangeError(n)}function df(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 Xr(e){return ue(e).getDay()}function Rs(e){const r=ue(e),t=r.getFullYear(),n=r.getMonth(),s=ye(e,0);return s.setFullYear(t,n+1,0),s.setHours(0,0,0,0),s.getDate()}function hf(){return Object.assign({},Yt())}function pf(e){let t=ue(e).getDay();return t===0&&(t=7),t}function mf(e){const r=ue(e),t=r.getMonth();return r.setFullYear(r.getFullYear(),t+1,0),r.setHours(0,0,0,0),r}function bf(e,r){const t=ue(e),n=ue(r);return+t<+n}function gf(e,r){const t=r instanceof Date?ye(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 yf=10;class As{constructor(){b(this,"subPriority",0)}validate(r,t){return!0}}class vf extends As{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 xf extends As{constructor(){super(...arguments);b(this,"priority",yf);b(this,"subPriority",-1)}set(t,n){return n.timestampIsSet?t:ye(t,gf(t,Date))}}class le{run(r,t,n,s){const a=this.parse(r,t,n,s);return a?{setter:new vf(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(r,t,n){return!0}}class wf extends le{constructor(){super(...arguments);b(this,"priority",140);b(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 Pe={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 Ee(e,r){return e&&{value:r(e.value),rest:e.rest}}function we(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*Qr+a*Zr+o*yl),rest:r.slice(t[0].length)}}function Ls(e){return we(Pe.anyDigitsSigned,e)}function Te(e,r){switch(e){case 1:return we(Pe.singleDigit,r);case 2:return we(Pe.twoDigits,r);case 3:return we(Pe.threeDigits,r);case 4:return we(Pe.fourDigits,r);default:return we(new RegExp("^\\d{1,"+e+"}"),r)}}function or(e,r){switch(e){case 1:return we(Pe.singleDigitSigned,r);case 2:return we(Pe.twoDigitsSigned,r);case 3:return we(Pe.threeDigitsSigned,r);case 4:return we(Pe.fourDigitsSigned,r);default:return we(new RegExp("^-?\\d{1,"+e+"}"),r)}}function Jr(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 $s(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 Fs(e){return e%400===0||e%4===0&&e%100!==0}class Tf extends le{constructor(){super(...arguments);b(this,"priority",130);b(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 Ee(Te(4,t),a);case"yo":return Ee(s.ordinalNumber(t,{unit:"year"}),a);default:return Ee(Te(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=$s(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 Sf extends le{constructor(){super(...arguments);b(this,"priority",130);b(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 Ee(Te(4,t),a);case"Yo":return Ee(s.ordinalNumber(t,{unit:"year"}),a);default:return Ee(Te(n.length,t),a)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,s,a){const o=Ns(t,a);if(s.isTwoDigitYear){const c=$s(s.year,o);return t.setFullYear(c,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),rt(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),rt(t,a)}}class Pf extends le{constructor(){super(...arguments);b(this,"priority",130);b(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return or(n==="R"?4:n.length,t)}set(t,n,s){const a=ye(t,0);return a.setFullYear(s,0,4),a.setHours(0,0,0,0),xt(a)}}class Ef extends le{constructor(){super(...arguments);b(this,"priority",130);b(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return or(n==="u"?4:n.length,t)}set(t,n,s){return t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}}class kf extends le{constructor(){super(...arguments);b(this,"priority",120);b(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 Te(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 Cf extends le{constructor(){super(...arguments);b(this,"priority",120);b(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 Te(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 Df extends le{constructor(){super(...arguments);b(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);b(this,"priority",110)}parse(t,n,s){const a=o=>o-1;switch(n){case"M":return Ee(we(Pe.month,t),a);case"MM":return Ee(Te(2,t),a);case"Mo":return Ee(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 Of extends le{constructor(){super(...arguments);b(this,"priority",110);b(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 Ee(we(Pe.month,t),a);case"LL":return Ee(Te(2,t),a);case"Lo":return Ee(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 Nf(e,r,t){const n=ue(e),s=af(n,t)-r;return n.setDate(n.getDate()-s*7),n}class _f extends le{constructor(){super(...arguments);b(this,"priority",100);b(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,s){switch(n){case"w":return we(Pe.week,t);case"wo":return s.ordinalNumber(t,{unit:"week"});default:return Te(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,s,a){return rt(Nf(t,s,a),a)}}function If(e,r){const t=ue(e),n=nf(t)-r;return t.setDate(t.getDate()-n*7),t}class jf extends le{constructor(){super(...arguments);b(this,"priority",100);b(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 we(Pe.week,t);case"Io":return s.ordinalNumber(t,{unit:"week"});default:return Te(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,s){return xt(If(t,s))}}const Mf=[31,28,31,30,31,30,31,31,30,31,30,31],Rf=[31,29,31,30,31,30,31,31,30,31,30,31];class Af extends le{constructor(){super(...arguments);b(this,"priority",90);b(this,"subPriority",1);b(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,s){switch(n){case"d":return we(Pe.date,t);case"do":return s.ordinalNumber(t,{unit:"date"});default:return Te(n.length,t)}}validate(t,n){const s=t.getFullYear(),a=Fs(s),o=t.getMonth();return a?n>=1&&n<=Rf[o]:n>=1&&n<=Mf[o]}set(t,n,s){return t.setDate(s),t.setHours(0,0,0,0),t}}class Lf extends le{constructor(){super(...arguments);b(this,"priority",90);b(this,"subpriority",1);b(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 we(Pe.dayOfYear,t);case"Do":return s.ordinalNumber(t,{unit:"date"});default:return Te(n.length,t)}}validate(t,n){const s=t.getFullYear();return Fs(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 en(e,r,t){var m,v,x,w;const n=Yt(),s=(t==null?void 0:t.weekStartsOn)??((v=(m=t==null?void 0:t.locale)==null?void 0:m.options)==null?void 0:v.weekStartsOn)??n.weekStartsOn??((w=(x=n.locale)==null?void 0:x.options)==null?void 0:w.weekStartsOn)??0,a=ue(e),o=a.getDay(),c=(r%7+7)%7,l=7-s,h=r<0||r>6?r-(o+l)%7:(c+l)%7-(o+l)%7;return vt(a,h)}class $f extends le{constructor(){super(...arguments);b(this,"priority",90);b(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=en(t,s,a),t.setHours(0,0,0,0),t}}class Ff extends le{constructor(){super(...arguments);b(this,"priority",90);b(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 Ee(Te(n.length,t),o);case"eo":return Ee(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=en(t,s,a),t.setHours(0,0,0,0),t}}class Yf extends le{constructor(){super(...arguments);b(this,"priority",90);b(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 Ee(Te(n.length,t),o);case"co":return Ee(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=en(t,s,a),t.setHours(0,0,0,0),t}}function Hf(e,r){const t=ue(e),n=pf(t),s=r-n;return vt(t,s)}class Wf extends le{constructor(){super(...arguments);b(this,"priority",90);b(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 Te(n.length,t);case"io":return s.ordinalNumber(t,{unit:"day"});case"iii":return Ee(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 Ee(s.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return Ee(s.day(t,{width:"short",context:"formatting"})||s.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return Ee(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=Hf(t,s),t.setHours(0,0,0,0),t}}class Vf extends le{constructor(){super(...arguments);b(this,"priority",80);b(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(Jr(s),0,0,0),t}}class Bf extends le{constructor(){super(...arguments);b(this,"priority",80);b(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(Jr(s),0,0,0),t}}class zf extends le{constructor(){super(...arguments);b(this,"priority",80);b(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(Jr(s),0,0,0),t}}class Uf extends le{constructor(){super(...arguments);b(this,"priority",70);b(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,s){switch(n){case"h":return we(Pe.hour12h,t);case"ho":return s.ordinalNumber(t,{unit:"hour"});default:return Te(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 qf extends le{constructor(){super(...arguments);b(this,"priority",70);b(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,s){switch(n){case"H":return we(Pe.hour23h,t);case"Ho":return s.ordinalNumber(t,{unit:"hour"});default:return Te(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,s){return t.setHours(s,0,0,0),t}}class Gf extends le{constructor(){super(...arguments);b(this,"priority",70);b(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,s){switch(n){case"K":return we(Pe.hour11h,t);case"Ko":return s.ordinalNumber(t,{unit:"hour"});default:return Te(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 Zf extends le{constructor(){super(...arguments);b(this,"priority",70);b(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,s){switch(n){case"k":return we(Pe.hour24h,t);case"ko":return s.ordinalNumber(t,{unit:"hour"});default:return Te(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 Qf extends le{constructor(){super(...arguments);b(this,"priority",60);b(this,"incompatibleTokens",["t","T"])}parse(t,n,s){switch(n){case"m":return we(Pe.minute,t);case"mo":return s.ordinalNumber(t,{unit:"minute"});default:return Te(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,s){return t.setMinutes(s,0,0),t}}class Kf extends le{constructor(){super(...arguments);b(this,"priority",50);b(this,"incompatibleTokens",["t","T"])}parse(t,n,s){switch(n){case"s":return we(Pe.second,t);case"so":return s.ordinalNumber(t,{unit:"second"});default:return Te(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,s){return t.setSeconds(s,0),t}}class Xf extends le{constructor(){super(...arguments);b(this,"priority",30);b(this,"incompatibleTokens",["t","T"])}parse(t,n){const s=a=>Math.trunc(a*Math.pow(10,-n.length+3));return Ee(Te(n.length,t),s)}set(t,n,s){return t.setMilliseconds(s),t}}class Jf extends le{constructor(){super(...arguments);b(this,"priority",10);b(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:ye(t,t.getTime()-Cs(t)-s)}}class ed extends le{constructor(){super(...arguments);b(this,"priority",10);b(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:ye(t,t.getTime()-Cs(t)-s)}}class td extends le{constructor(){super(...arguments);b(this,"priority",40);b(this,"incompatibleTokens","*")}parse(t){return Ls(t)}set(t,n,s){return[ye(t,s*1e3),{timestampIsSet:!0}]}}class rd extends le{constructor(){super(...arguments);b(this,"priority",20);b(this,"incompatibleTokens","*")}parse(t){return Ls(t)}set(t,n,s){return[ye(t,s),{timestampIsSet:!0}]}}const nd={G:new wf,y:new Tf,Y:new Sf,R:new Pf,u:new Ef,Q:new kf,q:new Cf,M:new Df,L:new Of,w:new _f,I:new jf,d:new Af,D:new Lf,E:new $f,e:new Ff,c:new Yf,i:new Wf,a:new Vf,b:new Bf,B:new zf,h:new Uf,H:new qf,K:new Gf,k:new Zf,m:new Qf,s:new Kf,S:new Xf,X:new Jf,x:new ed,t:new td,T:new rd},sd=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ad=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,od=/^'([^]*?)'?$/,id=/''/g,cd=/\S/,ud=/[a-zA-Z]/;function ze(e,r,t,n){var k,N,T,A,B,F,g,$;const s=hf(),a=(n==null?void 0:n.locale)??s.locale??rf,o=(n==null?void 0:n.firstWeekContainsDate)??((N=(k=n==null?void 0:n.locale)==null?void 0:k.options)==null?void 0:N.firstWeekContainsDate)??s.firstWeekContainsDate??((A=(T=s.locale)==null?void 0:T.options)==null?void 0:A.firstWeekContainsDate)??1,i=(n==null?void 0:n.weekStartsOn)??((F=(B=n==null?void 0:n.locale)==null?void 0:B.options)==null?void 0:F.weekStartsOn)??s.weekStartsOn??(($=(g=s.locale)==null?void 0:g.options)==null?void 0:$.weekStartsOn)??0;if(r==="")return e===""?ue(t):ye(t,NaN);const c={firstWeekContainsDate:o,weekStartsOn:i,locale:a},l=[new xf],h=r.match(ad).map(_=>{const W=_[0];if(W in js){const Y=js[W];return Y(_,a.formatLong)}return _}).join("").match(sd),m=[];for(let _ of h){!(n!=null&&n.useAdditionalWeekYearTokens)&&ff(_)&&Ms(_,r,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&lf(_)&&Ms(_,r,e);const W=_[0],Y=nd[W];if(Y){const{incompatibleTokens:re}=Y;if(Array.isArray(re)){const z=m.find(E=>re.includes(E.token)||E.token===W);if(z)throw new RangeError(`The format string mustn't contain \`${z.fullToken}\` and \`${_}\` at the same time`)}else if(Y.incompatibleTokens==="*"&&m.length>0)throw new RangeError(`The format string mustn't contain \`${_}\` and any other token at the same time`);m.push({token:W,fullToken:_});const te=Y.run(e,_,a.match,c);if(!te)return ye(t,NaN);l.push(te.setter),e=te.rest}else{if(W.match(ud))throw new RangeError("Format string contains an unescaped latin alphabet character `"+W+"`");if(_==="''"?_="'":W==="'"&&(_=ld(_)),e.indexOf(_)===0)e=e.slice(_.length);else return ye(t,NaN)}}if(e.length>0&&cd.test(e))return ye(t,NaN);const v=l.map(_=>_.priority).sort((_,W)=>W-_).filter((_,W,Y)=>Y.indexOf(_)===W).map(_=>l.filter(W=>W.priority===_).sort((W,Y)=>Y.subPriority-W.subPriority)).map(_=>_[0]);let x=ue(t);if(isNaN(x.getTime()))return ye(t,NaN);const w={};for(const _ of v){if(!_.validate(x,c))return ye(t,NaN);const W=_.set(x,w,c);Array.isArray(W)?(x=W[0],Object.assign(w,W[1])):x=W}return ye(t,x)}function ld(e){return e.match(od)[1].replace(id,"'")}function fd(e){return Ds(e,Date.now())}function dd(e,r){return vt(e,-r)}function hd(e,r){let t=r-Xr(e);return t<=0&&(t+=7),vt(e,t)}function pd(e,r){const t=(r==null?void 0:r.additionalDigits)??2,n=yd(e);let s;if(n.date){const c=vd(n.date,t);s=xd(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=wd(n.time),isNaN(o)))return new Date(NaN);if(n.timezone){if(i=Td(n.timezone),isNaN(i))return new Date(NaN)}else{const c=new Date(a+o),l=new Date(0);return l.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),l.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),l}return new Date(a+o+i)}const ir={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},md=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,bd=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,gd=/^([+-])(\d{2})(?::?(\d{2}))?$/;function yd(e){const r={},t=e.split(ir.dateTimeDelimiter);let n;if(t.length>2)return r;if(/:/.test(t[0])?n=t[0]:(r.date=t[0],n=t[1],ir.timeZoneDelimiter.test(r.date)&&(r.date=e.split(ir.timeZoneDelimiter)[0],n=e.substr(r.date.length,e.length))),n){const s=ir.timezone.exec(n);s?(r.time=n.replace(s[1],""),r.timezone=s[1]):r.time=n}return r}function vd(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 xd(e,r){if(r===null)return new Date(NaN);const t=e.match(md);if(!t)return new Date(NaN);const n=!!t[4],s=Vt(t[1]),a=Vt(t[2])-1,o=Vt(t[3]),i=Vt(t[4]),c=Vt(t[5])-1;if(n)return Cd(r,i,c)?Sd(r,i,c):new Date(NaN);{const l=new Date(0);return!Ed(r,a,o)||!kd(r,s)?new Date(NaN):(l.setUTCFullYear(r,a,Math.max(s,o)),l)}}function Vt(e){return e?parseInt(e):1}function wd(e){const r=e.match(bd);if(!r)return NaN;const t=tn(r[1]),n=tn(r[2]),s=tn(r[3]);return Dd(t,n,s)?t*Qr+n*Zr+s*1e3:NaN}function tn(e){return e&&parseFloat(e.replace(",","."))||0}function Td(e){if(e==="Z")return 0;const r=e.match(gd);if(!r)return 0;const t=r[1]==="+"?-1:1,n=parseInt(r[2]),s=r[3]&&parseInt(r[3])||0;return Od(n,s)?t*(n*Qr+s*Zr):NaN}function Sd(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 Pd=[31,null,31,30,31,30,31,31,30,31,30,31];function Ys(e){return e%400===0||e%4===0&&e%100!==0}function Ed(e,r,t){return r>=0&&r<=11&&t>=1&&t<=(Pd[r]||(Ys(e)?29:28))}function kd(e,r){return r>=1&&r<=(Ys(e)?366:365)}function Cd(e,r,t){return r>=1&&r<=53&&t>=0&&t<=6}function Dd(e,r,t){return e===24?r===0&&t===0:t>=0&&t<60&&r>=0&&r<60&&e>=0&&e<25}function Od(e,r){return r>=0&&r<=59}function Nd(e,r){const t=ue(e),n=t.getFullYear(),s=t.getDate(),a=ye(e,0);a.setFullYear(n,r,15),a.setHours(0,0,0,0);const o=Rs(a);return t.setMonth(r,Math.min(s,o)),t}function _d(e,r){const t=ue(e);return isNaN(+t)?ye(e,NaN):(t.setFullYear(r),t)}function Hs(e,r){return ct(e,-r)}function Ws(e,r){return ar(e,-r)}function Vs(){return window.navigator.languages?window.navigator.languages[0]:window.navigator.language}function Id(e,r,t){const n=[];for(let s=e;s<=r;s++)n.push(t?t(s):s);return n}function jd(e,r){const t=e.target;return t?!r.isSameNode(t)&&!r.contains(t):!1}function Md(e,r){return e.isSameNode(r)||e.contains(r)}function Rd(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(l=>l.trim()).includes(n[o]))return!1}else if(n[o]!==i)return!1}return!0}function Ad(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(l=>l.trim()).includes(n[o]))return!0}else if(n[o]===i)return!0}return!1}function Bs(e,r,t=!1,n){if(t&&Rd(e,r)){if(!n||(n==null?void 0:n(e))===!0)return e}else if(!t&&Ad(e,r)&&(!n||(n==null?void 0:n(e))===!0))return e;return e.parentElement?Bs(e.parentElement,r,t,n):e}function zs(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 up(e){return e}function Ld(e){const r=document.documentElement;Object.keys(e).forEach(t=>{r.style.setProperty(t,e[t])})}function $d(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"}}var _e=(e=>(e[e.Regular=24]="Regular",e[e.Small=20]="Small",e))(_e||{});const Us=({className:e})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:e,children:f.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"})}),Fd=({className:e})=>{const r=ce("bsc-h-6 bsc-w-6",e);return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:r,children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"})})},Yd=({className:e})=>{const r=ce("bsc-h-6 bsc-w-6",e);return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:r,children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5 8.25 12l7.5-7.5"})})},Hd=({className:e})=>{const r=ce("bsc-h-6 bsc-w-6",e);return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:r,children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"})})},Wd=({className:e})=>{const r=ce("bsc-h-6 bsc-w-6",e);return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:r,children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"})})},Vd=({className:e})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:e,children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"})}),Re=({icon:e,size:r=_e.Regular,onClick:t,className:n})=>{const s=d.useRef({calendar:Us,chevronDown:Fd,chevronLeft:Yd,chevronRight:Hd,chevronUp:Wd,close:Vd}),a=d.useMemo(()=>s.current[e]||Us,[e]),o=ce({"bsc-h-[24px] bsc-w-[24px]":r===_e.Regular,"bsc-h-[20px] bsc-w-[20px]":r===_e.Small},n);return f.jsx("div",{onClick:t,children:f.jsx(a,{className:o})})},wt=({template:e,props:r,children:t})=>e(r,t);function Bd(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 zd(e,r){return e.matches[r]=!1,e.mediaQueries[r]={},e}function qs(e){const r=Object.keys(e);return typeof window>"u"?r.reduce(zd,{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 Ud(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 qs(r.queries)}}function qd(e){const r=_t.useRef(e),[t,n]=_t.useReducer(Ud,e,qs);_t.useEffect(()=>{Bd(e,r.current)&&(n({type:"setQueries",queries:e}),r.current=e)},[e]);function s(){return n({type:"updateMatches"})}function a(c){const l=s;return typeof c.addListener<"u"?c.addListener(l):c.addEventListener("change",l),l}_t.useEffect(()=>{const c=Object.values(t.mediaQueries),l=c.map(a);function h(m,v){typeof m.addListener<"u"?m.removeListener(l[v]):m.removeEventListener("change",l[v])}return()=>{c.forEach(h)}},[t.mediaQueries]);const{matches:o}=t,i=_t.useMemo(()=>Object.values(o),[o]);return{matches:o,matchesAny:i.some(Boolean),matchesAll:i.length>0&&i.every(Boolean)}}function cr(e){return qd(Gd(e)).matchesAll}const rn={};function Gd(e){return rn[e]===void 0&&(rn[e]={default:e}),rn[e]}const nn=({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=cr(e),c=cr(r),l=cr(t);return(()=>i&&n?n:!i&&s?s:c&&a?a:l&&o?o:(console.error("Invalid media settings"),null))()};function Gs(e,r,t){const n=a=>{const o=a.target,i=e.style.display!=="hidden";e&&i&&!Md(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 Zs(e){document.removeEventListener("mousedown",e)}function Zd(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 sn(e,r){return sn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},sn(e,r)}function Qd(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,sn(e,r)}var an={exports:{}},ur={exports:{}},de={};/** @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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beesoft-components",
3
- "version": "0.9.1-3",
3
+ "version": "0.9.1-4",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "author": {