@dev-tcloud/tcloud-ui 7.0.7 → 7.0.8

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,6 +1,9 @@
1
+ ;(function(){
1
2
  var ce=globalThis;function ee(e){return(ce.__Zone_symbol_prefix||"__zone_symbol__")+e}function ht(){let e=ce.performance;function r(N){e&&e.mark&&e.mark(N)}function c(N,_){e&&e.measure&&e.measure(N,_)}r("Zone");let t=(()=>{class N{static __symbol__=ee;static assertZonePatched(){if(ce.Promise!==O.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let n=N.current;for(;n.parent;)n=n.parent;return n}static get current(){return b.zone}static get currentTask(){return S}static __load_patch(n,o,p=!1){if(O.hasOwnProperty(n)){let P=ce[ee("forceDuplicateZoneCheck")]===!0;if(!p&&P)throw Error("Already loaded patch: "+n)}else if(!ce["__Zone_disable_"+n]){let P="Zone:"+n;r(P),O[n]=o(ce,N,C),c(P,P)}}get parent(){return this._parent}get name(){return this._name}_parent;_name;_properties;_zoneDelegate;constructor(n,o){this._parent=n,this._name=o?o.name||"unnamed":"<root>",this._properties=o&&o.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,o)}get(n){let o=this.getZoneWith(n);if(o)return o._properties[n]}getZoneWith(n){let o=this;for(;o;){if(o._properties.hasOwnProperty(n))return o;o=o._parent}return null}fork(n){if(!n)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,n)}wrap(n,o){if(typeof n!="function")throw new Error("Expecting function got: "+n);let p=this._zoneDelegate.intercept(this,n,o),P=this;return function(){return P.runGuarded(p,this,arguments,o)}}run(n,o,p,P){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,n,o,p,P)}finally{b=b.parent}}runGuarded(n,o=null,p,P){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,n,o,p,P)}catch(q){if(this._zoneDelegate.handleError(this,q))throw q}}finally{b=b.parent}}runTask(n,o,p){if(n.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(n.zone||K).name+"; Execution: "+this.name+")");let P=n,{type:q,data:{isPeriodic:A=!1,isRefreshable:_e=!1}={}}=n;if(n.state===X&&(q===U||q===g))return;let ae=n.state!=j;ae&&P._transitionTo(j,h);let le=S;S=P,b={parent:b,zone:this};try{q==g&&n.data&&!A&&!_e&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,P,o,p)}catch(ne){if(this._zoneDelegate.handleError(this,ne))throw ne}}finally{let ne=n.state;if(ne!==X&&ne!==Y)if(q==U||A||_e&&ne===y)ae&&P._transitionTo(h,j,y);else{let f=P._zoneDelegates;this._updateTaskCount(P,-1),ae&&P._transitionTo(X,j,X),_e&&(P._zoneDelegates=f)}b=b.parent,S=le}}scheduleTask(n){if(n.zone&&n.zone!==this){let p=this;for(;p;){if(p===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);p=p.parent}}n._transitionTo(y,X);let o=[];n._zoneDelegates=o,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n)}catch(p){throw n._transitionTo(Y,y,X),this._zoneDelegate.handleError(this,p),p}return n._zoneDelegates===o&&this._updateTaskCount(n,1),n.state==y&&n._transitionTo(h,y),n}scheduleMicroTask(n,o,p,P){return this.scheduleTask(new E(F,n,o,p,P,void 0))}scheduleMacroTask(n,o,p,P,q){return this.scheduleTask(new E(g,n,o,p,P,q))}scheduleEventTask(n,o,p,P,q){return this.scheduleTask(new E(U,n,o,p,P,q))}cancelTask(n){if(n.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(n.zone||K).name+"; Execution: "+this.name+")");if(!(n.state!==h&&n.state!==j)){n._transitionTo(x,h,j);try{this._zoneDelegate.cancelTask(this,n)}catch(o){throw n._transitionTo(Y,x),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(n,-1),n._transitionTo(X,x),n.runCount=-1,n}}_updateTaskCount(n,o){let p=n._zoneDelegates;o==-1&&(n._zoneDelegates=null);for(let P=0;P<p.length;P++)p[P]._updateTaskCount(n.type,o)}}return N})(),i={name:"",onHasTask:(N,_,n,o)=>N.hasTask(n,o),onScheduleTask:(N,_,n,o)=>N.scheduleTask(n,o),onInvokeTask:(N,_,n,o,p,P)=>N.invokeTask(n,o,p,P),onCancelTask:(N,_,n,o)=>N.cancelTask(n,o)};class u{get zone(){return this._zone}_zone;_taskCounts={microTask:0,macroTask:0,eventTask:0};_parentDelegate;_forkDlgt;_forkZS;_forkCurrZone;_interceptDlgt;_interceptZS;_interceptCurrZone;_invokeDlgt;_invokeZS;_invokeCurrZone;_handleErrorDlgt;_handleErrorZS;_handleErrorCurrZone;_scheduleTaskDlgt;_scheduleTaskZS;_scheduleTaskCurrZone;_invokeTaskDlgt;_invokeTaskZS;_invokeTaskCurrZone;_cancelTaskDlgt;_cancelTaskZS;_cancelTaskCurrZone;_hasTaskDlgt;_hasTaskDlgtOwner;_hasTaskZS;_hasTaskCurrZone;constructor(_,n,o){this._zone=_,this._parentDelegate=n,this._forkZS=o&&(o&&o.onFork?o:n._forkZS),this._forkDlgt=o&&(o.onFork?n:n._forkDlgt),this._forkCurrZone=o&&(o.onFork?this._zone:n._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:n._interceptZS),this._interceptDlgt=o&&(o.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this._zone:n._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:n._invokeZS),this._invokeDlgt=o&&(o.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this._zone:n._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:n._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this._zone:n._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:n._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this._zone:n._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:n._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this._zone:n._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:n._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this._zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let p=o&&o.onHasTask,P=n&&n._hasTaskZS;(p||P)&&(this._hasTaskZS=p?o:i,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,o.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this._zone),o.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this._zone),o.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this._zone))}fork(_,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,_,n):new t(_,n)}intercept(_,n,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,_,n,o):n}invoke(_,n,o,p,P){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,_,n,o,p,P):n.apply(o,p)}handleError(_,n){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,_,n):!0}scheduleTask(_,n){let o=n;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,_,n),o||(o=n);else if(n.scheduleFn)n.scheduleFn(n);else if(n.type==F)z(n);else throw new Error("Task is missing scheduleFn.");return o}invokeTask(_,n,o,p){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,_,n,o,p):n.callback.apply(o,p)}cancelTask(_,n){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,_,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");o=n.cancelFn(n)}return o}hasTask(_,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,_,n)}catch(o){this.handleError(_,o)}}_updateTaskCount(_,n){let o=this._taskCounts,p=o[_],P=o[_]=p+n;if(P<0)throw new Error("More tasks executed then were scheduled.");if(p==0||P==0){let q={microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:_};this.hasTask(this._zone,q)}}}class E{type;source;invoke;callback;data;scheduleFn;cancelFn;_zone=null;runCount=0;_zoneDelegates=null;_state="notScheduled";constructor(_,n,o,p,P,q){if(this.type=_,this.source=n,this.data=p,this.scheduleFn=P,this.cancelFn=q,!o)throw new Error("callback is not defined");this.callback=o;let A=this;_===U&&p&&p.useG?this.invoke=E.invokeTask:this.invoke=function(){return E.invokeTask.call(ce,A,this,arguments)}}static invokeTask(_,n,o){_||(_=this),Q++;try{return _.runCount++,_.zone.runTask(_,n,o)}finally{Q==1&&J(),Q--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(X,y)}_transitionTo(_,n,o){if(this._state===n||this._state===o)this._state=_,_==X&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${_}', expecting state '${n}'${o?" or '"+o+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let T=ee("setTimeout"),m=ee("Promise"),D=ee("then"),d=[],R=!1,M;function V(N){if(M||ce[m]&&(M=ce[m].resolve(0)),M){let _=M[D];_||(_=M.then),_.call(M,N)}else ce[T](N,0)}function z(N){Q===0&&d.length===0&&V(J),N&&d.push(N)}function J(){if(!R){for(R=!0;d.length;){let N=d;d=[];for(let _=0;_<N.length;_++){let n=N[_];try{n.zone.runTask(n,null,null)}catch(o){C.onUnhandledError(o)}}}C.microtaskDrainDone(),R=!1}}let K={name:"NO ZONE"},X="notScheduled",y="scheduling",h="scheduled",j="running",x="canceling",Y="unknown",F="microTask",g="macroTask",U="eventTask",O={},C={symbol:ee,currentZoneFrame:()=>b,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:z,showUncaughtError:()=>!t[ee("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:V},b={parent:null,zone:new t(null,null)},S=null,Q=0;function W(){}return c("Zone","Zone"),t}function dt(){let e=globalThis,r=e[ee("forceDuplicateZoneCheck")]===!0;if(e.Zone&&(r||typeof e.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return e.Zone??=ht(),e.Zone}var ye=Object.getOwnPropertyDescriptor,Me=Object.defineProperty,Ae=Object.getPrototypeOf,_t=Object.create,Tt=Array.prototype.slice,je="addEventListener",He="removeEventListener",Ne=ee(je),Ze=ee(He),ue="true",fe="false",ve=ee("");function Ve(e,r){return Zone.current.wrap(e,r)}function xe(e,r,c,t,i){return Zone.current.scheduleMacroTask(e,r,c,t,i)}var H=ee,we=typeof window<"u",be=we?window:void 0,$=we&&be||globalThis,Et="removeAttribute";function Fe(e,r){for(let c=e.length-1;c>=0;c--)typeof e[c]=="function"&&(e[c]=Ve(e[c],r+"_"+c));return e}function gt(e,r){let c=e.constructor.name;for(let t=0;t<r.length;t++){let i=r[t],u=e[i];if(u){let E=ye(e,i);if(!et(E))continue;e[i]=(T=>{let m=function(){return T.apply(this,Fe(arguments,c+"."+i))};return de(m,T),m})(u)}}}function et(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var tt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in $)&&typeof $.process<"u"&&$.process.toString()==="[object process]",Ge=!De&&!tt&&!!(we&&be.HTMLElement),nt=typeof $.process<"u"&&$.process.toString()==="[object process]"&&!tt&&!!(we&&be.HTMLElement),Ce={},kt=H("enable_beforeunload"),Xe=function(e){if(e=e||$.event,!e)return;let r=Ce[e.type];r||(r=Ce[e.type]=H("ON_PROPERTY"+e.type));let c=this||e.target||$,t=c[r],i;if(Ge&&c===be&&e.type==="error"){let u=e;i=t&&t.call(this,u.message,u.filename,u.lineno,u.colno,u.error),i===!0&&e.preventDefault()}else i=t&&t.apply(this,arguments),e.type==="beforeunload"&&$[kt]&&typeof i=="string"?e.returnValue=i:i!=null&&!i&&e.preventDefault();return i};function Ye(e,r,c){let t=ye(e,r);if(!t&&c&&ye(c,r)&&(t={enumerable:!0,configurable:!0}),!t||!t.configurable)return;let i=H("on"+r+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete t.writable,delete t.value;let u=t.get,E=t.set,T=r.slice(2),m=Ce[T];m||(m=Ce[T]=H("ON_PROPERTY"+T)),t.set=function(D){let d=this;if(!d&&e===$&&(d=$),!d)return;typeof d[m]=="function"&&d.removeEventListener(T,Xe),E?.call(d,null),d[m]=D,typeof D=="function"&&d.addEventListener(T,Xe,!1)},t.get=function(){let D=this;if(!D&&e===$&&(D=$),!D)return null;let d=D[m];if(d)return d;if(u){let R=u.call(this);if(R)return t.set.call(this,R),typeof D[Et]=="function"&&D.removeAttribute(r),R}return null},Me(e,r,t),e[i]=!0}function rt(e,r,c){if(r)for(let t=0;t<r.length;t++)Ye(e,"on"+r[t],c);else{let t=[];for(let i in e)i.slice(0,2)=="on"&&t.push(i);for(let i=0;i<t.length;i++)Ye(e,t[i],c)}}var oe=H("originalInstance");function pe(e){let r=$[e];if(!r)return;$[H(e)]=r,$[e]=function(){let i=Fe(arguments,e);switch(i.length){case 0:this[oe]=new r;break;case 1:this[oe]=new r(i[0]);break;case 2:this[oe]=new r(i[0],i[1]);break;case 3:this[oe]=new r(i[0],i[1],i[2]);break;case 4:this[oe]=new r(i[0],i[1],i[2],i[3]);break;default:throw new Error("Arg list too long.")}},de($[e],r);let c=new r(function(){}),t;for(t in c)e==="XMLHttpRequest"&&t==="responseBlob"||(function(i){typeof c[i]=="function"?$[e].prototype[i]=function(){return this[oe][i].apply(this[oe],arguments)}:Me($[e].prototype,i,{set:function(u){typeof u=="function"?(this[oe][i]=Ve(u,e+"."+i),de(this[oe][i],u)):this[oe][i]=u},get:function(){return this[oe][i]}})})(t);for(t in r)t!=="prototype"&&r.hasOwnProperty(t)&&($[e][t]=r[t])}function he(e,r,c){let t=e;for(;t&&!t.hasOwnProperty(r);)t=Ae(t);!t&&e[r]&&(t=e);let i=H(r),u=null;if(t&&(!(u=t[i])||!t.hasOwnProperty(i))){u=t[i]=t[r];let E=t&&ye(t,r);if(et(E)){let T=c(u,i,r);t[r]=function(){return T(this,arguments)},de(t[r],u)}}return u}function mt(e,r,c){let t=null;function i(u){let E=u.data;return E.args[E.cbIdx]=function(){u.invoke.apply(this,arguments)},t.apply(E.target,E.args),u}t=he(e,r,u=>function(E,T){let m=c(E,T);return m.cbIdx>=0&&typeof T[m.cbIdx]=="function"?xe(m.name,T[m.cbIdx],m,i):u.apply(E,T)})}function de(e,r){e[H("OriginalDelegate")]=r}var $e=!1,Le=!1;function pt(){if($e)return Le;$e=!0;try{let e=be.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Le=!0)}catch{}return Le}function Je(e){return typeof e=="function"}function Ke(e){return typeof e=="number"}var yt={useG:!0},te={},ot={},st=new RegExp("^"+ve+"(\\w+)(true|false)$"),it=H("propagationStopped");function ct(e,r){let c=(r?r(e):e)+fe,t=(r?r(e):e)+ue,i=ve+c,u=ve+t;te[e]={},te[e][fe]=i,te[e][ue]=u}function vt(e,r,c,t){let i=t&&t.add||je,u=t&&t.rm||He,E=t&&t.listeners||"eventListeners",T=t&&t.rmAll||"removeAllListeners",m=H(i),D="."+i+":",d="prependListener",R="."+d+":",M=function(y,h,j){if(y.isRemoved)return;let x=y.callback;typeof x=="object"&&x.handleEvent&&(y.callback=g=>x.handleEvent(g),y.originalDelegate=x);let Y;try{y.invoke(y,h,[j])}catch(g){Y=g}let F=y.options;if(F&&typeof F=="object"&&F.once){let g=y.originalDelegate?y.originalDelegate:y.callback;h[u].call(h,j.type,g,F)}return Y};function V(y,h,j){if(h=h||e.event,!h)return;let x=y||h.target||e,Y=x[te[h.type][j?ue:fe]];if(Y){let F=[];if(Y.length===1){let g=M(Y[0],x,h);g&&F.push(g)}else{let g=Y.slice();for(let U=0;U<g.length&&!(h&&h[it]===!0);U++){let O=M(g[U],x,h);O&&F.push(O)}}if(F.length===1)throw F[0];for(let g=0;g<F.length;g++){let U=F[g];r.nativeScheduleMicroTask(()=>{throw U})}}}let z=function(y){return V(this,y,!1)},J=function(y){return V(this,y,!0)};function K(y,h){if(!y)return!1;let j=!0;h&&h.useG!==void 0&&(j=h.useG);let x=h&&h.vh,Y=!0;h&&h.chkDup!==void 0&&(Y=h.chkDup);let F=!1;h&&h.rt!==void 0&&(F=h.rt);let g=y;for(;g&&!g.hasOwnProperty(i);)g=Ae(g);if(!g&&y[i]&&(g=y),!g||g[m])return!1;let U=h&&h.eventNameToString,O={},C=g[m]=g[i],b=g[H(u)]=g[u],S=g[H(E)]=g[E],Q=g[H(T)]=g[T],W;h&&h.prepend&&(W=g[H(h.prepend)]=g[h.prepend]);function N(s,l){return l?typeof s=="boolean"?{capture:s,passive:!0}:s?typeof s=="object"&&s.passive!==!1?{...s,passive:!0}:s:{passive:!0}:s}let _=function(s){if(!O.isExisting)return C.call(O.target,O.eventName,O.capture?J:z,O.options)},n=function(s){if(!s.isRemoved){let l=te[s.eventName],v;l&&(v=l[s.capture?ue:fe]);let w=v&&s.target[v];if(w){for(let k=0;k<w.length;k++)if(w[k]===s){w.splice(k,1),s.isRemoved=!0,s.removeAbortListener&&(s.removeAbortListener(),s.removeAbortListener=null),w.length===0&&(s.allRemoved=!0,s.target[v]=null);break}}}if(s.allRemoved)return b.call(s.target,s.eventName,s.capture?J:z,s.options)},o=function(s){return C.call(O.target,O.eventName,s.invoke,O.options)},p=function(s){return W.call(O.target,O.eventName,s.invoke,O.options)},P=function(s){return b.call(s.target,s.eventName,s.invoke,s.options)},q=j?_:o,A=j?n:P,_e=function(s,l){let v=typeof l;return v==="function"&&s.callback===l||v==="object"&&s.originalDelegate===l},ae=h?.diff||_e,le=Zone[H("UNPATCHED_EVENTS")],ne=e[H("PASSIVE_EVENTS")];function f(s){if(typeof s=="object"&&s!==null){let l={...s};return s.signal&&(l.signal=s.signal),l}return s}let a=function(s,l,v,w,k=!1,Z=!1){return function(){let L=this||e,I=arguments[0];h&&h.transferEventName&&(I=h.transferEventName(I));let G=arguments[1];if(!G)return s.apply(this,arguments);if(De&&I==="uncaughtException")return s.apply(this,arguments);let B=!1;if(typeof G!="function"){if(!G.handleEvent)return s.apply(this,arguments);B=!0}if(x&&!x(s,G,L,arguments))return;let Te=!!ne&&ne.indexOf(I)!==-1,se=f(N(arguments[2],Te)),Ee=se?.signal;if(Ee?.aborted)return;if(le){for(let ie=0;ie<le.length;ie++)if(I===le[ie])return Te?s.call(L,I,G,se):s.apply(this,arguments)}let Se=se?typeof se=="boolean"?!0:se.capture:!1,Be=se&&typeof se=="object"?se.once:!1,ft=Zone.current,Oe=te[I];Oe||(ct(I,U),Oe=te[I]);let ze=Oe[Se?ue:fe],ge=L[ze],Ue=!1;if(ge){if(Ue=!0,Y){for(let ie=0;ie<ge.length;ie++)if(ae(ge[ie],G))return}}else ge=L[ze]=[];let Pe,We=L.constructor.name,qe=ot[We];qe&&(Pe=qe[I]),Pe||(Pe=We+l+(U?U(I):I)),O.options=se,Be&&(O.options.once=!1),O.target=L,O.capture=Se,O.eventName=I,O.isExisting=Ue;let me=j?yt:void 0;me&&(me.taskData=O),Ee&&(O.options.signal=void 0);let re=ft.scheduleEventTask(Pe,G,me,v,w);if(Ee){O.options.signal=Ee;let ie=()=>re.zone.cancelTask(re);s.call(Ee,"abort",ie,{once:!0}),re.removeAbortListener=()=>Ee.removeEventListener("abort",ie)}if(O.target=null,me&&(me.taskData=null),Be&&(O.options.once=!0),typeof re.options!="boolean"&&(re.options=se),re.target=L,re.capture=Se,re.eventName=I,B&&(re.originalDelegate=G),Z?ge.unshift(re):ge.push(re),k)return L}};return g[i]=a(C,D,q,A,F),W&&(g[d]=a(W,R,p,A,F,!0)),g[u]=function(){let s=this||e,l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));let v=arguments[2],w=v?typeof v=="boolean"?!0:v.capture:!1,k=arguments[1];if(!k)return b.apply(this,arguments);if(x&&!x(b,k,s,arguments))return;let Z=te[l],L;Z&&(L=Z[w?ue:fe]);let I=L&&s[L];if(I)for(let G=0;G<I.length;G++){let B=I[G];if(ae(B,k)){if(I.splice(G,1),B.isRemoved=!0,I.length===0&&(B.allRemoved=!0,s[L]=null,!w&&typeof l=="string")){let Te=ve+"ON_PROPERTY"+l;s[Te]=null}return B.zone.cancelTask(B),F?s:void 0}}return b.apply(this,arguments)},g[E]=function(){let s=this||e,l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));let v=[],w=at(s,U?U(l):l);for(let k=0;k<w.length;k++){let Z=w[k],L=Z.originalDelegate?Z.originalDelegate:Z.callback;v.push(L)}return v},g[T]=function(){let s=this||e,l=arguments[0];if(l){h&&h.transferEventName&&(l=h.transferEventName(l));let v=te[l];if(v){let w=v[fe],k=v[ue],Z=s[w],L=s[k];if(Z){let I=Z.slice();for(let G=0;G<I.length;G++){let B=I[G],Te=B.originalDelegate?B.originalDelegate:B.callback;this[u].call(this,l,Te,B.options)}}if(L){let I=L.slice();for(let G=0;G<I.length;G++){let B=I[G],Te=B.originalDelegate?B.originalDelegate:B.callback;this[u].call(this,l,Te,B.options)}}}}else{let v=Object.keys(s);for(let w=0;w<v.length;w++){let k=v[w],Z=st.exec(k),L=Z&&Z[1];L&&L!=="removeListener"&&this[T].call(this,L)}this[T].call(this,"removeListener")}if(F)return this},de(g[i],C),de(g[u],b),Q&&de(g[T],Q),S&&de(g[E],S),!0}let X=[];for(let y=0;y<c.length;y++)X[y]=K(c[y],t);return X}function at(e,r){if(!r){let u=[];for(let E in e){let T=st.exec(E),m=T&&T[1];if(m&&(!r||m===r)){let D=e[E];if(D)for(let d=0;d<D.length;d++)u.push(D[d])}}return u}let c=te[r];c||(ct(r),c=te[r]);let t=e[c[fe]],i=e[c[ue]];return t?i?t.concat(i):t.slice():i?i.slice():[]}function bt(e,r){let c=e.Event;c&&c.prototype&&r.patchMethod(c.prototype,"stopImmediatePropagation",t=>function(i,u){i[it]=!0,t&&t.apply(i,u)})}function Pt(e,r){r.patchMethod(e,"queueMicrotask",c=>function(t,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}var Re=H("zoneTask");function ke(e,r,c,t){let i=null,u=null;r+=t,c+=t;let E={};function T(D){let d=D.data;d.args[0]=function(){return D.invoke.apply(this,arguments)};let R=i.apply(e,d.args);return Ke(R)?d.handleId=R:(d.handle=R,d.isRefreshable=Je(R.refresh)),D}function m(D){let{handle:d,handleId:R}=D.data;return u.call(e,d??R)}i=he(e,r,D=>function(d,R){if(Je(R[0])){let M={isRefreshable:!1,isPeriodic:t==="Interval",delay:t==="Timeout"||t==="Interval"?R[1]||0:void 0,args:R},V=R[0];R[0]=function(){try{return V.apply(this,arguments)}finally{let{handle:j,handleId:x,isPeriodic:Y,isRefreshable:F}=M;!Y&&!F&&(x?delete E[x]:j&&(j[Re]=null))}};let z=xe(r,R[0],M,T,m);if(!z)return z;let{handleId:J,handle:K,isRefreshable:X,isPeriodic:y}=z.data;if(J)E[J]=z;else if(K&&(K[Re]=z,X&&!y)){let h=K.refresh;K.refresh=function(){let{zone:j,state:x}=z;return x==="notScheduled"?(z._state="scheduled",j._updateTaskCount(z,1)):x==="running"&&(z._state="scheduling"),h.call(this)}}return K??J??z}else return D.apply(e,R)}),u=he(e,c,D=>function(d,R){let M=R[0],V;Ke(M)?(V=E[M],delete E[M]):(V=M?.[Re],V?M[Re]=null:V=M),V?.type?V.cancelFn&&V.zone.cancelTask(V):D.apply(e,R)})}function Rt(e,r){let{isBrowser:c,isMix:t}=r.getGlobalObjects();if(!c&&!t||!e.customElements||!("customElements"in e))return;let i=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];r.patchCallbacks(r,e.customElements,"customElements","define",i)}function Ct(e,r){if(Zone[r.symbol("patchEventTarget")])return;let{eventNames:c,zoneSymbolEventNames:t,TRUE_STR:i,FALSE_STR:u,ZONE_SYMBOL_PREFIX:E}=r.getGlobalObjects();for(let m=0;m<c.length;m++){let D=c[m],d=D+u,R=D+i,M=E+d,V=E+R;t[D]={},t[D][u]=M,t[D][i]=V}let T=e.EventTarget;if(!(!T||!T.prototype))return r.patchEventTarget(e,r,[T&&T.prototype]),!0}function wt(e,r){r.patchEventPrototype(e,r)}function lt(e,r,c){if(!c||c.length===0)return r;let t=c.filter(u=>u.target===e);if(t.length===0)return r;let i=t[0].ignoreProperties;return r.filter(u=>i.indexOf(u)===-1)}function Qe(e,r,c,t){if(!e)return;let i=lt(e,r,c);rt(e,i,t)}function Ie(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}function Dt(e,r){if(De&&!nt||Zone[e.symbol("patchEvents")])return;let c=r.__Zone_ignore_on_properties,t=[];if(Ge){let i=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let u=[];Qe(i,Ie(i),c&&c.concat(u),Ae(i))}t=t.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i<t.length;i++){let u=r[t[i]];u?.prototype&&Qe(u.prototype,Ie(u.prototype),c)}}function St(e){e.__load_patch("legacy",r=>{let c=r[e.__symbol__("legacyPatch")];c&&c()}),e.__load_patch("timers",r=>{let t="clear";ke(r,"set",t,"Timeout"),ke(r,"set",t,"Interval"),ke(r,"set",t,"Immediate")}),e.__load_patch("requestAnimationFrame",r=>{ke(r,"request","cancel","AnimationFrame"),ke(r,"mozRequest","mozCancel","AnimationFrame"),ke(r,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(r,c)=>{let t=["alert","prompt","confirm"];for(let i=0;i<t.length;i++){let u=t[i];he(r,u,(E,T,m)=>function(D,d){return c.current.run(E,r,d,m)})}}),e.__load_patch("EventTarget",(r,c,t)=>{wt(r,t),Ct(r,t);let i=r.XMLHttpRequestEventTarget;i&&i.prototype&&t.patchEventTarget(r,t,[i.prototype])}),e.__load_patch("MutationObserver",(r,c,t)=>{pe("MutationObserver"),pe("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(r,c,t)=>{pe("IntersectionObserver")}),e.__load_patch("FileReader",(r,c,t)=>{pe("FileReader")}),e.__load_patch("on_property",(r,c,t)=>{Dt(t,r)}),e.__load_patch("customElements",(r,c,t)=>{Rt(r,t)}),e.__load_patch("XHR",(r,c)=>{D(r);let t=H("xhrTask"),i=H("xhrSync"),u=H("xhrListener"),E=H("xhrScheduled"),T=H("xhrURL"),m=H("xhrErrorBeforeScheduled");function D(d){let R=d.XMLHttpRequest;if(!R)return;let M=R.prototype;function V(C){return C[t]}let z=M[Ne],J=M[Ze];if(!z){let C=d.XMLHttpRequestEventTarget;if(C){let b=C.prototype;z=b[Ne],J=b[Ze]}}let K="readystatechange",X="scheduled";function y(C){let b=C.data,S=b.target;S[E]=!1,S[m]=!1;let Q=S[u];z||(z=S[Ne],J=S[Ze]),Q&&J.call(S,K,Q);let W=S[u]=()=>{if(S.readyState===S.DONE)if(!b.aborted&&S[E]&&C.state===X){let _=S[c.__symbol__("loadfalse")];if(S.status!==0&&_&&_.length>0){let n=C.invoke;C.invoke=function(){let o=S[c.__symbol__("loadfalse")];for(let p=0;p<o.length;p++)o[p]===C&&o.splice(p,1);!b.aborted&&C.state===X&&n.call(C)},_.push(C)}else C.invoke()}else!b.aborted&&S[E]===!1&&(S[m]=!0)};return z.call(S,K,W),S[t]||(S[t]=C),U.apply(S,b.args),S[E]=!0,C}function h(){}function j(C){let b=C.data;return b.aborted=!0,O.apply(b.target,b.args)}let x=he(M,"open",()=>function(C,b){return C[i]=b[2]==!1,C[T]=b[1],x.apply(C,b)}),Y="XMLHttpRequest.send",F=H("fetchTaskAborting"),g=H("fetchTaskScheduling"),U=he(M,"send",()=>function(C,b){if(c.current[g]===!0||C[i])return U.apply(C,b);{let S={target:C,url:C[T],isPeriodic:!1,args:b,aborted:!1},Q=xe(Y,h,S,y,j);C&&C[m]===!0&&!S.aborted&&Q.state===X&&Q.invoke()}}),O=he(M,"abort",()=>function(C,b){let S=V(C);if(S&&typeof S.type=="string"){if(S.cancelFn==null||S.data&&S.data.aborted)return;S.zone.cancelTask(S)}else if(c.current[F]===!0)return O.apply(C,b)})}}),e.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&gt(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(r,c)=>{function t(i){return function(u){at(r,i).forEach(T=>{let m=r.PromiseRejectionEvent;if(m){let D=new m(i,{promise:u.promise,reason:u.rejection});T.invoke(D)}})}}r.PromiseRejectionEvent&&(c[H("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),c[H("rejectionHandledHandler")]=t("rejectionhandled"))}),e.__load_patch("queueMicrotask",(r,c,t)=>{Pt(r,t)})}function Ot(e){e.__load_patch("ZoneAwarePromise",(r,c,t)=>{let i=Object.getOwnPropertyDescriptor,u=Object.defineProperty;function E(f){if(f&&f.toString===Object.prototype.toString){let a=f.constructor&&f.constructor.name;return(a||"")+": "+JSON.stringify(f)}return f?f.toString():Object.prototype.toString.call(f)}let T=t.symbol,m=[],D=r[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,d=T("Promise"),R=T("then"),M="__creationTrace__";t.onUnhandledError=f=>{if(t.showUncaughtError()){let a=f&&f.rejection;a?console.error("Unhandled Promise rejection:",a instanceof Error?a.message:a,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",a,a instanceof Error?a.stack:void 0):console.error(f)}},t.microtaskDrainDone=()=>{for(;m.length;){let f=m.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(a){z(a)}}};let V=T("unhandledPromiseRejectionHandler");function z(f){t.onUnhandledError(f);try{let a=c[V];typeof a=="function"&&a.call(this,f)}catch{}}function J(f){return f&&typeof f.then=="function"}function K(f){return f}function X(f){return A.reject(f)}let y=T("state"),h=T("value"),j=T("finally"),x=T("parentPromiseValue"),Y=T("parentPromiseState"),F="Promise.then",g=null,U=!0,O=!1,C=0;function b(f,a){return s=>{try{N(f,a,s)}catch(l){N(f,!1,l)}}}let S=function(){let f=!1;return function(s){return function(){f||(f=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",W=T("currentTaskTrace");function N(f,a,s){let l=S();if(f===s)throw new TypeError(Q);if(f[y]===g){let v=null;try{(typeof s=="object"||typeof s=="function")&&(v=s&&s.then)}catch(w){return l(()=>{N(f,!1,w)})(),f}if(a!==O&&s instanceof A&&s.hasOwnProperty(y)&&s.hasOwnProperty(h)&&s[y]!==g)n(s),N(f,s[y],s[h]);else if(a!==O&&typeof v=="function")try{v.call(s,l(b(f,a)),l(b(f,!1)))}catch(w){l(()=>{N(f,!1,w)})()}else{f[y]=a;let w=f[h];if(f[h]=s,f[j]===j&&a===U&&(f[y]=f[Y],f[h]=f[x]),a===O&&s instanceof Error){let k=c.currentTask&&c.currentTask.data&&c.currentTask.data[M];k&&u(s,W,{configurable:!0,enumerable:!1,writable:!0,value:k})}for(let k=0;k<w.length;)o(f,w[k++],w[k++],w[k++],w[k++]);if(w.length==0&&a==O){f[y]=C;let k=s;try{throw new Error("Uncaught (in promise): "+E(s)+(s&&s.stack?`
2
3
  `+s.stack:""))}catch(Z){k=Z}D&&(k.throwOriginal=!0),k.rejection=s,k.promise=f,k.zone=c.current,k.task=c.currentTask,m.push(k),t.scheduleMicroTask()}}}return f}let _=T("rejectionHandledHandler");function n(f){if(f[y]===C){try{let a=c[_];a&&typeof a=="function"&&a.call(this,{rejection:f[h],promise:f})}catch{}f[y]=O;for(let a=0;a<m.length;a++)f===m[a].promise&&m.splice(a,1)}}function o(f,a,s,l,v){n(f);let w=f[y],k=w?typeof l=="function"?l:K:typeof v=="function"?v:X;a.scheduleMicroTask(F,()=>{try{let Z=f[h],L=!!s&&j===s[j];L&&(s[x]=Z,s[Y]=w);let I=a.run(k,void 0,L&&k!==X&&k!==K?[]:[Z]);N(s,!0,I)}catch(Z){N(s,!1,Z)}},s)}let p="function ZoneAwarePromise() { [native code] }",P=function(){},q=r.AggregateError;class A{static toString(){return p}static resolve(a){return a instanceof A?a:N(new this(null),U,a)}static reject(a){return N(new this(null),O,a)}static withResolvers(){let a={};return a.promise=new A((s,l)=>{a.resolve=s,a.reject=l}),a}static any(a){if(!a||typeof a[Symbol.iterator]!="function")return Promise.reject(new q([],"All promises were rejected"));let s=[],l=0;try{for(let k of a)l++,s.push(A.resolve(k))}catch{return Promise.reject(new q([],"All promises were rejected"))}if(l===0)return Promise.reject(new q([],"All promises were rejected"));let v=!1,w=[];return new A((k,Z)=>{for(let L=0;L<s.length;L++)s[L].then(I=>{v||(v=!0,k(I))},I=>{w.push(I),l--,l===0&&(v=!0,Z(new q(w,"All promises were rejected")))})})}static race(a){let s,l,v=new this((Z,L)=>{s=Z,l=L});function w(Z){s(Z)}function k(Z){l(Z)}for(let Z of a)J(Z)||(Z=this.resolve(Z)),Z.then(w,k);return v}static all(a){return A.allWithCallback(a)}static allSettled(a){return(this&&this.prototype instanceof A?this:A).allWithCallback(a,{thenCallback:l=>({status:"fulfilled",value:l}),errorCallback:l=>({status:"rejected",reason:l})})}static allWithCallback(a,s){let l,v,w=new this((I,G)=>{l=I,v=G}),k=2,Z=0,L=[];for(let I of a){J(I)||(I=this.resolve(I));let G=Z;try{I.then(B=>{L[G]=s?s.thenCallback(B):B,k--,k===0&&l(L)},B=>{s?(L[G]=s.errorCallback(B),k--,k===0&&l(L)):v(B)})}catch(B){v(B)}k++,Z++}return k-=2,k===0&&l(L),w}constructor(a){let s=this;if(!(s instanceof A))throw new Error("Must be an instanceof Promise.");s[y]=g,s[h]=[];try{let l=S();a&&a(l(b(s,U)),l(b(s,O)))}catch(l){N(s,!1,l)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return A}then(a,s){let l=this.constructor?.[Symbol.species];(!l||typeof l!="function")&&(l=this.constructor||A);let v=new l(P),w=c.current;return this[y]==g?this[h].push(w,v,a,s):o(this,w,v,a,s),v}catch(a){return this.then(null,a)}finally(a){let s=this.constructor?.[Symbol.species];(!s||typeof s!="function")&&(s=A);let l=new s(P);l[j]=j;let v=c.current;return this[y]==g?this[h].push(v,l,a,a):o(this,v,l,a,a),l}}A.resolve=A.resolve,A.reject=A.reject,A.race=A.race,A.all=A.all;let _e=r[d]=r.Promise;r.Promise=A;let ae=T("thenPatched");function le(f){let a=f.prototype,s=i(a,"then");if(s&&(s.writable===!1||!s.configurable))return;let l=a.then;a[R]=l,f.prototype.then=function(v,w){return new A((Z,L)=>{l.call(this,Z,L)}).then(v,w)},f[ae]=!0}t.patchThen=le;function ne(f){return function(a,s){let l=f.apply(a,s);if(l instanceof A)return l;let v=l.constructor;return v[ae]||le(v),l}}return _e&&(le(_e),he(r,"fetch",f=>ne(f))),Promise[c.__symbol__("uncaughtPromiseErrors")]=m,A})}function Nt(e){e.__load_patch("toString",r=>{let c=Function.prototype.toString,t=H("OriginalDelegate"),i=H("Promise"),u=H("Error"),E=function(){if(typeof this=="function"){let d=this[t];if(d)return typeof d=="function"?c.call(d):Object.prototype.toString.call(d);if(this===Promise){let R=r[i];if(R)return c.call(R)}if(this===Error){let R=r[u];if(R)return c.call(R)}}return c.call(this)};E[t]=c,Function.prototype.toString=E;let T=Object.prototype.toString,m="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?m:T.call(this)}})}function Zt(e,r,c,t,i){let u=Zone.__symbol__(t);if(r[u])return;let E=r[u]=r[t];r[t]=function(T,m,D){return m&&m.prototype&&i.forEach(function(d){let R=`${c}.${t}::`+d,M=m.prototype;try{if(M.hasOwnProperty(d)){let V=e.ObjectGetOwnPropertyDescriptor(M,d);V&&V.value?(V.value=e.wrapWithCurrentZone(V.value,R),e._redefineProperty(m.prototype,d,V)):M[d]&&(M[d]=e.wrapWithCurrentZone(M[d],R))}else M[d]&&(M[d]=e.wrapWithCurrentZone(M[d],R))}catch{}}),E.call(r,T,m,D)},e.attachOriginToPatched(r[t],E)}function Lt(e){e.__load_patch("util",(r,c,t)=>{let i=Ie(r);t.patchOnProperties=rt,t.patchMethod=he,t.bindArguments=Fe,t.patchMacroTask=mt;let u=c.__symbol__("BLACK_LISTED_EVENTS"),E=c.__symbol__("UNPATCHED_EVENTS");r[E]&&(r[u]=r[E]),r[u]&&(c[u]=c[E]=r[u]),t.patchEventPrototype=bt,t.patchEventTarget=vt,t.isIEOrEdge=pt,t.ObjectDefineProperty=Me,t.ObjectGetOwnPropertyDescriptor=ye,t.ObjectCreate=_t,t.ArraySlice=Tt,t.patchClass=pe,t.wrapWithCurrentZone=Ve,t.filterProperties=lt,t.attachOriginToPatched=de,t._redefineProperty=Object.defineProperty,t.patchCallbacks=Zt,t.getGlobalObjects=()=>({globalSources:ot,zoneSymbolEventNames:te,eventNames:i,isBrowser:Ge,isMix:nt,isNode:De,TRUE_STR:ue,FALSE_STR:fe,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:je,REMOVE_EVENT_LISTENER_STR:He})})}function It(e){Ot(e),Nt(e),Lt(e)}var ut=dt();It(ut);St(ut);
3
4
 
5
+ }).call(this);
6
+ ;(function(){
4
7
  (function(){"use strict";function G(i){return i[i.length-1]}function L(i,...e){return e.forEach((t=>{i.includes(t)||i.push(t)})),i}function he(i,e){return i?i.split(e):[]}function Q(i,e,t){return(e===void 0||i>=e)&&(t===void 0||i<=t)}function ue(i,e,t){return i<e?e:i>t?t:i}function V(i,e,t={},s=0,n=""){n+=`<${Object.keys(t).reduce(((r,o)=>{let c=t[o];return typeof c=="function"&&(c=c(s)),`${r} ${o}="${c}"`}),i)}></${i}>`;const a=s+1;return a<e?V(i,e,t,a,n):n}function Z(i){return i.replace(/>\s+/g,">").replace(/\s+</,"<")}function ee(i){return new Date(i).setHours(0,0,0,0)}function N(){return new Date().setHours(0,0,0,0)}function B(...i){switch(i.length){case 0:return N();case 1:return ee(i[0])}const e=new Date(0);return e.setFullYear(...i),e.setHours(0,0,0,0)}function Y(i,e){const t=new Date(i);return t.setDate(t.getDate()+e)}function H(i,e){const t=new Date(i),s=t.getMonth()+e;let n=s%12;n<0&&(n+=12);const a=t.setMonth(s);return t.getMonth()!==n?t.setDate(0):a}function W(i,e){const t=new Date(i),s=t.getMonth(),n=t.setFullYear(t.getFullYear()+e);return s===1&&t.getMonth()===2?t.setDate(0):n}function fe(i,e){return(i-e+7)%7}function C(i,e,t=0){const s=new Date(i).getDay();return Y(i,fe(e,t)-fe(s,t))}function pe(i,e){return Math.round((i-e)/6048e5)+1}function qe(i){const e=C(i,4,1);return pe(e,C(new Date(e).setMonth(0,4),4,1))}function me(i,e){const t=C(new Date(i).setMonth(0,1),e,e),s=C(i,e,e),n=pe(s,t);return n<53?n:s===C(new Date(i).setDate(32),e,e)?1:n}function ze(i){return me(i,0)}function Xe(i){return me(i,6)}function E(i,e){const t=new Date(i).getFullYear();return Math.floor(t/e)*e}function S(i,e,t){if(e!==1&&e!==2)return i;const s=new Date(i);return e===1?t?s.setMonth(s.getMonth()+1,0):s.setDate(1):t?s.setFullYear(s.getFullYear()+1,0,0):s.setMonth(0,1),s.setHours(0,0,0,0)}const te=/dd?|DD?|mm?|MM?|yy?(?:yy)?/,Ge=/[\s!-/:-@[-`{-~年月日]+/;let ie={};const we={y:(i,e)=>new Date(i).setFullYear(parseInt(e,10)),m(i,e,t){const s=new Date(i);let n=parseInt(e,10)-1;if(isNaN(n)){if(!e)return NaN;const a=e.toLowerCase(),r=o=>o.toLowerCase().startsWith(a);if(n=t.monthsShort.findIndex(r),n<0&&(n=t.months.findIndex(r)),n<0)return NaN}return s.setMonth(n),s.getMonth()!==ge(n)?s.setDate(0):s.getTime()},d:(i,e)=>new Date(i).setDate(parseInt(e,10))},Qe={d:i=>i.getDate(),dd:i=>$(i.getDate(),2),D:(i,e)=>e.daysShort[i.getDay()],DD:(i,e)=>e.days[i.getDay()],m:i=>i.getMonth()+1,mm:i=>$(i.getMonth()+1,2),M:(i,e)=>e.monthsShort[i.getMonth()],MM:(i,e)=>e.months[i.getMonth()],y:i=>i.getFullYear(),yy:i=>$(i.getFullYear(),2).slice(-2),yyyy:i=>$(i.getFullYear(),4)};function ge(i){return i>-1?i%12:ge(i+12)}function $(i,e){return i.toString().padStart(e,"0")}function ye(i){if(typeof i!="string")throw new Error("Invalid date format.");if(i in ie)return ie[i];const e=i.split(te),t=i.match(new RegExp(te,"g"));if(e.length===0||!t)throw new Error("Invalid date format.");const s=t.map((a=>Qe[a])),n=Object.keys(we).reduce(((a,r)=>(t.find((o=>o[0]!=="D"&&o[0].toLowerCase()===r))&&a.push(r),a)),[]);return ie[i]={parser(a,r){const o=a.split(Ge).reduce(((c,d,l)=>{if(d.length>0&&t[l]){const p=t[l][0];p==="M"?c.m=d:p!=="D"&&(c[p]=d)}return c}),{});return n.reduce(((c,d)=>{const l=we[d](c,o[d],r);return isNaN(l)?c:l}),N())},formatter:(a,r)=>s.reduce(((o,c,d)=>o+`${e[d]}${c(a,r)}`),"")+G(e)}}function F(i,e,t){if(i instanceof Date||typeof i=="number"){const s=ee(i);return isNaN(s)?void 0:s}if(i){if(i==="today")return N();if(e&&e.toValue){const s=e.toValue(i,e,t);return isNaN(s)?void 0:ee(s)}return ye(e).parser(i,t)}}function _(i,e,t){if(isNaN(i)||!i&&i!==0)return"";const s=typeof i=="number"?new Date(i):i;return e.toDisplay?e.toDisplay(s,e,t):ye(e).formatter(s,t)}const Ze=document.createRange();function M(i){return Ze.createContextualFragment(i)}function De(i){return i.parentElement||(i.parentNode instanceof ShadowRoot?i.parentNode.host:void 0)}function I(i){return i.getRootNode().activeElement===i}function K(i){i.style.display!=="none"&&(i.style.display&&(i.dataset.styleDisplay=i.style.display),i.style.display="none")}function R(i){i.style.display==="none"&&(i.dataset.styleDisplay?(i.style.display=i.dataset.styleDisplay,delete i.dataset.styleDisplay):i.style.display="")}function P(i){i.firstChild&&(i.removeChild(i.firstChild),P(i))}const J=new WeakMap,{addEventListener:et,removeEventListener:tt}=EventTarget.prototype;function U(i,e){let t=J.get(i);t||(t=[],J.set(i,t)),e.forEach((s=>{et.call(...s),t.push(s)}))}function ke(i){let e=J.get(i);e&&(e.forEach((t=>{tt.call(...t)})),J.delete(i))}if(!Event.prototype.composedPath){const i=(e,t=[])=>{let s;return t.push(e),e.parentNode?s=e.parentNode:e.host?s=e.host:e.defaultView&&(s=e.defaultView),s?i(s,t):t};Event.prototype.composedPath=function(){return i(this.target)}}function be(i,e,t){const[s,...n]=i;return e(s)?s:s!==t&&s.tagName!=="HTML"&&n.length!==0?be(n,e,t):void 0}function ve(i,e){const t=typeof e=="function"?e:s=>s instanceof Element&&s.matches(e);return be(i.composedPath(),t,i.currentTarget)}const j={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM y"}},se={autohide:!1,beforeShowDay:null,beforeShowDecade:null,beforeShowMonth:null,beforeShowYear:null,clearButton:!1,dateDelimiter:",",datesDisabled:[],daysOfWeekDisabled:[],daysOfWeekHighlighted:[],defaultViewDate:void 0,disableTouchKeyboard:!1,enableOnReadonly:!0,format:"mm/dd/yyyy",language:"en",maxDate:null,maxNumberOfDates:1,maxView:3,minDate:null,nextArrow:"\xBB",orientation:"auto",pickLevel:0,prevArrow:"\xAB",showDaysOfWeek:!0,showOnClick:!0,showOnFocus:!0,startView:0,title:"",todayButton:!1,todayButtonMode:0,todayHighlight:!1,updateOnBlur:!0,weekNumbers:0,weekStart:0},{language:ne,format:it,weekStart:st}=se;function xe(i,e){return i.length<6&&e>=0&&e<7?L(i,e):i}function Me(i,e){switch(i===4?e===6?3:!e+1:i){case 1:return qe;case 2:return ze;case 3:return Xe}}function Oe(i,e,t){return e.weekStart=i,e.weekEnd=(i+6)%7,t===4&&(e.getWeekNumber=Me(4,i)),i}function Se(i,e,t,s){const n=F(i,e,t);return n!==void 0?n:s}function ae(i,e,t=3){const s=parseInt(i,10);return s>=0&&s<=t?s:e}function q(i,e,t,s=void 0){e in i&&(t in i||(i[t]=s?s(i[e]):i[e]),delete i[e])}function re(i,e){const t=Object.assign({},i),s={},n=e.constructor.locales,a=!!e.rangeSideIndex;let{datesDisabled:r,format:o,language:c,locale:d,maxDate:l,maxView:p,minDate:D,pickLevel:f,startView:g,weekNumbers:u,weekStart:y}=e.config||{};if(q(t,"calendarWeeks","weekNumbers",(h=>h?1:0)),q(t,"clearBtn","clearButton"),q(t,"todayBtn","todayButton"),q(t,"todayBtnMode","todayButtonMode"),t.language){let h;if(t.language!==c&&(n[t.language]?h=t.language:(h=t.language.split("-")[0],n[h]||(h=!1))),delete t.language,h){c=s.language=h;const m=d||n[ne];d=Object.assign({format:it,weekStart:st},n[ne]),c!==ne&&Object.assign(d,n[c]),s.locale=d,o===m.format&&(o=s.format=d.format),y===m.weekStart&&(y=Oe(d.weekStart,s,u))}}if(t.format){const h=typeof t.format.toDisplay=="function",m=typeof t.format.toValue=="function",w=te.test(t.format);(h&&m||w)&&(o=s.format=t.format),delete t.format}let v=f;"pickLevel"in t&&(v=ae(t.pickLevel,f,2),delete t.pickLevel),v!==f&&(v>f&&("minDate"in t||(t.minDate=D),"maxDate"in t||(t.maxDate=l)),r&&!t.datesDisabled&&(t.datesDisabled=[]),f=s.pickLevel=v);let x=D,k=l;if("minDate"in t){const h=B(0,0,1);x=t.minDate===null?h:Se(t.minDate,o,d,x),x!==h&&(x=S(x,f,!1)),delete t.minDate}if("maxDate"in t&&(k=t.maxDate===null?void 0:Se(t.maxDate,o,d,k),k!==void 0&&(k=S(k,f,!0)),delete t.maxDate),k<x?(D=s.minDate=k,l=s.maxDate=x):(D!==x&&(D=s.minDate=x),l!==k&&(l=s.maxDate=k)),t.datesDisabled){const h=t.datesDisabled;if(typeof h=="function")s.datesDisabled=null,s.checkDisabled=(m,w)=>h(new Date(m),w,a);else{const m=s.datesDisabled=h.reduce(((w,le)=>{const Ue=F(le,o,d);return Ue!==void 0?L(w,S(Ue,f,a)):w}),[]);s.checkDisabled=w=>m.includes(w)}delete t.datesDisabled}if("defaultViewDate"in t){const h=F(t.defaultViewDate,o,d);h!==void 0&&(s.defaultViewDate=h),delete t.defaultViewDate}if("weekStart"in t){const h=Number(t.weekStart)%7;isNaN(h)||(y=Oe(h,s,u)),delete t.weekStart}if(t.daysOfWeekDisabled&&(s.daysOfWeekDisabled=t.daysOfWeekDisabled.reduce(xe,[]),delete t.daysOfWeekDisabled),t.daysOfWeekHighlighted&&(s.daysOfWeekHighlighted=t.daysOfWeekHighlighted.reduce(xe,[]),delete t.daysOfWeekHighlighted),"weekNumbers"in t){let h=t.weekNumbers;if(h){const m=typeof h=="function"?(w,le)=>h(new Date(w),le):Me(h=parseInt(h,10),y);m&&(u=s.weekNumbers=h,s.getWeekNumber=m)}else u=s.weekNumbers=0,s.getWeekNumber=null;delete t.weekNumbers}if("maxNumberOfDates"in t){const h=parseInt(t.maxNumberOfDates,10);h>=0&&(s.maxNumberOfDates=h,s.multidate=h!==1),delete t.maxNumberOfDates}t.dateDelimiter&&(s.dateDelimiter=String(t.dateDelimiter),delete t.dateDelimiter);let O=p;"maxView"in t&&(O=ae(t.maxView,p),delete t.maxView),O=f>O?f:O,O!==p&&(p=s.maxView=O);let b=g;if("startView"in t&&(b=ae(t.startView,b),delete t.startView),b<f?b=f:b>p&&(b=p),b!==g&&(s.startView=b),t.prevArrow){const h=M(t.prevArrow);h.childNodes.length>0&&(s.prevArrow=h.childNodes),delete t.prevArrow}if(t.nextArrow){const h=M(t.nextArrow);h.childNodes.length>0&&(s.nextArrow=h.childNodes),delete t.nextArrow}if("disableTouchKeyboard"in t&&(s.disableTouchKeyboard="ontouchstart"in document&&!!t.disableTouchKeyboard,delete t.disableTouchKeyboard),t.orientation){const h=t.orientation.toLowerCase().split(/\s+/g);s.orientation={x:h.find((m=>m==="left"||m==="right"))||"auto",y:h.find((m=>m==="top"||m==="bottom"))||"auto"},delete t.orientation}if("todayButtonMode"in t){switch(t.todayButtonMode){case 0:case 1:s.todayButtonMode=t.todayButtonMode}delete t.todayButtonMode}return Object.entries(t).forEach((([h,m])=>{m!==void 0&&h in se&&(s[h]=m)})),s}const Ne={show:{key:"ArrowDown"},hide:null,toggle:{key:"Escape"},prevButton:{key:"ArrowLeft",ctrlOrMetaKey:!0},nextButton:{key:"ArrowRight",ctrlOrMetaKey:!0},viewSwitch:{key:"ArrowUp",ctrlOrMetaKey:!0},clearButton:{key:"Backspace",ctrlOrMetaKey:!0},todayButton:{key:".",ctrlOrMetaKey:!0},exitEditMode:{key:"ArrowDown",ctrlOrMetaKey:!0}},Ce=i=>i.map((e=>`<button type="button" class="%buttonClass% ${e}" tabindex="-1"></button>`)).join(""),nt=Z(`<div class="datepicker">
5
8
  <div class="datepicker-picker">
6
9
  <div class="datepicker-header">
@@ -24,6 +27,7 @@ var ce=globalThis;function ee(e){return(ce.__Zone_symbol_prefix||"__zone_symbol_
24
27
  <div class="weeks">${V("span",6,{class:"week"})}</div>
25
28
  </div>`);class oe{constructor(e,t){Object.assign(this,t,{picker:e,element:M('<div class="datepicker-view"></div>').firstChild,selected:[],isRangeEnd:!!e.datepicker.rangeSideIndex}),this.init(this.picker.datepicker.config)}init(e){"pickLevel"in e&&(this.isMinView=this.id===e.pickLevel),this.setOptions(e),this.updateFocus(),this.updateSelection()}prepareForRender(e,t,s){this.disabled=[];const n=this.picker;n.setViewSwitchLabel(e),n.setPrevButtonDisabled(t),n.setNextButtonDisabled(s)}setDisabled(e,t){t.add("disabled"),L(this.disabled,e)}performBeforeHook(e,t){let s=this.beforeShow(new Date(t));switch(typeof s){case"boolean":s={enabled:s};break;case"string":s={classes:s}}if(s){const n=e.classList;if(s.enabled===!1&&this.setDisabled(t,n),s.classes){const a=s.classes.split(/\s+/);n.add(...a),a.includes("disabled")&&this.setDisabled(t,n)}s.content&&(function(a,r){P(a),r instanceof DocumentFragment?a.appendChild(r):typeof r=="string"?a.appendChild(M(r)):typeof r.forEach=="function"&&r.forEach((o=>{a.appendChild(o)}))})(e,s.content)}}renderCell(e,t,s,n,{selected:a,range:r},o,c=[]){e.textContent=t,this.isMinView&&(e.dataset.date=n);const d=e.classList;if(e.className=`datepicker-cell ${this.cellClass}`,s<this.first?d.add("prev"):s>this.last&&d.add("next"),d.add(...c),(o||this.checkDisabled(n,this.id))&&this.setDisabled(n,d),r){const[l,p]=r;s>l&&s<p&&d.add("range"),s===l&&d.add("range-start"),s===p&&d.add("range-end")}a.includes(s)&&d.add("selected"),s===this.focused&&d.add("focused"),this.beforeShow&&this.performBeforeHook(e,n)}refreshCell(e,t,s,[n,a]){const r=e.classList;r.remove("range","range-start","range-end","selected","focused"),t>n&&t<a&&r.add("range"),t===n&&r.add("range-start"),t===a&&r.add("range-end"),s.includes(t)&&r.add("selected"),t===this.focused&&r.add("focused")}changeFocusedCell(e){this.grid.querySelectorAll(".focused").forEach((t=>{t.classList.remove("focused")})),this.grid.children[e].classList.add("focused")}}class ot extends oe{constructor(e){super(e,{id:0,name:"days",cellClass:"day"})}init(e,t=!0){if(t){const s=M(at).firstChild;this.dow=s.firstChild,this.grid=s.lastChild,this.element.appendChild(s)}super.init(e)}setOptions(e){let t;if("minDate"in e&&(this.minDate=e.minDate),"maxDate"in e&&(this.maxDate=e.maxDate),e.checkDisabled&&(this.checkDisabled=e.checkDisabled),e.daysOfWeekDisabled&&(this.daysOfWeekDisabled=e.daysOfWeekDisabled,t=!0),e.daysOfWeekHighlighted&&(this.daysOfWeekHighlighted=e.daysOfWeekHighlighted),"todayHighlight"in e&&(this.todayHighlight=e.todayHighlight),"weekStart"in e&&(this.weekStart=e.weekStart,this.weekEnd=e.weekEnd,t=!0),e.locale){const s=this.locale=e.locale;this.dayNames=s.daysMin,this.switchLabelFormat=s.titleFormat,t=!0}if("beforeShowDay"in e&&(this.beforeShow=typeof e.beforeShowDay=="function"?e.beforeShowDay:void 0),"weekNumbers"in e)if(e.weekNumbers&&!this.weekNumbers){const s=M(rt).firstChild;this.weekNumbers={element:s,dow:s.firstChild,weeks:s.lastChild},this.element.insertBefore(s,this.element.firstChild)}else this.weekNumbers&&!e.weekNumbers&&(this.element.removeChild(this.weekNumbers.element),this.weekNumbers=null);"getWeekNumber"in e&&(this.getWeekNumber=e.getWeekNumber),"showDaysOfWeek"in e&&(e.showDaysOfWeek?(R(this.dow),this.weekNumbers&&R(this.weekNumbers.dow)):(K(this.dow),this.weekNumbers&&K(this.weekNumbers.dow))),t&&Array.from(this.dow.children).forEach(((s,n)=>{const a=(this.weekStart+n)%7;s.textContent=this.dayNames[a],s.className=this.daysOfWeekDisabled.includes(a)?"dow disabled":"dow"}))}updateFocus(){const e=new Date(this.picker.viewDate),t=e.getFullYear(),s=e.getMonth(),n=B(t,s,1),a=C(n,this.weekStart,this.weekStart);this.first=n,this.last=B(t,s+1,0),this.start=a,this.focused=this.picker.viewDate}updateSelection(){const{dates:e,rangepicker:t}=this.picker.datepicker;this.selected=e,t&&(this.range=t.dates)}render(){if(this.today=this.todayHighlight?N():void 0,this.prepareForRender(_(this.focused,this.switchLabelFormat,this.locale),this.first<=this.minDate,this.last>=this.maxDate),this.weekNumbers){const e=this.weekStart,t=C(this.first,e,e);Array.from(this.weekNumbers.weeks.children).forEach(((s,n)=>{const a=Y(t,7*n);s.textContent=this.getWeekNumber(a,e),n>3&&s.classList[a>this.last?"add":"remove"]("next")}))}Array.from(this.grid.children).forEach(((e,t)=>{const s=Y(this.start,t),n=new Date(s),a=n.getDay(),r=[];this.today===s&&r.push("today"),this.daysOfWeekHighlighted.includes(a)&&r.push("highlighted"),this.renderCell(e,n.getDate(),s,s,this,s<this.minDate||s>this.maxDate||this.daysOfWeekDisabled.includes(a),r)}))}refresh(){const e=this.range||[];Array.from(this.grid.children).forEach((t=>{this.refreshCell(t,Number(t.dataset.date),this.selected,e)}))}refreshFocus(){this.changeFocusedCell(Math.round((this.focused-this.start)/864e5))}}function Fe(i,e){if(!i||!i[0]||!i[1])return;const[[t,s],[n,a]]=i;return t>e||n<e?void 0:[t===e?s:-1,n===e?a:12]}class dt extends oe{constructor(e){super(e,{id:1,name:"months",cellClass:"month"})}init(e,t=!0){t&&(this.grid=this.element,this.element.classList.add("months","datepicker-grid"),this.grid.appendChild(M(V("span",12,{"data-month":s=>s}))),this.first=0,this.last=11),super.init(e)}setOptions(e){if(e.locale&&(this.monthNames=e.locale.monthsShort),"minDate"in e)if(e.minDate===void 0)this.minYear=this.minMonth=this.minDate=void 0;else{const t=new Date(e.minDate);this.minYear=t.getFullYear(),this.minMonth=t.getMonth(),this.minDate=t.setDate(1)}if("maxDate"in e)if(e.maxDate===void 0)this.maxYear=this.maxMonth=this.maxDate=void 0;else{const t=new Date(e.maxDate);this.maxYear=t.getFullYear(),this.maxMonth=t.getMonth(),this.maxDate=B(this.maxYear,this.maxMonth+1,0)}e.checkDisabled&&(this.checkDisabled=this.isMinView||e.datesDisabled===null?e.checkDisabled:()=>!1),"beforeShowMonth"in e&&(this.beforeShow=typeof e.beforeShowMonth=="function"?e.beforeShowMonth:void 0)}updateFocus(){const e=new Date(this.picker.viewDate);this.year=e.getFullYear(),this.focused=e.getMonth()}updateSelection(){const{dates:e,rangepicker:t}=this.picker.datepicker;this.selected=e.reduce(((s,n)=>{const a=new Date(n),r=a.getFullYear(),o=a.getMonth();return s[r]===void 0?s[r]=[o]:L(s[r],o),s}),{}),t&&t.dates&&(this.range=t.dates.map((s=>{const n=new Date(s);return isNaN(n)?void 0:[n.getFullYear(),n.getMonth()]})))}render(){this.prepareForRender(this.year,this.year<=this.minYear,this.year>=this.maxYear);const e=this.selected[this.year]||[],t=this.year<this.minYear||this.year>this.maxYear,s=this.year===this.minYear,n=this.year===this.maxYear,a=Fe(this.range,this.year);Array.from(this.grid.children).forEach(((r,o)=>{const c=S(new Date(this.year,o,1),1,this.isRangeEnd);this.renderCell(r,this.monthNames[o],o,c,{selected:e,range:a},t||s&&o<this.minMonth||n&&o>this.maxMonth)}))}refresh(){const e=this.selected[this.year]||[],t=Fe(this.range,this.year)||[];Array.from(this.grid.children).forEach(((s,n)=>{this.refreshCell(s,n,e,t)}))}refreshFocus(){this.changeFocusedCell(this.focused)}}class Ve extends oe{constructor(e,t){super(e,t)}init(e,t=!0){var s;t&&(this.navStep=10*this.step,this.beforeShowOption=`beforeShow${s=this.cellClass,[...s].reduce(((n,a,r)=>n+(r?a:a.toUpperCase())),"")}`,this.grid=this.element,this.element.classList.add(this.name,"datepicker-grid"),this.grid.appendChild(M(V("span",12)))),super.init(e)}setOptions(e){if("minDate"in e&&(e.minDate===void 0?this.minYear=this.minDate=void 0:(this.minYear=E(e.minDate,this.step),this.minDate=B(this.minYear,0,1))),"maxDate"in e&&(e.maxDate===void 0?this.maxYear=this.maxDate=void 0:(this.maxYear=E(e.maxDate,this.step),this.maxDate=B(this.maxYear,11,31))),e.checkDisabled&&(this.checkDisabled=this.isMinView||e.datesDisabled===null?e.checkDisabled:()=>!1),this.beforeShowOption in e){const t=e[this.beforeShowOption];this.beforeShow=typeof t=="function"?t:void 0}}updateFocus(){const e=new Date(this.picker.viewDate),t=E(e,this.navStep),s=t+9*this.step;this.first=t,this.last=s,this.start=t-this.step,this.focused=E(e,this.step)}updateSelection(){const{dates:e,rangepicker:t}=this.picker.datepicker;this.selected=e.reduce(((s,n)=>L(s,E(n,this.step))),[]),t&&t.dates&&(this.range=t.dates.map((s=>{if(s!==void 0)return E(s,this.step)})))}render(){this.prepareForRender(`${this.first}-${this.last}`,this.first<=this.minYear,this.last>=this.maxYear),Array.from(this.grid.children).forEach(((e,t)=>{const s=this.start+t*this.step,n=S(new Date(s,0,1),2,this.isRangeEnd);e.dataset.year=s,this.renderCell(e,s,s,n,this,s<this.minYear||s>this.maxYear)}))}refresh(){const e=this.range||[];Array.from(this.grid.children).forEach((t=>{this.refreshCell(t,Number(t.textContent),this.selected,e)}))}refreshFocus(){this.changeFocusedCell(Math.round((this.focused-this.start)/this.step))}}function A(i,e){const t={bubbles:!0,cancelable:!0,detail:{date:i.getDate(),viewDate:new Date(i.picker.viewDate),viewId:i.picker.currentView.id,datepicker:i}};i.element.dispatchEvent(new CustomEvent(e,t))}function z(i,e){const{config:t,picker:s}=i,{currentView:n,viewDate:a}=s;let r;switch(n.id){case 0:r=H(a,e);break;case 1:r=W(a,e);break;default:r=W(a,e*n.navStep)}r=ue(r,t.minDate,t.maxDate),s.changeFocus(r).render()}function Be(i){const e=i.picker.currentView.id;e!==i.config.maxView&&i.picker.changeView(e+1).render()}function Ee(i){i.setDate({clear:!0})}function Ae(i){const e=N();i.config.todayButtonMode===1?i.setDate(e,{forceRefresh:!0,viewDate:e}):i.setFocusedDate(e,!0)}function Le(i){const e=()=>{i.config.updateOnBlur?i.update({revert:!0}):i.refresh("input"),i.hide()},t=i.element;I(t)?t.addEventListener("blur",e,{once:!0}):e()}function ct(i,e){const t=i.picker,s=new Date(t.viewDate),n=t.currentView.id,a=n===1?H(s,e-s.getMonth()):W(s,e-s.getFullYear());t.changeFocus(a).changeView(n-1).render()}function lt(i){Be(i)}function ht(i){z(i,-1)}function ut(i){z(i,1)}function ft(i,e){const t=ve(e,".datepicker-cell");if(!t||t.classList.contains("disabled"))return;const{id:s,isMinView:n}=i.picker.currentView,a=t.dataset;n?i.setDate(Number(a.date)):ct(i,Number(s===1?a.month:a.year))}function pt(i){i.preventDefault()}const de=["left","top","right","bottom"].reduce(((i,e)=>(i[e]=`datepicker-orient-${e}`,i)),{}),Ye=i=>i&&`${i}px`;function We(i,e){if("title"in e&&(e.title?(i.controls.title.textContent=e.title,R(i.controls.title)):(i.controls.title.textContent="",K(i.controls.title))),e.prevArrow){const t=i.controls.prevButton;P(t),e.prevArrow.forEach((s=>{t.appendChild(s.cloneNode(!0))}))}if(e.nextArrow){const t=i.controls.nextButton;P(t),e.nextArrow.forEach((s=>{t.appendChild(s.cloneNode(!0))}))}if(e.locale&&(i.controls.todayButton.textContent=e.locale.today,i.controls.clearButton.textContent=e.locale.clear),"todayButton"in e&&(e.todayButton?R(i.controls.todayButton):K(i.controls.todayButton)),"minDate"in e||"maxDate"in e){const{minDate:t,maxDate:s}=i.datepicker.config;i.controls.todayButton.disabled=!Q(N(),t,s)}"clearButton"in e&&(e.clearButton?R(i.controls.clearButton):K(i.controls.clearButton))}function _e(i){const{dates:e,config:t,rangeSideIndex:s}=i;return ue(e.length>0?G(e):S(t.defaultViewDate,t.pickLevel,s),t.minDate,t.maxDate)}function Ke(i,e){"_oldViewDate"in i||e===i.viewDate||(i._oldViewDate=i.viewDate),i.viewDate=e;const{id:t,year:s,first:n,last:a}=i.currentView,r=new Date(e).getFullYear();switch(t){case 0:return e<n||e>a;case 1:return r!==s;default:return r<n||r>a}}function ce(i){return window.getComputedStyle(i).direction}function Re(i){const e=De(i);if(e!==document.body&&e)return window.getComputedStyle(e).overflow!=="visible"?e:Re(e)}class mt{constructor(e){const{config:t,inputField:s}=this.datepicker=e,n=nt.replace(/%buttonClass%/g,t.buttonClass),a=this.element=M(n).firstChild,[r,o,c]=a.firstChild.children,d=r.firstElementChild,[l,p,D]=r.lastElementChild.children,[f,g]=c.firstChild.children,u={title:d,prevButton:l,viewSwitch:p,nextButton:D,todayButton:f,clearButton:g};this.main=o,this.controls=u;const y=s?"dropdown":"inline";a.classList.add(`datepicker-${y}`),We(this,t),this.viewDate=_e(e),U(e,[[a,"mousedown",pt],[o,"click",ft.bind(null,e)],[u.viewSwitch,"click",lt.bind(null,e)],[u.prevButton,"click",ht.bind(null,e)],[u.nextButton,"click",ut.bind(null,e)],[u.todayButton,"click",Ae.bind(null,e)],[u.clearButton,"click",Ee.bind(null,e)]]),this.views=[new ot(this),new dt(this),new Ve(this,{id:2,name:"years",cellClass:"year",step:1}),new Ve(this,{id:3,name:"decades",cellClass:"decade",step:10})],this.currentView=this.views[t.startView],this.currentView.render(),this.main.appendChild(this.currentView.element),t.container?t.container.appendChild(this.element):s.after(this.element)}setOptions(e){We(this,e),this.views.forEach((t=>{t.init(e,!1)})),this.currentView.render()}detach(){this.element.remove()}show(){if(this.active)return;const{datepicker:e,element:t}=this,s=e.inputField;if(s){const n=ce(s);n!==ce(De(t))?t.dir=n:t.dir&&t.removeAttribute("dir"),this.place(),t.classList.add("active"),e.config.disableTouchKeyboard&&s.blur()}else t.classList.add("active");this.active=!0,A(e,"show")}hide(){this.active&&(this.datepicker.exitEditMode(),this.element.classList.remove("active"),this.active=!1,A(this.datepicker,"hide"))}place(){const{classList:e,style:t}=this.element;t.display="block";const{width:s,height:n}=this.element.getBoundingClientRect(),a=this.element.offsetParent;t.display="";const{config:r,inputField:o}=this.datepicker,{left:c,top:d,right:l,bottom:p,width:D,height:f}=o.getBoundingClientRect();let{x:g,y:u}=r.orientation,y=c,v=d;if(a!==document.body&&a){const w=a.getBoundingClientRect();y-=w.left-a.scrollLeft,v-=w.top-a.scrollTop}else y+=window.scrollX,v+=window.scrollY;const x=Re(o);let k=0,O=0,{clientWidth:b,clientHeight:h}=document.documentElement;if(x){const w=x.getBoundingClientRect();w.top>0&&(O=w.top),w.left>0&&(k=w.left),w.right<b&&(b=w.right),w.bottom<h&&(h=w.bottom)}let m=0;g==="auto"&&(c<k?(g="left",m=k-c):c+s>b?(g="right",b<l&&(m=b-l)):g=ce(o)==="rtl"?l-s<k?"left":"right":"left"),g==="right"&&(y+=D-s),y+=m,u==="auto"&&(u=d-n>O&&p+n>h?"top":"bottom"),u==="top"?v-=n:v+=f,e.remove(...Object.values(de)),e.add(de[g],de[u]),t.left=Ye(y),t.top=Ye(v)}setViewSwitchLabel(e){this.controls.viewSwitch.textContent=e}setPrevButtonDisabled(e){this.controls.prevButton.disabled=e}setNextButtonDisabled(e){this.controls.nextButton.disabled=e}changeView(e){const t=this.currentView;return e!==t.id&&(this._oldView||(this._oldView=t),this.currentView=this.views[e],this._renderMethod="render"),this}changeFocus(e){return this._renderMethod=Ke(this,e)?"render":"refreshFocus",this.views.forEach((t=>{t.updateFocus()})),this}update(e=void 0){const t=e===void 0?_e(this.datepicker):e;return this._renderMethod=Ke(this,t)?"render":"refresh",this.views.forEach((s=>{s.updateFocus(),s.updateSelection()})),this}render(e=!0){const{currentView:t,datepicker:s,_oldView:n}=this,a=new Date(this._oldViewDate),r=e&&this._renderMethod||"render";if(delete this._oldView,delete this._oldViewDate,delete this._renderMethod,t[r](),n&&(this.main.replaceChild(t.element,n.element),A(s,"changeView")),!isNaN(a)){const o=new Date(this.viewDate);o.getFullYear()!==a.getFullYear()&&A(s,"changeYear"),o.getMonth()!==a.getMonth()&&A(s,"changeMonth")}}}function je(i,e,t,s,n,a){if(Q(i,n,a))return s(i)?je(e(i,t),e,t,s,n,a):i}function wt(i,e,t){const s=i.picker,n=s.currentView,a=n.step||1;let r,o=s.viewDate;switch(n.id){case 0:o=Y(o,t?7*e:e),r=Y;break;case 1:o=H(o,t?4*e:e),r=H;break;default:o=W(o,e*(t?4:1)*a),r=W}o=je(o,r,e<0?-a:a,(c=>n.disabled.includes(c)),n.minDate,n.maxDate),o!==void 0&&s.changeFocus(o).render()}function gt(i,e){const{config:t,picker:s,editMode:n}=i,a=s.active,{key:r,altKey:o,shiftKey:c}=e,d=e.ctrlKey||e.metaKey,l=()=>{e.preventDefault(),e.stopPropagation()};if(r==="Tab")return void Le(i);if(r==="Enter"){if(a)if(n)i.exitEditMode({update:!0,autohide:t.autohide});else{const u=s.currentView;u.isMinView?i.setDate(s.viewDate):(s.changeView(u.id-1).render(),l())}else i.update();return}const p=t.shortcutKeys,D={key:r,ctrlOrMetaKey:d,altKey:o,shiftKey:c},f=Object.keys(p).find((u=>{const y=p[u];return!Object.keys(y).find((v=>y[v]!==D[v]))}));if(f){let u;if(f==="toggle"?u=f:n?f==="exitEditMode"&&(u=f):a?f==="hide"?u=f:f==="prevButton"?u=[z,[i,-1]]:f==="nextButton"?u=[z,[i,1]]:f==="viewSwitch"?u=[Be,[i]]:t.clearButton&&f==="clearButton"?u=[Ee,[i]]:t.todayButton&&f==="todayButton"&&(u=[Ae,[i]]):f==="show"&&(u=f),u)return Array.isArray(u)?u[0].apply(null,u[1]):i[u](),void l()}if(!a||n)return;const g=(u,y)=>{c||d||o?i.enterEditMode():(wt(i,u,y),e.preventDefault())};r==="ArrowLeft"?g(-1,!1):r==="ArrowRight"?g(1,!1):r==="ArrowUp"?g(-1,!0):r==="ArrowDown"?g(1,!0):(r==="Backspace"||r==="Delete"||r&&r.length===1&&!d)&&i.enterEditMode()}function yt(i){i.config.showOnFocus&&!i._showing&&i.show()}function Dt(i,e){const t=e.target;(i.picker.active||i.config.showOnClick)&&(t._active=I(t),t._clicking=setTimeout((()=>{delete t._active,delete t._clicking}),2e3))}function kt(i,e){const t=e.target;t._clicking&&(clearTimeout(t._clicking),delete t._clicking,t._active&&i.enterEditMode(),delete t._active,i.config.showOnClick&&i.show())}function bt(i,e){e.clipboardData.types.includes("text/plain")&&i.enterEditMode()}function vt(i,e){const{element:t,picker:s}=i;if(!s.active&&!I(t))return;const n=s.element;ve(e,(a=>a===t||a===n))||Le(i)}function Te(i,e){return i.map((t=>_(t,e.format,e.locale))).join(e.dateDelimiter)}function He(i,e,t=!1){if(e.length===0)return t?[]:void 0;const{config:s,dates:n,rangeSideIndex:a}=i,{pickLevel:r,maxNumberOfDates:o}=s;let c=e.reduce(((d,l)=>{let p=F(l,s.format,s.locale);return p===void 0||(p=S(p,r,a),!Q(p,s.minDate,s.maxDate)||d.includes(p)||s.checkDisabled(p,r)||!(r>0)&&s.daysOfWeekDisabled.includes(new Date(p).getDay())||d.push(p)),d}),[]);return c.length!==0?(s.multidate&&!t&&(c=c.reduce(((d,l)=>(n.includes(l)||d.push(l),d)),n.filter((d=>!c.includes(d))))),o&&c.length>o?c.slice(-1*o):c):void 0}function X(i,e=3,t=!0,s=void 0){const{config:n,picker:a,inputField:r}=i;if(2&e){const o=a.active?n.pickLevel:n.startView;a.update(s).changeView(o).render(t)}1&e&&r&&(r.value=Te(i.dates,n))}function $e(i,e,t){const s=i.config;let{clear:n,render:a,autohide:r,revert:o,forceRefresh:c,viewDate:d}=t;a===void 0&&(a=!0),a?r===void 0&&(r=s.autohide):r=c=!1,d=F(d,s.format,s.locale);const l=He(i,e,n);(l||o)&&(l&&l.toString()!==i.dates.toString()?(i.dates=l,X(i,a?3:1,!0,d),A(i,"changeDate")):X(i,c?3:1,!0,d),r&&i.hide())}function Ie(i,e){return e?t=>_(t,e,i.config.locale):t=>new Date(t)}class Pe{constructor(e,t={},s=void 0){e.datepicker=this,this.element=e,this.dates=[];const n=this.config=Object.assign({buttonClass:t.buttonClass&&String(t.buttonClass)||"button",container:null,defaultViewDate:N(),maxDate:void 0,minDate:void 0},re(se,this));let a;if(e.tagName==="INPUT"?(a=this.inputField=e,a.classList.add("datepicker-input"),t.container&&(n.container=t.container instanceof HTMLElement?t.container:document.querySelector(t.container))):n.container=e,s){const l=s.inputs.indexOf(a),p=s.datepickers;if(l<0||l>1||!Array.isArray(p))throw Error("Invalid rangepicker object.");p[l]=this,this.rangepicker=s,this.rangeSideIndex=l}this._options=t,Object.assign(n,re(t,this)),n.shortcutKeys=(function(l){return Object.keys(Ne).reduce(((p,D)=>{const f=l[D]===void 0?Ne[D]:l[D],g=f&&f.key;if(!g||typeof g!="string")return p;const u={key:g,ctrlOrMetaKey:!!(f.ctrlOrMetaKey||f.ctrlKey||f.metaKey)};return g.length>1&&(u.altKey=!!f.altKey,u.shiftKey=!!f.shiftKey),p[D]=u,p}),{})})(t.shortcutKeys||{});const r=he(e.value||e.dataset.date,n.dateDelimiter);delete e.dataset.date;const o=He(this,r);o&&o.length>0&&(this.dates=o),a&&(a.value=Te(this.dates,n));const c=this.picker=new mt(this),d=[e,"keydown",gt.bind(null,this)];a?U(this,[d,[a,"focus",yt.bind(null,this)],[a,"mousedown",Dt.bind(null,this)],[a,"click",kt.bind(null,this)],[a,"paste",bt.bind(null,this)],[document,"mousedown",vt.bind(null,this)],[window,"resize",c.place.bind(c)]]):(U(this,[d]),this.show())}static formatDate(e,t,s){return _(e,t,s&&j[s]||j.en)}static parseDate(e,t,s){return F(e,t,s&&j[s]||j.en)}static get locales(){return j}get active(){return!(!this.picker||!this.picker.active)}get pickerElement(){return this.picker?this.picker.element:void 0}setOptions(e){const t=re(e,this);Object.assign(this._options,e),Object.assign(this.config,t),this.picker.setOptions(t),X(this,3)}show(){if(this.inputField){const{config:e,inputField:t}=this;if(t.disabled||t.readOnly&&!e.enableOnReadonly)return;I(t)||e.disableTouchKeyboard||(this._showing=!0,t.focus(),delete this._showing)}this.picker.show()}hide(){this.inputField&&(this.picker.hide(),this.picker.update().changeView(this.config.startView).render())}toggle(){this.picker.active?this.inputField&&this.picker.hide():this.show()}destroy(){this.hide(),ke(this),this.picker.detach();const e=this.element;return e.classList.remove("datepicker-input"),delete e.datepicker,this}getDate(e=void 0){const t=Ie(this,e);return this.config.multidate?this.dates.map(t):this.dates.length>0?t(this.dates[0]):void 0}setDate(...e){const t=[...e],s={},n=G(e);!n||typeof n!="object"||Array.isArray(n)||n instanceof Date||Object.assign(s,t.pop()),$e(this,Array.isArray(t[0])?t[0]:t,s)}update(e=void 0){if(!this.inputField)return;const t=Object.assign(e||{},{clear:!0,render:!0,viewDate:void 0});$e(this,he(this.inputField.value,this.config.dateDelimiter),t)}getFocusedDate(e=void 0){return Ie(this,e)(this.picker.viewDate)}setFocusedDate(e,t=!1){const{config:s,picker:n,active:a,rangeSideIndex:r}=this,o=s.pickLevel,c=F(e,s.format,s.locale);c!==void 0&&(n.changeFocus(S(c,o,r)),a&&t&&n.changeView(o),n.render())}refresh(e=void 0,t=!1){let s;e&&typeof e!="string"&&(t=e,e=void 0),s=e==="picker"?2:e==="input"?1:3,X(this,s,!t)}enterEditMode(){const e=this.inputField;e&&!e.readOnly&&this.picker.active&&!this.editMode&&(this.editMode=!0,e.classList.add("in-edit"))}exitEditMode(e=void 0){if(!this.inputField||!this.editMode)return;const t=Object.assign({update:!1},e);delete this.editMode,this.inputField.classList.remove("in-edit"),t.update&&this.update(t)}}function Je(i){const e=Object.assign({},i);return delete e.inputs,delete e.allowOneSidedRange,delete e.maxNumberOfDates,e}function T(i,e){if(i._updating)return;i._updating=!0;const t=e.target;if(t.datepicker===void 0)return;const s=i.datepickers,[n,a]=s,r={render:!1},o=i.inputs.indexOf(t),c=o===0?1:0,d=s[o].dates[0],l=s[c].dates[0];d!==void 0&&l!==void 0?o===0&&d>l?(n.setDate(l,r),a.setDate(d,r)):o===1&&d<l&&(n.setDate(d,r),a.setDate(l,r)):i.allowOneSidedRange||d===void 0&&l===void 0||(r.clear=!0,s[c].setDate(s[o].dates,r)),s.forEach((p=>{p.picker.update().render()})),delete i._updating}window.Datepicker=Pe,window.DateRangePicker=class{constructor(i,e={}){let t=Array.isArray(e.inputs)?e.inputs:Array.from(i.querySelectorAll("input"));if(t.length<2)return;i.rangepicker=this,this.element=i,this.inputs=t=t.slice(0,2),Object.freeze(t),this.allowOneSidedRange=!!e.allowOneSidedRange;const s=T.bind(null,this),n=Je(e),a=this.datepickers=[];t.forEach((r=>{(function(o,c,d,l){U(o,[[d,"changeDate",c]]),new Pe(d,l,o)})(this,s,r,n)})),Object.freeze(a),Object.defineProperty(this,"dates",{get:()=>a.map((r=>r.dates[0]))}),a[0].dates.length>0?T(this,{target:t[0]}):a[1].dates.length>0&&T(this,{target:t[1]})}setOptions(i){this.allowOneSidedRange=!!i.allowOneSidedRange;const e=Je(i);this.datepickers.forEach((t=>{t.setOptions(e)}))}destroy(){this.datepickers.forEach((i=>{i.destroy()})),ke(this),delete this.element.rangepicker}getDates(i=void 0){const e=i?t=>_(t,i,this.datepickers[0].config.locale):t=>new Date(t);return this.dates.map((t=>t===void 0?t:e(t)))}setDates(i,e){const{datepickers:[t,s],inputs:[n,a],dates:[r,o]}=this;this._updating=!0,t.setDate(i),s.setDate(e),delete this._updating,s.dates[0]!==o?T(this,{target:a}):t.dates[0]!==r&&T(this,{target:n})}}})();
26
29
 
30
+ }).call(this);
27
31
  var I4=Object.create;var ef=Object.defineProperty,S4=Object.defineProperties,w4=Object.getOwnPropertyDescriptor,b4=Object.getOwnPropertyDescriptors,v4=Object.getOwnPropertyNames,Qp=Object.getOwnPropertySymbols,D4=Object.getPrototypeOf,tf=Object.prototype.hasOwnProperty,ZD=Object.prototype.propertyIsEnumerable;var zD=(e,i,t)=>i in e?ef(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t,K=(e,i)=>{for(var t in i||={})tf.call(i,t)&&zD(e,t,i[t]);if(Qp)for(var t of Qp(i))ZD.call(i,t)&&zD(e,t,i[t]);return e},Oe=(e,i)=>S4(e,b4(i));var nf=(e,i)=>{var t={};for(var n in e)tf.call(e,n)&&i.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&Qp)for(var n of Qp(e))i.indexOf(n)<0&&ZD.call(e,n)&&(t[n]=e[n]);return t};var _=(e,i,t)=>()=>{if(t)throw t[0];try{return e&&(i=e(e=0)),i}catch(n){throw t=[n],n}};var k=(e,i)=>()=>{try{return i||e((i={exports:{}}).exports,i),i.exports}catch(t){throw i=0,t}};var M4=(e,i,t,n)=>{if(i&&typeof i=="object"||typeof i=="function")for(let o of v4(i))!tf.call(e,o)&&o!==t&&ef(e,o,{get:()=>i[o],enumerable:!(n=w4(i,o))||n.enumerable});return e};var T4=(e,i,t)=>(t=e!=null?I4(D4(e)):{},M4(i||!e||!e.__esModule?ef(t,"default",{value:e,enumerable:!0}):t,e));var He=(e,i,t)=>new Promise((n,o)=>{var r=l=>{try{s(t.next(l))}catch(g){o(g)}},a=l=>{try{s(t.throw(l))}catch(g){o(g)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(r,a);s((t=t.apply(e,i)).next())});function Ne(e){let i=ai;return ai=e,i}function Lp(){return ai}function Vr(e){if(Fp)throw new Error("");if(ai===null)return;ai.consumerOnSignalRead(e);let i=ai.producersTail;if(i!==void 0&&i.producer===e)return;let t,n=ai.recomputing;if(n&&(t=i!==void 0?i.nextProducer:ai.producers,t!==void 0&&t.producer===e)){ai.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ai&&(!n||R4(o,ai)))return;let r=Zs(ai),a={producer:e,consumer:ai,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ai.producersTail=a,i!==void 0?i.nextProducer=a:ai.producers=a,r&&tM(e,a)}function XD(){of++}function Na(e){if(!(Zs(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===of)){if(!e.producerMustRecompute(e)&&!Gc(e)){zs(e);return}e.producerRecomputeValue(e),zs(e)}}function rf(e){if(e.consumers===void 0)return;let i=Fp;Fp=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let n=t.consumer;n.dirty||B4(n)}}finally{Fp=i}}function af(){return ai?.consumerAllowSignalWrites!==!1}function B4(e){e.dirty=!0,rf(e),e.consumerMarkedDirty?.(e)}function zs(e){e.dirty=!1,e.lastCleanEpoch=of}function Kr(e){return e&&$D(e),Ne(e)}function $D(e){e.producersTail=void 0,e.recomputing=!0}function ka(e,i){Ne(i),e&&eM(e)}function eM(e){e.recomputing=!1;let i=e.producersTail,t=i!==void 0?i.nextProducer:e.producers;if(t!==void 0){if(Zs(e))do t=sf(t);while(t!==void 0);i!==void 0?i.nextProducer=void 0:e.producers=void 0}}function Gc(e){for(let i=e.producers;i!==void 0;i=i.nextProducer){let t=i.producer,n=i.lastReadVersion;if(n!==t.version||(Na(t),n!==t.version))return!0}return!1}function Qa(e){if(Zs(e)){let i=e.producers;for(;i!==void 0;)i=sf(i)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function tM(e,i){let t=e.consumersTail,n=Zs(e);if(t!==void 0?(i.nextConsumer=t.nextConsumer,t.nextConsumer=i):(i.nextConsumer=void 0,e.consumers=i),i.prevConsumer=t,e.consumersTail=i,!n)for(let o=e.producers;o!==void 0;o=o.nextProducer)tM(o.producer,o)}function sf(e){let i=e.producer,t=e.nextProducer,n=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,n!==void 0?n.prevConsumer=o:i.consumersTail=o,o!==void 0)o.nextConsumer=n;else if(i.consumers=n,!Zs(i)){let r=i.producers;for(;r!==void 0;)r=sf(r)}return t}function Zs(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Yc(e){y4?.(e)}function R4(e,i){let t=i.producersTail;if(t!==void 0){let n=i.producers;do{if(n===e)return!0;if(n===t)break;n=n.nextProducer}while(n!==void 0)}return!1}function Hc(e,i){return Object.is(e,i)}function Vc(e,i){let t=Object.create(O4);t.computation=e,i!==void 0&&(t.equal=i);let n=()=>{if(Na(t),Vr(t),t.value===Ko)throw t.error;return t.value};return n[An]=t,Yc(t),n}function x4(){throw new Error}function iM(e){nM(e)}function lf(e){nM=e}function cf(e,i){let t=Object.create(Pp);t.value=e,i!==void 0&&(t.equal=i);let n=()=>oM(t);return n[An]=t,Yc(t),[n,a=>Jr(t,a),a=>Up(t,a)]}function oM(e){return Vr(e),e.value}function Jr(e,i){af()||iM(e),e.equal(e.value,i)||(e.value=i,k4(e))}function Up(e,i){af()||iM(e),Jr(e,i(e.value))}function k4(e){e.version++,XD(),rf(e),N4?.(e)}function uf(e){if(e.dirty=!1,e.version>0&&!Gc(e))return;e.version++;let i=Kr(e);try{e.cleanup(),e.fn()}finally{ka(e,i)}}var ai,Fp,of,y4,An,Hr,Oa,xa,Ko,O4,nM,N4,Pp,df,Fa=_(()=>{ai=null,Fp=!1,of=1,y4=null,An=Symbol("SIGNAL");Hr={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};Oa=Symbol("UNSET"),xa=Symbol("COMPUTING"),Ko=Symbol("ERRORED"),O4=Oe(K({},Hr),{value:Oa,dirty:!0,error:null,equal:Hc,kind:"computed",producerMustRecompute(e){return e.value===Oa||e.value===xa},producerRecomputeValue(e){if(e.value===xa)throw new Error("");let i=e.value;e.value=xa;let t=Kr(e),n,o=!1;try{n=e.computation(),Ne(null),o=i!==Oa&&i!==Ko&&n!==Ko&&e.equal(i,n)}catch(r){n=Ko,e.error=r}finally{ka(e,t)}if(o){e.value=i;return}e.value=n,e.version++}});nM=x4;N4=null;Pp=Oe(K({},Hr),{equal:Hc,value:void 0,kind:"signal"});df=Oe(K({},Hr),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"})});function et(e){return typeof e=="function"}var yn=_(()=>{});function Xs(e){let t=e(n=>{Error.call(n),n.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Gp=_(()=>{});var Yp,rM=_(()=>{Gp();Yp=Xs(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
28
32
  ${t.map((n,o)=>`${o+1}) ${n.toString()}`).join(`
29
33
  `)}`:"",this.name="UnsubscriptionError",this.errors=t})});function La(e,i){if(e){let t=e.indexOf(i);0<=t&&e.splice(t,1)}}var Hp=_(()=>{});function Vp(e){return e instanceof zt||e&&"closed"in e&&et(e.remove)&&et(e.add)&&et(e.unsubscribe)}function aM(e){et(e)?e():e.unsubscribe()}var zt,pf,$s=_(()=>{yn();rM();Hp();zt=class e{constructor(i){this.initialTeardown=i,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let i;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let r of t)r.remove(this);else t.remove(this);let{initialTeardown:n}=this;if(et(n))try{n()}catch(r){i=r instanceof Yp?r.errors:[r]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let r of o)try{aM(r)}catch(a){i=i??[],a instanceof Yp?i=[...i,...a.errors]:i.push(a)}}if(i)throw new Yp(i)}}add(i){var t;if(i&&i!==this)if(this.closed)aM(i);else{if(i instanceof e){if(i.closed||i._hasParent(this))return;i._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(i)}}_hasParent(i){let{_parentage:t}=this;return t===i||Array.isArray(t)&&t.includes(i)}_addParent(i){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(i),t):t?[t,i]:i}_removeParent(i){let{_parentage:t}=this;t===i?this._parentage=null:Array.isArray(t)&&La(t,i)}remove(i){let{_finalizers:t}=this;t&&La(t,i),i instanceof e&&i._removeParent(this)}};zt.EMPTY=(()=>{let e=new zt;return e.closed=!0,e})();pf=zt.EMPTY});var Io,Kc=_(()=>{Io={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}});var el,gf=_(()=>{el={setTimeout(e,i,...t){let{delegate:n}=el;return n?.setTimeout?n.setTimeout(e,i,...t):setTimeout(e,i,...t)},clearTimeout(e){let{delegate:i}=el;return(i?.clearTimeout||clearTimeout)(e)},delegate:void 0}});function Kp(e){el.setTimeout(()=>{let{onUnhandledError:i}=Io;if(i)i(e);else throw e})}var mf=_(()=>{Kc();gf()});function Jc(){}var Af=_(()=>{});function lM(e){return hf("E",void 0,e)}function cM(e){return hf("N",e,void 0)}function hf(e,i,t){return{kind:e,value:i,error:t}}var sM,dM=_(()=>{sM=hf("C",void 0,void 0)});function tl(e){if(Io.useDeprecatedSynchronousErrorHandling){let i=!Ua;if(i&&(Ua={errorThrown:!1,error:null}),e(),i){let{errorThrown:t,error:n}=Ua;if(Ua=null,t)throw n}}else e()}function uM(e){Io.useDeprecatedSynchronousErrorHandling&&Ua&&(Ua.errorThrown=!0,Ua.error=e)}var Ua,Jp=_(()=>{Kc();Ua=null});function Cf(e,i){return Q4.call(e,i)}function Wp(e){Io.useDeprecatedSynchronousErrorHandling?uM(e):Kp(e)}function F4(e){throw e}function ff(e,i){let{onStoppedNotification:t}=Io;t&&el.setTimeout(()=>t(e,i))}var Pa,Q4,Ef,pr,L4,jp=_(()=>{yn();$s();Kc();mf();Af();dM();gf();Jp();Pa=class extends zt{constructor(i){super(),this.isStopped=!1,i?(this.destination=i,Vp(i)&&i.add(this)):this.destination=L4}static create(i,t,n){return new pr(i,t,n)}next(i){this.isStopped?ff(cM(i),this):this._next(i)}error(i){this.isStopped?ff(lM(i),this):(this.isStopped=!0,this._error(i))}complete(){this.isStopped?ff(sM,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(i){this.destination.next(i)}_error(i){try{this.destination.error(i)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Q4=Function.prototype.bind;Ef=class{constructor(i){this.partialObserver=i}next(i){let{partialObserver:t}=this;if(t.next)try{t.next(i)}catch(n){Wp(n)}}error(i){let{partialObserver:t}=this;if(t.error)try{t.error(i)}catch(n){Wp(n)}else Wp(i)}complete(){let{partialObserver:i}=this;if(i.complete)try{i.complete()}catch(t){Wp(t)}}},pr=class extends Pa{constructor(i,t,n){super();let o;if(et(i)||!i)o={next:i??void 0,error:t??void 0,complete:n??void 0};else{let r;this&&Io.useDeprecatedNextContext?(r=Object.create(i),r.unsubscribe=()=>this.unsubscribe(),o={next:i.next&&Cf(i.next,r),error:i.error&&Cf(i.error,r),complete:i.complete&&Cf(i.complete,r)}):o=i}this.destination=new Ef(o)}};L4={closed:!0,next:Jc,error:F4,complete:Jc}});var nl,qp=_(()=>{nl=typeof Symbol=="function"&&Symbol.observable||"@@observable"});function Ui(e){return e}var Ga=_(()=>{});function _f(...e){return If(e)}function If(e){return e.length===0?Ui:e.length===1?e[0]:function(t){return e.reduce((n,o)=>o(n),t)}}var Sf=_(()=>{Ga()});function pM(e){var i;return(i=e??Io.Promise)!==null&&i!==void 0?i:Promise}function U4(e){return e&&et(e.next)&&et(e.error)&&et(e.complete)}function P4(e){return e&&e instanceof Pa||U4(e)&&Vp(e)}var ut,Mi=_(()=>{jp();$s();qp();Sf();Kc();yn();Jp();ut=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let n=new e;return n.source=this,n.operator=t,n}subscribe(t,n,o){let r=P4(t)?t:new pr(t,n,o);return tl(()=>{let{operator:a,source:s}=this;r.add(a?a.call(r,s):s?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(t){try{return this._subscribe(t)}catch(n){t.error(n)}}forEach(t,n){return n=pM(n),new n((o,r)=>{let a=new pr({next:s=>{try{t(s)}catch(l){r(l),a.unsubscribe()}},error:r,complete:o});this.subscribe(a)})}_subscribe(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)}[nl](){return this}pipe(...t){return If(t)(this)}toPromise(t){return t=pM(t),new t((n,o)=>{let r;this.subscribe(a=>r=a,a=>o(a),()=>n(r))})}}return e.create=i=>new e(i),e})()});function G4(e){return et(e?.lift)}function ft(e){return i=>{if(G4(i))return i.lift(function(t){try{return e(t,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}var Bn=_(()=>{yn()});function _t(e,i,t,n,o){return new wf(e,i,t,n,o)}var wf,Xn=_(()=>{jp();wf=class extends Pa{constructor(i,t,n,o,r,a){super(i),this.onFinalize=r,this.shouldUnsubscribe=a,this._next=t?function(s){try{t(s)}catch(l){i.error(l)}}:super._next,this._error=o?function(s){try{o(s)}catch(l){i.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(s){i.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var i;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((i=this.onFinalize)===null||i===void 0||i.call(this))}}}});var gM,mM=_(()=>{Gp();gM=Xs(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"})});var Ue,zp,Wc=_(()=>{Mi();$s();mM();Hp();Jp();Ue=(()=>{class e extends ut{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let n=new zp(this,this);return n.operator=t,n}_throwIfClosed(){if(this.closed)throw new gM}next(t){tl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(t)}})}error(t){tl(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:n}=this;for(;n.length;)n.shift().error(t)}})}complete(){tl(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:n,isStopped:o,observers:r}=this;return n||o?pf:(this.currentObservers=null,r.push(t),new zt(()=>{this.currentObservers=null,La(r,t)}))}_checkFinalizedStatuses(t){let{hasError:n,thrownError:o,isStopped:r}=this;n?t.error(o):r&&t.complete()}asObservable(){let t=new ut;return t.source=this,t}}return e.create=(i,t)=>new zp(i,t),e})(),zp=class extends Ue{constructor(i,t){super(),this.destination=i,this.source=t}next(i){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.next)===null||n===void 0||n.call(t,i)}error(i){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.error)===null||n===void 0||n.call(t,i)}complete(){var i,t;(t=(i=this.destination)===null||i===void 0?void 0:i.complete)===null||t===void 0||t.call(i)}_subscribe(i){var t,n;return(n=(t=this.source)===null||t===void 0?void 0:t.subscribe(i))!==null&&n!==void 0?n:pf}}});var cn,AM=_(()=>{Wc();cn=class extends Ue{constructor(i){super(),this._value=i}get value(){return this.getValue()}_subscribe(i){let t=super._subscribe(i);return!t.closed&&i.next(this._value),t}getValue(){let{hasError:i,thrownError:t,_value:n}=this;if(i)throw t;return this._throwIfClosed(),n}next(i){super.next(this._value=i)}}});var jc,bf=_(()=>{jc={now(){return(jc.delegate||Date).now()},delegate:void 0}});var Ya,vf=_(()=>{Wc();bf();Ya=class extends Ue{constructor(i=1/0,t=1/0,n=jc){super(),this._bufferSize=i,this._windowTime=t,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,i),this._windowTime=Math.max(1,t)}next(i){let{isStopped:t,_buffer:n,_infiniteTimeWindow:o,_timestampProvider:r,_windowTime:a}=this;t||(n.push(i),!o&&n.push(r.now()+a)),this._trimBuffer(),super.next(i)}_subscribe(i){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(i),{_infiniteTimeWindow:n,_buffer:o}=this,r=o.slice();for(let a=0;a<r.length&&!i.closed;a+=n?1:2)i.next(r[a]);return this._checkFinalizedStatuses(i),t}_trimBuffer(){let{_bufferSize:i,_timestampProvider:t,_buffer:n,_infiniteTimeWindow:o}=this,r=(o?1:2)*i;if(i<1/0&&r<n.length&&n.splice(0,n.length-r),!o){let a=t.now(),s=0;for(let l=1;l<n.length&&n[l]<=a;l+=2)s=l;s&&n.splice(0,s+1)}}}});var Zp,hM=_(()=>{$s();Zp=class extends zt{constructor(i,t){super()}schedule(i,t=0){return this}}});var qc,CM=_(()=>{qc={setInterval(e,i,...t){let{delegate:n}=qc;return n?.setInterval?n.setInterval(e,i,...t):setInterval(e,i,...t)},clearInterval(e){let{delegate:i}=qc;return(i?.clearInterval||clearInterval)(e)},delegate:void 0}});var Xp,fM=_(()=>{hM();CM();Hp();Xp=class extends Zp{constructor(i,t){super(i,t),this.scheduler=i,this.work=t,this.pending=!1}schedule(i,t=0){var n;if(this.closed)return this;this.state=i;let o=this.id,r=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(r,o,t)),this.pending=!0,this.delay=t,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(r,this.id,t),this}requestAsyncId(i,t,n=0){return qc.setInterval(i.flush.bind(i,this),n)}recycleAsyncId(i,t,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return t;t!=null&&qc.clearInterval(t)}execute(i,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(i,t);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(i,t){let n=!1,o;try{this.work(i)}catch(r){n=!0,o=r||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:i,scheduler:t}=this,{actions:n}=t;this.work=this.state=this.scheduler=null,this.pending=!1,La(n,this),i!=null&&(this.id=this.recycleAsyncId(t,i,null)),this.delay=null,super.unsubscribe()}}}});var il,EM=_(()=>{bf();il=class e{constructor(i,t=e.now){this.schedulerActionCtor=i,this.now=t}schedule(i,t=0,n){return new this.schedulerActionCtor(this,i).schedule(n,t)}};il.now=jc.now});var $p,_M=_(()=>{EM();$p=class extends il{constructor(i,t=il.now){super(i,t),this.actions=[],this._active=!1}flush(i){let{actions:t}=this;if(this._active){t.push(i);return}let n;this._active=!0;do if(n=i.execute(i.state,i.delay))break;while(i=t.shift());if(this._active=!1,n){for(;i=t.shift();)i.unsubscribe();throw n}}}});var Df,IM,Mf=_(()=>{fM();_M();Df=new $p(Xp),IM=Df});var Rn,zc=_(()=>{Mi();Rn=new ut(e=>e.complete())});function eg(e){return e&&et(e.schedule)}var Tf=_(()=>{yn()});function yf(e){return e[e.length-1]}function tg(e){return et(yf(e))?e.pop():void 0}function Jo(e){return eg(yf(e))?e.pop():void 0}function SM(e,i){return typeof yf(e)=="number"?e.pop():i}var Ha=_(()=>{yn();Tf()});function bM(e,i,t,n){function o(r){return r instanceof t?r:new t(function(a){a(r)})}return new(t||(t=Promise))(function(r,a){function s(m){try{g(n.next(m))}catch(h){a(h)}}function l(m){try{g(n.throw(m))}catch(h){a(h)}}function g(m){m.done?r(m.value):o(m.value).then(s,l)}g((n=n.apply(e,i||[])).next())})}function wM(e){var i=typeof Symbol=="function"&&Symbol.iterator,t=i&&e[i],n=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}function Va(e){return this instanceof Va?(this.v=e,this):new Va(e)}function vM(e,i,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t.apply(e,i||[]),o,r=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",a),o[Symbol.asyncIterator]=function(){return this},o;function a(S){return function(M){return Promise.resolve(M).then(S,h)}}function s(S,M){n[S]&&(o[S]=function(R){return new Promise(function(Q,H){r.push([S,R,Q,H])>1||l(S,R)})},M&&(o[S]=M(o[S])))}function l(S,M){try{g(n[S](M))}catch(R){E(r[0][3],R)}}function g(S){S.value instanceof Va?Promise.resolve(S.value.v).then(m,h):E(r[0][2],S)}function m(S){l("next",S)}function h(S){l("throw",S)}function E(S,M){S(M),r.shift(),r.length&&l(r[0][0],r[0][1])}}function DM(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e[Symbol.asyncIterator],t;return i?i.call(e):(e=typeof wM=="function"?wM(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(a){return new Promise(function(s,l){a=e[r](a),o(s,l,a.done,a.value)})}}function o(r,a,s,l){Promise.resolve(l).then(function(g){r({value:g,done:s})},a)}}var Bf=_(()=>{});var ng,Rf=_(()=>{ng=e=>e&&typeof e.length=="number"&&typeof e!="function"});function ig(e){return et(e?.then)}var Of=_(()=>{yn()});function og(e){return et(e[nl])}var xf=_(()=>{qp();yn()});function rg(e){return Symbol.asyncIterator&&et(e?.[Symbol.asyncIterator])}var Nf=_(()=>{yn()});function ag(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}var kf=_(()=>{});function Y4(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var sg,Qf=_(()=>{sg=Y4()});function lg(e){return et(e?.[sg])}var Ff=_(()=>{Qf();yn()});function cg(e){return vM(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:n,done:o}=yield Va(t.read());if(o)return yield Va(void 0);yield yield Va(n)}}finally{t.releaseLock()}})}function dg(e){return et(e?.getReader)}var ug=_(()=>{Bf();yn()});function on(e){if(e instanceof ut)return e;if(e!=null){if(og(e))return H4(e);if(ng(e))return V4(e);if(ig(e))return K4(e);if(rg(e))return MM(e);if(lg(e))return J4(e);if(dg(e))return W4(e)}throw ag(e)}function H4(e){return new ut(i=>{let t=e[nl]();if(et(t.subscribe))return t.subscribe(i);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function V4(e){return new ut(i=>{for(let t=0;t<e.length&&!i.closed;t++)i.next(e[t]);i.complete()})}function K4(e){return new ut(i=>{e.then(t=>{i.closed||(i.next(t),i.complete())},t=>i.error(t)).then(null,Kp)})}function J4(e){return new ut(i=>{for(let t of e)if(i.next(t),i.closed)return;i.complete()})}function MM(e){return new ut(i=>{j4(e,i).catch(t=>i.error(t))})}function W4(e){return MM(cg(e))}function j4(e,i){var t,n,o,r;return bM(this,void 0,void 0,function*(){try{for(t=DM(e);n=yield t.next(),!n.done;){let a=n.value;if(i.next(a),i.closed)return}}catch(a){o={error:a}}finally{try{n&&!n.done&&(r=t.return)&&(yield r.call(t))}finally{if(o)throw o.error}}i.complete()})}var Pi=_(()=>{Bf();Rf();Of();Mi();xf();Nf();kf();Ff();ug();yn();mf();qp()});function Ti(e,i,t,n=0,o=!1){let r=i.schedule(function(){t(),o?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(r),!o)return r}var ol=_(()=>{});function pg(e,i=0){return ft((t,n)=>{t.subscribe(_t(n,o=>Ti(n,e,()=>n.next(o),i),()=>Ti(n,e,()=>n.complete(),i),o=>Ti(n,e,()=>n.error(o),i)))})}var Lf=_(()=>{ol();Bn();Xn()});function gg(e,i=0){return ft((t,n)=>{n.add(e.schedule(()=>t.subscribe(n),i))})}var Uf=_(()=>{Bn()});function TM(e,i){return on(e).pipe(gg(i),pg(i))}var yM=_(()=>{Pi();Lf();Uf()});function BM(e,i){return on(e).pipe(gg(i),pg(i))}var RM=_(()=>{Pi();Lf();Uf()});function OM(e,i){return new ut(t=>{let n=0;return i.schedule(function(){n===e.length?t.complete():(t.next(e[n++]),t.closed||this.schedule())})})}var xM=_(()=>{Mi()});function NM(e,i){return new ut(t=>{let n;return Ti(t,i,()=>{n=e[sg](),Ti(t,i,()=>{let o,r;try{({value:o,done:r}=n.next())}catch(a){t.error(a);return}r?t.complete():t.next(o)},0,!0)}),()=>et(n?.return)&&n.return()})}var kM=_(()=>{Mi();Qf();yn();ol()});function mg(e,i){if(!e)throw new Error("Iterable cannot be null");return new ut(t=>{Ti(t,i,()=>{let n=e[Symbol.asyncIterator]();Ti(t,i,()=>{n.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}var Pf=_(()=>{Mi();ol()});function QM(e,i){return mg(cg(e),i)}var FM=_(()=>{Pf();ug()});function LM(e,i){if(e!=null){if(og(e))return TM(e,i);if(ng(e))return OM(e,i);if(ig(e))return BM(e,i);if(rg(e))return mg(e,i);if(lg(e))return NM(e,i);if(dg(e))return QM(e,i)}throw ag(e)}var UM=_(()=>{yM();RM();xM();kM();Pf();xf();Of();Rf();Ff();Nf();kf();ug();FM()});function Lt(e,i){return i?LM(e,i):on(e)}var rl=_(()=>{UM();Pi()});function Ve(...e){let i=Jo(e);return Lt(e,i)}var PM=_(()=>{Ha();rl()});function Gf(e,i){let t=et(e)?e:()=>e,n=o=>o.error(t());return new ut(i?o=>i.schedule(n,0,o):n)}var GM=_(()=>{Mi();yn()});function Ag(e){return!!e&&(e instanceof ut||et(e.lift)&&et(e.subscribe))}var YM=_(()=>{Mi();yn()});var Ka,hg=_(()=>{Gp();Ka=Xs(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"})});function HM(e){return e instanceof Date&&!isNaN(e)}var VM=_(()=>{});function At(e,i){return ft((t,n)=>{let o=0;t.subscribe(_t(n,r=>{n.next(e.call(i,r,o++))}))})}var al=_(()=>{Bn();Xn()});function z4(e,i){return q4(i)?e(...i):e(i)}function Cg(e){return At(i=>z4(e,i))}var q4,Yf=_(()=>{al();({isArray:q4}=Array)});function fg(e){if(e.length===1){let i=e[0];if(Z4(i))return{args:i,keys:null};if(tW(i)){let t=eW(i);return{args:t.map(n=>i[n]),keys:t}}}return{args:e,keys:null}}function tW(e){return e&&typeof e=="object"&&X4(e)===$4}var Z4,X4,$4,eW,Hf=_(()=>{({isArray:Z4}=Array),{getPrototypeOf:X4,prototype:$4,keys:eW}=Object});function Eg(e,i){return e.reduce((t,n,o)=>(t[n]=i[o],t),{})}var Vf=_(()=>{});function _g(...e){let i=Jo(e),t=tg(e),{args:n,keys:o}=fg(e);if(n.length===0)return Lt([],i);let r=new ut(nW(n,i,o?a=>Eg(o,a):Ui));return t?r.pipe(Cg(t)):r}function nW(e,i,t=Ui){return n=>{KM(i,()=>{let{length:o}=e,r=new Array(o),a=o,s=o;for(let l=0;l<o;l++)KM(i,()=>{let g=Lt(e[l],i),m=!1;g.subscribe(_t(n,h=>{r[l]=h,m||(m=!0,s--),s||n.next(t(r.slice()))},()=>{--a||n.complete()}))},n)},n)}}function KM(e,i,t){e?Ti(t,e,i):i()}var JM=_(()=>{Mi();Hf();rl();Ga();Yf();Ha();Vf();Xn();ol()});function WM(e,i,t,n,o,r,a,s){let l=[],g=0,m=0,h=!1,E=()=>{h&&!l.length&&!g&&i.complete()},S=R=>g<n?M(R):l.push(R),M=R=>{r&&i.next(R),g++;let Q=!1;on(t(R,m++)).subscribe(_t(i,H=>{o?.(H),r?S(H):i.next(H)},()=>{Q=!0},void 0,()=>{if(Q)try{for(g--;l.length&&g<n;){let H=l.shift();a?Ti(i,a,()=>M(H)):M(H)}E()}catch(H){i.error(H)}}))};return e.subscribe(_t(i,S,()=>{h=!0,E()})),()=>{s?.()}}var jM=_(()=>{Pi();ol();Xn()});function $n(e,i,t=1/0){return et(i)?$n((n,o)=>At((r,a)=>i(n,r,o,a))(on(e(n,o))),t):(typeof i=="number"&&(t=i),ft((n,o)=>WM(n,o,e,t)))}var Ig=_(()=>{al();Pi();Bn();jM();yn()});function Wo(e=1/0){return $n(Ui,e)}var Sg=_(()=>{Ig();Ga()});function qM(){return Wo(1)}var zM=_(()=>{Sg()});function sl(...e){return qM()(Lt(e,Jo(e)))}var Kf=_(()=>{zM();Ha();rl()});function Zc(e){return new ut(i=>{on(e()).subscribe(i)})}var ZM=_(()=>{Mi();Pi()});function Jf(...e){let i=tg(e),{args:t,keys:n}=fg(e),o=new ut(r=>{let{length:a}=t;if(!a){r.complete();return}let s=new Array(a),l=a,g=a;for(let m=0;m<a;m++){let h=!1;on(t[m]).subscribe(_t(r,E=>{h||(h=!0,g--),s[m]=E},()=>l--,void 0,()=>{(!l||!h)&&(g||r.next(n?Eg(n,s):s),r.complete())}))}});return i?o.pipe(Cg(i)):o}var XM=_(()=>{Mi();Hf();Pi();Ha();Xn();Yf();Vf()});function Wf(e=0,i,t=IM){let n=-1;return i!=null&&(eg(i)?t=i:n=i),new ut(o=>{let r=HM(e)?+e-t.now():e;r<0&&(r=0);let a=0;return t.schedule(function(){o.closed||(o.next(a++),0<=n?this.schedule(void 0,n):o.complete())},r)})}var $M=_(()=>{Mi();Mf();Tf();VM()});function Xc(...e){let i=Jo(e),t=SM(e,1/0),n=e;return n.length?n.length===1?on(n[0]):Wo(t)(Lt(n,i)):Rn}var eT=_(()=>{Sg();Pi();zc();Ha();rl()});function Gi(e,i){return ft((t,n)=>{let o=0;t.subscribe(_t(n,r=>e.call(i,r,o++)&&n.next(r)))})}var jf=_(()=>{Bn();Xn()});var tT=_(()=>{});function ll(e){return ft((i,t)=>{let n=null,o=!1,r;n=i.subscribe(_t(t,void 0,void 0,a=>{r=on(e(a,ll(e)(i))),n?(n.unsubscribe(),n=null,r.subscribe(t)):o=!0})),o&&(n.unsubscribe(),n=null,r.subscribe(t))})}var nT=_(()=>{Pi();Xn();Bn()});function Wr(e,i){return et(i)?$n(e,i,1):$n(e,1)}var iT=_(()=>{Ig();yn()});function $c(e,i=Df){return ft((t,n)=>{let o=null,r=null,a=null,s=()=>{if(o){o.unsubscribe(),o=null;let g=r;r=null,n.next(g)}};function l(){let g=a+e,m=i.now();if(m<g){o=this.schedule(void 0,g-m),n.add(o);return}s()}t.subscribe(_t(n,g=>{r=g,a=i.now(),o||(o=i.schedule(l,e),n.add(o))},()=>{s(),n.complete()},void 0,()=>{r=o=null}))})}var oT=_(()=>{Mf();Bn();Xn()});function rT(e){return ft((i,t)=>{let n=!1;i.subscribe(_t(t,o=>{n=!0,t.next(o)},()=>{n||t.next(e),t.complete()}))})}var aT=_(()=>{Bn();Xn()});function gr(e){return e<=0?()=>Rn:ft((i,t)=>{let n=0;i.subscribe(_t(t,o=>{++n<=e&&(t.next(o),e<=n&&t.complete())}))})}var qf=_(()=>{zc();Bn();Xn()});function zf(e){return At(()=>e)}var sT=_(()=>{al()});function jr(e,i=Ui){return e=e??iW,ft((t,n)=>{let o,r=!0;t.subscribe(_t(n,a=>{let s=i(a);(r||!e(o,s))&&(r=!1,o=s,n.next(a))}))})}function iW(e,i){return e===i}var Zf=_(()=>{Ga();Bn();Xn()});function lT(e=oW){return ft((i,t)=>{let n=!1;i.subscribe(_t(t,o=>{n=!0,t.next(o)},()=>n?t.complete():t.error(e())))})}function oW(){return new Ka}var cT=_(()=>{hg();Bn();Xn()});function cl(e){return ft((i,t)=>{try{i.subscribe(t)}finally{t.add(e)}})}var dT=_(()=>{Bn()});function jo(e,i){let t=arguments.length>=2;return n=>n.pipe(e?Gi((o,r)=>e(o,r,n)):Ui,gr(1),t?rT(i):lT(()=>new Ka))}var uT=_(()=>{hg();jf();qf();aT();cT();Ga()});function wg(e){return e<=0?()=>Rn:ft((i,t)=>{let n=[];i.subscribe(_t(t,o=>{n.push(o),e<n.length&&n.shift()},()=>{for(let o of n)t.next(o);t.complete()},void 0,()=>{n=null}))})}var pT=_(()=>{zc();Bn();Xn()});function gT(e={}){let{connector:i=()=>new Ue,resetOnError:t=!0,resetOnComplete:n=!0,resetOnRefCountZero:o=!0}=e;return r=>{let a,s,l,g=0,m=!1,h=!1,E=()=>{s?.unsubscribe(),s=void 0},S=()=>{E(),a=l=void 0,m=h=!1},M=()=>{let R=a;S(),R?.unsubscribe()};return ft((R,Q)=>{g++,!h&&!m&&E();let H=l=l??i();Q.add(()=>{g--,g===0&&!h&&!m&&(s=Xf(M,o))}),H.subscribe(Q),!a&&g>0&&(a=new pr({next:Z=>H.next(Z),error:Z=>{h=!0,E(),s=Xf(S,t,Z),H.error(Z)},complete:()=>{m=!0,E(),s=Xf(S,n),H.complete()}}),on(R).subscribe(a))})(r)}}function Xf(e,i,...t){if(i===!0){e();return}if(i===!1)return;let n=new pr({next:()=>{n.unsubscribe(),e()}});return on(i(...t)).subscribe(n)}var mT=_(()=>{Pi();Wc();jp();Bn()});function $f(e,i,t){let n,o=!1;return e&&typeof e=="object"?{bufferSize:n=1/0,windowTime:i=1/0,refCount:o=!1,scheduler:t}=e:n=e??1/0,gT({connector:()=>new Ya(n,i,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}var AT=_(()=>{vf();mT()});function eE(...e){let i=Jo(e);return ft((t,n)=>{(i?sl(e,t,i):sl(e,t)).subscribe(n)})}var hT=_(()=>{Kf();Ha();Bn()});function Yn(e,i){return ft((t,n)=>{let o=null,r=0,a=!1,s=()=>a&&!o&&n.complete();t.subscribe(_t(n,l=>{o?.unsubscribe();let g=0,m=r++;on(e(l,m)).subscribe(o=_t(n,h=>n.next(i?i(l,h,m,g++):h),()=>{o=null,s()}))},()=>{a=!0,s()}))})}var CT=_(()=>{Pi();Bn();Xn()});function Ja(e){return ft((i,t)=>{on(e).subscribe(_t(t,()=>t.complete(),Jc)),!t.closed&&i.subscribe(t)})}var fT=_(()=>{Bn();Xn();Pi();Af()});function no(e,i,t){let n=et(e)||i||t?{next:e,error:i,complete:t}:e;return n?ft((o,r)=>{var a;(a=n.subscribe)===null||a===void 0||a.call(n);let s=!0;o.subscribe(_t(r,l=>{var g;(g=n.next)===null||g===void 0||g.call(n,l),r.next(l)},()=>{var l;s=!1,(l=n.complete)===null||l===void 0||l.call(n),r.complete()},l=>{var g;s=!1,(g=n.error)===null||g===void 0||g.call(n,l),r.error(l)},()=>{var l,g;s&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(g=n.finalize)===null||g===void 0||g.call(n)}))}):Ui}var ET=_(()=>{yn();Bn();Xn();Ga()});var sn=_(()=>{Mi();Wc();AM();vf();$s();Sf();YM();hg();JM();Kf();ZM();XM();rl();eT();PM();GM();$M();zc();tT();oT();Zf();al()});function bg(){return tE}function qo(e){let i=tE;return tE=e,i}function dl(e){return e===_T||e?.name==="\u0275NotFound"}var tE,_T,nE=_(()=>{_T=Symbol("NotFound")});function iE(e,i,t){let n=Object.create(rW);n.source=e,n.computation=i,t!=null&&(n.equal=t);let r=()=>{if(Na(n),Vr(n),n.value===Ko)throw n.error;return n.value};return r[An]=n,Yc(n),r}function IT(e,i){Na(e),Jr(e,i),zs(e)}function ST(e,i){if(Na(e),e.value===Ko)throw e.error;Up(e,i),zs(e)}function wT(e){let i=Ne(null);try{return e()}finally{Ne(i)}}var rW,bT=_(()=>{Fa();rW=Oe(K({},Hr),{value:Oa,dirty:!0,error:null,equal:Hc,kind:"linkedSignal",producerMustRecompute(e){return e.value===Oa||e.value===xa},producerRecomputeValue(e){if(e.value===xa)throw new Error("");let i=e.value;e.value=xa;let t=Kr(e),n,o=!1;try{let r=e.source(),a=i!==Oa&&i!==Ko,s=a?{source:e.sourceValue,value:i}:void 0;n=e.computation(r,s),e.sourceValue=r,Ne(null),o=a&&n!==Ko&&e.equal(i,n)}catch(r){n=Ko,e.error=r}finally{ka(e,t)}if(o){e.value=i;return}e.value=n,e.version++}})});var oE=_(()=>{Fa();});var vT=_(()=>{nE();});function aW(e){return`NG0${Math.abs(e)}`}function ro(e,i){return`${aW(e)}${i?": "+i:""}`}function Rt(e){for(let i in e)if(e[i]===Rt)return i;throw Error("")}function BT(e,i){for(let t in i)i.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=i[t])}function ad(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(ad).join(", ")}]`;if(e==null)return""+e;let i=e.overriddenName||e.name;if(i)return`${i}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
@@ -233,7 +237,7 @@ teste conteudo
233
237
  <small class="f-12 font-regular text-neutral-500">Texto auxiliar</small>
234
238
  <strong class="f-16 font-bold text-neutral-700">Texto em negrito</strong>
235
239
  <em class="f-16 font-regular text-neutral-500">Texto em it\xE1lico</em>
236
- <code class="f-14 font-regular text-primary-500">.classe-exemplo</code>`}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=I({type:e,selectors:[["app-tc-text"]],decls:122,vars:10,consts:[[1,"doc-page__header"],[1,"doc-page__title"],[1,"doc-page__description"],[1,"doc-page__section"],[1,"doc-table"],[1,"doc-page__label"],[1,"doc-page__preview"],[1,"preview-stack"],[1,"f-16","font-regular","text-neutral-700"],[1,"font-bold"],[1,"font-regular","text-neutral-500"],[1,"f-14","font-semibold","text-neutral-700"],[1,"f-12","font-regular","text-neutral-500"],[1,"f-16","font-regular","text-danger-500"],[1,"f-16","font-regular","text-success-500"],[1,"f-16","font-regular","text-alert-500"],[1,"f-14","font-regular","text-primary-500","preview-code"],[1,"doc-code"],[3,"componentName"],[3,"class"]],template:function(n,o){n&1&&(c(0,"div")(1,"header",0)(2,"h1",1),p(3,"Textos \u2014 p, label, span\u2026"),d(),c(4,"p",2),p(5," Tags de texto inline e de bloco estilizadas com as classes utilit\xE1rias do projeto. Combine "),c(6,"code"),p(7,".f-*"),d(),p(8," (tamanho), "),c(9,"code"),p(10,".font-*"),d(),p(11," (peso) e "),c(12,"code"),p(13),d(),p(14," (cor) para compor qualquer hierarquia tipogr\xE1fica. "),d()(),c(15,"section",3)(16,"h2"),p(17,"Tags e classes padr\xE3o"),d(),c(18,"table",4)(19,"thead")(20,"tr")(21,"th"),p(22,"Tag"),d(),c(23,"th"),p(24,"Classes aplicadas"),d(),c(25,"th"),p(26,"Uso recomendado"),d(),c(27,"th"),p(28,"Preview"),d()()(),c(29,"tbody"),j(30,Zge,17,4,"tr",null,Hge),d()()(),c(32,"section",3)(33,"h2"),p(34,"Tamanhos \u2014 "),c(35,"code"),p(36,".f-*"),d()(),c(37,"table",4)(38,"thead")(39,"tr")(40,"th"),p(41,"Classe"),d(),c(42,"th"),p(43,"Valor"),d(),c(44,"th"),p(45,"Uso recomendado"),d(),c(46,"th"),p(47,"Preview"),d()()(),c(48,"tbody"),j(49,Xge,12,5,"tr",null,FD),d()()(),c(51,"section",3)(52,"h2"),p(53,"Pesos \u2014 "),c(54,"code"),p(55,".font-*"),d()(),c(56,"table",4)(57,"thead")(58,"tr")(59,"th"),p(60,"Classe"),d(),c(61,"th"),p(62,"font-weight"),d(),c(63,"th"),p(64,"Uso recomendado"),d(),c(65,"th"),p(66,"Preview"),d()()(),c(67,"tbody"),j(68,$ge,12,5,"tr",null,FD),d()()(),c(70,"section",3)(71,"h2"),p(72,"Cores de texto \u2014 "),c(73,"code"),p(74),d()(),c(75,"table",4)(76,"thead")(77,"tr")(78,"th"),p(79,"Classe"),d(),c(80,"th"),p(81,"Token CSS"),d(),c(82,"th"),p(83,"Uso recomendado"),d(),c(84,"th"),p(85,"Preview"),d()()(),c(86,"tbody"),j(87,eme,12,5,"tr",null,FD),d()()(),c(89,"section",3)(90,"h2"),p(91,"Exemplo de uso"),d(),c(92,"p",5),p(93,"Resultado"),d(),c(94,"div",6)(95,"div",7)(96,"p",8),p(97,"Par\xE1grafo padr\xE3o com "),c(98,"strong",9),p(99,"negrito"),d(),p(100," e "),c(101,"em",10),p(102,"it\xE1lico"),d(),p(103,"."),d(),c(104,"label",11),p(105,"R\xF3tulo de campo"),d(),c(106,"small",12),p(107,"Texto auxiliar \u2014 \xFAltima atualiza\xE7\xE3o: hoje"),d(),c(108,"p",13),p(109,"Mensagem de erro \u2014 campo obrigat\xF3rio"),d(),c(110,"p",14),p(111,"Opera\xE7\xE3o realizada com sucesso"),d(),c(112,"p",15),p(113,"Aten\xE7\xE3o: verifique os dados antes de continuar"),d(),c(114,"code",16),p(115,".tc-btn-primary"),d()()(),c(116,"p",5),p(117,"HTML"),d(),c(118,"pre",17)(119,"code"),p(120),d()()()(),C(121,"app-mark-readme",18)),n&2&&(u(13),ms(".text-","{","cor","}","-","{","tom","}"),u(17),q(o.tags),u(19),q(o.sizes),u(19),q(o.weights),u(6),ms(".text-","{","cor","}","-","{","tom","}"),u(13),q(o.colors),u(33),U(o.codeExample),u(),A("componentName","tcloud-ui-tc-text"))},dependencies:[V],styles:[".preview-stack[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px}.preview-reset[_ngcontent-%COMP%]{margin:0}.preview-code[_ngcontent-%COMP%]{background:var(--c-neutral-100);border:1px solid var(--c-neutral-200);border-radius:4px;padding:2px 6px;font-family:Cascadia Code,Fira Code,monospace}.doc-table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse;font-size:.9rem}.doc-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;padding:10px 12px;background:var(--c-neutral-100);border:1px solid var(--c-neutral-200);font-weight:600;color:var(--c-neutral-600)}.doc-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:10px 12px;border:1px solid var(--c-neutral-200);color:var(--c-neutral-500);vertical-align:middle}.doc-code[_ngcontent-%COMP%]{background:#1e1e2e;color:#cdd6f4;padding:16px 20px;border-radius:8px;font-size:.875rem;line-height:1.6;overflow-x:auto;margin:0}.doc-code[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-family:Cascadia Code,Fira Code,monospace}"]})}}return e})()});var r4,a4=_(()=>{me();he();w();r4=(()=>{class e{constructor(){}ngOnInit(){}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=I({type:e,selectors:[["app-ui-carousel"]],decls:6,vars:9,consts:[[1,"carousel-wrapper"],[3,"autoplay-delay","gap","hideScrollbar","pagination-clickable","loop","speed","navigation","pagination"],["src","https://ateleia-email.s3.sa-east-1.amazonaws.com/banner_default.png"],["src","https://ateleia-email.s3.sa-east-1.amazonaws.com/banner_vortex.png"],["src","https://ateleia-email.s3.sa-east-1.amazonaws.com/banner-prime.png"],[3,"componentName"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"tcloud-ui-carousel",1),C(2,"img",2)(3,"img",3)(4,"img",4),d()(),C(5,"app-mark-readme",5)),n&2&&(u(),A("autoplay-delay",8e3)("gap","10px")("hideScrollbar",!0)("pagination-clickable",!1)("loop",!0)("speed",1e3)("navigation",!0)("pagination",!0),u(4),A("componentName","tcloud-ui-carousel"))},dependencies:[fv,V],styles:[".carousel-wrapper[_ngcontent-%COMP%]{width:80%;margin:0 auto}"]})}}return e})()});var Rp,LD=_(()=>{w();Rp=(()=>{class e{constructor(){this.name="new-tcloud-theme"}getName(){return`${this.name}`}setName(t){this.name=t}setLayout(t){this.setLocalStorage(t)}getCurrentLayout(){return localStorage.getItem("tcloud-ui-layout")||"classic"}setLocalStorage(t){localStorage.setItem("tcloud-ui-layout",t)}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})()});function ime(e,i){if(e&1){let t=L();c(0,"div",3)(1,"select",9),ae("ngModelChange",function(o){y(t);let r=f();return oe(r.options.layoutName,o)||(r.options.layoutName=o),B(o)}),D("change",function(){y(t);let o=f();return B(o.toTheme())}),c(2,"option",10),p(3," Classic "),d(),c(4,"option",11),p(5," Modern "),d()(),c(6,"select",9),ae("ngModelChange",function(o){y(t);let r=f();return oe(r.options.typeName,o)||(r.options.typeName=o),B(o)}),D("change",function(){y(t);let o=f();return B(o.toTheme())}),c(7,"option",12),p(8," Standard "),d(),c(9,"option",13),p(10," Prime "),d()(),c(11,"select",14,1),D("change",function(){y(t);let o=We(12),r=f();return B(r.setDark(o.value))}),c(13,"option",15),p(14," Light "),d(),c(15,"option",16),p(16," Dark "),d()()()}if(e&2){let t=f();u(),re("ngModel",t.options.layoutName),u(5),re("ngModel",t.options.typeName)}}function ome(e,i){}function rme(e,i){e&1&&(c(0,"div"),p(1,"T-Cloud UI"),d())}var nme,Fc,ame,s4,l4=_(()=>{w();me();zV();XV();eK();nK();oK();aK();lK();dK();pK();mK();hK();fK();_K();SK();bK();DK();yK();RK();xK();kK();FK();UK();GK();HK();KK();WK();qK();ZK();$K();t2();i2();r2();s2();c2();u2();g2();A2();C2();E2();I2();w2();v2();M2();y2();R2();x2();Q2();L2();P2();Y2();V2();J2();j2();z2();X2();eJ();nJ();oJ();aJ();lJ();dJ();pJ();mJ();hJ();fJ();_J();SJ();bJ();DJ();TJ();BJ();OJ();NJ();QJ();LJ();PJ();VJ();ve();JJ();jJ();XJ();e4();n4();o4();a4();w();LD();ve();iC();oC();rC();AC();vC();nme=["content"];Fc=class{constructor(){this.selectLayout=!0,this.layoutName="modern",this.typeName="standard"}},ame={"app-ui-modal":qV,"app-ui-popover":ZV,"app-ui-card":F2,"app-ui-card-accordion":U2,"app-ui-card-title":G2,"app-ui-calendar":H2,"app-ui-dropdown":K2,"app-ui-dropdown-multi":W2,"app-ui-dropdown-multi-level":q2,"app-ui-empty-content":Z2,"app-ui-faq":$2,"app-ui-message":tJ,"app-ui-skeleton-loading":iJ,"app-ui-slide-toggle":rJ,"app-ui-tab-group":cJ,"app-ui-tag":uJ,"app-ui-container":AJ,"app-ui-tab-menu":$V,"app-ui-linha-logo":tK,"app-ui-line-step-circle":iK,"app-ui-tooltip":cK,"app-ui-toast":gJ,"app-ui-multi-select":rK,"app-ui-data-list":sK,"app-ui-multi-input":uK,"app-ui-choice-issues":gK,"app-ui-loading-transitions":AK,"app-ui-search-in-object":CK,"app-ui-input-search":EK,"app-ui-input-container":IK,"app-ui-not-found":wK,"app-ui-table":vK,"app-ui-carousel":r4,"app-ui-number-step":TK,"app-ui-scroll-box":BK,"app-ui-filters":OK,"app-ui-accordion":NK,"app-ui-hover-parent":QK,"app-ui-datepicker":LK,"app-ui-datepicker-time":PK,"app-ui-dialog":YK,"app-ui-multiples-values":VK,"app-ui-welcome":JK,"app-ui-array-to-text":jK,"app-ui-bytes":zK,"app-ui-cnpj":XK,"app-ui-cpf":e2,"app-ui-datebr":n2,"app-ui-monthname":o2,"app-ui-respective":a2,"app-ui-statusinfo":l2,"app-ui-topology":d2,"app-ui-actions":p2,"app-ui-input-password":m2,"app-ui-el-copy":h2,"app-ui-progress-bar":f2,"app-ui-progress-status-bar":_2,"app-ui-currency":S2,"app-ui-loading":b2,"app-ui-mark-readme":D2,"app-ui-reorder-items":T2,"app-ui-label-token":B2,"app-ui-line-step-title":O2,"app-ui-pagination":k2,"app-ui-wizard-steps":sJ,"app-ui-breadcrumb":CJ,"app-ui-radio":EJ,"app-ui-icon-button":IJ,"app-ui-search-input":wJ,"app-ui-tcloud-form":vJ,"app-ui-alert-banner":MJ,"app-ui-filter-bar":yJ,"app-ui-legend":RJ,"app-ui-search-bar":xJ,"app-ui-upload-area":kJ,"app-ui-editor":FJ,"app-ui-editor-diff":UJ,"app-tc-colors":KJ,"app-tc-badge":WJ,"app-tc-btn":ZJ,"app-tc-form-control":$J,"app-tc-title":t4,"app-tc-text":i4},s4=(()=>{class e{set options(t){if(typeof t=="string")try{this._options=K(K({},new Fc),JSON.parse(t))}catch(n){this._options=new Fc}else this._options=K(K({},new Fc),t||{})}get options(){return this._options}constructor(t){this._layoutService=t,this.submenuExpanded=!0,this.title="tcloud-ui",this.page="tcloud-ui",this.deviceType="mobile",this.boxDeviceVisible=!0,this.tab="",this.loading=!1,this._options=new Fc}ngAfterViewInit(){setTimeout(()=>{this.toTheme()})}setTab(t){this.loading=!0,this.tab=t,console.log("setTab",this.tab),this.lazyComponent(t)}lazyComponent(t){return He(this,null,function*(){this.content&&this.content.clear(),setTimeout(()=>{let n=ame[t];if(n&&this.content)try{this.content.createComponent(n)}catch(o){console.log("Erro createComponent",o)}setTimeout(()=>{this.loading=!1},200)})})}toTheme(){this.options.layoutName==="classic"&&(this.options.typeName==="prime"&&this.setTheme("tc-prime"),this.options.typeName==="standard"&&this.setTheme("tc-standard")),this.options.layoutName==="modern"&&(this.options.typeName==="prime"&&this.setTheme("tc-prime-modern"),this.options.typeName==="standard"&&this.setTheme("tc-standard-modern"))}setDark(t){var n=document.body;t==="dark"?n.classList.add("tc-dark"):n.classList.remove("tc-dark")}setTheme(t){var n=document.body;let o=this._layoutService.getCurrentLayout(),r="classic";switch(t){case"tc-prime":n.classList.add("tc-prime"),n.classList.remove("tc-standard","tc-standard-modern","tc-prime-modern");break;case"tc-prime-modern":r="modern",n.classList.add("tc-prime-modern"),n.classList.remove("tc-standard","tc-prime","tc-standard-modern");break;case"tc-standard-modern":r="modern",n.classList.add("tc-standard-modern"),n.classList.remove("tc-standard","tc-prime","tc-prime-modern");break;default:n.classList.add("tc-standard"),n.classList.remove("tc-prime","tc-standard-modern","tc-prime-modern");break}this._layoutService.setLayout(r),this.loading=!0,setTimeout(()=>{this.setTab(this.tab)},300)}navigateRevitalization(){this.page="tcloud-ui-rev"}navigateTCloudUi(){this.page="tcloud-ui"}onDeviceTypeChange(t){let o=t.target.value;o!==this.deviceType&&(this.deviceType=o,this.boxDeviceVisible=!1,setTimeout(()=>this.boxDeviceVisible=!0,0))}static{this.\u0275fac=function(n){return new(n||e)(P(Rp))}}static{this.\u0275cmp=I({type:e,selectors:[["app-root"]],viewQuery:function(n,o){if(n&1&&It(nme,5,Ri),n&2){let r;pt(r=gt())&&(o.content=r.first)}},inputs:{options:"options"},decls:17,vars:25,consts:[["content",""],["_TemaDark",""],["id","tcloud-ui-body"],[1,"mt-2","mb-4"],[3,"expanded"],[3,"fixed"],[3,"onSubMenuExpandChange"],[3,"tabChange","title","icon","tab","view"],[1,"mb-3","text-uppercase","text-neutral-700"],[3,"ngModelChange","change","ngModel"],["value","classic"],["value","modern"],["value","standard"],["value","prime"],[3,"change"],["value","light"],["value","dark"]],template:function(n,o){n&1&&(c(0,"div",2),b(1,ime,17,2,"div",3),c(2,"tcloud-ui-container",4)(3,"tcloud-ui-container-col",5)(4,"tcloud-ui-sub-navbar",6),D("onSubMenuExpandChange",function(a){return o.submenuExpanded=a}),c(5,"app-developer-menu",7),D("tabChange",function(a){return o.setTab(a)}),d(),c(6,"app-developer-menu",7),D("tabChange",function(a){return o.setTab(a)}),d(),c(7,"app-developer-menu",7),D("tabChange",function(a){return o.setTab(a)}),d(),c(8,"app-developer-menu",7),D("tabChange",function(a){return o.setTab(a)}),d(),c(9,"app-developer-menu",7),D("tabChange",function(a){return o.setTab(a)}),d()()(),c(10,"tcloud-ui-container-content")(11,"h4",8),p(12),d(),c(13,"tcloud-ui-card"),Yt(14,ome,0,0,"ng-template",null,0,Qn),b(16,rme,2,0,"div"),d()()()()),n&2&&(u(),v(o.options.selectLayout?1:-1),u(),A("expanded",o.submenuExpanded),u(),A("fixed",!0),u(2),A("title","Layout")("icon","fa-solid fa-border-top-left")("tab",o.tab)("view","layout"),u(),A("title","Diretivas")("icon","fa-solid fa-sliders")("tab",o.tab)("view","directive"),u(),A("title","Componentes")("icon","fa-solid fa-boxes-stacked")("tab",o.tab)("view","component"),u(),A("title","Pipes")("icon","fa-solid fa-puzzle-piece")("tab",o.tab)("view","pipe"),u(),A("title","Typography")("icon","fa-solid fa-spell-check")("tab",o.tab)("view","typography"),u(3),G(" v7.0.7 ",o.tab?o.tab.replace("app-","tcloud-"):"T-Cloud UI"," "),u(4),v(o.tab===""?16:-1))},dependencies:[we,Jn,Wn,gi,Fe,je,Qc,dp,up,pp,Mc,yc,HJ],encapsulation:2})}}return e})()});var UD,c4=_(()=>{w();UD=(()=>{class e{getCurrentEnv(){return{currentCloudID:{cloud_id:""},ui:[],feature_flags:[],feature_flags_topology:[]}}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})()});var PD,d4=_(()=>{w();PD=(()=>{class e{getLocale(){return"pt-BR"}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})()});var lme=k(u4=>{bA();fx();CN();w();ve();qn();Zu();l4();me();me();c4();LD();d4();var sme={data:{},services:{userService:UD,localeService:PD,layoutService:Rp}};He(null,null,function*(){let e=yield fI({providers:[SO(),hN(),nw([]),zu(),uV(sme),Lg(we,kt,WV),UD,PD,Rp]}),i=Cx(s4,{injector:e.injector});customElements.define("tcloud-ui-app",i)})});export default lme();
240
+ <code class="f-14 font-regular text-primary-500">.classe-exemplo</code>`}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=I({type:e,selectors:[["app-tc-text"]],decls:122,vars:10,consts:[[1,"doc-page__header"],[1,"doc-page__title"],[1,"doc-page__description"],[1,"doc-page__section"],[1,"doc-table"],[1,"doc-page__label"],[1,"doc-page__preview"],[1,"preview-stack"],[1,"f-16","font-regular","text-neutral-700"],[1,"font-bold"],[1,"font-regular","text-neutral-500"],[1,"f-14","font-semibold","text-neutral-700"],[1,"f-12","font-regular","text-neutral-500"],[1,"f-16","font-regular","text-danger-500"],[1,"f-16","font-regular","text-success-500"],[1,"f-16","font-regular","text-alert-500"],[1,"f-14","font-regular","text-primary-500","preview-code"],[1,"doc-code"],[3,"componentName"],[3,"class"]],template:function(n,o){n&1&&(c(0,"div")(1,"header",0)(2,"h1",1),p(3,"Textos \u2014 p, label, span\u2026"),d(),c(4,"p",2),p(5," Tags de texto inline e de bloco estilizadas com as classes utilit\xE1rias do projeto. Combine "),c(6,"code"),p(7,".f-*"),d(),p(8," (tamanho), "),c(9,"code"),p(10,".font-*"),d(),p(11," (peso) e "),c(12,"code"),p(13),d(),p(14," (cor) para compor qualquer hierarquia tipogr\xE1fica. "),d()(),c(15,"section",3)(16,"h2"),p(17,"Tags e classes padr\xE3o"),d(),c(18,"table",4)(19,"thead")(20,"tr")(21,"th"),p(22,"Tag"),d(),c(23,"th"),p(24,"Classes aplicadas"),d(),c(25,"th"),p(26,"Uso recomendado"),d(),c(27,"th"),p(28,"Preview"),d()()(),c(29,"tbody"),j(30,Zge,17,4,"tr",null,Hge),d()()(),c(32,"section",3)(33,"h2"),p(34,"Tamanhos \u2014 "),c(35,"code"),p(36,".f-*"),d()(),c(37,"table",4)(38,"thead")(39,"tr")(40,"th"),p(41,"Classe"),d(),c(42,"th"),p(43,"Valor"),d(),c(44,"th"),p(45,"Uso recomendado"),d(),c(46,"th"),p(47,"Preview"),d()()(),c(48,"tbody"),j(49,Xge,12,5,"tr",null,FD),d()()(),c(51,"section",3)(52,"h2"),p(53,"Pesos \u2014 "),c(54,"code"),p(55,".font-*"),d()(),c(56,"table",4)(57,"thead")(58,"tr")(59,"th"),p(60,"Classe"),d(),c(61,"th"),p(62,"font-weight"),d(),c(63,"th"),p(64,"Uso recomendado"),d(),c(65,"th"),p(66,"Preview"),d()()(),c(67,"tbody"),j(68,$ge,12,5,"tr",null,FD),d()()(),c(70,"section",3)(71,"h2"),p(72,"Cores de texto \u2014 "),c(73,"code"),p(74),d()(),c(75,"table",4)(76,"thead")(77,"tr")(78,"th"),p(79,"Classe"),d(),c(80,"th"),p(81,"Token CSS"),d(),c(82,"th"),p(83,"Uso recomendado"),d(),c(84,"th"),p(85,"Preview"),d()()(),c(86,"tbody"),j(87,eme,12,5,"tr",null,FD),d()()(),c(89,"section",3)(90,"h2"),p(91,"Exemplo de uso"),d(),c(92,"p",5),p(93,"Resultado"),d(),c(94,"div",6)(95,"div",7)(96,"p",8),p(97,"Par\xE1grafo padr\xE3o com "),c(98,"strong",9),p(99,"negrito"),d(),p(100," e "),c(101,"em",10),p(102,"it\xE1lico"),d(),p(103,"."),d(),c(104,"label",11),p(105,"R\xF3tulo de campo"),d(),c(106,"small",12),p(107,"Texto auxiliar \u2014 \xFAltima atualiza\xE7\xE3o: hoje"),d(),c(108,"p",13),p(109,"Mensagem de erro \u2014 campo obrigat\xF3rio"),d(),c(110,"p",14),p(111,"Opera\xE7\xE3o realizada com sucesso"),d(),c(112,"p",15),p(113,"Aten\xE7\xE3o: verifique os dados antes de continuar"),d(),c(114,"code",16),p(115,".tc-btn-primary"),d()()(),c(116,"p",5),p(117,"HTML"),d(),c(118,"pre",17)(119,"code"),p(120),d()()()(),C(121,"app-mark-readme",18)),n&2&&(u(13),ms(".text-","{","cor","}","-","{","tom","}"),u(17),q(o.tags),u(19),q(o.sizes),u(19),q(o.weights),u(6),ms(".text-","{","cor","}","-","{","tom","}"),u(13),q(o.colors),u(33),U(o.codeExample),u(),A("componentName","tcloud-ui-tc-text"))},dependencies:[V],styles:[".preview-stack[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px}.preview-reset[_ngcontent-%COMP%]{margin:0}.preview-code[_ngcontent-%COMP%]{background:var(--c-neutral-100);border:1px solid var(--c-neutral-200);border-radius:4px;padding:2px 6px;font-family:Cascadia Code,Fira Code,monospace}.doc-table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse;font-size:.9rem}.doc-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;padding:10px 12px;background:var(--c-neutral-100);border:1px solid var(--c-neutral-200);font-weight:600;color:var(--c-neutral-600)}.doc-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:10px 12px;border:1px solid var(--c-neutral-200);color:var(--c-neutral-500);vertical-align:middle}.doc-code[_ngcontent-%COMP%]{background:#1e1e2e;color:#cdd6f4;padding:16px 20px;border-radius:8px;font-size:.875rem;line-height:1.6;overflow-x:auto;margin:0}.doc-code[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-family:Cascadia Code,Fira Code,monospace}"]})}}return e})()});var r4,a4=_(()=>{me();he();w();r4=(()=>{class e{constructor(){}ngOnInit(){}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=I({type:e,selectors:[["app-ui-carousel"]],decls:6,vars:9,consts:[[1,"carousel-wrapper"],[3,"autoplay-delay","gap","hideScrollbar","pagination-clickable","loop","speed","navigation","pagination"],["src","https://ateleia-email.s3.sa-east-1.amazonaws.com/banner_default.png"],["src","https://ateleia-email.s3.sa-east-1.amazonaws.com/banner_vortex.png"],["src","https://ateleia-email.s3.sa-east-1.amazonaws.com/banner-prime.png"],[3,"componentName"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"tcloud-ui-carousel",1),C(2,"img",2)(3,"img",3)(4,"img",4),d()(),C(5,"app-mark-readme",5)),n&2&&(u(),A("autoplay-delay",8e3)("gap","10px")("hideScrollbar",!0)("pagination-clickable",!1)("loop",!0)("speed",1e3)("navigation",!0)("pagination",!0),u(4),A("componentName","tcloud-ui-carousel"))},dependencies:[fv,V],styles:[".carousel-wrapper[_ngcontent-%COMP%]{width:80%;margin:0 auto}"]})}}return e})()});var Rp,LD=_(()=>{w();Rp=(()=>{class e{constructor(){this.name="new-tcloud-theme"}getName(){return`${this.name}`}setName(t){this.name=t}setLayout(t){this.setLocalStorage(t)}getCurrentLayout(){return localStorage.getItem("tcloud-ui-layout")||"classic"}setLocalStorage(t){localStorage.setItem("tcloud-ui-layout",t)}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})()});function ime(e,i){if(e&1){let t=L();c(0,"div",3)(1,"select",9),ae("ngModelChange",function(o){y(t);let r=f();return oe(r.options.layoutName,o)||(r.options.layoutName=o),B(o)}),D("change",function(){y(t);let o=f();return B(o.toTheme())}),c(2,"option",10),p(3," Classic "),d(),c(4,"option",11),p(5," Modern "),d()(),c(6,"select",9),ae("ngModelChange",function(o){y(t);let r=f();return oe(r.options.typeName,o)||(r.options.typeName=o),B(o)}),D("change",function(){y(t);let o=f();return B(o.toTheme())}),c(7,"option",12),p(8," Standard "),d(),c(9,"option",13),p(10," Prime "),d()(),c(11,"select",14,1),D("change",function(){y(t);let o=We(12),r=f();return B(r.setDark(o.value))}),c(13,"option",15),p(14," Light "),d(),c(15,"option",16),p(16," Dark "),d()()()}if(e&2){let t=f();u(),re("ngModel",t.options.layoutName),u(5),re("ngModel",t.options.typeName)}}function ome(e,i){}function rme(e,i){e&1&&(c(0,"div"),p(1,"T-Cloud UI"),d())}var nme,Fc,ame,s4,l4=_(()=>{w();me();zV();XV();eK();nK();oK();aK();lK();dK();pK();mK();hK();fK();_K();SK();bK();DK();yK();RK();xK();kK();FK();UK();GK();HK();KK();WK();qK();ZK();$K();t2();i2();r2();s2();c2();u2();g2();A2();C2();E2();I2();w2();v2();M2();y2();R2();x2();Q2();L2();P2();Y2();V2();J2();j2();z2();X2();eJ();nJ();oJ();aJ();lJ();dJ();pJ();mJ();hJ();fJ();_J();SJ();bJ();DJ();TJ();BJ();OJ();NJ();QJ();LJ();PJ();VJ();ve();JJ();jJ();XJ();e4();n4();o4();a4();w();LD();ve();iC();oC();rC();AC();vC();nme=["content"];Fc=class{constructor(){this.selectLayout=!0,this.layoutName="modern",this.typeName="standard"}},ame={"app-ui-modal":qV,"app-ui-popover":ZV,"app-ui-card":F2,"app-ui-card-accordion":U2,"app-ui-card-title":G2,"app-ui-calendar":H2,"app-ui-dropdown":K2,"app-ui-dropdown-multi":W2,"app-ui-dropdown-multi-level":q2,"app-ui-empty-content":Z2,"app-ui-faq":$2,"app-ui-message":tJ,"app-ui-skeleton-loading":iJ,"app-ui-slide-toggle":rJ,"app-ui-tab-group":cJ,"app-ui-tag":uJ,"app-ui-container":AJ,"app-ui-tab-menu":$V,"app-ui-linha-logo":tK,"app-ui-line-step-circle":iK,"app-ui-tooltip":cK,"app-ui-toast":gJ,"app-ui-multi-select":rK,"app-ui-data-list":sK,"app-ui-multi-input":uK,"app-ui-choice-issues":gK,"app-ui-loading-transitions":AK,"app-ui-search-in-object":CK,"app-ui-input-search":EK,"app-ui-input-container":IK,"app-ui-not-found":wK,"app-ui-table":vK,"app-ui-carousel":r4,"app-ui-number-step":TK,"app-ui-scroll-box":BK,"app-ui-filters":OK,"app-ui-accordion":NK,"app-ui-hover-parent":QK,"app-ui-datepicker":LK,"app-ui-datepicker-time":PK,"app-ui-dialog":YK,"app-ui-multiples-values":VK,"app-ui-welcome":JK,"app-ui-array-to-text":jK,"app-ui-bytes":zK,"app-ui-cnpj":XK,"app-ui-cpf":e2,"app-ui-datebr":n2,"app-ui-monthname":o2,"app-ui-respective":a2,"app-ui-statusinfo":l2,"app-ui-topology":d2,"app-ui-actions":p2,"app-ui-input-password":m2,"app-ui-el-copy":h2,"app-ui-progress-bar":f2,"app-ui-progress-status-bar":_2,"app-ui-currency":S2,"app-ui-loading":b2,"app-ui-mark-readme":D2,"app-ui-reorder-items":T2,"app-ui-label-token":B2,"app-ui-line-step-title":O2,"app-ui-pagination":k2,"app-ui-wizard-steps":sJ,"app-ui-breadcrumb":CJ,"app-ui-radio":EJ,"app-ui-icon-button":IJ,"app-ui-search-input":wJ,"app-ui-tcloud-form":vJ,"app-ui-alert-banner":MJ,"app-ui-filter-bar":yJ,"app-ui-legend":RJ,"app-ui-search-bar":xJ,"app-ui-upload-area":kJ,"app-ui-editor":FJ,"app-ui-editor-diff":UJ,"app-tc-colors":KJ,"app-tc-badge":WJ,"app-tc-btn":ZJ,"app-tc-form-control":$J,"app-tc-title":t4,"app-tc-text":i4},s4=(()=>{class e{set options(t){if(typeof t=="string")try{this._options=K(K({},new Fc),JSON.parse(t))}catch(n){this._options=new Fc}else this._options=K(K({},new Fc),t||{})}get options(){return this._options}constructor(t){this._layoutService=t,this.submenuExpanded=!0,this.title="tcloud-ui",this.page="tcloud-ui",this.deviceType="mobile",this.boxDeviceVisible=!0,this.tab="",this.loading=!1,this._options=new Fc}ngAfterViewInit(){setTimeout(()=>{this.toTheme()})}setTab(t){this.loading=!0,this.tab=t,console.log("setTab",this.tab),this.lazyComponent(t)}lazyComponent(t){return He(this,null,function*(){this.content&&this.content.clear(),setTimeout(()=>{let n=ame[t];if(n&&this.content)try{this.content.createComponent(n)}catch(o){console.log("Erro createComponent",o)}setTimeout(()=>{this.loading=!1},200)})})}toTheme(){this.options.layoutName==="classic"&&(this.options.typeName==="prime"&&this.setTheme("tc-prime"),this.options.typeName==="standard"&&this.setTheme("tc-standard")),this.options.layoutName==="modern"&&(this.options.typeName==="prime"&&this.setTheme("tc-prime-modern"),this.options.typeName==="standard"&&this.setTheme("tc-standard-modern"))}setDark(t){var n=document.body;t==="dark"?n.classList.add("tc-dark"):n.classList.remove("tc-dark")}setTheme(t){var n=document.body;let o=this._layoutService.getCurrentLayout(),r="classic";switch(t){case"tc-prime":n.classList.add("tc-prime"),n.classList.remove("tc-standard","tc-standard-modern","tc-prime-modern");break;case"tc-prime-modern":r="modern",n.classList.add("tc-prime-modern"),n.classList.remove("tc-standard","tc-prime","tc-standard-modern");break;case"tc-standard-modern":r="modern",n.classList.add("tc-standard-modern"),n.classList.remove("tc-standard","tc-prime","tc-prime-modern");break;default:n.classList.add("tc-standard"),n.classList.remove("tc-prime","tc-standard-modern","tc-prime-modern");break}this._layoutService.setLayout(r),this.loading=!0,setTimeout(()=>{this.setTab(this.tab)},300)}navigateRevitalization(){this.page="tcloud-ui-rev"}navigateTCloudUi(){this.page="tcloud-ui"}onDeviceTypeChange(t){let o=t.target.value;o!==this.deviceType&&(this.deviceType=o,this.boxDeviceVisible=!1,setTimeout(()=>this.boxDeviceVisible=!0,0))}static{this.\u0275fac=function(n){return new(n||e)(P(Rp))}}static{this.\u0275cmp=I({type:e,selectors:[["app-root"]],viewQuery:function(n,o){if(n&1&&It(nme,5,Ri),n&2){let r;pt(r=gt())&&(o.content=r.first)}},inputs:{options:"options"},decls:17,vars:25,consts:[["content",""],["_TemaDark",""],["id","tcloud-ui-body"],[1,"mt-2","mb-4"],[3,"expanded"],[3,"fixed"],[3,"onSubMenuExpandChange"],[3,"tabChange","title","icon","tab","view"],[1,"mb-3","text-uppercase","text-neutral-700"],[3,"ngModelChange","change","ngModel"],["value","classic"],["value","modern"],["value","standard"],["value","prime"],[3,"change"],["value","light"],["value","dark"]],template:function(n,o){n&1&&(c(0,"div",2),b(1,ime,17,2,"div",3),c(2,"tcloud-ui-container",4)(3,"tcloud-ui-container-col",5)(4,"tcloud-ui-sub-navbar",6),D("onSubMenuExpandChange",function(a){return o.submenuExpanded=a}),c(5,"app-developer-menu",7),D("tabChange",function(a){return o.setTab(a)}),d(),c(6,"app-developer-menu",7),D("tabChange",function(a){return o.setTab(a)}),d(),c(7,"app-developer-menu",7),D("tabChange",function(a){return o.setTab(a)}),d(),c(8,"app-developer-menu",7),D("tabChange",function(a){return o.setTab(a)}),d(),c(9,"app-developer-menu",7),D("tabChange",function(a){return o.setTab(a)}),d()()(),c(10,"tcloud-ui-container-content")(11,"h4",8),p(12),d(),c(13,"tcloud-ui-card"),Yt(14,ome,0,0,"ng-template",null,0,Qn),b(16,rme,2,0,"div"),d()()()()),n&2&&(u(),v(o.options.selectLayout?1:-1),u(),A("expanded",o.submenuExpanded),u(),A("fixed",!0),u(2),A("title","Layout")("icon","fa-solid fa-border-top-left")("tab",o.tab)("view","layout"),u(),A("title","Diretivas")("icon","fa-solid fa-sliders")("tab",o.tab)("view","directive"),u(),A("title","Componentes")("icon","fa-solid fa-boxes-stacked")("tab",o.tab)("view","component"),u(),A("title","Pipes")("icon","fa-solid fa-puzzle-piece")("tab",o.tab)("view","pipe"),u(),A("title","Typography")("icon","fa-solid fa-spell-check")("tab",o.tab)("view","typography"),u(3),G(" v7.0.8 ",o.tab?o.tab.replace("app-","tcloud-"):"T-Cloud UI"," "),u(4),v(o.tab===""?16:-1))},dependencies:[we,Jn,Wn,gi,Fe,je,Qc,dp,up,pp,Mc,yc,HJ],encapsulation:2})}}return e})()});var UD,c4=_(()=>{w();UD=(()=>{class e{getCurrentEnv(){return{currentCloudID:{cloud_id:""},ui:[],feature_flags:[],feature_flags_topology:[]}}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})()});var PD,d4=_(()=>{w();PD=(()=>{class e{getLocale(){return"pt-BR"}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})()});var lme=k(u4=>{bA();fx();CN();w();ve();qn();Zu();l4();me();me();c4();LD();d4();var sme={data:{},services:{userService:UD,localeService:PD,layoutService:Rp}};He(null,null,function*(){let e=yield fI({providers:[SO(),hN(),nw([]),zu(),uV(sme),Lg(we,kt,WV),UD,PD,Rp]}),i=Cx(s4,{injector:e.injector});customElements.define("tcloud-ui-app",i)})});export default lme();
237
241
 
238
242
 
239
243
  (function() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-tcloud/tcloud-ui",
3
- "version": "7.0.7",
3
+ "version": "7.0.8",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^21.0.0",
6
6
  "@angular/common": "^21.0.0",