UNPKG

react-nepali-datetime-picker

Version:

A simple and reusable Nepali calendar, date and time picker components for React.

27 lines (24 loc) 104 kB
(function(Y,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],g):(Y=typeof globalThis<"u"?globalThis:Y||self,g(Y["react-nepali-datetime-picker"]={},Y.React))})(this,function(Y,g){"use strict";var Ya=Object.defineProperty;var Fa=(Y,g,Ee)=>g in Y?Ya(Y,g,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):Y[g]=Ee;var n0=(Y,g,Ee)=>(Fa(Y,typeof g!="symbol"?g+"":g,Ee),Ee);function Ee(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const se=Ee(g),La="";function r0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var bt={exports:{}},ze={};/** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Ut;function a0(){if(Ut)return ze;Ut=1;var t=g,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function l(i,u,h){var d,c={},p=null,w=null;h!==void 0&&(p=""+h),u.key!==void 0&&(p=""+u.key),u.ref!==void 0&&(w=u.ref);for(d in u)r.call(u,d)&&!a.hasOwnProperty(d)&&(c[d]=u[d]);if(i&&i.defaultProps)for(d in u=i.defaultProps,u)c[d]===void 0&&(c[d]=u[d]);return{$$typeof:e,type:i,key:p,ref:w,props:c,_owner:s.current}}return ze.Fragment=n,ze.jsx=l,ze.jsxs=l,ze}var Be={};/** * @license React * react-jsx-runtime.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Jt;function o0(){return Jt||(Jt=1,process.env.NODE_ENV!=="production"&&function(){var t=g,e=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),i=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),m=Symbol.iterator,b="@@iterator";function C(o){if(o===null||typeof o!="object")return null;var v=m&&o[m]||o[b];return typeof v=="function"?v:null}var j=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function I(o){{for(var v=arguments.length,y=new Array(v>1?v-1:0),k=1;k<v;k++)y[k-1]=arguments[k];B("error",o,y)}}function B(o,v,y){{var k=j.ReactDebugCurrentFrame,H=k.getStackAddendum();H!==""&&(v+="%s",y=y.concat([H]));var F=y.map(function(R){return String(R)});F.unshift("Warning: "+v),Function.prototype.apply.call(console[o],console,F)}}var W=!1,A=!1,G=!1,E=!1,$=!1,D;D=Symbol.for("react.module.reference");function S(o){return!!(typeof o=="string"||typeof o=="function"||o===r||o===a||$||o===s||o===h||o===d||E||o===w||W||A||G||typeof o=="object"&&o!==null&&(o.$$typeof===p||o.$$typeof===c||o.$$typeof===l||o.$$typeof===i||o.$$typeof===u||o.$$typeof===D||o.getModuleId!==void 0))}function x(o,v,y){var k=o.displayName;if(k)return k;var H=v.displayName||v.name||"";return H!==""?y+"("+H+")":y}function M(o){return o.displayName||"Context"}function _(o){if(o==null)return null;if(typeof o.tag=="number"&&I("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case s:return"StrictMode";case h:return"Suspense";case d:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case i:var v=o;return M(v)+".Consumer";case l:var y=o;return M(y._context)+".Provider";case u:return x(o,o.render,"ForwardRef");case c:var k=o.displayName||null;return k!==null?k:_(o.type)||"Memo";case p:{var H=o,F=H._payload,R=H._init;try{return _(R(F))}catch{return null}}}return null}var O=Object.assign,K=0,Q,_e,me,oe,fe,ne,ge;function q(){}q.__reactDisabledLog=!0;function dt(){{if(K===0){Q=console.log,_e=console.info,me=console.warn,oe=console.error,fe=console.group,ne=console.groupCollapsed,ge=console.groupEnd;var o={configurable:!0,enumerable:!0,value:q,writable:!0};Object.defineProperties(console,{info:o,log:o,warn:o,error:o,group:o,groupCollapsed:o,groupEnd:o})}K++}}function Se(){{if(K--,K===0){var o={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:O({},o,{value:Q}),info:O({},o,{value:_e}),warn:O({},o,{value:me}),error:O({},o,{value:oe}),group:O({},o,{value:fe}),groupCollapsed:O({},o,{value:ne}),groupEnd:O({},o,{value:ge})})}K<0&&I("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ze=j.ReactCurrentDispatcher,Ke;function Pe(o,v,y){{if(Ke===void 0)try{throw Error()}catch(H){var k=H.stack.trim().match(/\n( *(at )?)/);Ke=k&&k[1]||""}return` `+Ke+o}}var $e=!1,Re;{var Ft=typeof WeakMap=="function"?WeakMap:Map;Re=new Ft}function He(o,v){if(!o||$e)return"";{var y=Re.get(o);if(y!==void 0)return y}var k;$e=!0;var H=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var F;F=Ze.current,Ze.current=null,dt();try{if(v){var R=function(){throw Error()};if(Object.defineProperty(R.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(R,[])}catch(be){k=be}Reflect.construct(o,[],R)}else{try{R.call()}catch(be){k=be}o.call(R.prototype)}}else{try{throw Error()}catch(be){k=be}o()}}catch(be){if(be&&k&&typeof be.stack=="string"){for(var P=be.stack.split(` `),ae=k.stack.split(` `),U=P.length-1,X=ae.length-1;U>=1&&X>=0&&P[U]!==ae[X];)X--;for(;U>=1&&X>=0;U--,X--)if(P[U]!==ae[X]){if(U!==1||X!==1)do if(U--,X--,X<0||P[U]!==ae[X]){var de=` `+P[U].replace(" at new "," at ");return o.displayName&&de.includes("<anonymous>")&&(de=de.replace("<anonymous>",o.displayName)),typeof o=="function"&&Re.set(o,de),de}while(U>=1&&X>=0);break}}}finally{$e=!1,Ze.current=F,Se(),Error.prepareStackTrace=H}var Ge=o?o.displayName||o.name:"",t0=Ge?Pe(Ge):"";return typeof o=="function"&&Re.set(o,t0),t0}function Lt(o,v,y){return He(o,!1)}function Vt(o){var v=o.prototype;return!!(v&&v.isReactComponent)}function Ye(o,v,y){if(o==null)return"";if(typeof o=="function")return He(o,Vt(o));if(typeof o=="string")return Pe(o);switch(o){case h:return Pe("Suspense");case d:return Pe("SuspenseList")}if(typeof o=="object")switch(o.$$typeof){case u:return Lt(o.render);case c:return Ye(o.type,v,y);case p:{var k=o,H=k._payload,F=k._init;try{return Ye(F(H),v,y)}catch{}}}return""}var Fe=Object.prototype.hasOwnProperty,ct={},Qe=j.ReactDebugCurrentFrame;function ke(o){if(o){var v=o._owner,y=Ye(o.type,o._source,v?v.type:null);Qe.setExtraStackFrame(y)}else Qe.setExtraStackFrame(null)}function ft(o,v,y,k,H){{var F=Function.call.bind(Fe);for(var R in o)if(F(o,R)){var P=void 0;try{if(typeof o[R]!="function"){var ae=Error((k||"React class")+": "+y+" type `"+R+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[R]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ae.name="Invariant Violation",ae}P=o[R](v,R,k,y,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(U){P=U}P&&!(P instanceof Error)&&(ke(H),I("%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).",k||"React class",y,R,typeof P),ke(null)),P instanceof Error&&!(P.message in ct)&&(ct[P.message]=!0,ke(H),I("Failed %s type: %s",y,P.message),ke(null))}}}var ht=Array.isArray;function Le(o){return ht(o)}function vt(o){{var v=typeof Symbol=="function"&&Symbol.toStringTag,y=v&&o[Symbol.toStringTag]||o.constructor.name||"Object";return y}}function pt(o){try{return et(o),!1}catch{return!0}}function et(o){return""+o}function tt(o){if(pt(o))return I("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",vt(o)),et(o)}var Me=j.ReactCurrentOwner,L={key:!0,ref:!0,__self:!0,__source:!0},te,Z,re;re={};function ve(o){if(Fe.call(o,"ref")){var v=Object.getOwnPropertyDescriptor(o,"ref").get;if(v&&v.isReactWarning)return!1}return o.ref!==void 0}function mt(o){if(Fe.call(o,"key")){var v=Object.getOwnPropertyDescriptor(o,"key").get;if(v&&v.isReactWarning)return!1}return o.key!==void 0}function gt(o,v){if(typeof o.ref=="string"&&Me.current&&v&&Me.current.stateNode!==v){var y=_(Me.current.type);re[y]||(I('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',_(Me.current.type),o.ref),re[y]=!0)}}function _a(o,v){{var y=function(){te||(te=!0,I("%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)",v))};y.isReactWarning=!0,Object.defineProperty(o,"key",{get:y,configurable:!0})}}function ka(o,v){{var y=function(){Z||(Z=!0,I("%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)",v))};y.isReactWarning=!0,Object.defineProperty(o,"ref",{get:y,configurable:!0})}}var Ia=function(o,v,y,k,H,F,R){var P={$$typeof:e,type:o,key:v,ref:y,props:R,_owner:F};return P._store={},Object.defineProperty(P._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(P,"_self",{configurable:!1,enumerable:!1,writable:!1,value:k}),Object.defineProperty(P,"_source",{configurable:!1,enumerable:!1,writable:!1,value:H}),Object.freeze&&(Object.freeze(P.props),Object.freeze(P)),P};function Aa(o,v,y,k,H){{var F,R={},P=null,ae=null;y!==void 0&&(tt(y),P=""+y),mt(v)&&(tt(v.key),P=""+v.key),ve(v)&&(ae=v.ref,gt(v,H));for(F in v)Fe.call(v,F)&&!L.hasOwnProperty(F)&&(R[F]=v[F]);if(o&&o.defaultProps){var U=o.defaultProps;for(F in U)R[F]===void 0&&(R[F]=U[F])}if(P||ae){var X=typeof o=="function"?o.displayName||o.name||"Unknown":o;P&&_a(R,X),ae&&ka(R,X)}return Ia(o,P,ae,H,k,Me.current,R)}}var Gt=j.ReactCurrentOwner,Xn=j.ReactDebugCurrentFrame;function Ve(o){if(o){var v=o._owner,y=Ye(o.type,o._source,v?v.type:null);Xn.setExtraStackFrame(y)}else Xn.setExtraStackFrame(null)}var zt;zt=!1;function Bt(o){return typeof o=="object"&&o!==null&&o.$$typeof===e}function qn(){{if(Gt.current){var o=_(Gt.current.type);if(o)return` Check the render method of \``+o+"`."}return""}}function Oa(o){{if(o!==void 0){var v=o.fileName.replace(/^.*[\\\/]/,""),y=o.lineNumber;return` Check your code at `+v+":"+y+"."}return""}}var Zn={};function Ta(o){{var v=qn();if(!v){var y=typeof o=="string"?o:o.displayName||o.name;y&&(v=` Check the top-level render call using <`+y+">.")}return v}}function Kn(o,v){{if(!o._store||o._store.validated||o.key!=null)return;o._store.validated=!0;var y=Ta(v);if(Zn[y])return;Zn[y]=!0;var k="";o&&o._owner&&o._owner!==Gt.current&&(k=" It was passed a child from "+_(o._owner.type)+"."),Ve(o),I('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',y,k),Ve(null)}}function Qn(o,v){{if(typeof o!="object")return;if(Le(o))for(var y=0;y<o.length;y++){var k=o[y];Bt(k)&&Kn(k,v)}else if(Bt(o))o._store&&(o._store.validated=!0);else if(o){var H=C(o);if(typeof H=="function"&&H!==o.entries)for(var F=H.call(o),R;!(R=F.next()).done;)Bt(R.value)&&Kn(R.value,v)}}}function Da(o){{var v=o.type;if(v==null||typeof v=="string")return;var y;if(typeof v=="function")y=v.propTypes;else if(typeof v=="object"&&(v.$$typeof===u||v.$$typeof===c))y=v.propTypes;else return;if(y){var k=_(v);ft(y,o.props,"prop",k,o)}else if(v.PropTypes!==void 0&&!zt){zt=!0;var H=_(v);I("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",H||"Unknown")}typeof v.getDefaultProps=="function"&&!v.getDefaultProps.isReactClassApproved&&I("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Sa(o){{for(var v=Object.keys(o.props),y=0;y<v.length;y++){var k=v[y];if(k!=="children"&&k!=="key"){Ve(o),I("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",k),Ve(null);break}}o.ref!==null&&(Ve(o),I("Invalid attribute `ref` supplied to `React.Fragment`."),Ve(null))}}function e0(o,v,y,k,H,F){{var R=S(o);if(!R){var P="";(o===void 0||typeof o=="object"&&o!==null&&Object.keys(o).length===0)&&(P+=" 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 ae=Oa(H);ae?P+=ae:P+=qn();var U;o===null?U="null":Le(o)?U="array":o!==void 0&&o.$$typeof===e?(U="<"+(_(o.type)||"Unknown")+" />",P=" Did you accidentally export a JSX literal instead of a component?"):U=typeof o,I("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",U,P)}var X=Aa(o,v,y,H,F);if(X==null)return X;if(R){var de=v.children;if(de!==void 0)if(k)if(Le(de)){for(var Ge=0;Ge<de.length;Ge++)Qn(de[Ge],o);Object.freeze&&Object.freeze(de)}else I("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 Qn(de,o)}return o===r?Sa(X):Da(X),X}}function Pa(o,v,y){return e0(o,v,y,!0)}function $a(o,v,y){return e0(o,v,y,!1)}var Ra=$a,Ha=Pa;Be.Fragment=r,Be.jsx=Ra,Be.jsxs=Ha}()),Be}process.env.NODE_ENV==="production"?bt.exports=a0():bt.exports=o0();var f=bt.exports;const Xt=t=>se.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...t},se.createElement("path",{d:"M9,10V12H7V10H9M13,10V12H11V10H13M17,10V12H15V10H17M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H6V1H8V3H16V1H18V3H19M19,19V8H5V19H19M9,14V16H7V14H9M13,14V16H11V14H13M17,14V16H15V14H17Z"}));function qt(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=qt(t[e]))&&(r&&(r+=" "),r+=n);else for(e in t)t[e]&&(r&&(r+=" "),r+=e);return r}function s0(){for(var t,e,n=0,r="";n<arguments.length;)(t=arguments[n++])&&(e=qt(t))&&(r&&(r+=" "),r+=e);return r}function l0(){for(var t=0,e,n,r="";t<arguments.length;)(e=arguments[t++])&&(n=Zt(e))&&(r&&(r+=" "),r+=n);return r}function Zt(t){if(typeof t=="string")return t;for(var e,n="",r=0;r<t.length;r++)t[r]&&(e=Zt(t[r]))&&(n&&(n+=" "),n+=e);return n}var yt="-";function i0(t){var e=d0(t),n=t.conflictingClassGroups,r=t.conflictingClassGroupModifiers,s=r===void 0?{}:r;function a(i){var u=i.split(yt);return u[0]===""&&u.length!==1&&u.shift(),Kt(u,e)||u0(i)}function l(i,u){var h=n[i]||[];return u&&s[i]?[].concat(h,s[i]):h}return{getClassGroupId:a,getConflictingClassGroupIds:l}}function Kt(t,e){var l;if(t.length===0)return e.classGroupId;var n=t[0],r=e.nextPart.get(n),s=r?Kt(t.slice(1),r):void 0;if(s)return s;if(e.validators.length!==0){var a=t.join(yt);return(l=e.validators.find(function(i){var u=i.validator;return u(a)}))==null?void 0:l.classGroupId}}var Qt=/^\[(.+)\]$/;function u0(t){if(Qt.test(t)){var e=Qt.exec(t)[1],n=e==null?void 0:e.substring(0,e.indexOf(":"));if(n)return"arbitrary.."+n}}function d0(t){var e=t.theme,n=t.prefix,r={nextPart:new Map,validators:[]},s=f0(Object.entries(t.classGroups),n);return s.forEach(function(a){var l=a[0],i=a[1];xt(i,r,l,e)}),r}function xt(t,e,n,r){t.forEach(function(s){if(typeof s=="string"){var a=s===""?e:en(e,s);a.classGroupId=n;return}if(typeof s=="function"){if(c0(s)){xt(s(r),e,n,r);return}e.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(function(l){var i=l[0],u=l[1];xt(u,en(e,i),n,r)})})}function en(t,e){var n=t;return e.split(yt).forEach(function(r){n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function c0(t){return t.isThemeGetter}function f0(t,e){return e?t.map(function(n){var r=n[0],s=n[1],a=s.map(function(l){return typeof l=="string"?e+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(function(i){var u=i[0],h=i[1];return[e+u,h]})):l});return[r,a]}):t}function h0(t){if(t<1)return{get:function(){},set:function(){}};var e=0,n=new Map,r=new Map;function s(a,l){n.set(a,l),e++,e>t&&(e=0,r=n,n=new Map)}return{get:function(l){var i=n.get(l);if(i!==void 0)return i;if((i=r.get(l))!==void 0)return s(l,i),i},set:function(l,i){n.has(l)?n.set(l,i):s(l,i)}}}var tn="!";function v0(t){var e=t.separator||":",n=e.length===1,r=e[0],s=e.length;return function(l){for(var i=[],u=0,h=0,d,c=0;c<l.length;c++){var p=l[c];if(u===0){if(p===r&&(n||l.slice(c,c+s)===e)){i.push(l.slice(h,c)),h=c+s;continue}if(p==="/"){d=c;continue}}p==="["?u++:p==="]"&&u--}var w=i.length===0?l:l.substring(h),m=w.startsWith(tn),b=m?w.substring(1):w,C=d&&d>h?d-h:void 0;return{modifiers:i,hasImportantModifier:m,baseClassName:b,maybePostfixModifierPosition:C}}}function p0(t){if(t.length<=1)return t;var e=[],n=[];return t.forEach(function(r){var s=r[0]==="[";s?(e.push.apply(e,n.sort().concat([r])),n=[]):n.push(r)}),e.push.apply(e,n.sort()),e}function m0(t){return{cache:h0(t.cacheSize),splitModifiers:v0(t),...i0(t)}}var g0=/\s+/;function b0(t,e){var n=e.splitModifiers,r=e.getClassGroupId,s=e.getConflictingClassGroupIds,a=new Set;return t.trim().split(g0).map(function(l){var i=n(l),u=i.modifiers,h=i.hasImportantModifier,d=i.baseClassName,c=i.maybePostfixModifierPosition,p=r(c?d.substring(0,c):d),w=!!c;if(!p){if(!c)return{isTailwindClass:!1,originalClassName:l};if(p=r(d),!p)return{isTailwindClass:!1,originalClassName:l};w=!1}var m=p0(u).join(":"),b=h?m+tn:m;return{isTailwindClass:!0,modifierId:b,classGroupId:p,originalClassName:l,hasPostfixModifier:w}}).reverse().filter(function(l){if(!l.isTailwindClass)return!0;var i=l.modifierId,u=l.classGroupId,h=l.hasPostfixModifier,d=i+u;return a.has(d)?!1:(a.add(d),s(u,h).forEach(function(c){return a.add(i+c)}),!0)}).reverse().map(function(l){return l.originalClassName}).join(" ")}function nn(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r,s,a,l=i;function i(h){var d=e[0],c=e.slice(1),p=c.reduce(function(w,m){return m(w)},d());return r=m0(p),s=r.cache.get,a=r.cache.set,l=u,u(h)}function u(h){var d=s(h);if(d)return d;var c=b0(h,r);return a(h,c),c}return function(){return l(l0.apply(null,arguments))}}function V(t){var e=function(r){return r[t]||[]};return e.isThemeGetter=!0,e}var rn=/^\[(?:([a-z-]+):)?(.+)\]$/i,y0=/^\d+\/\d+$/,x0=new Set(["px","full","screen"]),w0=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,M0=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,E0=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function ce(t){return Ce(t)||x0.has(t)||y0.test(t)||wt(t)}function wt(t){return Ne(t,"length",I0)}function C0(t){return Ne(t,"size",an)}function N0(t){return Ne(t,"position",an)}function j0(t){return Ne(t,"url",A0)}function nt(t){return Ne(t,"number",Ce)}function Ce(t){return!Number.isNaN(Number(t))}function _0(t){return t.endsWith("%")&&Ce(t.slice(0,-1))}function We(t){return on(t)||Ne(t,"number",on)}function T(t){return rn.test(t)}function Ue(){return!0}function ye(t){return w0.test(t)}function k0(t){return Ne(t,"",O0)}function Ne(t,e,n){var r=rn.exec(t);return r?r[1]?r[1]===e:n(r[2]):!1}function I0(t){return M0.test(t)}function an(){return!1}function A0(t){return t.startsWith("url(")}function on(t){return Number.isInteger(Number(t))}function O0(t){return E0.test(t)}function sn(){var t=V("colors"),e=V("spacing"),n=V("blur"),r=V("brightness"),s=V("borderColor"),a=V("borderRadius"),l=V("borderSpacing"),i=V("borderWidth"),u=V("contrast"),h=V("grayscale"),d=V("hueRotate"),c=V("invert"),p=V("gap"),w=V("gradientColorStops"),m=V("gradientColorStopPositions"),b=V("inset"),C=V("margin"),j=V("opacity"),I=V("padding"),B=V("saturate"),W=V("scale"),A=V("sepia"),G=V("skew"),E=V("space"),$=V("translate"),D=function(){return["auto","contain","none"]},S=function(){return["auto","hidden","clip","visible","scroll"]},x=function(){return["auto",T,e]},M=function(){return[T,e]},_=function(){return["",ce]},O=function(){return["auto",Ce,T]},K=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},Q=function(){return["solid","dashed","dotted","double","none"]},_e=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},me=function(){return["start","end","center","between","around","evenly","stretch"]},oe=function(){return["","0",T]},fe=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},ne=function(){return[Ce,nt]},ge=function(){return[Ce,T]};return{cacheSize:500,theme:{colors:[Ue],spacing:[ce],blur:["none","",ye,T],brightness:ne(),borderColor:[t],borderRadius:["none","","full",ye,T],borderSpacing:M(),borderWidth:_(),contrast:ne(),grayscale:oe(),hueRotate:ge(),invert:oe(),gap:M(),gradientColorStops:[t],gradientColorStopPositions:[_0,wt],inset:x(),margin:x(),opacity:ne(),padding:M(),saturate:ne(),scale:ne(),sepia:oe(),skew:ge(),space:M(),translate:M()},classGroups:{aspect:[{aspect:["auto","square","video",T]}],container:["container"],columns:[{columns:[ye]}],"break-after":[{"break-after":fe()}],"break-before":[{"break-before":fe()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(K(),[T])}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",We]}],basis:[{basis:x()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",T]}],grow:[{grow:oe()}],shrink:[{shrink:oe()}],order:[{order:["first","last","none",We]}],"grid-cols":[{"grid-cols":[Ue]}],"col-start-end":[{col:["auto",{span:["full",We]},T]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[Ue]}],"row-start-end":[{row:["auto",{span:[We]},T]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",T]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",T]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal"].concat(me())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(me(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(me(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[I]}],px:[{px:[I]}],py:[{py:[I]}],ps:[{ps:[I]}],pe:[{pe:[I]}],pt:[{pt:[I]}],pr:[{pr:[I]}],pb:[{pb:[I]}],pl:[{pl:[I]}],m:[{m:[C]}],mx:[{mx:[C]}],my:[{my:[C]}],ms:[{ms:[C]}],me:[{me:[C]}],mt:[{mt:[C]}],mr:[{mr:[C]}],mb:[{mb:[C]}],ml:[{ml:[C]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",T,e]}],"min-w":[{"min-w":["min","max","fit",T,ce]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[ye]},ye,T]}],h:[{h:[T,e,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",T,ce]}],"max-h":[{"max-h":[T,e,"min","max","fit"]}],"font-size":[{text:["base",ye,wt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",nt]}],"font-family":[{font:[Ue]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",T]}],"line-clamp":[{"line-clamp":["none",Ce,nt]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",T,ce]}],"list-image":[{"list-image":["none",T]}],"list-style-type":[{list:["none","disc","decimal",T]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[j]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[j]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(Q(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",ce]}],"underline-offset":[{"underline-offset":["auto",T,ce]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:M()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",T]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",T]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[j]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(K(),[N0])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",C0]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},j0]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[j]}],"border-style":[{border:[].concat(Q(),["hidden"])}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[j]}],"divide-style":[{divide:Q()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:[""].concat(Q())}],"outline-offset":[{"outline-offset":[T,ce]}],"outline-w":[{outline:[ce]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:_()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[j]}],"ring-offset-w":[{"ring-offset":[ce]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",ye,k0]}],"shadow-color":[{shadow:[Ue]}],opacity:[{opacity:[j]}],"mix-blend":[{"mix-blend":_e()}],"bg-blend":[{"bg-blend":_e()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",ye,T]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[c]}],saturate:[{saturate:[B]}],sepia:[{sepia:[A]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[j]}],"backdrop-saturate":[{"backdrop-saturate":[B]}],"backdrop-sepia":[{"backdrop-sepia":[A]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",T]}],duration:[{duration:ge()}],ease:[{ease:["linear","in","out","in-out",T]}],delay:[{delay:ge()}],animate:[{animate:["none","spin","ping","pulse","bounce",T]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[W]}],"scale-x":[{"scale-x":[W]}],"scale-y":[{"scale-y":[W]}],rotate:[{rotate:[We,T]}],"translate-x":[{"translate-x":[$]}],"translate-y":[{"translate-y":[$]}],"skew-x":[{"skew-x":[G]}],"skew-y":[{"skew-y":[G]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",T]}],accent:[{accent:["auto",t]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",T]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",T]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[ce,nt]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function T0(t,e){for(var n in e)ln(t,n,e[n]);return t}var D0=Object.prototype.hasOwnProperty,S0=new Set(["string","number","boolean"]);function ln(t,e,n){if(!D0.call(t,e)||S0.has(typeof n)||n===null){t[e]=n;return}if(Array.isArray(n)&&Array.isArray(t[e])){t[e]=t[e].concat(n);return}if(typeof n=="object"&&typeof t[e]=="object"){if(t[e]===null){t[e]=n;return}for(var r in n)ln(t[e],r,n[r])}}function P0(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return typeof t=="function"?nn.apply(void 0,[sn,t].concat(n)):nn.apply(void 0,[function(){return T0(sn(),t)}].concat(n))}class $0{constructor(e="ne-dt-"){n0(this,"twMerge");this.twMerge=P0({prefix:e})}}const R0=new $0;function N(...t){return R0.twMerge(s0(t))}const J=({children:t,variant:e="circle",active:n=!1,selected:r=!1,disabled:s=!1,className:a,...l})=>f.jsx("button",{disabled:s,type:"button",className:N("ne-dt-flex ne-dt-items-center ne-dt-justify-center hover:!ne-dt-bg-primary-content hover:ne-dt-text-netural focus:ne-dt-outline focus:ne-dt-outline-2 focus:ne-dt-outline-offset-1 focus:ne-dt-outline-primary",e==="circle"&&"ne-dt-p-1 ne-dt-rounded-full",e==="pilled"&&"ne-dt-px-4 ne-dt-py-2 ne-dt-rounded-full",e==="outline"&&"ne-dt-px-2 ne-dt-py-1 ne-dt-rounded-md ne-dt-border ne-dt-border-neutral",e==="text"&&"ne-dt-px-2 ne-dt-py-1 ne-dt-rounded-md",e==="icon"&&"ne-dt-rounded-md !ne-dt-bg-base-100 hover:!ne-dt-bg-base-200 ne-dt-fill-base-content ne-dt-mr-1",n&&"ne-dt-border ne-dt-border-primary !ne-dt-bg-base-300",r&&"!ne-dt-bg-primary ne-dt-text-primary-content hover:!ne-dt-bg-primary",s&&"ne-dt-opacity-50 ne-dt-cursor-not-allowed",a),...l,children:t}),Ie=({errorMessage:t,successMessage:e,errorClassName:n="",successClassName:r=""})=>{const s="ne-dt-text-xs";return e?f.jsx("p",{className:N(s,"ne-dt-text-success",r),children:e}):t?f.jsx("p",{className:N(s,"ne-dt-text-error",n),children:t}):null},Mt=({className:t="",nativeInput:e={},icon:n={}})=>{const{className:r="",...s}=e,{className:a="",children:l,...i}=n;return f.jsxs("div",{className:N("ne-dt-relative ne-dt-rounded-md ne-dt-w-fit",t),children:[f.jsx("input",{className:N("ne-dt-h-12 ne-dt-border ne-dt-border-primary ne-dt-rounded-md ne-dt-px-2 focus:ne-dt-outline focus:ne-dt-outline-2 focus:ne-dt-outline-offset-2 focus:ne-dt-outline-primary ne-dt-bg-base-100",r),type:"text",autoComplete:"off",...s}),l&&f.jsx("div",{className:N("ne-dt-absolute ne-dt-inset-y-0 ne-dt-right-0 ne-dt-mr-1 ne-dt-flex ne-dt-items-center ne-dt-cursor-pointer",a),...i,children:l})]})},un=[{value:1,label:{en:"01",ne:"०१"}},{value:2,label:{en:"02",ne:"०२"}},{value:3,label:{en:"03",ne:"०३"}},{value:4,label:{en:"04",ne:"०४"}},{value:5,label:{en:"05",ne:"०५"}},{value:6,label:{en:"06",ne:"०६"}},{value:7,label:{en:"07",ne:"०७"}},{value:8,label:{en:"08",ne:"०८"}},{value:9,label:{en:"09",ne:"०९"}},{value:10,label:{en:"10",ne:"१०"}},{value:11,label:{en:"11",ne:"११"}},{value:12,label:{en:"12",ne:"१२"}},{value:13,label:{en:"13",ne:"१३"}},{value:14,label:{en:"14",ne:"१४"}},{value:15,label:{en:"15",ne:"१५"}},{value:16,label:{en:"16",ne:"१६"}},{value:17,label:{en:"17",ne:"१७"}},{value:18,label:{en:"18",ne:"१८"}},{value:19,label:{en:"19",ne:"१९"}},{value:20,label:{en:"20",ne:"२०"}},{value:21,label:{en:"21",ne:"२१"}},{value:22,label:{en:"22",ne:"२२"}},{value:23,label:{en:"23",ne:"२३"}},{value:24,label:{en:"24",ne:"२४"}},{value:25,label:{en:"25",ne:"२५"}},{value:26,label:{en:"26",ne:"२६"}},{value:27,label:{en:"27",ne:"२७"}},{value:28,label:{en:"28",ne:"२८"}},{value:29,label:{en:"29",ne:"२९"}},{value:30,label:{en:"30",ne:"३०"}},{value:31,label:{en:"31",ne:"३१"}},{value:32,label:{en:"32",ne:"३२"}}],je=[{label:{en:{long:"Baishakh",short:"Bai"},ne:{long:"बैशाख",short:"बैशा"}},value:{en:0,ne:"०१"}},{label:{en:{long:"Jestha",short:"Jes"},ne:{long:"जेठ",short:"जेठ"}},value:{en:1,ne:"०२"}},{label:{en:{long:"Ashad",short:"Ash"},ne:{long:"असार",short:"असा"}},value:{en:2,ne:"०३"}},{label:{en:{long:"Shrawan",short:"Shra"},ne:{long:"साउन",short:"साउ"}},value:{en:3,ne:"०४"}},{label:{en:{long:"Bhadra",short:"Bha"},ne:{long:"भदौ",short:"भदौ"}},value:{en:4,ne:"०५"}},{label:{en:{long:"Ashwin",short:"Ash"},ne:{long:"असोज",short:"असो"}},value:{en:5,ne:"०६"}},{label:{en:{long:"Kartik",short:"Kar"},ne:{long:"कार्तिक",short:"कार्ति"}},value:{en:6,ne:"०७"}},{label:{en:{long:"Mangsir",short:"Man"},ne:{long:"मंसिर",short:"मंसि"}},value:{en:7,ne:"०८"}},{label:{en:{long:"Poush",short:"Pou"},ne:{long:"पौष",short:"पौष"}},value:{en:8,ne:"०९"}},{label:{en:{long:"Magh",short:"Mag"},ne:{long:"माघ",short:"माघ"}},value:{en:9,ne:"१०"}},{label:{en:{long:"Falgun",short:"Fal"},ne:{long:"फाल्गुन",short:"फाल्गु"}},value:{en:10,ne:"११"}},{label:{en:{long:"Chaitra",short:"Cha"},ne:{long:"चैत्र",short:"चैत्र"}},value:{en:11,ne:"१२"}}],H0=[[[[0,30,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,31,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,29,0],[0,30,0],[0,31,0]],366],[[[0,30,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,31,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,29,0],[0,30,0],[0,31,0]],366],[[[0,31,0],[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,29,0],[0,30,0],[0,30,0],[0,29,0],[0,29,0],[0,31,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,29,0],[0,30,0],[0,31,0]],366],[[[0,31,0],[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,29,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,29,0],[0,30,0],[0,31,0]],366],[[[0,31,0],[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,29,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,31,0]],366],[[[0,31,0],[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,31,0]],366],[[[0,31,0],[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,29,0],[0,30,0],[0,31,0]],366],[[[0,30,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,31,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,29,0],[0,30,0],[0,31,0]],366],[[[0,30,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,31,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,29,0],[0,30,0],[0,31,0]],366],[[[0,30,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,29,0],[0,30,0],[0,30,0],[0,29,0],[0,29,0],[0,31,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,29,0],[0,30,0],[0,31,0]],366],[[[0,31,0],[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,29,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,29,0],[0,30,0],[0,31,0]],366],[[[0,31,0],[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,29,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,29,0],[0,30,0],[0,31,0]],366],[[[0,31,0],[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,31,0]],366],[[[0,31,0],[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,31,0]],366],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,29,0],[0,30,0],[0,31,0]],366],[[[0,30,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,31,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,29,0],[0,30,0],[0,31,0]],366],[[[0,30,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,31,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,29,0],[0,30,0],[0,31,0]],366],[[[0,31,0],[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,29,0],[0,30,0],[0,30,0],[0,29,0],[0,29,0],[0,31,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,29,0],[0,30,0],[0,31,0]],366],[[[0,31,0],[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,29,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,29,0],[0,30,0],[0,31,0]],366],[[[0,31,0],[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,31,0]],366],[[[0,31,0],[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,31,0],[0,30,0],[0,29,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0]],365],[[[5,31,6],[1,32,9],[5,31,6],[1,32,9],[5,31,6],[1,30,11],[3,30,9],[5,30,7],[0,29,13],[1,29,12],[2,30,10],[4,30,8]],365],[[[6,31,5],[2,32,8],[6,31,5],[2,32,8],[6,31,5],[2,30,10],[4,30,8],[6,30,6],[1,29,12],[2,30,10],[4,29,9],[5,31,6]],366],[[[0,30,0],[0,32,0],[0,31,0],[0,32,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,30,0],[0,30,0],[0,30,0],[0,29,0],[0,30,0],[0,30,0],[0,30,0]],365],[[[0,31,0],[0,31,0],[0,32,0],[0,31,0],[0,31,0],[0,30,0],[0,