@jk-core/components 0.1.0 → 0.1.11

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.
@@ -1,5 +1,5 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(":root{--white: #ffffff;--black: #000000;--P-5: #eff5ff;--P-10: #d3e1fb;--P-20: #a7c4f7;--P-30: #7ca6f3;--P-40: #5089ef;--P-50: #246beb;--P-60: #1d56bc;--P-70: #16408d;--P-90: #07152f;--P-100: #000000;--S-5: #edf1f5;--S-10: #cdd7e4;--S-20: #b4c4d6;--S-30: #99b0cb;--S-40: #2a5c96;--S-50: #003675;--S-60: #002b5e;--S-70: #002036;--S-80: #00162f;--S-90: #000b17;--G-5: #f8f8f8;--G-10: #f0f0f0;--G-20: #e4e4e4;--G-30: #d8d8d8;--G-40: #c6c6c6;--G-50: #8e8e8e;--G-60: #717171;--G-70: #555555;--G-80: #2d2d2d;--G-90: #1d1d1d;--Point-5: #fdf2f3;--Point-10: #f8d6d8;--Point-20: #f5a3a8;--Point-30: #f1747c;--Point-40: #ec4651;--Point-50: #e71825;--Point-60: #b9131e;--Point-70: #8b0e16;--Point-80: #5c0a0f;--Point-90: #2e0507;--Warning-5: #fff8e9;--Warning-10: #ffeac1;--Warning-20: #ffe2a7;--Warning-30: #ffd47c;--Warning-40: #ffc550;--Warning-50: #ffb724;--Warning-60: #98690a;--Warning-70: #66490e;--Warning-80: #4d370b;--Warning-90: #332507;--Success-5: #eef7f0;--Success-10: #cee9d4;--Success-20: #b2dcbb;--Success-30: #8cca99;--Success-40: #33a14b;--Success-50: #008a1e;--Success-60: #006e18;--Success-70: #005312;--Success-80: #00370c;--Success-90: #002207;--Info-5: #e9f0ff;--Info-10: #d4e1ff;--Info-20: #a9c3ff;--Info-30: #7da4ff;--Info-40: #5286ff;--Info-50: #2768ff;--Info-60: #1f53cc;--Info-70: #173e99;--Info-80: #0c1f4d;--Info-90: #040a1a;--Red: #e40000;--Red2: #ffe4e4;--Green: #2fb400;--Green-2: #d7ffe0;--Orange: #ff8800;--Orange-5: #ffead1;--Orange-10: #ffdacc;--Orange-30: #ff8f66;--Orange-40: #ff6a33;--Orange-50: #ff4500;--Orange-60: #d53209;--Orange-70: #992900;--Orange-80: #661c00;--Orange-90: #330e00;--Modal-Shadow: #0000005a;--Modal-Background: #6666663a;--Calendar-Background: #ffffff}button{border:none;background-color:transparent;user-select:none;-webkit-user-select:none;-moz-user-select:none;cursor:pointer}.calendar{width:100%;min-width:300px;border:1px solid var(--G-30);border-radius:10px;overflow:hidden;color:var(--G-80);background-color:var(--white)}.calendar__close{display:flex;justify-content:flex-end;align-items:center;padding:7px 10px 7px 0}.calendar__close svg{width:18px;height:18px;cursor:pointer}.view{position:relative;margin:0 auto;width:90%;display:flex;justify-content:space-between;align-items:center;background-color:#f3f4f8;border-radius:10px}.view__block{position:absolute;background-color:#fff;left:0;height:100%;border:2px solid var(--G-30);width:33.3%;border-radius:10px;transition:.3s}.view__block--second{left:33%}.view__block--last{left:66.6%}.view__selector{position:relative;height:40px;flex:1 0;display:flex;align-items:center;justify-content:center;color:var(--G-60);font-size:1em;font-weight:400}.view__selector--selected{color:var(--G-80);font-size:1em;font-weight:600}.nav{height:60px;display:flex;justify-content:space-between;align-items:center;padding:0 5px;border-bottom:1px solid var(--G-30);font-size:1.3em;font-weight:400}.nav__button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:10px;border-radius:100%}.nav__button:active{background-color:var(--G-30)}.nav__button:disabled{cursor:not-allowed;fill:var(--G-40);background-color:transparent}.nav__label{flex:1 0;display:flex;align-items:center;justify-content:space-around;font-size:1.1em;font-weight:400}.nav__label--date{display:flex;align-items:center;justify-content:center;border-radius:5px;padding:5px 10px;font-weight:400}.nav__label--date svg{width:15px;height:15px}.nav__label--date-selected{background-color:var(--S-10)}.day-tile{min-height:310px;padding:5px;background-color:var(--white)}.day-tile__tile{display:flex;flex-direction:column;justify-content:space-between;gap:5px}.day-tile__weeks{display:flex;justify-content:space-between;font-weight:400;font-size:1em}.day-tile__weeks--date{flex:1 0;display:flex;justify-content:center;align-items:center;min-width:40px;padding:5px 0}.day-tile__week{display:flex;justify-content:space-between}.day-tile__day{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;min-width:40px;min-height:40px;border-radius:40px;padding:5px;border:none;font-weight:400;font-size:1em}@media (min-width: 1396px){.day-tile__day:hover{background-color:var(--G-5)}}.day-tile__day:active{background-color:var(--G-10)}.day-tile__day--today{color:var(--P-50);font-weight:600}.day-tile__day--selected{background-color:var(--P-50)!important;color:var(--white)!important;font-weight:600}.day-tile__day--before{color:var(--G-40)}.day-tile__day--tile{border-radius:10px;gap:5px}.month-tile{min-height:310px;padding:5px;background-color:var(--white);display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(4,1fr);gap:5px}.month-tile__month{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:5px;border-radius:10px}.month-tile__month svg{width:15px;height:15px;cursor:pointer}@media (min-width: 1396px){.month-tile__month:hover{background-color:var(--G-5)}}.month-tile__month:active{background-color:var(--G-10)}.month-tile__month--selected{background-color:var(--P-50)!important;color:var(--white)!important}.month-tile__month--today{color:var(--P-50);font-weight:600}.month-tile__month--tile{justify-content:flex-start;gap:5px}.year-tile{min-height:310px;padding:5px;background-color:var(--white);position:relative;height:310px;display:flex;flex-direction:column;align-items:center;overflow:auto;gap:10px}.year-tile::-webkit-scrollbar{display:none}.year-tile__blank{height:calc(50% - 40px);flex-shrink:0}.year-tile__blank:last-child{height:50%}.year-tile__year{min-width:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:40px;border-radius:6px;flex-shrink:0;overflow:hidden;font-weight:400;font-size:1.2em}@media (min-width: 1396px){.year-tile__year:hover{background-color:var(--P-5)}}.year-tile__year:active{background-color:var(--P-10)}.year-tile__year--border{border:1px solid var(--G-30);background-color:var(--P-5)}@media (min-width: 1396px){.year-tile__year--border:hover{background-color:var(--P-10)}}.year-tile__year--year{height:40px;display:flex;align-items:center;justify-content:center}.year-tile__year--selected{color:var(--white);background-color:var(--P-50)!important}.year-tile__year--tile{display:flex;align-items:center;justify-content:center;min-height:40px;color:var(--G-80);width:100%;background-color:var(--white);border-top:var(--P-50)}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
- (function(F,k){typeof exports=="object"&&typeof module<"u"?k(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],k):(F=typeof globalThis<"u"?globalThis:F||self,k(F.index={},F.React))})(this,function(F,k){"use strict";function Ne(n){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const a in n)if(a!=="default"){const p=Object.getOwnPropertyDescriptor(n,a);Object.defineProperty(o,a,p.get?p:{enumerable:!0,get:()=>n[a]})}}return o.default=n,Object.freeze(o)}const Y=Ne(k);var X={exports:{}},W={};/**
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(":root{--white: #ffffff;--black: #000000;--P-5: #eff5ff;--P-10: #d3e1fb;--P-20: #a7c4f7;--P-30: #7ca6f3;--P-40: #5089ef;--P-50: #246beb;--P-60: #1d56bc;--P-70: #16408d;--P-90: #07152f;--P-100: #000000;--S-5: #edf1f5;--S-10: #cdd7e4;--S-20: #b4c4d6;--S-30: #99b0cb;--S-40: #2a5c96;--S-50: #003675;--S-60: #002b5e;--S-70: #002036;--S-80: #00162f;--S-90: #000b17;--G-5: #f8f8f8;--G-10: #f0f0f0;--G-20: #e4e4e4;--G-30: #d8d8d8;--G-40: #c6c6c6;--G-50: #8e8e8e;--G-60: #717171;--G-70: #555555;--G-80: #2d2d2d;--G-90: #1d1d1d;--Point-5: #fdf2f3;--Point-10: #f8d6d8;--Point-20: #f5a3a8;--Point-30: #f1747c;--Point-40: #ec4651;--Point-50: #e71825;--Point-60: #b9131e;--Point-70: #8b0e16;--Point-80: #5c0a0f;--Point-90: #2e0507;--Warning-5: #fff8e9;--Warning-10: #ffeac1;--Warning-20: #ffe2a7;--Warning-30: #ffd47c;--Warning-40: #ffc550;--Warning-50: #ffb724;--Warning-60: #98690a;--Warning-70: #66490e;--Warning-80: #4d370b;--Warning-90: #332507;--Success-5: #eef7f0;--Success-10: #cee9d4;--Success-20: #b2dcbb;--Success-30: #8cca99;--Success-40: #33a14b;--Success-50: #008a1e;--Success-60: #006e18;--Success-70: #005312;--Success-80: #00370c;--Success-90: #002207;--Info-5: #e9f0ff;--Info-10: #d4e1ff;--Info-20: #a9c3ff;--Info-30: #7da4ff;--Info-40: #5286ff;--Info-50: #2768ff;--Info-60: #1f53cc;--Info-70: #173e99;--Info-80: #0c1f4d;--Info-90: #040a1a;--Red: #e40000;--Red2: #ffe4e4;--Green: #2fb400;--Green-2: #d7ffe0;--Orange: #ff8800;--Orange-5: #ffead1;--Orange-10: #ffdacc;--Orange-30: #ff8f66;--Orange-40: #ff6a33;--Orange-50: #ff4500;--Orange-60: #d53209;--Orange-70: #992900;--Orange-80: #661c00;--Orange-90: #330e00;--Modal-Shadow: #0000005a;--Modal-Background: #6666663a;--Calendar-Background: #ffffff}button{border:none;background-color:transparent;user-select:none;-webkit-user-select:none;-moz-user-select:none;cursor:pointer}.calendar{width:100%;min-width:300px;border:1px solid var(--G-30);border-radius:10px;overflow:hidden;color:var(--G-80);background-color:var(--white)}.calendar__close{display:flex;justify-content:flex-end;align-items:center;padding:7px 10px 7px 0}.calendar__close svg{width:18px;height:18px;cursor:pointer}.view{position:relative;margin:0 auto;width:90%;display:flex;justify-content:space-between;align-items:center;background-color:#f3f4f8;border-radius:10px}.view__block{position:absolute;background-color:#fff;left:0;height:100%;border:2px solid var(--G-30);width:33.3%;border-radius:10px;transition:.3s}.view__block--second{left:33%}.view__block--last{left:66.6%}.view__selector{position:relative;height:40px;flex:1 0;display:flex;align-items:center;justify-content:center;color:var(--G-60);font-size:1em;font-weight:400}.view__selector--selected{color:var(--G-80);font-size:1em;font-weight:600}.nav{height:60px;display:flex;justify-content:space-between;align-items:center;padding:0 5px;border-bottom:1px solid var(--G-30);font-size:1.3em;font-weight:400}.nav__button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:10px;border-radius:100%}@media (min-width: 1396px){.nav__button:hover{background-color:var(--G-10)}}.nav__button:active{background-color:var(--G-30)}.nav__button:disabled{cursor:not-allowed;fill:var(--G-40);background-color:transparent}.nav__label{flex:1 0;display:flex;align-items:center;justify-content:space-around;font-size:1.1em;font-weight:400}.nav__label--date{display:flex;align-items:center;justify-content:center;border-radius:5px;padding:5px 10px;font-weight:400;font-size:1em}.nav__label--date svg{width:15px;height:15px}.nav__label--date-selected{background-color:var(--S-10)}.day-tile{min-height:310px;padding:5px;background-color:var(--white)}.day-tile__tile{display:flex;flex-direction:column;justify-content:space-between;gap:5px}.day-tile__weeks{display:flex;justify-content:space-between;font-weight:400;font-size:1em}.day-tile__weeks--date{flex:1 0;display:flex;justify-content:center;align-items:center;min-width:40px;padding:5px 0}.day-tile__week{display:flex;justify-content:space-between}.day-tile__day{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;min-width:40px;min-height:40px;border-radius:40px;padding:5px;border:none;font-weight:400;font-size:1em}@media (min-width: 1396px){.day-tile__day:hover{background-color:var(--G-5)}}.day-tile__day:disabled{color:var(--G-40)!important;background-color:transparent!important;cursor:default}.day-tile__day:active{background-color:var(--G-10)}.day-tile__day--today{color:var(--P-50);font-weight:600}.day-tile__day--selected{background-color:var(--P-50)!important;color:var(--white)!important;font-weight:600}.day-tile__day--before{color:var(--G-40)}.day-tile__day--tile{border-radius:10px;gap:5px}.month-tile{min-height:310px;padding:5px;background-color:var(--white);display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(4,1fr);gap:5px}.month-tile__month{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:5px;border-radius:10px}.month-tile__month svg{width:15px;height:15px;cursor:pointer}@media (min-width: 1396px){.month-tile__month:hover{background-color:var(--G-5)}}.month-tile__month:active{background-color:var(--G-10)}.month-tile__month--selected{background-color:var(--P-50)!important;color:var(--white)!important}.month-tile__month--today{color:var(--P-50);font-weight:600}.month-tile__month--tile{justify-content:flex-start;gap:5px}.year-tile{min-height:310px;padding:5px;background-color:var(--white);position:relative;height:310px;display:flex;flex-direction:column;align-items:center;overflow:auto;gap:10px}.year-tile::-webkit-scrollbar{display:none}.year-tile__blank{height:calc(50% - 40px);flex-shrink:0}.year-tile__blank:last-child{height:50%}.year-tile__year{min-width:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:40px;border-radius:6px;flex-shrink:0;overflow:hidden;font-weight:400;font-size:1.2em}@media (min-width: 1396px){.year-tile__year:hover{background-color:var(--P-5)}}.year-tile__year:active{background-color:var(--P-10)}.year-tile__year--border{border:1px solid var(--G-30);background-color:var(--P-5)}@media (min-width: 1396px){.year-tile__year--border:hover{background-color:var(--P-10)}}.year-tile__year--year{height:40px;display:flex;align-items:center;justify-content:center}.year-tile__year--selected{color:var(--white);background-color:var(--P-50)!important}.year-tile__year--tile{display:flex;align-items:center;justify-content:center;min-height:40px;color:var(--G-80);width:100%;background-color:var(--white);border-top:var(--P-50)}._button_14zdh_1{width:500px;height:200px;background-color:red;font-size:20px;color:#fff}._button_14zdh_1:hover{background-color:#00f}._button_14zdh_1:active{background-color:green}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
+ (function(O,k){typeof exports=="object"&&typeof module<"u"?k(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],k):(O=typeof globalThis<"u"?globalThis:O||self,k(O.index={},O.React))})(this,function(O,k){"use strict";function We(a){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const n in a)if(n!=="default"){const p=Object.getOwnPropertyDescriptor(a,n);Object.defineProperty(o,n,p.get?p:{enumerable:!0,get:()=>a[n]})}}return o.default=a,Object.freeze(o)}const F=We(k);var ee={exports:{}},L={};/**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */var ce;function Ae(){if(ce)return W;ce=1;var n=k,o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),p=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,g={key:!0,ref:!0,__self:!0,__source:!0};function _(R,f,h){var u,d={},b=null,T=null;h!==void 0&&(b=""+h),f.key!==void 0&&(b=""+f.key),f.ref!==void 0&&(T=f.ref);for(u in f)p.call(f,u)&&!g.hasOwnProperty(u)&&(d[u]=f[u]);if(R&&R.defaultProps)for(u in f=R.defaultProps,f)d[u]===void 0&&(d[u]=f[u]);return{$$typeof:o,type:R,key:b,ref:T,props:d,_owner:s.current}}return W.Fragment=a,W.jsx=_,W.jsxs=_,W}var I={};/**
10
+ */var de;function Ie(){if(de)return L;de=1;var a=k,o=Symbol.for("react.element"),n=Symbol.for("react.fragment"),p=Object.prototype.hasOwnProperty,s=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,h={key:!0,ref:!0,__self:!0,__source:!0};function b(R,l,_){var u,m={},d=null,$=null;_!==void 0&&(d=""+_),l.key!==void 0&&(d=""+l.key),l.ref!==void 0&&($=l.ref);for(u in l)p.call(l,u)&&!h.hasOwnProperty(u)&&(m[u]=l[u]);if(R&&R.defaultProps)for(u in l=R.defaultProps,l)m[u]===void 0&&(m[u]=l[u]);return{$$typeof:o,type:R,key:d,ref:$,props:m,_owner:s.current}}return L.Fragment=n,L.jsx=b,L.jsxs=b,L}var V={};/**
11
11
  * @license React
12
12
  * react-jsx-runtime.development.js
13
13
  *
@@ -15,26 +15,26 @@
15
15
  *
16
16
  * This source code is licensed under the MIT license found in the
17
17
  * LICENSE file in the root directory of this source tree.
18
- */var fe;function We(){return fe||(fe=1,process.env.NODE_ENV!=="production"&&function(){var n=k,o=Symbol.for("react.element"),a=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),R=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),T=Symbol.for("react.offscreen"),O=Symbol.iterator,Z="@@iterator";function Q(e){if(e===null||typeof e!="object")return null;var r=O&&e[O]||e[Z];return typeof r=="function"?r:null}var P=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),i=1;i<r;i++)t[i-1]=arguments[i];G("error",e,t)}}function G(e,r,t){{var i=P.ReactDebugCurrentFrame,y=i.getStackAddendum();y!==""&&(r+="%s",t=t.concat([y]));var m=t.map(function(v){return String(v)});m.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,m)}}var J=!1,ee=!1,Xe=!1,Ze=!1,Qe=!1,ve;ve=Symbol.for("react.module.reference");function er(e){return!!(typeof e=="string"||typeof e=="function"||e===p||e===g||Qe||e===s||e===h||e===u||Ze||e===T||J||ee||Xe||typeof e=="object"&&e!==null&&(e.$$typeof===b||e.$$typeof===d||e.$$typeof===_||e.$$typeof===R||e.$$typeof===f||e.$$typeof===ve||e.getModuleId!==void 0))}function rr(e,r,t){var i=e.displayName;if(i)return i;var y=r.displayName||r.name||"";return y!==""?t+"("+y+")":t}function pe(e){return e.displayName||"Context"}function S(e){if(e==null)return null;if(typeof e.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case p:return"Fragment";case a:return"Portal";case g:return"Profiler";case s:return"StrictMode";case h:return"Suspense";case u:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case R:var r=e;return pe(r)+".Consumer";case _:var t=e;return pe(t._context)+".Provider";case f:return rr(e,e.render,"ForwardRef");case d:var i=e.displayName||null;return i!==null?i:S(e.type)||"Memo";case b:{var y=e,m=y._payload,v=y._init;try{return S(v(m))}catch{return null}}}return null}var M=Object.assign,L=0,he,ye,ge,_e,me,be,we;function Ee(){}Ee.__reactDisabledLog=!0;function tr(){{if(L===0){he=console.log,ye=console.info,ge=console.warn,_e=console.error,me=console.group,be=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ee,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}L++}}function nr(){{if(L--,L===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:M({},e,{value:he}),info:M({},e,{value:ye}),warn:M({},e,{value:ge}),error:M({},e,{value:_e}),group:M({},e,{value:me}),groupCollapsed:M({},e,{value:be}),groupEnd:M({},e,{value:we})})}L<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var re=P.ReactCurrentDispatcher,te;function K(e,r,t){{if(te===void 0)try{throw Error()}catch(y){var i=y.stack.trim().match(/\n( *(at )?)/);te=i&&i[1]||""}return`
19
- `+te+e}}var ne=!1,q;{var ar=typeof WeakMap=="function"?WeakMap:Map;q=new ar}function Re(e,r){if(!e||ne)return"";{var t=q.get(e);if(t!==void 0)return t}var i;ne=!0;var y=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var m;m=re.current,re.current=null,tr();try{if(r){var v=function(){throw Error()};if(Object.defineProperty(v.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(v,[])}catch(j){i=j}Reflect.construct(e,[],v)}else{try{v.call()}catch(j){i=j}e.call(v.prototype)}}else{try{throw Error()}catch(j){i=j}e()}}catch(j){if(j&&i&&typeof j.stack=="string"){for(var l=j.stack.split(`
18
+ */var ve;function Le(){return ve||(ve=1,process.env.NODE_ENV!=="production"&&function(){var a=k,o=Symbol.for("react.element"),n=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),b=Symbol.for("react.provider"),R=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),$=Symbol.for("react.offscreen"),C=Symbol.iterator,A="@@iterator";function re(e){if(e===null||typeof e!="object")return null;var r=C&&e[C]||e[A];return typeof r=="function"?r:null}var P=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),i=1;i<r;i++)t[i-1]=arguments[i];te("error",e,t)}}function te(e,r,t){{var i=P.ReactDebugCurrentFrame,g=i.getStackAddendum();g!==""&&(r+="%s",t=t.concat([g]));var y=t.map(function(v){return String(v)});y.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,y)}}var q=!1,z=!1,U=!1,Y=!1,rr=!1,he;he=Symbol.for("react.module.reference");function tr(e){return!!(typeof e=="string"||typeof e=="function"||e===p||e===h||rr||e===s||e===_||e===u||Y||e===$||q||z||U||typeof e=="object"&&e!==null&&(e.$$typeof===d||e.$$typeof===m||e.$$typeof===b||e.$$typeof===R||e.$$typeof===l||e.$$typeof===he||e.getModuleId!==void 0))}function nr(e,r,t){var i=e.displayName;if(i)return i;var g=r.displayName||r.name||"";return g!==""?t+"("+g+")":t}function ge(e){return e.displayName||"Context"}function S(e){if(e==null)return null;if(typeof e.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case p:return"Fragment";case n:return"Portal";case h:return"Profiler";case s:return"StrictMode";case _:return"Suspense";case u:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case R:var r=e;return ge(r)+".Consumer";case b:var t=e;return ge(t._context)+".Provider";case l:return nr(e,e.render,"ForwardRef");case m:var i=e.displayName||null;return i!==null?i:S(e.type)||"Memo";case d:{var g=e,y=g._payload,v=g._init;try{return S(v(y))}catch{return null}}}return null}var M=Object.assign,B=0,_e,ye,be,me,we,Ee,Re;function xe(){}xe.__reactDisabledLog=!0;function ar(){{if(B===0){_e=console.log,ye=console.info,be=console.warn,me=console.error,we=console.group,Ee=console.groupCollapsed,Re=console.groupEnd;var e={configurable:!0,enumerable:!0,value:xe,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}B++}}function or(){{if(B--,B===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:M({},e,{value:_e}),info:M({},e,{value:ye}),warn:M({},e,{value:be}),error:M({},e,{value:me}),group:M({},e,{value:we}),groupCollapsed:M({},e,{value:Ee}),groupEnd:M({},e,{value:Re})})}B<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ne=P.ReactCurrentDispatcher,ae;function H(e,r,t){{if(ae===void 0)try{throw Error()}catch(g){var i=g.stack.trim().match(/\n( *(at )?)/);ae=i&&i[1]||""}return`
19
+ `+ae+e}}var oe=!1,X;{var ir=typeof WeakMap=="function"?WeakMap:Map;X=new ir}function De(e,r){if(!e||oe)return"";{var t=X.get(e);if(t!==void 0)return t}var i;oe=!0;var g=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var y;y=ne.current,ne.current=null,ar();try{if(r){var v=function(){throw Error()};if(Object.defineProperty(v.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(v,[])}catch(j){i=j}Reflect.construct(e,[],v)}else{try{v.call()}catch(j){i=j}e.call(v.prototype)}}else{try{throw Error()}catch(j){i=j}e()}}catch(j){if(j&&i&&typeof j.stack=="string"){for(var c=j.stack.split(`
20
20
  `),D=i.stack.split(`
21
- `),w=l.length-1,E=D.length-1;w>=1&&E>=0&&l[w]!==D[E];)E--;for(;w>=1&&E>=0;w--,E--)if(l[w]!==D[E]){if(w!==1||E!==1)do if(w--,E--,E<0||l[w]!==D[E]){var C=`
22
- `+l[w].replace(" at new "," at ");return e.displayName&&C.includes("<anonymous>")&&(C=C.replace("<anonymous>",e.displayName)),typeof e=="function"&&q.set(e,C),C}while(w>=1&&E>=0);break}}}finally{ne=!1,re.current=m,nr(),Error.prepareStackTrace=y}var A=e?e.displayName||e.name:"",$=A?K(A):"";return typeof e=="function"&&q.set(e,$),$}function or(e,r,t){return Re(e,!1)}function ir(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function z(e,r,t){if(e==null)return"";if(typeof e=="function")return Re(e,ir(e));if(typeof e=="string")return K(e);switch(e){case h:return K("Suspense");case u:return K("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case f:return or(e.render);case d:return z(e.type,r,t);case b:{var i=e,y=i._payload,m=i._init;try{return z(m(y),r,t)}catch{}}}return""}var V=Object.prototype.hasOwnProperty,xe={},De=P.ReactDebugCurrentFrame;function H(e){if(e){var r=e._owner,t=z(e.type,e._source,r?r.type:null);De.setExtraStackFrame(t)}else De.setExtraStackFrame(null)}function sr(e,r,t,i,y){{var m=Function.call.bind(V);for(var v in e)if(m(e,v)){var l=void 0;try{if(typeof e[v]!="function"){var D=Error((i||"React class")+": "+t+" type `"+v+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[v]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw D.name="Invariant Violation",D}l=e[v](r,v,i,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(w){l=w}l&&!(l instanceof Error)&&(H(y),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",i||"React class",t,v,typeof l),H(null)),l instanceof Error&&!(l.message in xe)&&(xe[l.message]=!0,H(y),x("Failed %s type: %s",t,l.message),H(null))}}}var lr=Array.isArray;function ae(e){return lr(e)}function ur(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function cr(e){try{return je(e),!1}catch{return!0}}function je(e){return""+e}function ke(e){if(cr(e))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ur(e)),je(e)}var U=P.ReactCurrentOwner,fr={key:!0,ref:!0,__self:!0,__source:!0},Te,Ce,oe;oe={};function dr(e){if(V.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function vr(e){if(V.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function pr(e,r){if(typeof e.ref=="string"&&U.current&&r&&U.current.stateNode!==r){var t=S(U.current.type);oe[t]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',S(U.current.type),e.ref),oe[t]=!0)}}function hr(e,r){{var t=function(){Te||(Te=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function yr(e,r){{var t=function(){Ce||(Ce=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var gr=function(e,r,t,i,y,m,v){var l={$$typeof:o,type:e,key:r,ref:t,props:v,_owner:m};return l._store={},Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:y}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};function _r(e,r,t,i,y){{var m,v={},l=null,D=null;t!==void 0&&(ke(t),l=""+t),vr(r)&&(ke(r.key),l=""+r.key),dr(r)&&(D=r.ref,pr(r,y));for(m in r)V.call(r,m)&&!fr.hasOwnProperty(m)&&(v[m]=r[m]);if(e&&e.defaultProps){var w=e.defaultProps;for(m in w)v[m]===void 0&&(v[m]=w[m])}if(l||D){var E=typeof e=="function"?e.displayName||e.name||"Unknown":e;l&&hr(v,E),D&&yr(v,E)}return gr(e,l,D,y,i,U.current,v)}}var ie=P.ReactCurrentOwner,Se=P.ReactDebugCurrentFrame;function N(e){if(e){var r=e._owner,t=z(e.type,e._source,r?r.type:null);Se.setExtraStackFrame(t)}else Se.setExtraStackFrame(null)}var se;se=!1;function le(e){return typeof e=="object"&&e!==null&&e.$$typeof===o}function Oe(){{if(ie.current){var e=S(ie.current.type);if(e)return`
21
+ `),w=c.length-1,E=D.length-1;w>=1&&E>=0&&c[w]!==D[E];)E--;for(;w>=1&&E>=0;w--,E--)if(c[w]!==D[E]){if(w!==1||E!==1)do if(w--,E--,E<0||c[w]!==D[E]){var T=`
22
+ `+c[w].replace(" at new "," at ");return e.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",e.displayName)),typeof e=="function"&&X.set(e,T),T}while(w>=1&&E>=0);break}}}finally{oe=!1,ne.current=y,or(),Error.prepareStackTrace=g}var I=e?e.displayName||e.name:"",N=I?H(I):"";return typeof e=="function"&&X.set(e,N),N}function sr(e,r,t){return De(e,!1)}function lr(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function Z(e,r,t){if(e==null)return"";if(typeof e=="function")return De(e,lr(e));if(typeof e=="string")return H(e);switch(e){case _:return H("Suspense");case u:return H("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return sr(e.render);case m:return Z(e.type,r,t);case d:{var i=e,g=i._payload,y=i._init;try{return Z(y(g),r,t)}catch{}}}return""}var G=Object.prototype.hasOwnProperty,je={},ke=P.ReactDebugCurrentFrame;function Q(e){if(e){var r=e._owner,t=Z(e.type,e._source,r?r.type:null);ke.setExtraStackFrame(t)}else ke.setExtraStackFrame(null)}function ur(e,r,t,i,g){{var y=Function.call.bind(G);for(var v in e)if(y(e,v)){var c=void 0;try{if(typeof e[v]!="function"){var D=Error((i||"React class")+": "+t+" type `"+v+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[v]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw D.name="Invariant Violation",D}c=e[v](r,v,i,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(w){c=w}c&&!(c instanceof Error)&&(Q(g),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",i||"React class",t,v,typeof c),Q(null)),c instanceof Error&&!(c.message in je)&&(je[c.message]=!0,Q(g),x("Failed %s type: %s",t,c.message),Q(null))}}}var cr=Array.isArray;function ie(e){return cr(e)}function fr(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function dr(e){try{return Te(e),!1}catch{return!0}}function Te(e){return""+e}function Ce(e){if(dr(e))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",fr(e)),Te(e)}var J=P.ReactCurrentOwner,vr={key:!0,ref:!0,__self:!0,__source:!0},Se,Oe,se;se={};function pr(e){if(G.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function hr(e){if(G.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function gr(e,r){if(typeof e.ref=="string"&&J.current&&r&&J.current.stateNode!==r){var t=S(J.current.type);se[t]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',S(J.current.type),e.ref),se[t]=!0)}}function _r(e,r){{var t=function(){Se||(Se=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function yr(e,r){{var t=function(){Oe||(Oe=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var br=function(e,r,t,i,g,y,v){var c={$$typeof:o,type:e,key:r,ref:t,props:v,_owner:y};return c._store={},Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(c,"_self",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.defineProperty(c,"_source",{configurable:!1,enumerable:!1,writable:!1,value:g}),Object.freeze&&(Object.freeze(c.props),Object.freeze(c)),c};function mr(e,r,t,i,g){{var y,v={},c=null,D=null;t!==void 0&&(Ce(t),c=""+t),hr(r)&&(Ce(r.key),c=""+r.key),pr(r)&&(D=r.ref,gr(r,g));for(y in r)G.call(r,y)&&!vr.hasOwnProperty(y)&&(v[y]=r[y]);if(e&&e.defaultProps){var w=e.defaultProps;for(y in w)v[y]===void 0&&(v[y]=w[y])}if(c||D){var E=typeof e=="function"?e.displayName||e.name||"Unknown":e;c&&_r(v,E),D&&yr(v,E)}return br(e,c,D,g,i,J.current,v)}}var le=P.ReactCurrentOwner,Pe=P.ReactDebugCurrentFrame;function W(e){if(e){var r=e._owner,t=Z(e.type,e._source,r?r.type:null);Pe.setExtraStackFrame(t)}else Pe.setExtraStackFrame(null)}var ue;ue=!1;function ce(e){return typeof e=="object"&&e!==null&&e.$$typeof===o}function Fe(){{if(le.current){var e=S(le.current.type);if(e)return`
23
23
 
24
- Check the render method of \``+e+"`."}return""}}function mr(e){return""}var Pe={};function br(e){{var r=Oe();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
24
+ Check the render method of \``+e+"`."}return""}}function wr(e){return""}var Ye={};function Er(e){{var r=Fe();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
25
25
 
26
- Check the top-level render call using <`+t+">.")}return r}}function Fe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=br(r);if(Pe[t])return;Pe[t]=!0;var i="";e&&e._owner&&e._owner!==ie.current&&(i=" It was passed a child from "+S(e._owner.type)+"."),N(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,i),N(null)}}function Ye(e,r){{if(typeof e!="object")return;if(ae(e))for(var t=0;t<e.length;t++){var i=e[t];le(i)&&Fe(i,r)}else if(le(e))e._store&&(e._store.validated=!0);else if(e){var y=Q(e);if(typeof y=="function"&&y!==e.entries)for(var m=y.call(e),v;!(v=m.next()).done;)le(v.value)&&Fe(v.value,r)}}}function wr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===f||r.$$typeof===d))t=r.propTypes;else return;if(t){var i=S(r);sr(t,e.props,"prop",i,e)}else if(r.PropTypes!==void 0&&!se){se=!0;var y=S(r);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",y||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Er(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var i=r[t];if(i!=="children"&&i!=="key"){N(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",i),N(null);break}}e.ref!==null&&(N(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),N(null))}}var Me={};function $e(e,r,t,i,y,m){{var v=er(e);if(!v){var l="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(l+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var D=mr();D?l+=D:l+=Oe();var w;e===null?w="null":ae(e)?w="array":e!==void 0&&e.$$typeof===o?(w="<"+(S(e.type)||"Unknown")+" />",l=" Did you accidentally export a JSX literal instead of a component?"):w=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",w,l)}var E=_r(e,r,t,y,m);if(E==null)return E;if(v){var C=r.children;if(C!==void 0)if(i)if(ae(C)){for(var A=0;A<C.length;A++)Ye(C[A],e);Object.freeze&&Object.freeze(C)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ye(C,e)}if(V.call(r,"key")){var $=S(e),j=Object.keys(r).filter(function(Tr){return Tr!=="key"}),ue=j.length>0?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}";if(!Me[$+ue]){var kr=j.length>0?"{"+j.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
26
+ Check the top-level render call using <`+t+">.")}return r}}function Me(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=Er(r);if(Ye[t])return;Ye[t]=!0;var i="";e&&e._owner&&e._owner!==le.current&&(i=" It was passed a child from "+S(e._owner.type)+"."),W(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,i),W(null)}}function Ne(e,r){{if(typeof e!="object")return;if(ie(e))for(var t=0;t<e.length;t++){var i=e[t];ce(i)&&Me(i,r)}else if(ce(e))e._store&&(e._store.validated=!0);else if(e){var g=re(e);if(typeof g=="function"&&g!==e.entries)for(var y=g.call(e),v;!(v=y.next()).done;)ce(v.value)&&Me(v.value,r)}}}function Rr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===l||r.$$typeof===m))t=r.propTypes;else return;if(t){var i=S(r);ur(t,e.props,"prop",i,e)}else if(r.PropTypes!==void 0&&!ue){ue=!0;var g=S(r);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",g||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function xr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var i=r[t];if(i!=="children"&&i!=="key"){W(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",i),W(null);break}}e.ref!==null&&(W(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),W(null))}}var $e={};function Ae(e,r,t,i,g,y){{var v=tr(e);if(!v){var c="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(c+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var D=wr();D?c+=D:c+=Fe();var w;e===null?w="null":ie(e)?w="array":e!==void 0&&e.$$typeof===o?(w="<"+(S(e.type)||"Unknown")+" />",c=" Did you accidentally export a JSX literal instead of a component?"):w=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",w,c)}var E=mr(e,r,t,g,y);if(E==null)return E;if(v){var T=r.children;if(T!==void 0)if(i)if(ie(T)){for(var I=0;I<T.length;I++)Ne(T[I],e);Object.freeze&&Object.freeze(T)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ne(T,e)}if(G.call(r,"key")){var N=S(e),j=Object.keys(r).filter(function(Sr){return Sr!=="key"}),fe=j.length>0?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}";if(!$e[N+fe]){var Cr=j.length>0?"{"+j.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
27
27
  let props = %s;
28
28
  <%s {...props} />
29
29
  React keys must be passed directly to JSX without using spread:
30
30
  let props = %s;
31
- <%s key={someKey} {...props} />`,ue,$,kr,$),Me[$+ue]=!0}}return e===p?Er(E):wr(E),E}}function Rr(e,r,t){return $e(e,r,t,!0)}function xr(e,r,t){return $e(e,r,t,!1)}var Dr=xr,jr=Rr;I.Fragment=p,I.jsx=Dr,I.jsxs=jr}()),I}process.env.NODE_ENV==="production"?X.exports=Ae():X.exports=We();var c=X.exports;const Ie=n=>Y.createElement("svg",{width:"64px",height:"64px",viewBox:"0 0 24 24",fill:"#000000",xmlns:"http://www.w3.org/2000/svg",stroke:"#000000",strokeWidth:.696,...n},Y.createElement("g",{id:"SVGRepo_bgCarrier",strokeWidth:0}),Y.createElement("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),Y.createElement("g",{id:"SVGRepo_iconCarrier"},Y.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.207 6.207a1 1 0 0 0-1.414-1.414L12 10.586 6.207 4.793a1 1 0 0 0-1.414 1.414L10.586 12l-5.793 5.793a1 1 0 1 0 1.414 1.414L12 13.414l5.793 5.793a1 1 0 0 0 1.414-1.414L13.414 12l5.793-5.793z"}))),de=n=>Y.createElement("svg",{width:25,height:25,viewBox:"0 0 20 20",fill:"none",stroke:"#2D2D2D",xmlns:"http://www.w3.org/2000/svg",...n},Y.createElement("path",{d:"M5 7.5L10 13L15 7.5",strokeWidth:1.4,strokeLinecap:"round"})),Le=n=>{const o=new Date(n.getFullYear(),n.getMonth(),1),a=new Date(n.getFullYear(),n.getMonth()+1,0),p=[];let s=[];const g=o.getDay();if(g!==0){const f=new Date(o);f.setDate(0);for(let h=g-1;h>=0;h-=1){const u=new Date(f);u.setDate(f.getDate()-h),s.push({thisMonth:!1,date:u})}}const _=new Date(o);for(;_<=a;)s.push({thisMonth:!0,date:new Date(_)}),_.getDay()===6&&(p.push(s),s=[]),_.setDate(_.getDate()+1);const R=a.getDay();if(R!==6)for(let f=1;f<=6-R;f+=1){const h=new Date(a);h.setDate(a.getDate()+f),s.push({thisMonth:!1,date:h})}return s.length>0&&p.push(s),p},B=(n,o,a="day")=>{if(n===null||o===null)return!1;switch(a){case"day":return n.getFullYear()===o.getFullYear()&&n.getMonth()===o.getMonth()&&n.getDate()===o.getDate();case"month":return n.getFullYear()===o.getFullYear()&&n.getMonth()===o.getMonth();case"year":return n.getFullYear()===o.getFullYear();default:return!1}},Ve=["일","월","화","수","목","금","토"];function Ue({selectedDate:n,weeksInMonth:o,tileContent:a,handleDayClick:p}){return c.jsxs("div",{className:"day-tile",children:[c.jsx("div",{className:"day-tile__weeks",children:Ve.map(s=>c.jsx("div",{className:"day-tile__weeks--date",children:s},s))}),c.jsx("div",{className:"day-tile__tile",children:o.map((s,g)=>c.jsx("div",{className:"day-tile__week",children:s.map((_,R)=>c.jsxs("button",{className:`day-tile__day
32
- ${B(_.date,new Date)&&"day-tile__day--today"}
33
- ${!!n&&B(_.date,n)&&"day-tile__day--selected"}
34
- ${!_.thisMonth&&"day-tile__day--before"}
35
- ${!!(a&&a())&&"day-tile__day--tile"}
36
- `,type:"button",onClick:()=>p(_.date),children:[_.date.getDate(),a&&a()]},R))},g))})]})}const Be=Array.from({length:12},(n,o)=>o);function Ge({selectedDate:n,viewDate:o,handleMonthClick:a,tileContent:p=()=>!1}){return c.jsx("div",{className:"month-tile",children:Be.map(s=>c.jsxs("button",{className:`month-tile__month
37
- ${!!n&&B(n,new Date(o.getFullYear(),s),"month")&&"month-tile__month--selected"}
38
- ${B(new Date(o.getFullYear(),s),new Date,"month")&&"month-tile__month--today"}
39
- ${!!p(new Date(o.getFullYear(),s-1,1),"month")&&"month-tile__month--tile"}`,type:"button",onClick:()=>a(s),children:[c.jsx("span",{children:`${s+1}월`}),!!p(new Date(o.getFullYear(),s-1,1),"month")&&p(new Date(o.getFullYear(),s-1,1),"month")]},s))})}const Je=Array.from({length:100},(n,o)=>o+2e3);function Ke({selectedDate:n,onClick:o,tileContent:a=()=>!1}){const p=k.useRef(null),s=k.useRef(null);return k.useEffect(()=>{const g=s.current,_=p.current;if(!g||!_)return;const{clientHeight:R}=_,{offsetTop:f,clientHeight:h}=g;_.scrollTo({top:f-R/2+h})},[]),c.jsxs("div",{className:"year-tile",ref:p,children:[c.jsx("div",{className:"year-tile__blank"}),Je.map(g=>c.jsxs("button",{className:`year-tile__year ${n&&n.getFullYear()===g&&"year-tile__year--selected"} ${a(new Date(g,1,1),"year")&&"year-tile__year--border"}`,type:"button",ref:n&&n.getFullYear()===g?s:null,onClick:()=>o(g),children:[c.jsx("span",{className:"year-tile__year--year",children:g}),a(new Date(g,1,1),"year")&&c.jsx("div",{className:"year-tile__year--tile",children:a(new Date(g,1,1),"year")})]},g)),c.jsx("div",{className:"year-tile__blank"})]})}const qe=({method:n,selectMode:o,date:a,setDate:p,min:s,max:g})=>({disabled:f=>o==="year"||n!==o?!0:n==="day"?f==="prev"?new Date(a.getFullYear(),a.getMonth()-1,1)<s:new Date(a.getFullYear(),a.getMonth()+1,1)>g:n==="month"?f==="prev"?new Date(a.getFullYear()-1,a.getMonth(),1)<s:new Date(a.getFullYear()+1,a.getMonth(),1)>g:n==="year"?f==="prev"?new Date(a.getFullYear()-10,a.getMonth(),1)<s:new Date(a.getFullYear()+10,a.getMonth(),1)>g:!1,onArrowClick:f=>{const h=f==="prev"?-1:1,u=new Date(2e3,0,1),d=new Date(2099,11,31);if(n==="day"){const b=new Date(a.getFullYear(),a.getMonth()+h,1);b>=u&&b<=d&&p(b)}if(n==="month"){const b=new Date(a.getFullYear()+h,a.getMonth(),1);b>=u&&b<=d&&p(b)}if(n==="year"){const b=new Date(a.getFullYear()+h*10,a.getMonth(),1);b>=u&&b<=d&&p(b)}}}),ze=({viewDate:n,setViewDate:o,onChange:a,setSelectMode:p,method:s})=>{const g=new Date(2e3,0,1),_=new Date(2099,11,31);return{onDayClick:u=>{u<g||u>_||(o(u),a(u))},onMonthClick:u=>{const d=new Date(n.getFullYear(),u,1);o(d),s!=="month"&&p(s),s==="month"&&a(d)},onYearClick:u=>{const d=new Date(u,0,1);o(d),s!=="year"&&p(s),s==="year"&&a(d)}}};function He({className:n="",date:o,view:a,setView:p=()=>{},tileContent:s,onChange:g=()=>{},onClose:_,min:R=new Date(2e3,0,1),max:f=new Date(2099,11,31)}){const[h,u]=k.useState(o||new Date),[d,b]=k.useState(a||"day"),[T,O]=k.useState("day"),Z=Le(h),{onDayClick:Q,onMonthClick:P,onYearClick:x}=ze({viewDate:h,setViewDate:ee=>u(ee),onChange:g,setSelectMode:O,method:d}),{disabled:G,onArrowClick:J}=qe({method:d,selectMode:T,date:h,setDate:u,min:R,max:f});return c.jsxs("div",{className:`calendar ${n}`,children:[c.jsx("div",{className:"calendar__close",children:_&&c.jsx(Ie,{onClick:_})}),c.jsxs("div",{className:"view",children:[c.jsx("div",{className:`view__block ${d==="month"&&"view__block--second"} ${d==="year"&&"view__block--last"}`}),c.jsx("button",{className:`view__selector ${d==="day"&&"view__selector--selected"}`,type:"button",onClick:()=>{p("day"),b("day"),O("day")},children:"일"}),c.jsx("button",{className:`view__selector ${d==="month"&&"view__selector--selected"}`,type:"button",onClick:()=>{p("month"),b("month"),O("month")},children:"월"}),c.jsx("button",{className:`view__selector ${d==="year"&&"view__selector--selected"}`,type:"button",onClick:()=>{p("year"),b("year"),O("year")},children:"년"})]}),c.jsxs("div",{className:"nav",children:[c.jsx("button",{className:"nav__button",type:"button",onClick:()=>J("prev"),disabled:G("prev"),children:"◀︎"}),c.jsxs("div",{className:"nav__label",children:[d==="year"&&"연도 선택",d!=="year"&&c.jsxs("button",{className:`nav__label--date ${T==="year"&&"nav__label--date-selected"}`,type:"button",onClick:()=>O("year"),children:[`${h.getFullYear()}년`,c.jsx(de,{})]}),d==="day"&&c.jsxs("button",{className:`nav__label--date ${T==="month"&&"nav__label--date-selected"}`,type:"button",onClick:()=>O("month"),children:[`${h.getMonth()+1}월`,c.jsx(de,{})]})]}),c.jsx("button",{className:"nav__button",type:"button",onClick:()=>J("next"),disabled:G("next"),children:"►"})]}),d==="day"&&T==="day"&&c.jsx(Ue,{selectedDate:o,weeksInMonth:Z,handleDayClick:Q,tileContent:()=>s?s(o,d):null}),(d==="month"||T==="month")&&T!=="year"&&c.jsx(Ge,{selectedDate:o,viewDate:h,handleMonthClick:P,tileContent:s}),(d==="year"||T==="year")&&c.jsx(Ke,{selectedDate:o,onClick:x,tileContent:s})]})}F.Calendar=He,Object.defineProperty(F,Symbol.toStringTag,{value:"Module"})});
31
+ <%s key={someKey} {...props} />`,fe,N,Cr,N),$e[N+fe]=!0}}return e===p?xr(E):Rr(E),E}}function Dr(e,r,t){return Ae(e,r,t,!0)}function jr(e,r,t){return Ae(e,r,t,!1)}var kr=jr,Tr=Dr;V.Fragment=p,V.jsx=kr,V.jsxs=Tr}()),V}process.env.NODE_ENV==="production"?ee.exports=Ie():ee.exports=Le();var f=ee.exports;const Ve=a=>F.createElement("svg",{width:"64px",height:"64px",viewBox:"0 0 24 24",fill:"#000000",xmlns:"http://www.w3.org/2000/svg",stroke:"#000000",strokeWidth:.696,...a},F.createElement("g",{id:"SVGRepo_bgCarrier",strokeWidth:0}),F.createElement("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),F.createElement("g",{id:"SVGRepo_iconCarrier"},F.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.207 6.207a1 1 0 0 0-1.414-1.414L12 10.586 6.207 4.793a1 1 0 0 0-1.414 1.414L10.586 12l-5.793 5.793a1 1 0 1 0 1.414 1.414L12 13.414l5.793 5.793a1 1 0 0 0 1.414-1.414L13.414 12l5.793-5.793z"}))),pe=a=>F.createElement("svg",{width:25,height:25,viewBox:"0 0 20 20",fill:"none",stroke:"#2D2D2D",xmlns:"http://www.w3.org/2000/svg",...a},F.createElement("path",{d:"M5 7.5L10 13L15 7.5",strokeWidth:1.4,strokeLinecap:"round"})),Ue=a=>{const o=new Date(a.getFullYear(),a.getMonth(),1),n=new Date(a.getFullYear(),a.getMonth()+1,0),p=[];let s=[];const h=o.getDay();if(h!==0){const l=new Date(o);l.setDate(0);for(let _=h-1;_>=0;_-=1){const u=new Date(l);u.setDate(l.getDate()-_),s.push({thisMonth:!1,date:u})}}const b=new Date(o);for(;b<=n;)s.push({thisMonth:!0,date:new Date(b)}),b.getDay()===6&&(p.push(s),s=[]),b.setDate(b.getDate()+1);const R=n.getDay();if(R!==6)for(let l=1;l<=6-R;l+=1){const _=new Date(n);_.setDate(n.getDate()+l),s.push({thisMonth:!1,date:_})}return s.length>0&&p.push(s),p},K=(a,o,n="day")=>{if(a===null||o===null)return!1;switch(n){case"day":return a.getFullYear()===o.getFullYear()&&a.getMonth()===o.getMonth()&&a.getDate()===o.getDate();case"month":return a.getFullYear()===o.getFullYear()&&a.getMonth()===o.getMonth();case"year":return a.getFullYear()===o.getFullYear();default:return!1}},Be=["일","월","화","수","목","금","토"];function Ge({selectedDate:a,weeksInMonth:o,tileContent:n,handleDayClick:p,max:s,min:h}){return f.jsxs("div",{className:"day-tile",children:[f.jsx("div",{className:"day-tile__weeks",children:Be.map(b=>f.jsx("div",{className:"day-tile__weeks--date",children:b},b))}),f.jsx("div",{className:"day-tile__tile",children:o.map((b,R)=>f.jsx("div",{className:"day-tile__week",children:b.map((l,_)=>f.jsxs("button",{className:`day-tile__day
32
+ ${K(l.date,new Date)&&"day-tile__day--today"}
33
+ ${!!a&&K(l.date,a)&&"day-tile__day--selected"}
34
+ ${!l.thisMonth&&"day-tile__day--before"}
35
+ ${!!(n&&n())&&"day-tile__day--tile"}
36
+ `,type:"button",disabled:h&&l.date<h||s&&l.date>s,onClick:()=>p(l.date),children:[l.date.getDate(),n&&n()]},_))},R))})]})}const Je=Array.from({length:12},(a,o)=>o);function Ke({selectedDate:a,viewDate:o,handleMonthClick:n,tileContent:p=()=>!1}){return f.jsx("div",{className:"month-tile",children:Je.map(s=>f.jsxs("button",{className:`month-tile__month
37
+ ${!!a&&K(a,new Date(o.getFullYear(),s),"month")&&"month-tile__month--selected"}
38
+ ${K(new Date(o.getFullYear(),s),new Date,"month")&&"month-tile__month--today"}
39
+ ${!!p(new Date(o.getFullYear(),s-1,1),"month")&&"month-tile__month--tile"}`,type:"button",onClick:()=>n(s),children:[f.jsx("span",{children:`${s+1}월`}),!!p(new Date(o.getFullYear(),s-1,1),"month")&&p(new Date(o.getFullYear(),s-1,1),"month")]},s))})}const qe=Array.from({length:100},(a,o)=>o+2e3);function ze({selectedDate:a,onClick:o,tileContent:n=()=>!1}){const p=k.useRef(null),s=k.useRef(null);return k.useEffect(()=>{const h=s.current,b=p.current;if(!h||!b)return;const{clientHeight:R}=b,{offsetTop:l,clientHeight:_}=h;b.scrollTo({top:l-R/2+_})},[]),f.jsxs("div",{className:"year-tile",ref:p,children:[f.jsx("div",{className:"year-tile__blank"}),qe.map(h=>f.jsxs("button",{className:`year-tile__year ${a&&a.getFullYear()===h&&"year-tile__year--selected"} ${n(new Date(h,1,1),"year")&&"year-tile__year--border"}`,type:"button",ref:a&&a.getFullYear()===h?s:null,onClick:()=>o(h),children:[f.jsx("span",{className:"year-tile__year--year",children:h}),n(new Date(h,1,1),"year")&&f.jsx("div",{className:"year-tile__year--tile",children:n(new Date(h,1,1),"year")})]},h)),f.jsx("div",{className:"year-tile__blank"})]})}const He=({method:a,selectMode:o,date:n,setDate:p,min:s,max:h})=>({disabled:l=>o==="year"||a!==o?!0:a==="day"?l==="prev"?new Date(n.getFullYear(),n.getMonth()-1,1)<s:new Date(n.getFullYear(),n.getMonth()+1,1)>h:a==="month"?l==="prev"?new Date(n.getFullYear()-1,n.getMonth(),1)<s:new Date(n.getFullYear()+1,n.getMonth(),1)>h:a==="year"?l==="prev"?new Date(n.getFullYear()-10,n.getMonth(),1)<s:new Date(n.getFullYear()+10,n.getMonth(),1)>h:!1,onArrowClick:l=>{const _=l==="prev"?-1:1,u=new Date(2e3,0,1),m=new Date(2099,11,31);if(a==="day"){const d=new Date(n.getFullYear(),n.getMonth()+_,1);d>=u&&d<=m&&p(d)}if(a==="month"){const d=new Date(n.getFullYear()+_,n.getMonth(),1);d>=u&&d<=m&&p(d)}if(a==="year"){const d=new Date(n.getFullYear()+_*10,n.getMonth(),1);d>=u&&d<=m&&p(d)}}}),Xe=({viewDate:a,setViewDate:o,onChange:n,setSelectMode:p,method:s})=>{const h=new Date(2e3,0,1),b=new Date(2099,11,31);return{onDayClick:u=>{u<h||u>b||(o(u),n(u))},onMonthClick:u=>{const m=new Date(a.getFullYear(),u,1);o(m),s!=="month"&&p(s),s==="month"&&n(m)},onYearClick:u=>{const m=new Date(u,0,1);o(m),s!=="year"&&p(s),s==="year"&&n(m)}}};function Ze({className:a="",date:o,view:n,setView:p=()=>{},tileContent:s,onChange:h=()=>{},onClose:b,viewSelector:R=!0,min:l=new Date(2e3,0,1),max:_=new Date(2099,11,31)}){const[u,m]=k.useState(o||new Date),[d,$]=k.useState(n||"day"),[C,A]=k.useState(n||"day"),re=Ue(u),{onDayClick:P,onMonthClick:x,onYearClick:te}=Xe({viewDate:u,setViewDate:Y=>m(Y),onChange:h,setSelectMode:A,method:d}),{disabled:q,onArrowClick:z}=He({method:d,selectMode:C,date:u,setDate:m,min:l,max:_}),U=Y=>{n?p(Y):($(Y),A(Y))};return f.jsxs("div",{className:`calendar ${a}`,children:[f.jsx("div",{className:"calendar__close",children:b&&f.jsx(Ve,{onClick:b})}),R&&f.jsxs("div",{className:"view",children:[f.jsx("div",{className:`view__block ${d==="month"&&"view__block--second"} ${d==="year"&&"view__block--last"}`}),f.jsx("button",{className:`view__selector ${d==="day"&&"view__selector--selected"}`,type:"button",onClick:()=>U("day"),children:"일"}),f.jsx("button",{className:`view__selector ${d==="month"&&"view__selector--selected"}`,type:"button",onClick:()=>U("month"),children:"월"}),f.jsx("button",{className:`view__selector ${d==="year"&&"view__selector--selected"}`,type:"button",onClick:()=>U("year"),children:"년"})]}),f.jsxs("div",{className:"nav",children:[f.jsx("button",{className:"nav__button",type:"button",onClick:()=>z("prev"),disabled:q("prev"),children:"◀︎"}),f.jsxs("div",{className:"nav__label",children:[d==="year"&&"연도 선택",d!=="year"&&f.jsxs("button",{className:`nav__label--date ${C==="year"&&"nav__label--date-selected"}`,type:"button",onClick:()=>A("year"),children:[`${u.getFullYear()}년`,f.jsx(pe,{})]}),d==="day"&&f.jsxs("button",{className:`nav__label--date ${C==="month"&&"nav__label--date-selected"}`,type:"button",onClick:()=>A("month"),children:[`${u.getMonth()+1}월`,f.jsx(pe,{})]})]}),f.jsx("button",{className:"nav__button",type:"button",onClick:()=>z("next"),disabled:q("next"),children:"►"})]}),d==="day"&&C==="day"&&f.jsx(Ge,{selectedDate:o,weeksInMonth:re,handleDayClick:P,tileContent:()=>s?s(o,d):null,max:_,min:l}),(d==="month"||C==="month")&&C!=="year"&&f.jsx(Ke,{selectedDate:o,viewDate:u,handleMonthClick:x,tileContent:s}),(d==="year"||C==="year")&&f.jsx(ze,{selectedDate:o,onClick:te,tileContent:s})]})}const Qe={button:"_button_14zdh_1"};function er(){return f.jsx("button",{type:"button",className:Qe.button,children:"이것은 버튼이다."})}O.Button=er,O.Calendar=Ze,Object.defineProperty(O,Symbol.toStringTag,{value:"Module"})});
40
40
  //# sourceMappingURL=index.umd.cjs.map