import{c as s}from"./dayjs.min.1703796278973.js";var _={},l={},f={};Object.defineProperty(f,"__esModule",{value:!0});f.observers=f.data=void 0;f.data={};f.observers={};var c={};Object.defineProperty(c,"__esModule",{value:!0});c.Observer=void 0;var g=f,y=function(){function t(n,r,e){this.key="",this.id=n,this.key=r,this.fn=e}return t.prototype.unsubscribe=function(){delete g.observers[this.id]},t}();c.Observer=y;var d={};Object.defineProperty(d,"__esModule",{value:!0});d.s8=d.s4=void 0;function h(){return((1+Math.random())*65536|0).toString(16).substring(1)}d.s4=h;function O(){return h()+h()}d.s8=O;Object.defineProperty(l,"__esModule",{value:!0});l.Store=void 0;var v=f,m=c,j=d,S=function(){function t(){this.data={},this.observers={}}return t.prototype.get=function(n){return t.get(n,this.data)},t.prototype.set=function(n,r){t.set(n,r,this.data,this.observers)},t.prototype.updated=function(n){t.updated(n,this.data,this.observers)},t.prototype.subscribe=function(n,r){return t.subscribe(n,r,this.data,this.observers)},t.get=function(n,r){if(r||(r=v.data),n===void 0)return r;for(var e=n.split("."),i=0,a=e;i<a.length;i++){var u=a[i];if(r=r[u],r===void 0)break}return r},t.set=function(n,r,e,i){e||(e=v.data),i||(i=v.observers);for(var a=n.split("."),u=e,o=0;o<a.length-1;++o)u[a[o]]||(u[a[o]]={}),u=u[a[o]];u[a[a.length-1]]=r;for(var p in i)n.indexOf(i[p].key)===0&&i[p].fn(t.get(i[p].key,e))},t.updated=function(n,r,e){e||(e=v.observers);for(var i in e)n.indexOf(e[i].key)===0&&e[i].fn(t.get(e[i].key,r))},t.subscribe=function(n,r,e,i){i||(i=v.observers);var a=j.s8(),u=new m.Observer(a,n,r);i[a]=u;var o=t.get(n,e);return o!==void 0&&r(o),u},t}();l.Store=S;var b={};Object.defineProperty(b,"__esModule",{value:!0});b.Cookie=void 0;var w=function(){function t(){}return t.get=function(n){var r,e=new RegExp("(^| )"+n+"=([^;]*)(;|$)");return(r=document.cookie.match(e))?decodeURIComponent(r[2]):""},t.set=function(n,r,e){var i=window,a=i.escape(n)+"="+i.escape(r)+";";if(e||(e={}),e.expires){var u=new Date(new Date().getTime()+e.expires*1e3*60*60*24);a+="expires="+u.toUTCString()+";"}e.path&&(a+="path="+e.path+";"),e.domain&&(a+="domain="+e.domain+";"),document.cookie=a},t.delete=function(n,r){t.get(n)&&(r||(r={}),r.expires=-1,t.set(n,"",r))},t}();b.Cookie=w;(function(t){var n=s&&s.__createBinding||(Object.create?function(e,i,a,u){u===void 0&&(u=a),Object.defineProperty(e,u,{enumerable:!0,get:function(){return i[a]}})}:function(e,i,a,u){u===void 0&&(u=a),e[u]=i[a]}),r=s&&s.__exportStar||function(e,i){for(var a in e)a!=="default"&&!Object.prototype.hasOwnProperty.call(i,a)&&n(i,e,a)};Object.defineProperty(t,"__esModule",{value:!0}),r(l,t),r(b,t),r(c,t)})(_);export{_ as j};
