/*! For license information please see vendor.6ccd93a49e323312e666.js.LICENSE.txt */ (self.webpackChunkamplifund=self.webpackChunkamplifund||[]).push([[4121],{55655:(e,t,n)=>{"use strict";n.d(t,{A:()=>re});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?c(w,--y):0,g--,10===b&&(g=1,m--),b}function E(){return b=y2||D(b)>3?"":" "}function O(e,t){for(;--t&&E()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return _(e,T()+(t<6&&32==k()&&32==E()))}function I(e){for(;E();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&I(b);break;case 40:41===e&&I(e);break;case 92:E()}return y}function N(e,t){for(;E()&&e+b!==57&&(e+b!==84||47!==k()););return"/*"+_(t,y-1)+"*"+o(47===e?e:E())}function L(e){for(;!D(k());)E();return _(e,y)}var F="-ms-",j="-moz-",z="-webkit-",H="comm",V="rule",B="decl",U="@keyframes";function W(e,t){for(var n="",r=p(e),i=0;i0&&f(j)-v&&h(b>32?Z(j+";",r,n,v-1):Z(l(j," ","")+";",r,n,v-2),p);break;case 59:j+=";";default:if(h(F=G(j,t,n,m,g,i,d,A,M=[],I=[],v),a),123===D)if(0===g)Y(j,t,F,F,M,a,v,d,I);else switch(99===y&&110===c(j,3)?100:y){case 100:case 108:case 109:case 115:Y(e,F,F,r&&h(G(e,F,F,0,0,i,d,A,i,M=[],v),I),i,I,v,d,r?M:I);break;default:Y(j,F,F,F,[""],I,0,d,I)}}m=g=b=0,S=_=1,A=j="",v=s;break;case 58:v=1+f(j),b=w;default:if(S<1)if(123==D)--S;else if(125==D&&0==S++&&125==C())continue;switch(j+=o(D),D*S){case 38:_=g>0?1:(j+="\f",-1);break;case 44:d[m++]=(f(j)-1)*_,_=1;break;case 64:45===k()&&(j+=R(E())),y=k(),g=v=f(A=j+=L(T())),D++;break;case 45:45===w&&2==f(j)&&(S=0)}}return a}function G(e,t,n,r,o,a,u,c,f,h,m){for(var g=o-1,v=0===o?a:[""],y=p(v),b=0,w=0,x=0;b0?v[C]+" "+E:l(E,/&\f/g,v[C])))&&(f[x++]=k);return S(e,t,n,0===o?V:c,f,h,m)}function X(e,t,n){return S(e,t,n,H,o(b),d(e,2,-2),0)}function Z(e,t,n,r){return S(e,t,n,B,d(e,0,r),d(e,r+1,-1),r)}var K=function(e,t,n){for(var r=0,i=0;r=i,i=k(),38===r&&12===i&&(t[n]=1),!D(i);)E();return _(e,y)},Q=new WeakMap,J=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Q.get(n))&&!r){Q.set(e,!0);for(var i=[],a=function(e,t){return M(function(e,t){var n=-1,r=44;do{switch(D(r)){case 0:38===r&&12===k()&&(t[n]=1),e[n]+=K(y-1,t,n);break;case 2:e[n]+=R(r);break;case 4:if(44===r){e[++n]=58===k()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=o(r)}}while(r=E());return e}(A(e),t))}(t,i),s=n.props,l=0,u=0;l6)switch(c(e,t+1)){case 109:if(45!==c(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+z+"$2-$3$1"+j+(108==c(e,t+3)?"$3":"$2-$3"))+e;case 115:return~u(e,"stretch")?te(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==c(e,t+1))break;case 6444:switch(c(e,f(e)-3-(~u(e,"!important")&&10))){case 107:return l(e,":",":"+z)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+z+(45===c(e,14)?"inline-":"")+"box$3$1"+z+"$2$3$1"+F+"$2box$3")+e}break;case 5936:switch(c(e,t+11)){case 114:return z+e+F+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return z+e+F+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return z+e+F+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return z+e+F+e+e}return e}var ne=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case B:e.return=te(e.value,e.length);break;case U:return W([x(e,{value:l(e.value,"@","@"+z)})],r);case V:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return W([x(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return W([x(e,{props:[l(t,/:(plac\w+)/,":"+z+"input-$1")]}),x(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),x(e,{props:[l(t,/:(plac\w+)/,F+"input-$1")]})],r)}return""}))}}],re=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var i,o,a=e.stylisPlugins||ne,s={},l=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n{"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{A:()=>r})},99214:(e,t,n)=>{"use strict";n.d(t,{T:()=>s,w:()=>a});var r=n(96540),i=n(55655),o=(n(43174),n(71287),r.createContext("undefined"!=typeof HTMLElement?(0,i.A)({key:"css"}):null)),a=(o.Provider,function(e){return(0,r.forwardRef)((function(t,n){var i=(0,r.useContext)(o);return e(t,i,n)}))}),s=r.createContext({})},17437:(e,t,n)=>{"use strict";n.d(t,{AH:()=>u,i7:()=>c,mL:()=>l});var r=n(99214),i=n(96540),o=n(30041),a=n(71287),s=n(43174),l=(n(55655),n(4146),(0,r.w)((function(e,t){var n=e.styles,l=(0,s.J)([n],void 0,i.useContext(r.T)),u=i.useRef();return(0,a.i)((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,i=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==i&&(r=!0,i.setAttribute("data-emotion",e),n.hydrate([i])),u.current=[n,r],function(){n.flush()}}),[t]),(0,a.i)((function(){var e=u.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==l.next&&(0,o.sk)(t,l.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",l,n,!1)}}),[t,l.name]),null})));function u(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";n.d(t,{J:()=>g});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i=n(36289),o=!1,a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!=typeof e},c=(0,i.A)((function(e){return l(e)?e:e.replace(a,"-$&").toLowerCase()})),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,(function(e,t,n){return h={name:t,styles:n,next:h},t}))}return 1===r[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"},f="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function p(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var i=n;if(1===i.anim)return h={name:i.name,styles:i.styles,next:h},i.name;var a=n;if(void 0!==a.styles){var s=a.next;if(void 0!==s)for(;void 0!==s;)h={name:s.name,styles:s.styles,next:h},s=s.next;return a.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:u,styles:i,next:h}}},71287:(e,t,n)=>{"use strict";var r;n.d(t,{i:()=>s,s:()=>a});var i=n(96540),o=!!(r||(r=n.t(i,2))).useInsertionEffect&&(r||(r=n.t(i,2))).useInsertionEffect,a=o||function(e){return e()},s=o||i.useLayoutEffect},30041:(e,t,n)=>{"use strict";function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}n.d(t,{Rk:()=>r,SF:()=>i,sk:()=>o});var i=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},o=function(e,t,n){i(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}},21504:(e,t,n)=>{"use strict";n.d(t,{$B:()=>at,$H:()=>Yr,$U:()=>C,$W:()=>Nn,A1:()=>Wr,AF:()=>k,AV:()=>S,BN:()=>kr,B_:()=>E,Bj:()=>lt,C4:()=>v,CU:()=>Ln,Cc:()=>P,EO:()=>d,Fj:()=>Ie,H8:()=>Ke,J4:()=>B,LI:()=>ve,Lk:()=>Xe,M6:()=>j,Mm:()=>pn,Mv:()=>fe,N3:()=>Cr,N7:()=>Se,Nz:()=>p,O9:()=>L,OE:()=>an,PW:()=>Br,Qn:()=>gn,Qv:()=>T,Rj:()=>on,S$:()=>Te,SH:()=>H,Ss:()=>Nr,U6:()=>pr,VV:()=>At,Vv:()=>Ar,WD:()=>zr,Wk:()=>bn,X4:()=>wn,Xb:()=>Lr,YA:()=>g,Z3:()=>q,_8:()=>we,_n:()=>yn,bV:()=>ln,be:()=>y,cc:()=>N,cd:()=>dn,d3:()=>jr,d_:()=>Be,fc:()=>a,fh:()=>kt,fi:()=>U,gZ:()=>u,gz:()=>En,i1:()=>Tn,iD:()=>xe,im:()=>nt,j7:()=>ye,jy:()=>de,lV:()=>jt,mb:()=>ge,mp:()=>c,n:()=>o,nB:()=>me,ol:()=>G,on:()=>Pt,pY:()=>fn,pu:()=>_,q2:()=>he,qC:()=>qr,qI:()=>Er,ro:()=>ir,t7:()=>$r,tO:()=>pe,tb:()=>Ye,vF:()=>be,w1:()=>vn,wb:()=>$t,wj:()=>ot,xC:()=>ie,xU:()=>R,xe:()=>b,xi:()=>wt,z:()=>qt});var r={className:!0,colSpan:!0,rowSpan:!0},i={"=t.left&&e.left=t.top&&e.top");document.body.appendChild(e);var t=e.firstChild.getBoundingClientRect().left>e.getBoundingClientRect().left;return p(e),t}()),D&&"rtl"===n.direction?u.scrollbarLeft=l:u.scrollbarRight=l,t&&(u.paddingLeft=parseInt(n.paddingLeft,10)||0,u.paddingRight=parseInt(n.paddingRight,10)||0,u.paddingTop=parseInt(n.paddingTop,10)||0,u.paddingBottom=parseInt(n.paddingBottom,10)||0),u}function R(e,t){void 0===t&&(t=!1);var n=P(e),r=M(e,t),i={left:n.left+r.borderLeft+r.scrollbarLeft,right:n.right-r.borderRight-r.scrollbarRight,top:n.top+r.borderTop,bottom:n.bottom-r.borderBottom-r.scrollbarBottom};return t&&(i.left+=r.paddingLeft,i.right-=r.paddingRight,i.top+=r.paddingTop,i.bottom-=r.paddingBottom),i}function P(e){var t=e.getBoundingClientRect();return{left:t.left+window.pageXOffset,top:t.top+window.pageYOffset,right:t.right+window.pageXOffset,bottom:t.bottom+window.pageYOffset}}function O(e){return e.getBoundingClientRect().height+I(e)}function I(e){var t=window.getComputedStyle(e);return parseInt(t.marginTop,10)+parseInt(t.marginBottom,10)}function N(e){for(var t=[];e instanceof HTMLElement;){var n=window.getComputedStyle(e);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&t.push(e),e=e.parentNode}return t}function L(e){return N(e).map((function(e){return R(e)})).concat({left:window.pageXOffset,right:window.pageXOffset+document.documentElement.clientWidth,top:window.pageYOffset,bottom:window.pageYOffset+document.documentElement.clientHeight}).reduce((function(e,t){return E(e,t)||t}))}function F(e){e.preventDefault()}function j(e,t,n,r){function i(e){var t=g(e.target,n);t&&r.call(t,e,t)}return e.addEventListener(t,i),function(){e.removeEventListener(t,i)}}var z=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function H(e,t){var n=function(r){t(r),z.forEach((function(t){e.removeEventListener(t,n)}))};z.forEach((function(t){e.addEventListener(t,n)}))}var V=["sun","mon","tue","wed","thu","fri","sat"];function B(e,t){var n=J(e);return n[2]+=7*t,ee(n)}function U(e,t){var n=J(e);return n[2]+=t,ee(n)}function W(e,t){var n=J(e);return n[6]+=t,ee(n)}function q(e,t){return $(e,t)/7}function $(e,t){return(t.valueOf()-e.valueOf())/864e5}function Y(e,t){return ne(e)===ne(t)?Math.round($(e,t)):null}function G(e){return ee([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function X(e,t,n,r){var i=ee([t,0,1+Z(t,n,r)]),o=G(e),a=Math.round($(i,o));return Math.floor(a/7)+1}function Z(e,t,n){var r=7+t-n;return-(7+ee([e,0,r]).getUTCDay()-t)%7+r-1}function K(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function Q(e){return new Date(e[0],e[1]||0,null==e[2]?1:e[2],e[3]||0,e[4]||0,e[5]||0)}function J(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function ee(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC.apply(Date,e))}function te(e){return!isNaN(e.valueOf())}function ne(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}var re=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function ie(e,t){var n;return"string"==typeof e?function(e){var t=re.exec(e);if(t){var n=t[1]?-1:1;return{years:0,months:0,days:n*(t[2]?parseInt(t[2],10):0),milliseconds:n*(60*(t[3]?parseInt(t[3],10):0)*60*1e3+60*(t[4]?parseInt(t[4],10):0)*1e3+1e3*(t[5]?parseInt(t[5],10):0)+(t[6]?parseInt(t[6],10):0))}}return null}(e):"object"==typeof e&&e?oe(e):"number"==typeof e?oe(((n={})[t||"milliseconds"]=e,n)):null}function oe(e){return{years:e.years||e.year||0,months:e.months||e.month||0,days:(e.days||e.day||0)+7*ae(e),milliseconds:60*(e.hours||e.hour||0)*60*1e3+60*(e.minutes||e.minute||0)*1e3+1e3*(e.seconds||e.second||0)+(e.milliseconds||e.millisecond||e.ms||0)}}function ae(e){return e.weeks||e.week||0}function se(e,t){return e.years===t.years&&e.months===t.months&&e.days===t.days&&e.milliseconds===t.milliseconds}function le(e){return ue(e)/864e5}function ue(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function ce(e,t){var n=e.milliseconds;if(n){if(n%1e3!=0)return{unit:"millisecond",value:n};if(n%6e4!=0)return{unit:"second",value:n/1e3};if(n%36e5!=0)return{unit:"minute",value:n/6e4};if(n)return{unit:"hour",value:n/36e5}}return e.days?t||e.days%7!=0?{unit:"day",value:e.days}:{unit:"week",value:e.days/7}:e.months?{unit:"month",value:e.months}:e.years?{unit:"year",value:e.years}:{unit:"millisecond",value:0}}function de(e,t){t.left&&S(e,{borderLeftWidth:1,marginLeft:t.left-1}),t.right&&S(e,{borderRightWidth:1,marginRight:t.right-1})}function fe(e){S(e,{marginLeft:"",marginRight:"",borderLeftWidth:"",borderRightWidth:""})}function pe(){document.body.classList.add("fc-not-allowed")}function he(){document.body.classList.remove("fc-not-allowed")}function me(e,t,n){var r=Math.floor(t/e.length),i=Math.floor(t-r*(e.length-1)),o=[],a=[],s=[],l=0;ge(e),e.forEach((function(t,n){var u=n===e.length-1?i:r,c=t.getBoundingClientRect().height,d=c+I(t);dt&&(t=r)}})),t++,e.forEach((function(e){e.style.width=t+"px"})),t}function ye(e,t){var n={position:"relative",left:-1};S(e,n),S(t,n);var r=e.getBoundingClientRect().height-t.getBoundingClientRect().height,i={position:"",left:""};return S(e,i),S(t,i),r}function be(e){e.classList.add("fc-unselectable"),e.addEventListener("selectstart",F)}function we(e){e.classList.remove("fc-unselectable"),e.removeEventListener("selectstart",F)}function Se(e){e.addEventListener("contextmenu",F)}function xe(e){e.removeEventListener("contextmenu",F)}function Ce(e,t,n){return n.func?n.func(e,t):(r=e[n.field],i=t[n.field],(r||i?null==i?-1:null==r?1:"string"==typeof r||"string"==typeof i?String(r).localeCompare(String(i)):r-i:0)*(n.order||1));var r,i}function Ee(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ke(e,t){var n=String(e);return"000".substr(0,t-n.length)+n}function Te(e,t){return e-t}function _e(e){return e%1==0}function De(e,t,n){if("function"==typeof e&&(e=[e]),e){var r=void 0,i=void 0;for(r=0;r=ue(t)&&(r=U(r,1))}return e.start&&(n=G(e.start),r&&r<=n&&(r=U(n,1))),{start:n,end:r}}function Ie(e,t,n,r){return"year"===r?ie(n.diffWholeYears(e,t),"year"):"month"===r?ie(n.diffWholeMonths(e,t),"month"):(o=t,a=G(i=e),s=G(o),{years:0,months:0,days:Math.round($(a,s)),milliseconds:o.valueOf()-s.valueOf()-(i.valueOf()-a.valueOf())});var i,o,a,s}var Ne=function(e,t){return Ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},Ne(e,t)};function Le(e,t){function n(){this.constructor=e}Ne(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Fe=function(){return Fe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;o--)if("object"==typeof(a=e[o][r])&&a)i.unshift(a);else if(void 0!==a){l[r]=a;break}i.length&&(l[r]=He(i))}for(n=e.length-1;n>=0;n--)for(r in s=e[n])r in l||(l[r]=s[r]);return l}function Ve(e,t){var n={};for(var r in e)t(e[r],r)&&(n[r]=e[r]);return n}function Be(e,t){var n={};for(var r in e)n[r]=t(e[r],r);return n}function Ue(e){for(var t={},n=0,r=e;no&&i.push({start:o,end:r.start}),r.end>o&&(o=r.end);return ot.start)&&(null===e.start||null===t.end||e.start=e.start)&&(null===e.end||null!==t.end&&t.end<=e.end)}function at(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t1)||"numeric"!==a.year&&"2-digit"!==a.year||"numeric"!==a.month&&"2-digit"!==a.month||"numeric"!==a.day&&"2-digit"!==a.day||(u=1);var c=this.format(e,n),d=this.format(t,n);if(c===d)return c;var f=vt(function(e,t){var n={};for(var r in e)(!(r in ct)||ct[r]<=t)&&(n[r]=e[r]);return n}(a,u),s,n),p=f(e),h=f(t),m=function(e,t,n,r){for(var i=0;i/g,">").replace(/'/g,"'").replace(/"/g,""").replace(/\n/g,"
")}function $t(e){var t=[];for(var n in e){var r=e[n];null!=r&&""!==r&&t.push(n+":"+r)}return t.join(";")}function Yt(e){return Array.isArray(e)?e:"string"==typeof e?e.split(/\s+/):[]}var Gt={editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:null,overlap:null,allow:null,className:Yt,classNames:Yt,color:String,backgroundColor:String,borderColor:String,textColor:String};function Xt(e,t,n){var r=Re(e,Gt,{},n),i=function(e,t){return Array.isArray(e)?$e(e,"",t,!0):"object"==typeof e&&e?$e([e],"",t,!0):null!=e?String(e):null}(r.constraint,t);return{startEditable:null!=r.startEditable?r.startEditable:r.editable,durationEditable:null!=r.durationEditable?r.durationEditable:r.editable,constraints:null!=i?[i]:[],overlap:r.overlap,allows:null!=r.allow?[r.allow]:[],backgroundColor:r.backgroundColor||r.color,borderColor:r.borderColor||r.color,textColor:r.textColor,classNames:r.classNames.concat(r.className)}}function Zt(e,t,n,r){var i={},o={};for(var a in Gt){var s=e+Ee(a);i[a]=t[s],o[s]=!0}if("event"===e&&(i.editable=t.editable),r)for(var a in t)o[a]||(r[a]=t[a]);return Xt(i,n)}var Kt={startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function Qt(e){return e.reduce(Jt,Kt)}function Jt(e,t){return{startEditable:null!=t.startEditable?t.startEditable:e.startEditable,durationEditable:null!=t.durationEditable?t.durationEditable:e.durationEditable,constraints:e.constraints.concat(t.constraints),overlap:"boolean"==typeof t.overlap?t.overlap:e.overlap,allows:e.allows.concat(t.allows),backgroundColor:t.backgroundColor||e.backgroundColor,borderColor:t.borderColor||e.borderColor,textColor:t.textColor||e.textColor,classNames:e.classNames.concat(t.classNames)}}var en={id:String,groupId:String,title:String,url:String,rendering:String,extendedProps:null},tn={start:null,date:null,end:null,allDay:null},nn=0;function rn(e,t,n,r){var i=function(e,t){var n=null;return e&&(n=t.state.eventSources[e].allDayDefault),null==n&&(n=t.opt("allDayDefault")),n}(t,n),o={},a=function(e,t,n,r,i){for(var o=0;o'+r+"":""+r+""}function fn(e,t,n,r){var i,o,a=n.calendar,s=n.view,l=n.theme,u=n.dateEnv,c=[];return at(t.activeRange,e)?(c.push("fc-"+V[e.getUTCDay()]),s.opt("monthMode")&&u.getMonth(e)!==u.getMonth(t.currentRange.start)&&c.push("fc-other-month"),o=U(i=G(a.getNow()),1),e=o?c.push("fc-future"):(c.push("fc-today"),!0!==r&&c.push(l.getClass("today")))):c.push("fc-disabled-day"),c}!function(){function e(){this.getKeysForEventDefs=lt(this._getKeysForEventDefs),this.splitDateSelection=lt(this._splitDateSpan),this.splitEventStore=lt(this._splitEventStore),this.splitIndividualUi=lt(this._splitIndividualUi),this.splitEventDrag=lt(this._splitInteraction),this.splitEventResize=lt(this._splitInteraction),this.eventUiBuilders={}}e.prototype.splitProps=function(e){var t=this,n=this.getKeyInfo(e),r=this.getKeysForEventDefs(e.eventStore),i=this.splitDateSelection(e.dateSelection),o=this.splitIndividualUi(e.eventUiBases,r),a=this.splitEventStore(e.eventStore,r),s=this.splitEventDrag(e.eventDrag),l=this.splitEventResize(e.eventResize),u={};for(var c in this.eventUiBuilders=Be(n,(function(e,n){return t.eventUiBuilders[n]||lt(cn)})),n){var d=n[c],f=a[c]||un,p=this.eventUiBuilders[c];u[c]={businessHours:d.businessHours||e.businessHours,dateSelection:i[c]||null,eventStore:f,eventUiBases:p(e.eventUiBases[""],d.ui,o[c]),eventSelection:f.instances[e.eventSelection]?e.eventSelection:"",eventDrag:s[c]||null,eventResize:l[c]||null}}return u},e.prototype._splitDateSpan=function(e){var t={};if(e)for(var n=0,r=this.getKeysForDateSpan(e);n=n[t]&&e=n[t]&&e0},e.prototype.canScrollHorizontally=function(){return this.getMaxScrollLeft()>0},e.prototype.canScrollUp=function(){return this.getScrollTop()>0},e.prototype.canScrollDown=function(){return this.getScrollTop()0},e.prototype.canScrollRight=function(){return this.getScrollLeft()=200&&a.status<400)try{var e=JSON.parse(a.responseText);r(e,a)}catch(e){i("Failure parsing JSON",a)}else i("Request failed",a)},a.onerror=function(){i("Request failed",a)},a.send(o)}(r.method,r.url,i,(function(e,n){t({rawEvents:e,xhr:n})}),(function(e,t){n({message:e,xhr:t})}))}}]}),Pn=Tn({recurringTypes:[{parse:function(e,t,n){var r,i,o=n.createMarker.bind(n),a=Re(e,{daysOfWeek:null,startTime:ie,endTime:ie,startRecur:o,endRecur:o},{},t),s=!1;for(var l in a)if(null!=a[l]){s=!0;break}if(s){var u=null;return"duration"in t&&(u=ie(t.duration),delete t.duration),!u&&a.startTime&&a.endTime&&(r=a.endTime,i=a.startTime,u={years:r.years-i.years,months:r.months-i.months,days:r.days-i.days,milliseconds:r.milliseconds-i.milliseconds}),{allDayGuess:Boolean(!a.startTime&&!a.endTime),duration:u,typeData:a}}return null},expand:function(e,t,n){var r=nt(t,{start:e.startRecur,end:e.endRecur});return r?function(e,t,n,r){for(var i=e?Ue(e):null,o=G(n.start),a=n.end,s=[];o0?e[0].code:"en",n=window.FullCalendarLocalesAll||[],r=window.FullCalendarLocales||{},i=n.concat(We(r),e),o={en:Hn},a=0,s=i;a0;i--){var o=r.slice(0,i).join("-");if(t[o])return t[o]}return null}(n,t)||Hn;return Un(e,n,r)}(e,t):Un(e.code,[e.code],e)}function Un(e,t,n){var r=He([Hn,n],["buttonText"]);delete r.code;var i=r.week;return delete r.week,{codeArg:e,codes:t,week:i,simpleNumberFormat:new Intl.NumberFormat(e),options:r}}var Wn,qn=function(){function e(e){this.overrides=Fe({},e),this.dynamicOverrides={},this.compute()}return e.prototype.mutate=function(e,t,n){var r=n?this.dynamicOverrides:this.overrides;Fe(r,e);for(var i=0,o=t;i=1?Math.min(i,o):i}(e,this.weekDow,this.weekDoy)},e.prototype.format=function(e,t,n){return void 0===n&&(n={}),t.format({marker:e,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)},e.prototype.formatRange=function(e,t,n,r){return void 0===r&&(r={}),r.isEndExclusive&&(t=W(t,-1)),n.formatRange({marker:e,timeZoneOffset:null!=r.forcedStartTzo?r.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:null!=r.forcedEndTzo?r.forcedEndTzo:this.offsetForMarker(t)},this)},e.prototype.formatIso=function(e,t){void 0===t&&(t={});var n=null;return t.omitTimeZoneOffset||(n=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),function(e,t,n){void 0===n&&(n=!1);var r=e.toISOString();return r=r.replace(".000",""),n&&(r=r.replace("T00:00:00Z","")),r.length>10&&(null==t?r=r.replace("Z",""):0!==t&&(r=r.replace("Z",St(t,!0)))),r}(e,n,t.omitTime)},e.prototype.timestampToMarker=function(e){return"local"===this.timeZone?ee(K(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?ee(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)},e.prototype.offsetForMarker=function(e){return"local"===this.timeZone?-Q(J(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(J(e)):null},e.prototype.toDate=function(e,t){return"local"===this.timeZone?Q(J(e)):"UTC"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(J(e))*60):new Date(e.valueOf()-(t||0))},e}(),Xn={id:String,allDayDefault:Boolean,eventDataTransform:Function,success:Function,failure:Function},Zn=0;function Kn(e,t){return!t.pluginSystem.hooks.eventSourceDefs[e.sourceDefId].ignoreRange}function Qn(e,t){for(var n=t.pluginSystem.hooks.eventSourceDefs,r=n.length-1;r>=0;r--){var i=n[r].parseMeta(e);if(i){var o=Jn("object"==typeof e?e:{},i,r,t);return o._raw=e,o}}return null}function Jn(e,t,n,r){var i={},o=Re(e,Xn,{},i),a={},s=Xt(i,r,a);return o.isFetching=!1,o.latestFetchId="",o.fetchRange=null,o.publicId=String(e.id||""),o.sourceId=String(Zn++),o.sourceDefId=n,o.meta=t,o.ui=s,o.extendedProps=a,o}var er=0;function tr(e,t,n){return nr(e,Ve(e,(function(e){return function(e,t,n){return Kn(e,n)?!n.opt("lazyFetching")||!e.fetchRange||t.starte.fetchRange.end:!e.latestFetchId}(e,t,n)})),t,n)}function nr(e,t,n,r){var i={};for(var o in e){var a=e[o];t[o]?i[o]=rr(a,n,r):i[o]=a}return i}function rr(e,t,n){var r=n.pluginSystem.hooks.eventSourceDefs[e.sourceDefId],i=String(er++);return r.fetch({eventSource:e,calendar:n,range:t},(function(r){var o,a,s=r.rawEvents,l=n.opt("eventSourceSuccess");e.success&&(a=e.success(s,r.xhr)),l&&(o=l(s,r.xhr)),s=a||o||s,n.dispatch({type:"RECEIVE_EVENTS",sourceId:e.sourceId,fetchId:i,fetchRange:t,rawEvents:s})}),(function(r){var o=n.opt("eventSourceFailure");console.warn(r.message,r),e.failure&&e.failure(r),o&&o(r),n.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:e.sourceId,fetchId:i,fetchRange:t,error:r})})),Fe({},e,{isFetching:!0,latestFetchId:i})}var ir=function(){function e(e,t){this.viewSpec=e,this.options=e.options,this.dateEnv=t.dateEnv,this.calendar=t,this.initHiddenDays()}return e.prototype.buildPrev=function(e,t){var n=this.dateEnv,r=n.subtract(n.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(r,-1)},e.prototype.buildNext=function(e,t){var n=this.dateEnv,r=n.add(n.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(r,1)},e.prototype.build=function(e,t,n){var r,i,o,a,s,l,u,c,d,f;return void 0===n&&(n=!1),r=this.buildValidRange(),r=this.trimHiddenDays(r),n&&(d=e,e=null!=(f=r).start&&d=f.end?new Date(f.end.valueOf()-1):d),a=this.buildCurrentRangeInfo(e,t),s=/^(year|month|week|day)$/.test(a.unit),l=this.buildRenderRange(this.trimHiddenDays(a.range),a.unit,s),u=l=this.trimHiddenDays(l),this.options.showNonCurrentDates||(u=nt(u,a.range)),i=ie(this.options.minTime),o=ie(this.options.maxTime),u=nt(u=this.adjustActiveRange(u,i,o),r),c=it(a.range,r),{validRange:r,currentRange:a.range,currentRangeUnit:a.unit,isRangeAllDay:s,activeRange:u,renderRange:l,minTime:i,maxTime:o,isValid:c,dateIncrement:this.buildDateIncrement(a.duration)}},e.prototype.buildValidRange=function(){return this.getRangeOption("validRange",this.calendar.getNow())||{start:null,end:null}},e.prototype.buildCurrentRangeInfo=function(e,t){var n,r=this.viewSpec,i=this.dateEnv,o=null,a=null,s=null;return r.duration?(o=r.duration,a=r.durationUnit,s=this.buildRangeFromDuration(e,t,o,a)):(n=this.options.dayCount)?(a="day",s=this.buildRangeFromDayCount(e,t,n)):(s=this.buildCustomVisibleRange(e))?a=i.greatestWholeUnit(s.start,s.end).unit:(a=ce(o=this.getFallbackDuration()).unit,s=this.buildRangeFromDuration(e,t,o,a)),{duration:o,unit:a,range:s}},e.prototype.getFallbackDuration=function(){return ie({day:1})},e.prototype.adjustActiveRange=function(e,t,n){var r=this.dateEnv,i=e.start,o=e.end;return this.viewSpec.class.prototype.usesMinMaxTime&&(le(t)<0&&(i=G(i),i=r.add(i,t)),le(n)>1&&(o=U(o=G(o),-1),o=r.add(o,n))),{start:i,end:o}},e.prototype.buildRangeFromDuration=function(e,t,n,r){var i,o,a,s,l,u=this.dateEnv,c=this.options.dateAlignment;function d(){a=u.startOf(e,c),s=u.add(a,n),l={start:a,end:s}}return c||((i=this.options.dateIncrement)?(o=ie(i),c=ue(o) ")),h=!1):((o=d[e])?(c=function(e){o.click&&o.click.call(b,e)},(m=r.getCustomButtonIconClass(o))||(m=r.getIconClass(e))||(g=o.text)):(u=l[e])?(n.viewsWithButtons.push(e),c=function(){i.changeView(e)},(g=u.buttonTextOverride)||(m=r.getIconClass(e))||(g=u.buttonTextDefault)):i[e]&&(c=function(){i[e]()},(g=f[e])||(m=r.getIconClass(e))||(g=p[e])),c&&(y=["fc-"+e+"-button",r.getClass("button")],g?(v=qt(g),w=""):m&&(v="",w=' aria-label="'+e+'"'),(b=a('")).addEventListener("click",c),s.push(b)))})),s.length>1){o=document.createElement("div");var m=r.getClass("buttonGroup");h&&m&&o.classList.add(m),u(o,s),c.appendChild(o)}else u(c,s)})),c},t.prototype.updateToday=function(e){this.toggleButtonEnabled("today",e)},t.prototype.updatePrev=function(e){this.toggleButtonEnabled("prev",e)},t.prototype.updateNext=function(e){this.toggleButtonEnabled("next",e)},t.prototype.updateTitle=function(e){y(this.el,"h2").forEach((function(t){t.innerText=e}))},t.prototype.updateActiveButton=function(e){var t=this.theme.getClass("buttonActive");y(this.el,"button").forEach((function(n){e&&n.classList.contains("fc-"+e+"-button")?n.classList.add(t):n.classList.remove(t)}))},t.prototype.toggleButtonEnabled=function(e,t){y(this.el,".fc-"+e+"-button").forEach((function(e){e.disabled=!t}))},t}(Cn),wr=function(e){function t(t,n){var r=e.call(this,t)||this;r._renderToolbars=ln(r.renderToolbars),r.buildViewPropTransformers=lt(xr),r.el=n,c(n,r.contentEl=o("div",{className:"fc-view-container"}));for(var i=r.calendar,a=0,s=i.pluginSystem.hooks.viewContainerModifiers;a1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}(e),t.titleRangeSeparator),{isEndExclusive:e.isRangeAllDay})}function xr(e){return e.map((function(e){return new e}))}var Cr=function(){function e(e){this.component=e.component}return e.prototype.destroy=function(){},e}();function Er(e){var t;return(t={})[e.component.uid]=e,t}var kr={},Tr=function(e){function t(t){var n=e.call(this,t)||this;n.handleSegClick=function(e,t){var r=n.component,i=At(t);if(i&&r.isValidSegDownEl(e.target)){var o=g(e.target,".fc-has-url"),a=o?o.querySelector("a[href]").href:"";r.publiclyTrigger("eventClick",[{el:t,event:new kt(r.calendar,i.eventRange.def,i.eventRange.instance),jsEvent:e,view:r.view}]),a&&!e.defaultPrevented&&(window.location.href=a)}};var r=t.component;return n.destroy=j(r.el,"click",r.fgSegSelector+","+r.bgSegSelector,n.handleSegClick),n}return Le(t,e),t}(Cr),_r=function(e){function t(t){var n=e.call(this,t)||this;n.handleEventElRemove=function(e){e===n.currentSegEl&&n.handleSegLeave(null,n.currentSegEl)},n.handleSegEnter=function(e,t){At(t)&&(t.classList.add("fc-allow-mouse-resize"),n.currentSegEl=t,n.triggerEvent("eventMouseEnter",e,t))},n.handleSegLeave=function(e,t){n.currentSegEl&&(t.classList.remove("fc-allow-mouse-resize"),n.currentSegEl=null,n.triggerEvent("eventMouseLeave",e,t))};var r,i,o,a,s,l=t.component;return n.removeHoverListeners=(r=l.el,i=l.fgSegSelector+","+l.bgSegSelector,o=n.handleSegEnter,a=n.handleSegLeave,j(r,"mouseover",i,(function(e,t){if(t!==s){s=t,o(e,t);var n=function(e){s=null,a(e,t),t.removeEventListener("mouseleave",n)};t.addEventListener("mouseleave",n)}}))),l.calendar.on("eventElRemove",n.handleEventElRemove),n}return Le(t,e),t.prototype.destroy=function(){this.removeHoverListeners(),this.component.calendar.off("eventElRemove",this.handleEventElRemove)},t.prototype.triggerEvent=function(e,t,n){var r=this.component,i=At(n);t&&!r.isValidSegDownEl(t.target)||r.publiclyTrigger(e,[{el:n,event:new kt(this.component.calendar,i.eventRange.def,i.eventRange.instance),jsEvent:t,view:r.view}])},t}(Cr),Dr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Le(t,e),t}(Sn);Dr.prototype.classes={widget:"fc-unthemed",widgetHeader:"fc-widget-header",widgetContent:"fc-widget-content",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active",popoverHeader:"fc-widget-header",popoverContent:"fc-widget-content",headerRow:"fc-widget-header",dayRow:"fc-widget-content",listView:"fc-widget-content"},Dr.prototype.baseIconClass="fc-icon",Dr.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"},Dr.prototype.iconOverrideOption="buttonIcons",Dr.prototype.iconOverrideCustomButtonOption="icon",Dr.prototype.iconOverridePrefix="fc-icon-";var Ar=function(){function e(e,t){var n,r,i,o=this;this.parseRawLocales=lt(Vn),this.buildLocale=lt(Bn),this.buildDateEnv=lt(Mr),this.buildTheme=lt(Rr),this.buildEventUiSingleBase=lt(this._buildEventUiSingleBase),this.buildSelectionConfig=lt(this._buildSelectionConfig),this.buildEventUiBySource=(n=Or,r=qe,i=null,function(){var e=n.apply(this,arguments);return(null===i||i!==e&&!r(i,e))&&(i=e),i}),this.buildEventUiBases=lt(Ir),this.interactionsStore={},this.actionQueue=[],this.isReducing=!1,this.needsRerender=!1,this.needsFullRerender=!1,this.isRendering=!1,this.renderingPauseDepth=0,this.buildDelayedRerender=lt(Pr),this.afterSizingTriggers={},this.isViewUpdated=!1,this.isDatesUpdated=!1,this.isEventsUpdated=!1,this.el=e,this.optionsManager=new qn(t||{}),this.pluginSystem=new _n,this.addPluginInputs(this.optionsManager.computed.plugins||[]),this.handleOptions(this.optionsManager.computed),this.publiclyTrigger("_init"),this.hydrate(),this.calendarInteractions=this.pluginSystem.hooks.calendarInteractions.map((function(e){return new e(o)}))}return e.prototype.addPluginInputs=function(e){for(var t=function(e){for(var t=[],n=0,r=e;n"},e.prototype.detachSegs=function(e,t){var n=this.containerElsByType[e];n&&(n.forEach(p),delete this.containerElsByType[e])},e.prototype.computeSizes=function(e){for(var t in this.segsByType)(e||this.dirtySizeFlags[t])&&this.computeSegSizes(this.segsByType[t])},e.prototype.assignSizes=function(e){for(var t in this.segsByType)(e||this.dirtySizeFlags[t])&&this.assignSegSizes(this.segsByType[t]);this.dirtySizeFlags={}},e.prototype.computeSegSizes=function(e){},e.prototype.assignSegSizes=function(e){},e}(),zr=function(){function e(e){this.emitter=new pn}return e.prototype.destroy=function(){},e.prototype.setMirrorIsVisible=function(e){},e.prototype.setMirrorNeedsRevert=function(e){},e.prototype.setAutoScrollEnabled=function(e){},e}(),Hr={startTime:ie,duration:ie,create:Boolean,sourceId:String},Vr={create:!0};function Br(e){var t={},n=Re(e,Hr,Vr,t);return n.leftoverProps=t,n}function Ur(e,t,n,r,i,o,a,s){var l,u=o.view,c=o.dateEnv,d=o.theme,f=o.options,p=at(t.activeRange,e),h=["fc-day-header",d.getClass("widgetHeader")];return l="function"==typeof f.columnHeaderHtml?f.columnHeaderHtml(c.toDate(e)):"function"==typeof f.columnHeaderText?qt(f.columnHeaderText(c.toDate(e))):qt(c.format(e,i)),n?h=h.concat(fn(e,t,o,!0)):h.push("fc-"+V[e.getUTCDay()]),'1?' colspan="'+a+'"':"")+(s?" "+s:"")+">"+(p?dn(u,{date:e,forceOff:!n||1===r},l):l)+""}var Wr=function(e){function t(t,n){var r=e.call(this,t)||this;return n.innerHTML="",n.appendChild(r.el=a('
')),r.thead=r.el.querySelector("thead"),r}return Le(t,e),t.prototype.destroy=function(){p(this.el)},t.prototype.render=function(e){var t=e.dates,n=e.datesRepDistinctDays,r=[];e.renderIntroHtml&&r.push(e.renderIntroHtml());for(var i=wt(this.opt("columnHeaderFormat")||function(e,t){return!e||t>10?{weekday:"short"}:t>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"}}(n,t.length)),o=0,a=t;o"+r.join("")+""},t}(Cn),qr=function(){function e(e,t){for(var n=e.start,r=e.end,i=[],o=[],a=-1;n=t.length?t[t.length-1]+1:t[n]},e}(),$r=function(){function e(e,t){var n,r,i,o=e.dates;if(t){for(r=o[0].getUTCDay(),n=1;n{"use strict";n.d(t,{Ay:()=>D});var r=n(21504),i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},i(e,t)};function o(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n'+(0,r.z)(n)+""),i=''+((0,r.z)(u.title||"")||" ")+"",'
'+("rtl"===s.dir?i+" "+v:v+" "+i)+"
"+(p?'
':"")+(h?'
':"")+"
"},t.prototype.computeEventTimeFormat=function(){return{hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"}},t.prototype.computeDisplayEventEnd=function(){return!1},t}(r.Xb),c=function(e){function t(t){var n=e.call(this,t.context)||this;return n.dayGrid=t,n}return o(t,e),t.prototype.attachSegs=function(e,t){var n=this.rowStructs=this.renderSegRows(e);this.dayGrid.rowEls.forEach((function(e,t){e.querySelector(".fc-content-skeleton > table").appendChild(n[t].tbodyEl)})),t||this.dayGrid.removeSegPopover()},t.prototype.detachSegs=function(){for(var e,t=this.rowStructs||[];e=t.pop();)(0,r.Nz)(e.tbodyEl);this.rowStructs=null},t.prototype.renderSegRows=function(e){var t,n,r=[];for(t=this.groupSegRows(e),n=0;n=e.firstCol)return!0;return!1}function f(e,t){return e.leftCol-t.leftCol}var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.attachSegs=function(e,t){var n=t.sourceSeg,i=this.rowStructs=this.renderSegRows(e);this.dayGrid.rowEls.forEach((function(e,t){var o,a,s=(0,r.fc)('
');n&&n.row===t?o=n.el:(o=e.querySelector(".fc-content-skeleton tbody"))||(o=e.querySelector(".fc-content-skeleton table")),a=o.getBoundingClientRect().top-e.getBoundingClientRect().top,s.style.top=a+"px",s.querySelector("table").appendChild(i[t].tbodyEl),e.appendChild(s)}))},t}(c),h='',m=function(e){function t(t){var n=e.call(this,t.context)||this;return n.fillSegTag="td",n.dayGrid=t,n}return o(t,e),t.prototype.renderSegs=function(t,n){"bgEvent"===t&&(n=n.filter((function(e){return e.eventRange.def.allDay}))),e.prototype.renderSegs.call(this,t,n)},t.prototype.attachSegs=function(e,t){var n,r,i,o=[];for(n=0;n
')).getElementsByTagName("tr")[0],u>0&&(0,r.gZ)(o,new Array(u+1).join(h)),t.el.colSpan=c-u,o.appendChild(t.el),c'+(0,r.z)(n)+'
',this.segContainerEl=this.el.querySelector(".fc-event-container")},t.prototype.queryHit=function(e,t,n,i){var o=this.props.date;if(e"))}return e.cells.length||c.push(''),"rtl"===this.context.options.dir&&c.reverse(),""+c.join("")+""},e}();var b=(0,r.xi)({day:"numeric"}),w=(0,r.xi)({week:"numeric"}),S=function(e){function t(t,n,i){var o=e.call(this,t,n)||this;o.bottomCoordPadding=0,o.isCellSizesDirty=!1;var a=o.eventRenderer=new c(o),s=o.fillRenderer=new m(o);o.mirrorRenderer=new p(o);var l=o.renderCells=(0,r.bV)(o._renderCells,o._unrenderCells);return o.renderBusinessHours=(0,r.bV)(s.renderSegs.bind(s,"businessHours"),s.unrender.bind(s,"businessHours"),[l]),o.renderDateSelection=(0,r.bV)(s.renderSegs.bind(s,"highlight"),s.unrender.bind(s,"highlight"),[l]),o.renderBgEvents=(0,r.bV)(s.renderSegs.bind(s,"bgEvent"),s.unrender.bind(s,"bgEvent"),[l]),o.renderFgEvents=(0,r.bV)(a.renderSegs.bind(a),a.unrender.bind(a),[l]),o.renderEventSelection=(0,r.bV)(a.selectByInstanceId.bind(a),a.unselectByInstanceId.bind(a),[o.renderFgEvents]),o.renderEventDrag=(0,r.bV)(o._renderEventDrag,o._unrenderEventDrag,[l]),o.renderEventResize=(0,r.bV)(o._renderEventResize,o._unrenderEventResize,[l]),o.renderProps=i,o}return o(t,e),t.prototype.render=function(e){var t=e.cells;this.rowCnt=t.length,this.colCnt=t[0].length,this.renderCells(t,e.isRigid),this.renderBusinessHours(e.businessHourSegs),this.renderDateSelection(e.dateSelectionSegs),this.renderBgEvents(e.bgEventSegs),this.renderFgEvents(e.fgEventSegs),this.renderEventSelection(e.eventSelection),this.renderEventDrag(e.eventDrag),this.renderEventResize(e.eventResize),this.segPopoverTile&&this.updateSegPopoverTile()},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.renderCells.unrender()},t.prototype.getCellRange=function(e,t){var n=this.props.cells[e][t].date;return{start:n,end:(0,r.fi)(n,1)}},t.prototype.updateSegPopoverTile=function(e,t){var n=this.props;this.segPopoverTile.receiveProps({date:e||this.segPopoverTile.props.date,fgSegs:t||this.segPopoverTile.props.fgSegs,eventSelection:n.eventSelection,eventDragInstances:n.eventDrag?n.eventDrag.affectedInstances:null,eventResizeInstances:n.eventResize?n.eventResize.affectedInstances:null})},t.prototype._renderCells=function(e,t){var n,i,o=this.view,a=this.dateEnv,s=this.rowCnt,l=this.colCnt,u="";for(n=0;n
'+i.renderHtml({cells:this.props.cells[e],dateProfile:this.props.dateProfile,renderIntroHtml:this.renderProps.renderBgIntroHtml})+'
'+(this.getIsNumbersVisible()?""+this.renderNumberTrHtml(e)+"":"")+"
"},t.prototype.getIsNumbersVisible=function(){return this.getIsDayNumbersVisible()||this.renderProps.cellWeekNumbersVisible||this.renderProps.colWeekNumbersVisible},t.prototype.getIsDayNumbersVisible=function(){return this.rowCnt>1},t.prototype.renderNumberTrHtml=function(e){var t=this.renderProps.renderNumberIntroHtml(e,this);return""+(this.isRtl?"":t)+this.renderNumberCellsHtml(e)+(this.isRtl?t:"")+""},t.prototype.renderNumberCellsHtml=function(e){var t,n,r=[];for(t=0;t",this.renderProps.cellWeekNumbersVisible&&e.getUTCDay()===n&&(a+=(0,r.cd)(i,{date:e,type:"week"},{class:"fc-week-number"},o.format(e,w))),l&&(a+=(0,r.cd)(i,e,{class:"fc-day-number"},o.format(e,b))),a+=""):""},t.prototype.updateSize=function(e){var t=this,n=t.fillRenderer,r=t.eventRenderer,i=t.mirrorRenderer;(e||this.isCellSizesDirty||this.view.calendar.isEventsUpdated)&&(this.buildPositionCaches(),this.isCellSizesDirty=!1),n.computeSizes(e),r.computeSizes(e),i.computeSizes(e),n.assignSizes(e),r.assignSizes(e),i.assignSizes(e)},t.prototype.buildPositionCaches=function(){this.buildColPositions(),this.buildRowPositions()},t.prototype.buildColPositions=function(){this.colPositions.build()},t.prototype.buildRowPositions=function(){this.rowPositions.build(),this.rowPositions.bottoms[this.rowCnt-1]+=this.bottomCoordPadding},t.prototype.positionToHit=function(e,t){var n=this.colPositions,r=this.rowPositions,i=n.leftToIndex(e),o=r.topToIndex(t);if(null!=o&&null!=i)return{row:o,col:i,dateSpan:{range:this.getCellRange(o,i),allDay:!0},dayEl:this.getCellEl(o,i),relativeRect:{left:n.lefts[i],right:n.rights[i],top:r.tops[o],bottom:r.bottoms[o]}}},t.prototype.getCellEl=function(e,t){return this.cellEls[e*this.colCnt+t]},t.prototype._renderEventDrag=function(e){e&&(this.eventRenderer.hideByHash(e.affectedInstances),this.fillRenderer.renderSegs("highlight",e.segs))},t.prototype._unrenderEventDrag=function(e){e&&(this.eventRenderer.showByHash(e.affectedInstances),this.fillRenderer.unrender("highlight"))},t.prototype._renderEventResize=function(e){e&&(this.eventRenderer.hideByHash(e.affectedInstances),this.fillRenderer.renderSegs("highlight",e.segs),this.mirrorRenderer.renderSegs(e.segs,{isResizing:!0,sourceSeg:e.sourceSeg}))},t.prototype._unrenderEventResize=function(e){e&&(this.eventRenderer.showByHash(e.affectedInstances),this.fillRenderer.unrender("highlight"),this.mirrorRenderer.unrender(e.segs,{isResizing:!0,sourceSeg:e.sourceSeg}))},t.prototype.removeSegPopover=function(){this.segPopover&&this.segPopover.hide()},t.prototype.limitRows=function(e){var t,n,r=this.eventRenderer.rowStructs||[];for(t=0;ti)return t;return!1},t.prototype.limitRow=function(e,t){var n,i,o,a,s,l,u,c,d,f,p,h,m,g,v,y=this,b=this.colCnt,w=this.isRtl,S=this.eventRenderer.rowStructs[e],x=[],C=0,E=function(n){for(;C"+(0,r.z)(a.opt("weekLabel"))+"":""},a.renderDayGridNumberIntroHtml=function(e,t){var n=a.dateEnv,i=t.props.cells[e][0].date;return a.colWeekNumbersVisible?'"+(0,r.cd)(a,{date:i,type:"week",forceOff:1===t.colCnt},n.format(i,x))+"":""},a.renderDayGridBgIntroHtml=function(){var e=a.theme;return a.colWeekNumbersVisible?'":""},a.renderDayGridIntroHtml=function(){return a.colWeekNumbersVisible?'":""},a.el.classList.add("fc-dayGrid-view"),a.el.innerHTML=a.renderSkeletonHtml(),a.scroller=new r.X4("hidden","auto");var s=a.scroller.el;a.el.querySelector(".fc-body > tr > td").appendChild(s),s.classList.add("fc-day-grid-container");var l,u=(0,r.n)("div",{className:"fc-day-grid"});return s.appendChild(u),a.opt("weekNumbers")?a.opt("weekNumbersWithinDays")?(l=!0,a.colWeekNumbersVisible=!1):(l=!1,a.colWeekNumbersVisible=!0):(a.colWeekNumbersVisible=!1,l=!1),a.dayGrid=new S(a.context,u,{renderNumberIntroHtml:a.renderDayGridNumberIntroHtml,renderBgIntroHtml:a.renderDayGridBgIntroHtml,renderIntroHtml:a.renderDayGridIntroHtml,colWeekNumbersVisible:a.colWeekNumbersVisible,cellWeekNumbersVisible:l}),a}return o(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this),this.dayGrid.destroy(),this.scroller.destroy()},t.prototype.renderSkeletonHtml=function(){var e=this.theme;return''+(this.opt("columnHeader")?'':"")+'
 
'},t.prototype.weekNumberStyleAttr=function(){return null!=this.weekNumberWidth?'style="width:'+this.weekNumberWidth+'px"':""},t.prototype.hasRigidRows=function(){var e=this.opt("eventLimit");return e&&"number"!=typeof e},t.prototype.updateSize=function(t,n,r){e.prototype.updateSize.call(this,t,n,r),this.dayGrid.updateSize(t)},t.prototype.updateBaseSize=function(e,t,n){var i,o,a=this.dayGrid,s=this.opt("eventLimit"),l=this.header?this.header.el:null;a.rowEls?(this.colWeekNumbersVisible&&(this.weekNumberWidth=(0,r.LI)((0,r.be)(this.el,".fc-week-number"))),this.scroller.clear(),l&&(0,r.Mv)(l),a.removeSegPopover(),s&&"number"==typeof s&&a.limitRows(s),i=this.computeScrollerHeight(t),this.setGridHeight(i,n),s&&"number"!=typeof s&&a.limitRows(s),n||(this.scroller.setHeight(i),((o=this.scroller.getScrollbarWidths()).left||o.right)&&(l&&(0,r.jy)(l,o),i=this.computeScrollerHeight(t),this.scroller.setHeight(i)),this.scroller.lockOverflow(o))):n||(i=this.computeScrollerHeight(t),this.scroller.setHeight(i))},t.prototype.computeScrollerHeight=function(e){return e-(0,r.j7)(this.el,this.scroller.el)},t.prototype.setGridHeight=function(e,t){this.opt("monthMode")?(t&&(e*=this.dayGrid.rowCnt/6),(0,r.nB)(this.dayGrid.rowEls,e,!t)):t?(0,r.mb)(this.dayGrid.rowEls):(0,r.nB)(this.dayGrid.rowEls,e,!0)},t.prototype.computeDateScroll=function(e){return{top:0}},t.prototype.queryDateScroll=function(){return{top:this.scroller.getScrollTop()}},t.prototype.applyDateScroll=function(e){void 0!==e.top&&this.scroller.setScrollTop(e.top)},t}(r.Ss);C.prototype.dateProfileGeneratorClass=s;var E=function(e){function t(t,n){var r=e.call(this,t,n.el)||this;return r.slicer=new k,r.dayGrid=n,t.calendar.registerInteractiveComponent(r,{el:r.dayGrid.el}),r}return o(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this),this.calendar.unregisterInteractiveComponent(this)},t.prototype.render=function(e){var t=this.dayGrid,n=e.dateProfile,r=e.dayTable;t.receiveProps(a({},this.slicer.sliceProps(e,n,e.nextDayThreshold,t,r),{dateProfile:n,cells:r.cells,isRigid:e.isRigid}))},t.prototype.buildPositionCaches=function(){this.dayGrid.buildPositionCaches()},t.prototype.queryHit=function(e,t){var n=this.dayGrid.positionToHit(e,t);if(n)return{component:this.dayGrid,dateSpan:n.dateSpan,dayEl:n.dayEl,rect:{left:n.relativeRect.left,right:n.relativeRect.right,top:n.relativeRect.top,bottom:n.relativeRect.bottom},layer:0}},t}(r.gz),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.sliceRange=function(e,t){return t.sliceRange(e)},t}(r.$H),T=function(e){function t(t,n,i,o){var a=e.call(this,t,n,i,o)||this;return a.buildDayTable=(0,r.Bj)(_),a.opt("columnHeader")&&(a.header=new r.A1(a.context,a.el.querySelector(".fc-head-container"))),a.simpleDayGrid=new E(a.context,a.dayGrid),a}return o(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this),this.header&&this.header.destroy(),this.simpleDayGrid.destroy()},t.prototype.render=function(t){e.prototype.render.call(this,t);var n=this.props.dateProfile,r=this.dayTable=this.buildDayTable(n,this.dateProfileGenerator);this.header&&this.header.receiveProps({dateProfile:n,dates:r.headerDates,datesRepDistinctDays:1===r.rowCnt,renderIntroHtml:this.renderHeadIntroHtml}),this.simpleDayGrid.receiveProps({dateProfile:n,dayTable:r,businessHours:t.businessHours,dateSelection:t.dateSelection,eventStore:t.eventStore,eventUiBases:t.eventUiBases,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,isRigid:this.hasRigidRows(),nextDayThreshold:this.nextDayThreshold})},t}(C);function _(e,t){var n=new r.qC(e.renderRange,t);return new r.t7(n,/year|month|week/.test(e.currentRangeUnit))}const D=(0,r.i1)({defaultView:"dayGridMonth",views:{dayGrid:T,dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}})},77087:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>_});var r=n(21504),i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},i(e,t)};function o(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&(this.everMovedDown=!0),o<0?this.everMovedLeft=!0:o>0&&(this.everMovedRight=!0),this.pointerScreenX=n,this.pointerScreenY=r,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(g()))}},e.prototype.stop=function(){if(this.isEnabled){this.isAnimating=!1;for(var e=0,t=this.scrollCaches;e=0&&u>=0&&c>=0&&d>=0&&(c<=n&&this.everMovedUp&&a.canScrollUp()&&(!r||r.distance>c)&&(r={scrollCache:a,name:"top",distance:c}),d<=n&&this.everMovedDown&&a.canScrollDown()&&(!r||r.distance>d)&&(r={scrollCache:a,name:"bottom",distance:d}),l<=n&&this.everMovedLeft&&a.canScrollLeft()&&(!r||r.distance>l)&&(r={scrollCache:a,name:"left",distance:l}),u<=n&&this.everMovedRight&&a.canScrollRight()&&(!r||r.distance>u)&&(r={scrollCache:a,name:"right",distance:u}))}return r},e.prototype.buildCaches=function(){return this.queryScrollEls().map((function(e){return e===window?new m(!1):new h(e,!1)}))},e.prototype.queryScrollEls=function(){for(var e=[],t=0,n=this.scrollQuery;t=t*t&&n.handleDistanceSurpassed(e)}n.isDragging&&("scroll"!==e.origEvent.type&&(n.mirror.handleMove(e.pageX,e.pageY),n.autoScroller.handleMove(e.pageX,e.pageY)),n.emitter.trigger("dragmove",e))}},n.onPointerUp=function(e){n.isInteracting&&(n.isInteracting=!1,(0,r._8)(document.body),(0,r.iD)(document.body),n.emitter.trigger("pointerup",e),n.isDragging&&(n.autoScroller.stop(),n.tryStopDrag(e)),n.delayTimeoutId&&(clearTimeout(n.delayTimeoutId),n.delayTimeoutId=null))};var i=n.pointer=new c(t);return i.emitter.on("pointerdown",n.onPointerDown),i.emitter.on("pointermove",n.onPointerMove),i.emitter.on("pointerup",n.onPointerUp),n.mirror=new f,n.autoScroller=new v,n}return o(t,e),t.prototype.destroy=function(){this.pointer.destroy()},t.prototype.startDelay=function(e){var t=this;"number"==typeof this.delay?this.delayTimeoutId=setTimeout((function(){t.delayTimeoutId=null,t.handleDelayEnd(e)}),this.delay):this.handleDelayEnd(e)},t.prototype.handleDelayEnd=function(e){this.isDelayEnded=!0,this.tryStartDrag(e)},t.prototype.handleDistanceSurpassed=function(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)},t.prototype.tryStartDrag=function(e){this.isDelayEnded&&this.isDistanceSurpassed&&(this.pointer.wasTouchScroll&&!this.touchScrollAllowed||(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(e.pageX,e.pageY),this.emitter.trigger("dragstart",e),!1===this.touchScrollAllowed&&this.pointer.cancelTouchScroll()))},t.prototype.tryStopDrag=function(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))},t.prototype.stopDrag=function(e){this.isDragging=!1,this.emitter.trigger("dragend",e)},t.prototype.setIgnoreMove=function(e){this.pointer.shouldIgnoreMove=e},t.prototype.setMirrorIsVisible=function(e){this.mirror.setIsVisible(e)},t.prototype.setMirrorNeedsRevert=function(e){this.mirrorNeedsRevert=e},t.prototype.setAutoScrollEnabled=function(e){this.autoScroller.isEnabled=e},t}(r.WD),b=function(){function e(e){this.origRect=(0,r.Cc)(e),this.scrollCaches=(0,r.cc)(e).map((function(e){return new h(e,!0)}))}return e.prototype.destroy=function(){for(var e=0,t=this.scrollCaches;e=0&&d=0&&fo.layer)||(g.rect.left+=u,g.rect.right+=u,g.rect.top+=c,g.rect.bottom+=c,o=g)}}}return o},e}();function S(e,t){return!e&&!t||Boolean(e)===Boolean(t)&&(0,r.U6)(e.dateSpan,t.dateSpan)}var x=function(e){function t(t){var n=e.call(this,t)||this;n.handlePointerDown=function(e){var t=n.dragging;t.setIgnoreMove(!n.component.isValidDateDownEl(t.pointer.downEl))},n.handleDragEnd=function(e){var t=n.component;if(!n.dragging.pointer.wasTouchScroll){var r=n.hitDragging,i=r.initialHit,o=r.finalHit;i&&o&&S(i,o)&&t.calendar.triggerDateClick(i.dateSpan,i.dayEl,t.view,e.origEvent)}};var i=t.component;n.dragging=new y(i.el),n.dragging.autoScroller.isEnabled=!1;var o=n.hitDragging=new w(n.dragging,(0,r.qI)(t));return o.emitter.on("pointerdown",n.handlePointerDown),o.emitter.on("dragend",n.handleDragEnd),n}return o(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t}(r.N3),C=function(e){function t(t){var n=e.call(this,t)||this;n.dragSelection=null,n.handlePointerDown=function(e){var t=n,r=t.component,i=t.dragging,o=r.opt("selectable")&&r.isValidDateDownEl(e.origEvent.target);i.setIgnoreMove(!o),i.delay=e.isTouch?function(e){var t=e.opt("selectLongPressDelay");return null==t&&(t=e.opt("longPressDelay")),t}(r):null},n.handleDragStart=function(e){n.component.calendar.unselect(e)},n.handleHitUpdate=function(e,t){var i=n.component.calendar,o=null,s=!1;e&&((o=function(e,t,n){var i=e.dateSpan,o=t.dateSpan,s=[i.range.start,i.range.end,o.range.start,o.range.end];s.sort(r.S$);for(var l={},u=0,c=n;ui.start)return d.endDelta=c,d;return null}(l,e,i.subjectEl.classList.contains("fc-start-resizer"),u.range,o.pluginSystem.hooks.eventResizeJoinTransforms)),c&&(d=(0,r.on)(s,o.eventUiBases,c,o),p.mutatedEvents=d,n.component.isInteractionValid(p)||(f=!0,c=null,d=null,p.mutatedEvents=null)),d?o.dispatch({type:"SET_EVENT_RESIZE",state:p}):o.dispatch({type:"UNSET_EVENT_RESIZE"}),f?(0,r.tO)():(0,r.q2)(),t||(c&&S(l,e)&&(c=null),n.validMutation=c,n.mutatedRelevantEvents=d)},n.handleDragEnd=function(e){var t=n.component.calendar,i=n.component.view,o=n.eventRange.def,a=n.eventRange.instance,s=new r.fh(t,o,a),l=n.relevantEvents,u=n.mutatedRelevantEvents;t.publiclyTrigger("eventResizeStop",[{el:n.draggingSeg.el,event:s,jsEvent:e.origEvent,view:i}]),n.validMutation?(t.dispatch({type:"MERGE_EVENTS",eventStore:u}),t.publiclyTrigger("eventResize",[{el:n.draggingSeg.el,startDelta:n.validMutation.startDelta||(0,r.xC)(0),endDelta:n.validMutation.endDelta||(0,r.xC)(0),prevEvent:s,event:new r.fh(t,u.defs[o.defId],a?u.instances[a.instanceId]:null),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:l})},jsEvent:e.origEvent,view:i}])):t.publiclyTrigger("_noEventResize"),n.draggingSeg=null,n.relevantEvents=null,n.validMutation=null};var i=t.component,o=n.dragging=new y(i.el);o.pointer.selector=".fc-resizer",o.touchScrollAllowed=!1,o.autoScroller.isEnabled=i.opt("dragScroll");var s=n.hitDragging=new w(n.dragging,(0,r.qI)(t));return s.emitter.on("pointerdown",n.handlePointerDown),s.emitter.on("dragstart",n.handleDragStart),s.emitter.on("hitupdate",n.handleHitUpdate),s.emitter.on("dragend",n.handleDragEnd),n}return o(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.querySeg=function(e){return(0,r.VV)((0,r.YA)(e.subjectEl,this.component.fgSegSelector))},t}(r.N3),T=function(){function e(e){var t=this;this.isRecentPointerDateSelect=!1,this.onSelect=function(e){e.jsEvent&&(t.isRecentPointerDateSelect=!0)},this.onDocumentPointerUp=function(e){var n=t,i=n.calendar,o=n.documentPointer,a=i.state;if(!o.wasTouchScroll){if(a.dateSelection&&!t.isRecentPointerDateSelect){var s=i.viewOpt("unselectAuto"),l=i.viewOpt("unselectCancel");!s||s&&(0,r.YA)(o.downEl,l)||i.unselect(e)}a.eventSelection&&!(0,r.YA)(o.downEl,E.SELECTOR)&&i.dispatch({type:"UNSELECT_EVENT"})}t.isRecentPointerDateSelect=!1},this.calendar=e;var n=this.documentPointer=new c(document);n.shouldIgnoreMove=!0,n.shouldWatchScroll=!1,n.emitter.on("pointerup",this.onDocumentPointerUp),e.on("select",this.onSelect)}return e.prototype.destroy=function(){this.calendar.off("select",this.onSelect),this.documentPointer.destroy()},e}();!function(){function e(e,t){var n=this;this.receivingCalendar=null,this.droppableEvent=null,this.suppliedDragMeta=null,this.dragMeta=null,this.handleDragStart=function(e){n.dragMeta=n.buildDragMeta(e.subjectEl)},this.handleHitUpdate=function(e,t,i){var o=n.hitDragging.dragging,s=null,l=null,u=!1,c={affectedEvents:(0,r.H8)(),mutatedEvents:(0,r.H8)(),isEvent:n.dragMeta.create,origSeg:null};e&&(s=e.component.calendar,n.canDropElOnCalendar(i.subjectEl,s)&&(l=function(e,t,n){for(var i=a({},t.leftoverProps),o=0,s=n.pluginSystem.hooks.externalDefTransforms;o{"use strict";n.d(t,{A:()=>v});var r=n(98587),i=n(58168),o=n(96540),a=n(34164),s=n(75659),l=n(3437),u=n(11848),c=n(3541),d=n(61347),f=n(74848);const p=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],h=(0,u.Ay)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>(0,i.A)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:(0,l.X4)(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>(0,i.A)({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>(0,i.A)({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}})),(({theme:e,ownerState:t})=>(0,i.A)({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}})),(({ownerState:e})=>(0,i.A)({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),m=(0,u.Ay)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>(0,i.A)({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),g=o.forwardRef((function(e,t){const n=(0,c.A)({props:e,name:"MuiDivider"}),{absolute:o=!1,children:l,className:u,component:g=(l?"div":"hr"),flexItem:v=!1,light:y=!1,orientation:b="horizontal",role:w=("hr"!==g?"separator":void 0),textAlign:S="center",variant:x="fullWidth"}=n,C=(0,r.A)(n,p),E=(0,i.A)({},n,{absolute:o,component:g,flexItem:v,light:y,orientation:b,role:w,textAlign:S,variant:x}),k=(e=>{const{absolute:t,children:n,classes:r,flexItem:i,light:o,orientation:a,textAlign:l,variant:u}=e,c={root:["root",t&&"absolute",u,o&&"light","vertical"===a&&"vertical",i&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===l&&"vertical"!==a&&"textAlignRight","left"===l&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]};return(0,s.A)(c,d.K,r)})(E);return(0,f.jsx)(h,(0,i.A)({as:g,className:(0,a.A)(k.root,u),role:w,ref:t,ownerState:E},C,{children:l?(0,f.jsx)(m,{className:k.wrapper,ownerState:E,children:l}):null}))}));g.muiSkipListHighlight=!0;const v=g},61347:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,K:()=>o});var r=n(38413),i=n(31609);function o(e){return(0,i.Ay)("MuiDivider",e)}const a=(0,r.A)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"])},56554:(e,t,n)=>{"use strict";n.d(t,{A:()=>k});var r=n(98587),i=n(58168),o=n(96540),a=n(34164),s=n(75659),l=n(3437),u=n(11848),c=n(3541),d=n(32850),f=n(60722),p=n(2778),h=n(96852),m=n(61347),g=n(38413);const v=(0,g.A)("MuiListItemIcon",["root","alignItemsFlexStart"]),y=(0,g.A)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);var b=n(31609);function w(e){return(0,b.Ay)("MuiMenuItem",e)}const S=(0,g.A)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);var x=n(74848);const C=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],E=(0,u.Ay)(f.A,{shouldForwardProp:e=>(0,u.ep)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>(0,i.A)({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${S.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${S.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${S.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${S.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${S.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${m.A.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${m.A.inset}`]:{marginLeft:52},[`& .${y.root}`]:{marginTop:0,marginBottom:0},[`& .${y.inset}`]:{paddingLeft:36},[`& .${v.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&(0,i.A)({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${v.root} svg`]:{fontSize:"1.25rem"}})))),k=o.forwardRef((function(e,t){const n=(0,c.A)({props:e,name:"MuiMenuItem"}),{autoFocus:l=!1,component:u="li",dense:f=!1,divider:m=!1,disableGutters:g=!1,focusVisibleClassName:v,role:y="menuitem",tabIndex:b,className:S}=n,k=(0,r.A)(n,C),T=o.useContext(d.A),_=o.useMemo((()=>({dense:f||T.dense||!1,disableGutters:g})),[T.dense,f,g]),D=o.useRef(null);(0,p.A)((()=>{l&&D.current&&D.current.focus()}),[l]);const A=(0,i.A)({},n,{dense:_.dense,divider:m,disableGutters:g}),M=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:a,classes:l}=e,u={root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",a&&"selected"]},c=(0,s.A)(u,w,l);return(0,i.A)({},l,c)})(n),R=(0,h.A)(D,t);let P;return n.disabled||(P=void 0!==b?b:-1),(0,x.jsx)(d.A.Provider,{value:_,children:(0,x.jsx)(E,(0,i.A)({ref:R,role:y,tabIndex:P,component:u,focusVisibleClassName:(0,a.A)(M.focusVisible,v),className:(0,a.A)(M.root,S)},k,{ownerState:A,classes:M}))})}))},30995:(e,t,n)=>{"use strict";n.d(t,{A:()=>T});var r=n(98587),i=n(58168),o=n(96540),a=n(34164),s=n(11317),l=n(31609),u=n(75659),c=n(81825),d=n(44467),f=n(39599),p=n(96970),h=n(89452),m=n(68248),g=n(74848);const v=["component","direction","spacing","divider","children","className","useFlexGap"],y=(0,p.A)(),b=(0,c.A)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function w(e){return(0,d.A)({props:e,name:"MuiStack",defaultTheme:y})}function S(e,t){const n=o.Children.toArray(e).filter(Boolean);return n.reduce(((e,r,i)=>(e.push(r),i{let n=(0,i.A)({display:"flex",flexDirection:"column"},(0,h.NI)({theme:t},(0,h.kW)({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const r=(0,m.LX)(t),i=Object.keys(t.breakpoints.values).reduce(((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t)),{}),o=(0,h.kW)({values:e.direction,base:i}),a=(0,h.kW)({values:e.spacing,base:i});"object"==typeof o&&Object.keys(o).forEach(((e,t,n)=>{if(!o[e]){const r=t>0?o[n[t-1]]:"column";o[e]=r}}));const l=(t,n)=>{return e.useFlexGap?{gap:(0,m._W)(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${i=n?o[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[i]}`]:(0,m._W)(r,t)}};var i};n=(0,s.A)(n,(0,h.NI)({theme:t},a,l))}return n=(0,h.iZ)(t.breakpoints,n),n};var C=n(11848),E=n(3541);const k=function(e={}){const{createStyledComponent:t=b,useThemeProps:n=w,componentName:s="MuiStack"}=e,c=t(x),d=o.forwardRef((function(e,t){const o=n(e),d=(0,f.A)(o),{component:p="div",direction:h="column",spacing:m=0,divider:y,children:b,className:w,useFlexGap:x=!1}=d,C=(0,r.A)(d,v),E={direction:h,spacing:m,useFlexGap:x},k=(0,u.A)({root:["root"]},(e=>(0,l.Ay)(s,e)),{});return(0,g.jsx)(c,(0,i.A)({as:p,ownerState:E,ref:t,className:(0,a.A)(k.root,w)},C,{children:y?S(b,y):b}))}));return d}({createStyledComponent:(0,C.Ay)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,E.A)({props:e,name:"MuiStack"})}),T=k},10423:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(98587),i=n(58168),o=n(96540),a=n(34164),s=n(75659),l=n(60722),u=n(28466),c=n(3541),d=n(11848),f=n(38413),p=n(31609);function h(e){return(0,p.Ay)("MuiTab",e)}const m=(0,f.A)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);var g=n(74848);const v=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],y=(0,d.Ay)(l.A,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${(0,u.A)(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})((({theme:e,ownerState:t})=>(0,i.A)({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:"top"===t.iconPosition||"bottom"===t.iconPosition?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${m.iconWrapper}`]:(0,i.A)({},"top"===t.iconPosition&&{marginBottom:6},"bottom"===t.iconPosition&&{marginTop:6},"start"===t.iconPosition&&{marginRight:e.spacing(1)},"end"===t.iconPosition&&{marginLeft:e.spacing(1)})},"inherit"===t.textColor&&{color:"inherit",opacity:.6,[`&.${m.selected}`]:{opacity:1},[`&.${m.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${m.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${m.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${m.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${m.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)}))),b=o.forwardRef((function(e,t){const n=(0,c.A)({props:e,name:"MuiTab"}),{className:l,disabled:d=!1,disableFocusRipple:f=!1,fullWidth:p,icon:m,iconPosition:b="top",indicator:w,label:S,onChange:x,onClick:C,onFocus:E,selected:k,selectionFollowsFocus:T,textColor:_="inherit",value:D,wrapped:A=!1}=n,M=(0,r.A)(n,v),R=(0,i.A)({},n,{disabled:d,disableFocusRipple:f,selected:k,icon:!!m,iconPosition:b,label:!!S,fullWidth:p,textColor:_,wrapped:A}),P=(e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:i,icon:o,label:a,selected:l,disabled:c}=e,d={root:["root",o&&a&&"labelIcon",`textColor${(0,u.A)(n)}`,r&&"fullWidth",i&&"wrapped",l&&"selected",c&&"disabled"],iconWrapper:["iconWrapper"]};return(0,s.A)(d,h,t)})(R),O=m&&S&&o.isValidElement(m)?o.cloneElement(m,{className:(0,a.A)(P.iconWrapper,m.props.className)}):m;return(0,g.jsxs)(y,(0,i.A)({focusRipple:!f,className:(0,a.A)(P.root,l),ref:t,role:"tab","aria-selected":k,disabled:d,onClick:e=>{!k&&x&&x(e,D),C&&C(e)},onFocus:e=>{T&&!k&&x&&x(e,D),E&&E(e)},ownerState:R,tabIndex:k?0:-1},M,{children:["top"===b||"start"===b?(0,g.jsxs)(o.Fragment,{children:[O,S]}):(0,g.jsxs)(o.Fragment,{children:[S,O]}),w]}))}))},61294:(e,t,n)=>{"use strict";n.d(t,{A:()=>$});var r=n(98587),i=n(58168),o=n(96540),a=(n(44363),n(34164)),s=n(75659),l=n(22272),u=n(11848),c=n(3541),d=n(44675),f=n(1935);let p;function h(){if(p)return p;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),p="reverse",e.scrollLeft>0?p="default":(e.scrollLeft=1,0===e.scrollLeft&&(p="negative")),document.body.removeChild(e),p}function m(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(h()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function g(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var v=n(2778),y=n(93749),b=n(74848);const w=["onChange"],S={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var x=n(20561);const C=(0,x.A)((0,b.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),E=(0,x.A)((0,b.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");var k=n(60722),T=n(38413),_=n(31609);function D(e){return(0,_.Ay)("MuiTabScrollButton",e)}const A=(0,T.A)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),M=["className","slots","slotProps","direction","orientation","disabled"],R=(0,u.Ay)(k.A,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})((({ownerState:e})=>(0,i.A)({width:40,flexShrink:0,opacity:.8,[`&.${A.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}}))),P=o.forwardRef((function(e,t){var n,o;const u=(0,c.A)({props:e,name:"MuiTabScrollButton"}),{className:f,slots:p={},slotProps:h={},direction:m}=u,g=(0,r.A)(u,M),v="rtl"===(0,d.A)().direction,y=(0,i.A)({isRtl:v},u),w=(e=>{const{classes:t,orientation:n,disabled:r}=e,i={root:["root",n,r&&"disabled"]};return(0,s.A)(i,D,t)})(y),S=null!=(n=p.StartScrollButtonIcon)?n:C,x=null!=(o=p.EndScrollButtonIcon)?o:E,k=(0,l.Q)({elementType:S,externalSlotProps:h.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:y}),T=(0,l.Q)({elementType:x,externalSlotProps:h.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:y});return(0,b.jsx)(R,(0,i.A)({component:"div",className:(0,a.A)(w.root,f),ref:t,role:null,ownerState:y,tabIndex:null},g,{children:"left"===m?(0,b.jsx)(S,(0,i.A)({},k)):(0,b.jsx)(x,(0,i.A)({},T))}))}));var O=n(83034),I=n(6533),N=n(96248);const L=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],F=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,j=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,z=(e,t,n)=>{let r=!1,i=n(e,t);for(;i;){if(i===e.firstChild){if(r)return;r=!0}const t=i.disabled||"true"===i.getAttribute("aria-disabled");if(i.hasAttribute("tabindex")&&!t)return void i.focus();i=n(e,i)}},H=(0,u.Ay)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${I.A.scrollButtons}`]:t.scrollButtons},{[`& .${I.A.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})((({ownerState:e,theme:t})=>(0,i.A)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${I.A.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}))),V=(0,u.Ay)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})((({ownerState:e})=>(0,i.A)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"}))),B=(0,u.Ay)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})((({ownerState:e})=>(0,i.A)({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"}))),U=(0,u.Ay)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})((({ownerState:e,theme:t})=>(0,i.A)({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0}))),W=(0,u.Ay)((function(e){const{onChange:t}=e,n=(0,r.A)(e,w),a=o.useRef(),s=o.useRef(null),l=()=>{a.current=s.current.offsetHeight-s.current.clientHeight};return(0,v.A)((()=>{const e=(0,f.A)((()=>{const e=a.current;l(),e!==a.current&&t(a.current)})),n=(0,y.A)(s.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}}),[t]),o.useEffect((()=>{l(),t(a.current)}),[t]),(0,b.jsx)("div",(0,i.A)({style:S,ref:s},n))}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),q={},$=o.forwardRef((function(e,t){const n=(0,c.A)({props:e,name:"MuiTabs"}),u=(0,d.A)(),p="rtl"===u.direction,{"aria-label":v,"aria-labelledby":w,action:S,centered:x=!1,children:C,className:E,component:k="div",allowScrollButtonsMobile:T=!1,indicatorColor:_="primary",onChange:D,orientation:A="horizontal",ScrollButtonComponent:M=P,scrollButtons:R="auto",selectionFollowsFocus:$,slots:Y={},slotProps:G={},TabIndicatorProps:X={},TabScrollButtonProps:Z={},textColor:K="primary",value:Q,variant:J="standard",visibleScrollbar:ee=!1}=n,te=(0,r.A)(n,L),ne="scrollable"===J,re="vertical"===A,ie=re?"scrollTop":"scrollLeft",oe=re?"top":"left",ae=re?"bottom":"right",se=re?"clientHeight":"clientWidth",le=re?"height":"width",ue=(0,i.A)({},n,{component:k,allowScrollButtonsMobile:T,indicatorColor:_,orientation:A,vertical:re,scrollButtons:R,textColor:K,variant:J,visibleScrollbar:ee,fixed:!ne,hideScrollbar:ne&&!ee,scrollableX:ne&&!re,scrollableY:ne&&re,centered:x&&!ne,scrollButtonsHideMobile:!T}),ce=(e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:i,scrollableY:o,centered:a,scrollButtonsHideMobile:l,classes:u}=e,c={root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",i&&"scrollableX",o&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",l&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return(0,s.A)(c,I.H,u)})(ue),de=(0,l.Q)({elementType:Y.StartScrollButtonIcon,externalSlotProps:G.startScrollButtonIcon,ownerState:ue}),fe=(0,l.Q)({elementType:Y.EndScrollButtonIcon,externalSlotProps:G.endScrollButtonIcon,ownerState:ue}),[pe,he]=o.useState(!1),[me,ge]=o.useState(q),[ve,ye]=o.useState(!1),[be,we]=o.useState(!1),[Se,xe]=o.useState(!1),[Ce,Ee]=o.useState({overflow:"hidden",scrollbarWidth:0}),ke=new Map,Te=o.useRef(null),_e=o.useRef(null),De=()=>{const e=Te.current;let t,n;if(e){const n=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollLeftNormalized:m(e,u.direction),scrollWidth:e.scrollWidth,top:n.top,bottom:n.bottom,left:n.left,right:n.right}}if(e&&!1!==Q){const e=_e.current.children;if(e.length>0){const t=e[ke.get(Q)];n=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:n}},Ae=(0,O.A)((()=>{const{tabsMeta:e,tabMeta:t}=De();let n,r=0;if(re)n="top",t&&e&&(r=t.top-e.top+e.scrollTop);else if(n=p?"right":"left",t&&e){const i=p?e.scrollLeftNormalized+e.clientWidth-e.scrollWidth:e.scrollLeft;r=(p?-1:1)*(t[n]-e[n]+i)}const i={[n]:r,[le]:t?t[le]:0};if(isNaN(me[n])||isNaN(me[le]))ge(i);else{const e=Math.abs(me[n]-i[n]),t=Math.abs(me[le]-i[le]);(e>=1||t>=1)&&ge(i)}})),Me=(e,{animation:t=!0}={})=>{t?function(e,t,n,r={},i=()=>{}){const{ease:o=g,duration:a=300}=r;let s=null;const l=t[e];let u=!1;const c=r=>{if(u)return void i(new Error("Animation cancelled"));null===s&&(s=r);const d=Math.min(1,(r-s)/a);t[e]=o(d)*(n-l)+l,d>=1?requestAnimationFrame((()=>{i(null)})):requestAnimationFrame(c)};l===n?i(new Error("Element already at target position")):requestAnimationFrame(c)}(ie,Te.current,e,{duration:u.transitions.duration.standard}):Te.current[ie]=e},Re=e=>{let t=Te.current[ie];re?t+=e:(t+=e*(p?-1:1),t*=p&&"reverse"===h()?-1:1),Me(t)},Pe=()=>{const e=Te.current[se];let t=0;const n=Array.from(_e.current.children);for(let r=0;re){0===r&&(t=e);break}t+=i[se]}return t},Oe=()=>{Re(-1*Pe())},Ie=()=>{Re(Pe())},Ne=o.useCallback((e=>{Ee({overflow:null,scrollbarWidth:e})}),[]),Le=(0,O.A)((e=>{const{tabsMeta:t,tabMeta:n}=De();if(n&&t)if(n[oe]t[ae]){const r=t[ie]+(n[ae]-t[ae]);Me(r,{animation:e})}})),Fe=(0,O.A)((()=>{ne&&!1!==R&&xe(!Se)}));o.useEffect((()=>{const e=(0,f.A)((()=>{Te.current&&Ae()}));let t;const n=(0,y.A)(Te.current);let r;return n.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(_e.current.children).forEach((e=>{t.observe(e)}))),"undefined"!=typeof MutationObserver&&(r=new MutationObserver((n=>{n.forEach((e=>{e.removedNodes.forEach((e=>{var n;null==(n=t)||n.unobserve(e)})),e.addedNodes.forEach((e=>{var n;null==(n=t)||n.observe(e)}))})),e(),Fe()})),r.observe(_e.current,{childList:!0})),()=>{var i,o;e.clear(),n.removeEventListener("resize",e),null==(i=r)||i.disconnect(),null==(o=t)||o.disconnect()}}),[Ae,Fe]),o.useEffect((()=>{const e=Array.from(_e.current.children),t=e.length;if("undefined"!=typeof IntersectionObserver&&t>0&&ne&&!1!==R){const n=e[0],r=e[t-1],i={root:Te.current,threshold:.99},o=new IntersectionObserver((e=>{ye(!e[0].isIntersecting)}),i);o.observe(n);const a=new IntersectionObserver((e=>{we(!e[0].isIntersecting)}),i);return a.observe(r),()=>{o.disconnect(),a.disconnect()}}}),[ne,R,Se,null==C?void 0:C.length]),o.useEffect((()=>{he(!0)}),[]),o.useEffect((()=>{Ae()})),o.useEffect((()=>{Le(q!==me)}),[Le,me]),o.useImperativeHandle(S,(()=>({updateIndicator:Ae,updateScrollButtons:Fe})),[Ae,Fe]);const je=(0,b.jsx)(U,(0,i.A)({},X,{className:(0,a.A)(ce.indicator,X.className),ownerState:ue,style:(0,i.A)({},me,X.style)}));let ze=0;const He=o.Children.map(C,(e=>{if(!o.isValidElement(e))return null;const t=void 0===e.props.value?ze:e.props.value;ke.set(t,ze);const n=t===Q;return ze+=1,o.cloneElement(e,(0,i.A)({fullWidth:"fullWidth"===J,indicator:n&&!pe&&je,selected:n,selectionFollowsFocus:$,onChange:D,textColor:K,value:t},1!==ze||!1!==Q||e.props.tabIndex?{}:{tabIndex:0}))})),Ve=(()=>{const e={};e.scrollbarSizeListener=ne?(0,b.jsx)(W,{onChange:Ne,className:(0,a.A)(ce.scrollableX,ce.hideScrollbar)}):null;const t=ne&&("auto"===R&&(ve||be)||!0===R);return e.scrollButtonStart=t?(0,b.jsx)(M,(0,i.A)({slots:{StartScrollButtonIcon:Y.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:de},orientation:A,direction:p?"right":"left",onClick:Oe,disabled:!ve},Z,{className:(0,a.A)(ce.scrollButtons,Z.className)})):null,e.scrollButtonEnd=t?(0,b.jsx)(M,(0,i.A)({slots:{EndScrollButtonIcon:Y.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:fe},orientation:A,direction:p?"left":"right",onClick:Ie,disabled:!be},Z,{className:(0,a.A)(ce.scrollButtons,Z.className)})):null,e})();return(0,b.jsxs)(H,(0,i.A)({className:(0,a.A)(ce.root,E),ownerState:ue,ref:t,as:k},te,{children:[Ve.scrollButtonStart,Ve.scrollbarSizeListener,(0,b.jsxs)(V,{className:ce.scroller,ownerState:ue,style:{overflow:Ce.overflow,[re?"margin"+(p?"Left":"Right"):"marginBottom"]:ee?void 0:-Ce.scrollbarWidth},ref:Te,children:[(0,b.jsx)(B,{"aria-label":v,"aria-labelledby":w,"aria-orientation":"vertical"===A?"vertical":null,className:ce.flexContainer,ownerState:ue,onKeyDown:e=>{const t=_e.current,n=(0,N.A)(t).activeElement;if("tab"!==n.getAttribute("role"))return;let r="horizontal"===A?"ArrowLeft":"ArrowUp",i="horizontal"===A?"ArrowRight":"ArrowDown";switch("horizontal"===A&&p&&(r="ArrowRight",i="ArrowLeft"),e.key){case r:e.preventDefault(),z(t,n,j);break;case i:e.preventDefault(),z(t,n,F);break;case"Home":e.preventDefault(),z(t,null,F);break;case"End":e.preventDefault(),z(t,null,j)}},ref:_e,role:"tablist",children:He}),pe&&je]}),Ve.scrollButtonEnd]}))}))},6533:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,H:()=>o});var r=n(38413),i=n(31609);function o(e){return(0,i.Ay)("MuiTabs",e)}const a=(0,r.A)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"])},76544:(e,t,n)=>{"use strict";n.d(t,{A:()=>P});var r=n(58168),i=n(98587),o=n(89453),a=n(11317),s=n(96970),l=n(94188),u=n(33571),c=n(3437);const d={black:"#000",white:"#fff"},f={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},p={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},h={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},m={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},g={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},v={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},y={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},b=["mode","contrastThreshold","tonalOffset"],w={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:d.white,default:d.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},S={text:{primary:d.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:d.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function x(e,t,n,r){const i=r.light||r,o=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,c.a)(e.main,i):"dark"===t&&(e.dark=(0,c.e$)(e.main,o)))}const C=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],E={textTransform:"uppercase"},k='"Roboto", "Helvetica", "Arial", sans-serif';function T(e,t){const n="function"==typeof t?t(e):t,{fontFamily:o=k,fontSize:s=14,fontWeightLight:l=300,fontWeightRegular:u=400,fontWeightMedium:c=500,fontWeightBold:d=700,htmlFontSize:f=16,allVariants:p,pxToRem:h}=n,m=(0,i.A)(n,C),g=s/14,v=h||(e=>e/f*g+"rem"),y=(e,t,n,i,a)=>{return(0,r.A)({fontFamily:o,fontWeight:e,fontSize:v(t),lineHeight:n},o===k?{letterSpacing:(s=i/t,Math.round(1e5*s)/1e5+"em")}:{},a,p);var s},b={h1:y(l,96,1.167,-1.5),h2:y(l,60,1.2,-.5),h3:y(u,48,1.167,0),h4:y(u,34,1.235,.25),h5:y(u,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(u,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(u,16,1.5,.15),body2:y(u,14,1.43,.15),button:y(c,14,1.75,.4,E),caption:y(u,12,1.66,.4),overline:y(u,12,2.66,1,E),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,a.A)((0,r.A)({htmlFontSize:f,pxToRem:v,fontFamily:o,fontSize:s,fontWeightLight:l,fontWeightRegular:u,fontWeightMedium:c,fontWeightBold:d},b),m,{clone:!1})}function _(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const D=["none",_(0,2,1,-1,0,1,1,0,0,1,3,0),_(0,3,1,-2,0,2,2,0,0,1,5,0),_(0,3,3,-2,0,3,4,0,0,1,8,0),_(0,2,4,-1,0,4,5,0,0,1,10,0),_(0,3,5,-1,0,5,8,0,0,1,14,0),_(0,3,5,-1,0,6,10,0,0,1,18,0),_(0,4,5,-2,0,7,10,1,0,2,16,1),_(0,5,5,-3,0,8,10,1,0,3,14,2),_(0,5,6,-3,0,9,12,1,0,3,16,2),_(0,6,6,-3,0,10,14,1,0,4,18,3),_(0,6,7,-4,0,11,15,1,0,4,20,3),_(0,7,8,-4,0,12,17,2,0,5,22,4),_(0,7,8,-4,0,13,19,2,0,5,24,4),_(0,7,9,-4,0,14,21,2,0,5,26,4),_(0,8,9,-5,0,15,22,2,0,6,28,5),_(0,8,10,-5,0,16,24,2,0,6,30,5),_(0,8,11,-5,0,17,26,2,0,6,32,5),_(0,9,11,-5,0,18,28,2,0,7,34,6),_(0,9,12,-6,0,19,29,2,0,7,36,6),_(0,10,13,-6,0,20,31,3,0,8,38,7),_(0,10,13,-6,0,21,33,3,0,8,40,7),_(0,10,14,-6,0,22,35,3,0,8,42,7),_(0,11,14,-7,0,23,36,3,0,9,44,8),_(0,11,15,-7,0,24,38,3,0,9,46,8)];var A=n(17091);const M={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},R=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const P=function(e={},...t){const{mixins:n={},palette:C={},transitions:E={},typography:k={}}=e,_=(0,i.A)(e,R);if(e.vars)throw new Error((0,o.A)(18));const P=function(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:s=.2}=e,l=(0,i.A)(e,b),u=e.primary||function(e="light"){return"dark"===e?{main:g[200],light:g[50],dark:g[400]}:{main:g[700],light:g[400],dark:g[800]}}(t),C=e.secondary||function(e="light"){return"dark"===e?{main:p[200],light:p[50],dark:p[400]}:{main:p[500],light:p[300],dark:p[700]}}(t),E=e.error||function(e="light"){return"dark"===e?{main:h[500],light:h[300],dark:h[700]}:{main:h[700],light:h[400],dark:h[800]}}(t),k=e.info||function(e="light"){return"dark"===e?{main:v[400],light:v[300],dark:v[700]}:{main:v[700],light:v[500],dark:v[900]}}(t),T=e.success||function(e="light"){return"dark"===e?{main:y[400],light:y[300],dark:y[700]}:{main:y[800],light:y[500],dark:y[900]}}(t),_=e.warning||function(e="light"){return"dark"===e?{main:m[400],light:m[300],dark:m[700]}:{main:"#ed6c02",light:m[500],dark:m[900]}}(t);function D(e){return(0,c.eM)(e,S.text.primary)>=n?S.text.primary:w.text.primary}const A=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:a=700})=>{if(!(e=(0,r.A)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error((0,o.A)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error((0,o.A)(12,t?` (${t})`:"",JSON.stringify(e.main)));return x(e,"light",i,s),x(e,"dark",a,s),e.contrastText||(e.contrastText=D(e.main)),e},M={dark:S,light:w};return(0,a.A)((0,r.A)({common:(0,r.A)({},d),mode:t,primary:A({color:u,name:"primary"}),secondary:A({color:C,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:A({color:E,name:"error"}),warning:A({color:_,name:"warning"}),info:A({color:k,name:"info"}),success:A({color:T,name:"success"}),grey:f,contrastThreshold:n,getContrastText:D,augmentColor:A,tonalOffset:s},M[t]),l)}(C),O=(0,s.A)(e);let I=(0,a.A)(O,{mixins:(N=O.breakpoints,L=n,(0,r.A)({toolbar:{minHeight:56,[N.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[N.up("sm")]:{minHeight:64}}},L)),palette:P,shadows:D.slice(),typography:T(P,k),transitions:(0,A.Ay)(E),zIndex:(0,r.A)({},M)});var N,L;return I=(0,a.A)(I,_),I=t.reduce(((e,t)=>(0,a.A)(e,t)),I),I.unstable_sxConfig=(0,r.A)({},l.A,null==_?void 0:_.unstable_sxConfig),I.unstable_sx=function(e){return(0,u.A)({sx:e,theme:this})},I}},17091:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c,p0:()=>s});var r=n(98587),i=n(58168);const o=["duration","easing","delay"],a={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},s={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function l(e){return`${Math.round(e)}ms`}function u(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function c(e){const t=(0,i.A)({},a,e.easing),n=(0,i.A)({},s,e.duration);return(0,i.A)({getAutoHeightDuration:u,create:(e=["all"],i={})=>{const{duration:a=n.standard,easing:s=t.easeInOut,delay:u=0}=i;return(0,r.A)(i,o),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof a?a:l(a)} ${s} ${"string"==typeof u?u:l(u)}`)).join(",")}},e,{easing:t,duration:n})}},22765:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(76544).A)()},58312:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="$$material"},11848:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l,_n:()=>s,ep:()=>a});var r=n(85329),i=n(22765),o=n(58312);const a=e=>(0,r.MC)(e)&&"classes"!==e,s=r.MC,l=(0,r.Ay)({themeId:o.A,defaultTheme:i.A,rootShouldForwardProp:a})},3541:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(44467),i=n(22765),o=n(58312);function a({props:e,name:t}){return(0,r.A)({props:e,name:t,defaultTheme:i.A,themeId:o.A})}},28466:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(13967).A},9359:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>y,q_:()=>b});var r=n(58168),i=n(96540),o=n(36289),a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=(0,o.A)((function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),l=n(99214),u=n(30041),c=n(43174),d=n(71287),f=s,p=function(e){return"theme"!==e},h=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?f:p},m=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},g=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,u.SF)(t,n,r),(0,d.s)((function(){return(0,u.sk)(t,n,r)})),null},v=function e(t,n){var o,a,s=t.__emotion_real===t,d=s&&t.__emotion_base||t;void 0!==n&&(o=n.label,a=n.target);var f=m(t,n,s),p=f||h(d),v=!p("as");return function(){var y=arguments,b=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&b.push("label:"+o+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{b.push(y[0][0]);for(var w=y.length,S=1;S{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},89452:(e,t,n)=>{"use strict";n.d(t,{EU:()=>s,NI:()=>a,iZ:()=>u,kW:()=>c,vf:()=>l,zu:()=>i});var r=n(11317);const i={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${i[e]}px)`};function a(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||o;return t.reduce(((r,i,o)=>(r[e.up(e.keys[o])]=n(t[o]),r)),{})}if("object"==typeof t){const e=r.breakpoints||o;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||i).indexOf(o))r[e.up(o)]=n(t[o],o);else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function s(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function l(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function u(e,...t){const n=s(e),i=[n,...t].reduce(((e,t)=>(0,r.A)(e,t)),{});return l(Object.keys(n),i)}function c({values:e,breakpoints:t,base:n}){const r=n||function(e,t){if("object"!=typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach(((t,r)=>{r{null!=e[t]&&(n[t]=!0)})),n}(e,t),i=Object.keys(r);if(0===i.length)return e;let o;return i.reduce(((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[o],o=r):"object"==typeof e?(t[n]=null!=e[n]?e[n]:e[o],o=n):t[n]=e,t)),{})}},3437:(e,t,n)=>{"use strict";n.d(t,{X4:()=>c,e$:()=>d,tL:()=>p,eM:()=>u,a:()=>f});var r=n(89453);const i=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))};function o(e,t=0,n=1){return i(e,t,n)}function a(e){if(e.type)return e;if("#"===e.charAt(0))return a(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.A)(9,e));let i,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),i=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i))throw new Error((0,r.A)(10,i))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:i}}function s(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function l(e){let t="hsl"===(e=a(e)).type||"hsla"===e.type?a(function(e){e=a(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),l=(e,t=(e+n/30)%12)=>i-o*Math.max(Math.min(t-3,9-t,1),-1);let u="rgb";const c=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),s({type:u,values:c})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function u(e,t){const n=l(e),r=l(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function c(e,t){return e=a(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,s(e)}function d(e,t){if(e=a(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return s(e)}function f(e,t){if(e=a(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return s(e)}function p(e,t=.15){return l(e)>.5?d(e,t):f(e,t)}},85329:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>y,MC:()=>f});var r=n(58168),i=n(98587),o=n(9359),a=n(11317),s=n(96970),l=n(33571);const u=["ownerState"],c=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const p=(0,s.A)(),h=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function m({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function g(e){return e?(t,n)=>n[e]:null}function v(e,t){let{ownerState:n}=t,o=(0,i.A)(t,u);const a="function"==typeof e?e((0,r.A)({ownerState:n},o)):e;if(Array.isArray(a))return a.flatMap((e=>v(e,(0,r.A)({ownerState:n},o))));if(a&&"object"==typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=(0,i.A)(a,c);return e.forEach((e=>{let i=!0;"function"==typeof e.props?i=e.props((0,r.A)({ownerState:n},o,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&o[t]!==e.props[t]&&(i=!1)})),i&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,r.A)({ownerState:n},o,n)):e.style))})),t}return a}function y(e={}){const{themeId:t,defaultTheme:n=p,rootShouldForwardProp:s=f,slotShouldForwardProp:u=f}=e,c=e=>(0,l.A)((0,r.A)({},e,{theme:m((0,r.A)({},e,{defaultTheme:n,themeId:t}))}));return c.__mui_systemSx=!0,(e,l={})=>{(0,o.q_)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:p,slot:y,skipVariantsResolver:b,skipSx:w,overridesResolver:S=g(h(y))}=l,x=(0,i.A)(l,d),C=void 0!==b?b:y&&"Root"!==y&&"root"!==y||!1,E=w||!1;let k=f;"Root"===y||"root"===y?k=s:y?k=u:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(k=void 0);const T=(0,o.Ay)(e,(0,r.A)({shouldForwardProp:k,label:void 0},x)),_=e=>"function"==typeof e&&e.__emotion_real!==e||(0,a.Q)(e)?i=>v(e,(0,r.A)({},i,{theme:m({theme:i.theme,defaultTheme:n,themeId:t})})):e,D=(i,...o)=>{let a=_(i);const s=o?o.map(_):[];p&&S&&s.push((e=>{const i=m((0,r.A)({},e,{defaultTheme:n,themeId:t}));if(!i.components||!i.components[p]||!i.components[p].styleOverrides)return null;const o=i.components[p].styleOverrides,a={};return Object.entries(o).forEach((([t,n])=>{a[t]=v(n,(0,r.A)({},e,{theme:i}))})),S(e,a)})),p&&!C&&s.push((e=>{var i;const o=m((0,r.A)({},e,{defaultTheme:n,themeId:t}));return v({variants:null==o||null==(i=o.components)||null==(i=i[p])?void 0:i.variants},(0,r.A)({},e,{theme:o}))})),E||s.push(c);const l=s.length-o.length;if(Array.isArray(i)&&l>0){const e=new Array(l).fill("");a=[...i,...e],a.raw=[...i.raw,...e]}const u=T(a,...s);return e.muiName&&(u.muiName=e.muiName),u};return T.withConfig&&(D.withConfig=T.withConfig),D}}},96970:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(58168),i=n(98587),o=n(11317);const a=["values","unit","step"],s={borderRadius:4};var l=n(68248),u=n(33571),c=n(94188);function d(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){const r=n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return n.palette.mode===e?t:{}}const f=["breakpoints","palette","spacing","shape"],p=function(e={},...t){const{breakpoints:n={},palette:p={},spacing:h,shape:m={}}=e,g=(0,i.A)(e,f),v=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:o=5}=e,s=(0,i.A)(e,a),l=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>(0,r.A)({},e,{[t.key]:t.val})),{})})(t),u=Object.keys(l);function c(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function d(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-o/100}${n})`}function f(e,r){const i=u.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[u[i]]?t[u[i]]:r)-o/100}${n})`}return(0,r.A)({keys:u,values:l,up:c,down:d,between:f,only:function(e){return u.indexOf(e)+1(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}(h);let b=(0,o.A)({breakpoints:v,direction:"ltr",components:{},palette:(0,r.A)({mode:"light"},p),spacing:y,shape:(0,r.A)({},s,m)},g);return b.applyStyles=d,b=t.reduce(((e,t)=>(0,o.A)(e,t)),b),b.unstable_sxConfig=(0,r.A)({},c.A,null==g?void 0:g.unstable_sxConfig),b.unstable_sx=function(e){return(0,u.A)({sx:e,theme:this})},b}},14620:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(11317);const i=function(e,t){return t?(0,r.A)(e,t,{clone:!1}):e}},68248:(e,t,n)=>{"use strict";n.d(t,{LX:()=>h,MA:()=>p,_W:()=>m,Lc:()=>v,Ms:()=>y});var r=n(89452),i=n(86481),o=n(14620);const a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(){const e={};return t=>(void 0===e[t]&&(e[t]=(e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[t,n]=e.split(""),r=a[t],i=s[n]||"";return Array.isArray(i)?i.map((e=>r+e)):[r+i]})(t)),e[t])}(),c=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],f=[...c,...d];function p(e,t,n,r){var o;const a=null!=(o=(0,i.Yn)(e,t,!1))?o:n;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>{}}function h(e){return p(e,"spacing",8)}function m(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function g(e,t){const n=h(e.theme);return Object.keys(e).map((i=>function(e,t,n,i){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=m(t,n),e)),{})}(u(n),i),a=e[n];return(0,r.NI)(e,a,o)}(e,t,i,n))).reduce(o.A,{})}function v(e){return g(e,c)}function y(e){return g(e,d)}function b(e){return g(e,f)}v.propTypes={},v.filterProps=c,y.propTypes={},y.filterProps=d,b.propTypes={},b.filterProps=f},86481:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,BO:()=>a,Yn:()=>o});var r=n(13967),i=n(89452);function o(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function a(e,t,n,r=n){let i;return i="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:o(e,n)||r,t&&(i=t(i,r,e)),i}const s=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:s,transform:l}=e,u=e=>{if(null==e[t])return null;const u=e[t],c=o(e.theme,s)||{};return(0,i.NI)(e,u,(e=>{let i=a(c,l,e);return e===i&&"string"==typeof e&&(i=a(c,l,`${t}${"default"===e?"":(0,r.A)(e)}`,e)),!1===n?i:{[n]:i}}))};return u.propTypes={},u.filterProps=[t],u}},94188:(e,t,n)=>{"use strict";n.d(t,{A:()=>I});var r=n(68248),i=n(86481),o=n(14620);const a=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?(0,o.A)(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n};var s=n(89452);function l(e){return"number"!=typeof e?e:`${e}px solid`}function u(e,t){return(0,i.Ay)({prop:e,themeKey:"borders",transform:t})}const c=u("border",l),d=u("borderTop",l),f=u("borderRight",l),p=u("borderBottom",l),h=u("borderLeft",l),m=u("borderColor"),g=u("borderTopColor"),v=u("borderRightColor"),y=u("borderBottomColor"),b=u("borderLeftColor"),w=u("outline",l),S=u("outlineColor"),x=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,r.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:(0,r._W)(t,e)});return(0,s.NI)(e,e.borderRadius,n)}return null};x.propTypes={},x.filterProps=["borderRadius"],a(c,d,f,p,h,m,g,v,y,b,x,w,S);const C=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,r.MA)(e.theme,"spacing",8,"gap"),n=e=>({gap:(0,r._W)(t,e)});return(0,s.NI)(e,e.gap,n)}return null};C.propTypes={},C.filterProps=["gap"];const E=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,r.MA)(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:(0,r._W)(t,e)});return(0,s.NI)(e,e.columnGap,n)}return null};E.propTypes={},E.filterProps=["columnGap"];const k=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,r.MA)(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:(0,r._W)(t,e)});return(0,s.NI)(e,e.rowGap,n)}return null};function T(e,t){return"grey"===t?t:e}function _(e){return e<=1&&0!==e?100*e+"%":e}k.propTypes={},k.filterProps=["rowGap"],a(C,E,k,(0,i.Ay)({prop:"gridColumn"}),(0,i.Ay)({prop:"gridRow"}),(0,i.Ay)({prop:"gridAutoFlow"}),(0,i.Ay)({prop:"gridAutoColumns"}),(0,i.Ay)({prop:"gridAutoRows"}),(0,i.Ay)({prop:"gridTemplateColumns"}),(0,i.Ay)({prop:"gridTemplateRows"}),(0,i.Ay)({prop:"gridTemplateAreas"}),(0,i.Ay)({prop:"gridArea"})),a((0,i.Ay)({prop:"color",themeKey:"palette",transform:T}),(0,i.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:T}),(0,i.Ay)({prop:"backgroundColor",themeKey:"palette",transform:T}));const D=(0,i.Ay)({prop:"width",transform:_}),A=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const i=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||s.zu[t];return i?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:_(t)}};return(0,s.NI)(e,e.maxWidth,t)}return null};A.filterProps=["maxWidth"];const M=(0,i.Ay)({prop:"minWidth",transform:_}),R=(0,i.Ay)({prop:"height",transform:_}),P=(0,i.Ay)({prop:"maxHeight",transform:_}),O=(0,i.Ay)({prop:"minHeight",transform:_}),I=((0,i.Ay)({prop:"size",cssProperty:"width",transform:_}),(0,i.Ay)({prop:"size",cssProperty:"height",transform:_}),a(D,A,M,R,P,O,(0,i.Ay)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:x},color:{themeKey:"palette",transform:T},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:T},backgroundColor:{themeKey:"palette",transform:T},p:{style:r.Ms},pt:{style:r.Ms},pr:{style:r.Ms},pb:{style:r.Ms},pl:{style:r.Ms},px:{style:r.Ms},py:{style:r.Ms},padding:{style:r.Ms},paddingTop:{style:r.Ms},paddingRight:{style:r.Ms},paddingBottom:{style:r.Ms},paddingLeft:{style:r.Ms},paddingX:{style:r.Ms},paddingY:{style:r.Ms},paddingInline:{style:r.Ms},paddingInlineStart:{style:r.Ms},paddingInlineEnd:{style:r.Ms},paddingBlock:{style:r.Ms},paddingBlockStart:{style:r.Ms},paddingBlockEnd:{style:r.Ms},m:{style:r.Lc},mt:{style:r.Lc},mr:{style:r.Lc},mb:{style:r.Lc},ml:{style:r.Lc},mx:{style:r.Lc},my:{style:r.Lc},margin:{style:r.Lc},marginTop:{style:r.Lc},marginRight:{style:r.Lc},marginBottom:{style:r.Lc},marginLeft:{style:r.Lc},marginX:{style:r.Lc},marginY:{style:r.Lc},marginInline:{style:r.Lc},marginInlineStart:{style:r.Lc},marginInlineEnd:{style:r.Lc},marginBlock:{style:r.Lc},marginBlockStart:{style:r.Lc},marginBlockEnd:{style:r.Lc},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:C},rowGap:{style:k},columnGap:{style:E},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:_},maxWidth:{style:A},minWidth:{transform:_},height:{transform:_},maxHeight:{transform:_},minHeight:{transform:_},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},33571:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(13967),i=n(14620),o=n(86481),a=n(89452),s=n(94188);const l=function(){function e(e,t,n,i){const s={[e]:t,theme:n},l=i[e];if(!l)return{[e]:t};const{cssProperty:u=e,themeKey:c,transform:d,style:f}=l;if(null==t)return null;if("typography"===c&&"inherit"===t)return{[e]:t};const p=(0,o.Yn)(n,c)||{};return f?f(s):(0,a.NI)(s,t,(t=>{let n=(0,o.BO)(p,d,t);return t===n&&"string"==typeof t&&(n=(0,o.BO)(p,d,`${e}${"default"===t?"":(0,r.A)(t)}`,t)),!1===u?n:{[u]:n}}))}return function t(n){var r;const{sx:o,theme:l={}}=n||{};if(!o)return null;const u=null!=(r=l.unstable_sxConfig)?r:s.A;function c(n){let r=n;if("function"==typeof n)r=n(l);else if("object"!=typeof n)return n;if(!r)return null;const o=(0,a.EU)(l.breakpoints),s=Object.keys(o);let c=o;return Object.keys(r).forEach((n=>{const o="function"==typeof(s=r[n])?s(l):s;var s;if(null!=o)if("object"==typeof o)if(u[n])c=(0,i.A)(c,e(n,o,l,u));else{const e=(0,a.NI)({theme:l},o,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,o)?c=(0,i.A)(c,e):c[n]=t({sx:o,theme:l})}else c=(0,i.A)(c,e(n,o,l,u))})),(0,a.vf)(s,c)}return Array.isArray(o)?o.map(c):c(o)}}();l.filterProps=["sx"];const u=l},82858:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96970),i=n(53951);const o=(0,r.A)(),a=function(e=o){return(0,i.A)(e)}},37340:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(47379);function i(e){const{theme:t,name:n,props:i}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.A)(t.components[n].defaultProps,i):i}},44467:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(37340),i=n(82858);function o({props:e,name:t,defaultTheme:n,themeId:o}){let a=(0,i.A)(n);return o&&(a=a[o]||a),(0,r.A)({theme:a,name:t,props:e})}},53951:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540),i=n(99214);const o=function(e=null){const t=r.useContext(i.T);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}},79071:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});const r=e=>e,i=(()=>{let e=r;return{configure(t){e=t},generate:t=>e(t),reset(){e=r}}})()},13967:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(89453);function i(e){if("string"!=typeof e)throw new Error((0,r.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},75659:(e,t,n)=>{"use strict";function r(e,t,n=void 0){const r={};return Object.keys(e).forEach((i=>{r[i]=e[i].reduce(((e,r)=>{if(r){const i=t(r);""!==i&&e.push(i),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}n.d(t,{A:()=>r})},11317:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,Q:()=>i});var r=n(58168);function i(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function o(e){if(!i(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=o(e[n])})),t}function a(e,t,n={clone:!0}){const s=n.clone?(0,r.A)({},e):e;return i(e)&&i(t)&&Object.keys(t).forEach((r=>{i(t[r])&&Object.prototype.hasOwnProperty.call(e,r)&&i(e[r])?s[r]=a(e[r],t[r],n):n.clone?s[r]=i(t[r])?o(t[r]):t[r]:s[r]=t[r]})),s}},89453:(e,t,n)=>{"use strict";function r(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;er})},31609:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>o});var r=n(79071);const i={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function o(e,t,n="Mui"){const o=i[t];return o?`${n}-${o}`:`${r.A.generate(e)}-${t}`}},38413:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(31609);function i(e,t,n="Mui"){const i={};return t.forEach((t=>{i[t]=(0,r.Ay)(e,t,n)})),i}},47379:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(58168);function i(e,t){const n=(0,r.A)({},t);return Object.keys(e).forEach((o=>{if(o.toString().match(/^(components|slots)$/))n[o]=(0,r.A)({},e[o],n[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){const a=e[o]||{},s=t[o];n[o]={},s&&Object.keys(s)?a&&Object.keys(a)?(n[o]=(0,r.A)({},s),Object.keys(a).forEach((e=>{n[o][e]=i(a[e],s[e])}))):n[o]=s:n[o]=a}else void 0===n[o]&&(n[o]=e[o])})),n}},72111:(e,t,n)=>{"use strict";n.d(t,{K:()=>Xt});var r=n(58168),i=n(98587),o=n(96540),a=n(71335),s=n(3541),l=n(5556),u=n.n(l),c=n(45489),d=n(37021),f=n(16566),p=n(99500),h=n(17315),m=n(61890),g=n(64741),v=n(95878);const y=({props:e,value:t,adapter:n})=>{const r=(0,g.Z)({adapter:n,value:t,props:e});return null!==r?r:(({adapter:e,value:t,props:n})=>{if(null===t)return null;const{minTime:r,maxTime:i,minutesStep:o,shouldDisableClock:a,shouldDisableTime:s,disableIgnoringDatePartForTimeValidation:l=!1,disablePast:u,disableFuture:c,timezone:d}=n,f=e.utils.dateWithTimezone(void 0,d),p=(0,v.iF)(l,e.utils);switch(!0){case!e.utils.isValid(t):return"invalidDate";case Boolean(r&&p(r,t)):return"minTime";case Boolean(i&&p(t,i)):return"maxTime";case Boolean(c&&e.utils.isAfter(t,f)):return"disableFuture";case Boolean(u&&e.utils.isBefore(t,f)):return"disablePast";case Boolean(s&&s(t,"hours")):return"shouldDisableTime-hours";case Boolean(s&&s(t,"minutes")):return"shouldDisableTime-minutes";case Boolean(s&&s(t,"seconds")):return"shouldDisableTime-seconds";case Boolean(a&&a(e.utils.getHours(t),"hours")):return"shouldDisableClock-hours";case Boolean(a&&a(e.utils.getMinutes(t),"minutes")):return"shouldDisableClock-minutes";case Boolean(a&&a(e.utils.getSeconds(t),"seconds")):return"shouldDisableClock-seconds";case Boolean(o&&e.utils.getMinutes(t)%o!=0):return"minutesStep";default:return null}})({adapter:n,value:t,props:e})};var b=n(23887),w=n(69490),S=n(54274);var x=n(57655),C=n(74848);const E=["components","componentsProps","slots","slotProps","InputProps","inputProps"],k=["inputRef"],T=["ref","onPaste","onKeyDown","inputMode","readOnly","clearable","onClear"],_=o.forwardRef((function(e,t){var n,o,a;const l=(0,s.A)({props:e,name:"MuiDateTimeField"}),{components:u,componentsProps:c,slots:d,slotProps:g,InputProps:v,inputProps:_}=l,D=(0,i.A)(l,E),A=l,M=null!=(n=null!=(o=null==d?void 0:d.textField)?o:null==u?void 0:u.TextField)?n:p.A,R=(0,h.Q)({elementType:M,externalSlotProps:null!=(a=null==g?void 0:g.textField)?a:null==c?void 0:c.textField,externalForwardedProps:D,ownerState:A}),{inputRef:P}=R,O=(0,i.A)(R,k);O.inputProps=(0,r.A)({},_,O.inputProps),O.InputProps=(0,r.A)({},v,O.InputProps);const I=(({props:e,inputRef:t})=>{const n=(e=>{var t,n,i,o,a,s,l,u;const c=(0,w.hc)(),d=(0,w.Yg)(),f=(null!=(t=e.ampm)?t:c.is12HourCycleInCurrentLocale())?c.formats.keyboardDateTime12h:c.formats.keyboardDateTime24h;return(0,r.A)({},e,{disablePast:null!=(n=e.disablePast)&&n,disableFuture:null!=(i=e.disableFuture)&&i,format:null!=(o=e.format)?o:f,disableIgnoringDatePartForTimeValidation:Boolean(e.minDateTime||e.maxDateTime),minDate:(0,b.IP)(c,null!=(a=e.minDateTime)?a:e.minDate,d.minDate),maxDate:(0,b.IP)(c,null!=(s=e.maxDateTime)?s:e.maxDate,d.maxDate),minTime:null!=(l=e.minDateTime)?l:e.minTime,maxTime:null!=(u=e.maxDateTime)?u:e.maxTime})})(e),{forwardedProps:i,internalProps:o}=(0,S.D)(n,"date-time");return(0,m.M)({inputRef:t,forwardedProps:i,internalProps:o,valueManager:f.W,fieldValueManager:f.o,validator:y,valueType:"date-time"})})({props:O,inputRef:P}),{ref:N,onPaste:L,onKeyDown:F,inputMode:j,readOnly:z,clearable:H,onClear:V}=I,B=(0,i.A)(I,T),{InputProps:U,fieldProps:W}=(0,x.Z)({onClear:V,clearable:H,fieldProps:B,InputProps:B.InputProps,slots:d,slotProps:g,components:u,componentsProps:c});return(0,C.jsx)(M,(0,r.A)({ref:t},W,{InputProps:(0,r.A)({},U,{readOnly:z}),inputProps:(0,r.A)({},B.inputProps,{inputMode:j,onPaste:L,onKeyDown:F,ref:N})}))}));var D=n(10423),A=n(61294),M=n(6533),R=n(11848),P=n(75659),O=n(40293),I=n(31609),N=n(38413);function L(e){return(0,I.Ay)("MuiDateTimePickerTabs",e)}(0,N.A)("MuiDateTimePickerTabs",["root"]);const F=e=>(0,b.sC)(e)?"date":"time",j=(0,R.Ay)(A.A,{name:"MuiDateTimePickerTabs",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({boxShadow:`0 -1px 0 0 inset ${(e.vars||e).palette.divider}`,"&:last-child":{boxShadow:`0 1px 0 0 inset ${(e.vars||e).palette.divider}`,[`& .${M.A.indicator}`]:{bottom:"auto",top:0}}}))),z=function(e){const t=(0,s.A)({props:e,name:"MuiDateTimePickerTabs"}),{dateIcon:n=(0,C.jsx)(O.Z5,{}),onViewChange:r,timeIcon:i=(0,C.jsx)(O.b1,{}),view:a,hidden:l="undefined"==typeof window||window.innerHeight<667}=t,u=(0,w.Nq)(),c=(e=>{const{classes:t}=e;return(0,P.A)({root:["root"]},L,t)})(t);return l?null:(0,C.jsxs)(j,{ownerState:t,variant:"fullWidth",value:F(a),onChange:(e,t)=>{r("date"===t?"day":"hours")},className:c.root,children:[(0,C.jsx)(D.A,{value:"date","aria-label":u.dateTableLabel,icon:(0,C.jsx)(o.Fragment,{children:n})}),(0,C.jsx)(D.A,{value:"time","aria-label":u.timeTableLabel,icon:(0,C.jsx)(o.Fragment,{children:i})})]})};var H=n(44675),V=n(34164),B=n(14073);function U(e){return(0,I.Ay)("MuiPickersToolbarText",e)}const W=(0,N.A)("MuiPickersToolbarText",["root","selected"]),q=["className","selected","value"],$=(0,R.Ay)(B.A,{name:"MuiPickersToolbarText",slot:"Root",overridesResolver:(e,t)=>[t.root,{[`&.${W.selected}`]:t.selected}]})((({theme:e})=>({transition:e.transitions.create("color"),color:(e.vars||e).palette.text.secondary,[`&.${W.selected}`]:{color:(e.vars||e).palette.text.primary}}))),Y=o.forwardRef((function(e,t){const n=(0,s.A)({props:e,name:"MuiPickersToolbarText"}),{className:o,value:a}=n,l=(0,i.A)(n,q),u=(e=>{const{classes:t,selected:n}=e,r={root:["root",n&&"selected"]};return(0,P.A)(r,U,t)})(n);return(0,C.jsx)($,(0,r.A)({ref:t,className:(0,V.A)(o,u.root),component:"span"},l,{children:a}))}));var G=n(6498),X=n(61224),Z=n(2880);const K=["align","className","selected","typographyClassName","value","variant","width"],Q=(0,R.Ay)(X.A,{name:"MuiPickersToolbarButton",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:0,minWidth:16,textTransform:"none"}),J=o.forwardRef((function(e,t){const n=(0,s.A)({props:e,name:"MuiPickersToolbarButton"}),{align:o,className:a,selected:l,typographyClassName:u,value:c,variant:d,width:f}=n,p=(0,i.A)(n,K),h=(e=>{const{classes:t}=e;return(0,P.A)({root:["root"]},Z.B,t)})(n);return(0,C.jsx)(Q,(0,r.A)({variant:"text",ref:t,className:(0,V.A)(a,h.root)},f?{sx:{width:f}}:{},p,{children:(0,C.jsx)(Y,{align:o,className:u,variant:d,value:c,selected:l})}))}));function ee(e){return(0,I.Ay)("MuiDateTimePickerToolbar",e)}const te=(0,N.A)("MuiDateTimePickerToolbar",["root","dateContainer","timeContainer","timeDigitsContainer","separator","timeLabelReverse","ampmSelection","ampmLandscape","ampmLabel"]);var ne=n(50117),re=n(31886);const ie=["ampm","ampmInClock","value","onChange","view","isLandscape","onViewChange","toolbarFormat","toolbarPlaceholder","views","disabled","readOnly","toolbarVariant"],oe=e=>{const{classes:t,theme:n,isLandscape:r}=e,i={root:["root"],dateContainer:["dateContainer"],timeContainer:["timeContainer","rtl"===n.direction&&"timeLabelReverse"],timeDigitsContainer:["timeDigitsContainer","rtl"===n.direction&&"timeLabelReverse"],separator:["separator"],ampmSelection:["ampmSelection",r&&"ampmLandscape"],ampmLabel:["ampmLabel"]};return(0,P.A)(i,ee,t)},ae=(0,R.Ay)(G.Z,{name:"MuiDateTimePickerToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>({paddingLeft:"desktop"!==t.toolbarVariant||t.isLandscape?16:24,paddingRight:"desktop"!==t.toolbarVariant||t.isLandscape?16:0,borderBottom:"desktop"===t.toolbarVariant?`1px solid ${(e.vars||e).palette.divider}`:void 0,borderRight:"desktop"===t.toolbarVariant&&t.isLandscape?`1px solid ${(e.vars||e).palette.divider}`:void 0,justifyContent:"space-around",position:"relative"})));ae.propTypes={as:u().elementType,classes:u().object,className:u().string,isLandscape:u().bool.isRequired,isMobileKeyboardViewOpen:u().bool,landscapeDirection:u().oneOf(["column","row"]),ownerState:u().object.isRequired,sx:u().oneOfType([u().arrayOf(u().oneOfType([u().func,u().object,u().bool])),u().func,u().object]),toggleMobileKeyboardView:u().func,toolbarTitle:u().node,viewType:u().oneOf(["date","time"])};const se=(0,R.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"DateContainer",overridesResolver:(e,t)=>t.dateContainer})({display:"flex",flexDirection:"column",alignItems:"flex-start"}),le=(0,R.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"TimeContainer",overridesResolver:(e,t)=>t.timeContainer})((({theme:e,ownerState:t})=>{const n=t.isLandscape&&"desktop"!==t.toolbarVariant?"column":"row";return(0,r.A)({display:"flex",flexDirection:n},"desktop"===t.toolbarVariant&&(0,r.A)({},!t.isLandscape&&{gap:9,marginRight:4,alignSelf:"flex-end"}),"rtl"===e.direction&&{flexDirection:`${n}-reverse`})})),ue=(0,R.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"TimeDigitsContainer",overridesResolver:(e,t)=>t.timeDigitsContainer})((({theme:e,ownerState:t})=>(0,r.A)({display:"flex"},"desktop"===t.toolbarVariant&&{gap:1.5},"rtl"===e.direction&&{flexDirection:"row-reverse"})));le.propTypes={as:u().elementType,ownerState:u().object.isRequired,sx:u().oneOfType([u().arrayOf(u().oneOfType([u().func,u().object,u().bool])),u().func,u().object])};const ce=(0,R.Ay)(Y,{name:"MuiDateTimePickerToolbar",slot:"Separator",overridesResolver:(e,t)=>t.separator})((({ownerState:e})=>({margin:"desktop"===e.toolbarVariant?0:"0 4px 0 2px",cursor:"default"}))),de=(0,R.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"AmPmSelection",overridesResolver:(e,t)=>[{[`.${te.ampmLabel}`]:t.ampmLabel},{[`&.${te.ampmLandscape}`]:t.ampmLandscape},t.ampmSelection]})((({ownerState:e})=>(0,r.A)({display:"flex",flexDirection:"column",marginRight:"auto",marginLeft:12},e.isLandscape&&{margin:"4px 0 auto",flexDirection:"row",justifyContent:"space-around",width:"100%"},{[`& .${te.ampmLabel}`]:{fontSize:17}})));function fe(e){const t=(0,s.A)({props:e,name:"MuiDateTimePickerToolbar"}),{ampm:n,ampmInClock:a,value:l,onChange:u,view:c,isLandscape:d,onViewChange:f,toolbarFormat:p,toolbarPlaceholder:h="––",views:m,disabled:g,readOnly:v,toolbarVariant:y="mobile"}=t,S=(0,i.A)(t,ie),x=t,E=(0,w.hc)(),{meridiemMode:k,handleMeridiemChange:T}=(0,ne.r7)(l,n,u),_=Boolean(n&&!a),D="desktop"===y,A=(0,w.Nq)(),M=(0,H.A)(),R=oe((0,r.A)({},x,{theme:M})),P=o.useMemo((()=>l?p?E.formatByString(l,p):E.format(l,"shortDate"):h),[l,p,h,E]);return(0,C.jsxs)(ae,(0,r.A)({toolbarTitle:A.dateTimePickerToolbarTitle,isLandscape:d,className:R.root},S,{ownerState:x,children:[(0,C.jsxs)(se,{className:R.dateContainer,ownerState:x,children:[m.includes("year")&&(0,C.jsx)(J,{tabIndex:-1,variant:"subtitle1",onClick:()=>f("year"),selected:"year"===c,value:l?E.format(l,"year"):"–"}),m.includes("day")&&(0,C.jsx)(J,{tabIndex:-1,variant:D?"h5":"h4",onClick:()=>f("day"),selected:"day"===c,value:P})]}),(0,C.jsxs)(le,{className:R.timeContainer,ownerState:x,children:[(0,C.jsxs)(ue,{className:R.timeDigitsContainer,ownerState:x,children:[m.includes("hours")&&(0,C.jsx)(J,{variant:D?"h5":"h3",width:D&&!d?re.aG:void 0,onClick:()=>f("hours"),selected:"hours"===c,value:l?(O=l,n?E.format(O,"hours12h"):E.format(O,"hours24h")):"--"}),m.includes("minutes")&&(0,C.jsxs)(o.Fragment,{children:[(0,C.jsx)(ce,{variant:D?"h5":"h3",value:":",className:R.separator,ownerState:x}),(0,C.jsx)(J,{variant:D?"h5":"h3",width:D&&!d?re.aG:void 0,onClick:()=>f("minutes"),selected:"minutes"===c,value:l?E.format(l,"minutes"):"--"})]}),m.includes("seconds")&&(0,C.jsxs)(o.Fragment,{children:[(0,C.jsx)(ce,{variant:D?"h5":"h3",value:":",className:R.separator,ownerState:x}),(0,C.jsx)(J,{variant:D?"h5":"h3",width:D&&!d?re.aG:void 0,onClick:()=>f("seconds"),selected:"seconds"===c,value:l?E.format(l,"seconds"):"--"})]})]}),_&&!D&&(0,C.jsxs)(de,{className:R.ampmSelection,ownerState:x,children:[(0,C.jsx)(J,{variant:"subtitle2",selected:"am"===k,typographyClassName:R.ampmLabel,value:(0,b._S)(E,"am"),onClick:v?void 0:()=>T("am"),disabled:g}),(0,C.jsx)(J,{variant:"subtitle2",selected:"pm"===k,typographyClassName:R.ampmLabel,value:(0,b._S)(E,"pm"),onClick:v?void 0:()=>T("pm"),disabled:g})]}),n&&D&&(0,C.jsx)(J,{variant:"h5",onClick:()=>f("meridiem"),selected:"meridiem"===c,value:l&&k?(0,b._S)(E,k):"--",width:re.aG})]})]}));var O}var pe=n(34469),he=n(60831);function me(e,t){var n,i,a,l,u,c,d,f,p,h,m;const g=(0,w.hc)(),v=(0,w.Yg)(),y=(0,s.A)({props:e,name:t}),S=null!=(n=y.ampm)?n:g.is12HourCycleInCurrentLocale(),x=o.useMemo((()=>{var e;return null==(null==(e=y.localeText)?void 0:e.toolbarTitle)?y.localeText:(0,r.A)({},y.localeText,{dateTimePickerToolbarTitle:y.localeText.toolbarTitle})}),[y.localeText]),C=null!=(i=y.slots)?i:(0,he.p)(y.components),E=null!=(a=y.slotProps)?a:y.componentsProps;return(0,r.A)({},y,(0,pe.R)({views:y.views,openTo:y.openTo,defaultViews:["year","day","hours","minutes"],defaultOpenTo:"day"}),{ampm:S,localeText:x,orientation:null!=(l=y.orientation)?l:"portrait",disableIgnoringDatePartForTimeValidation:null!=(u=y.disableIgnoringDatePartForTimeValidation)?u:Boolean(y.minDateTime||y.maxDateTime||y.disablePast||y.disableFuture),disableFuture:null!=(c=y.disableFuture)&&c,disablePast:null!=(d=y.disablePast)&&d,minDate:(0,b.IP)(g,null!=(f=y.minDateTime)?f:y.minDate,v.minDate),maxDate:(0,b.IP)(g,null!=(p=y.maxDateTime)?p:y.maxDate,v.maxDate),minTime:null!=(h=y.minDateTime)?h:y.minTime,maxTime:null!=(m=y.maxDateTime)?m:y.maxTime,slots:(0,r.A)({toolbar:fe,tabs:z},C),slotProps:(0,r.A)({},E,{toolbar:(0,r.A)({ampm:S},null==E?void 0:E.toolbar)})})}var ge=n(37755),ve=n(71543),ye=n(65673);function be(e){return(0,I.Ay)("MuiMultiSectionDigitalClockSection",e)}const we=(0,N.A)("MuiMultiSectionDigitalClockSection",["root","item"]),Se=(0,R.Ay)("div")({display:"flex",margin:"0 auto"});var xe=n(34661),Ce=n(92821),Ee=n(93703),ke=n(81593);function Te(e){return(0,I.Ay)("MuiTimeClock",e)}(0,N.A)("MuiTimeClock",["root","arrowSwitcher"]);var _e=n(11641),De=n(21529);const Ae=220,Me=36,Re=Ae/2,Pe=Ae/2,Oe=Re-Re,Ie=0-Pe,Ne=(e,t,n)=>{const r=t-Re,i=n-Pe;let o=(Math.atan2(Oe,Ie)-Math.atan2(r,i))*(180/Math.PI);o=Math.round(o/e)*e,o%=360;const a=r**2+i**2;return{value:Math.floor(o/e)||0,distance:Math.sqrt(a)}};function Le(e){return(0,I.Ay)("MuiClockPointer",e)}(0,N.A)("MuiClockPointer",["root","thumb"]);const Fe=["className","hasSelected","isInner","type","viewValue"],je=e=>{const{classes:t}=e;return(0,P.A)({root:["root"],thumb:["thumb"]},Le,t)},ze=(0,R.Ay)("div",{name:"MuiClockPointer",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>(0,r.A)({width:2,backgroundColor:(e.vars||e).palette.primary.main,position:"absolute",left:"calc(50% - 1px)",bottom:"50%",transformOrigin:"center bottom 0px"},t.shouldAnimate&&{transition:e.transitions.create(["transform","height"])}))),He=(0,R.Ay)("div",{name:"MuiClockPointer",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((({theme:e,ownerState:t})=>(0,r.A)({width:4,height:4,backgroundColor:(e.vars||e).palette.primary.contrastText,borderRadius:"50%",position:"absolute",top:-21,left:"calc(50% - 18px)",border:`16px solid ${(e.vars||e).palette.primary.main}`,boxSizing:"content-box"},t.hasSelected&&{backgroundColor:(e.vars||e).palette.primary.main})));function Ve(e){const t=(0,s.A)({props:e,name:"MuiClockPointer"}),{className:n,isInner:a,type:l,viewValue:u}=t,c=(0,i.A)(t,Fe),d=o.useRef(l);o.useEffect((()=>{d.current=l}),[l]);const f=(0,r.A)({},t,{shouldAnimate:d.current!==l}),p=je(f);return(0,C.jsx)(ze,(0,r.A)({style:(()=>{let e=360/("hours"===l?12:60)*u;return"hours"===l&&u>12&&(e-=360),{height:Math.round((a?.26:.4)*Ae),transform:`rotateZ(${e}deg)`}})(),className:(0,V.A)(n,p.root),ownerState:f},c,{children:(0,C.jsx)(He,{ownerState:f,className:p.thumb})}))}function Be(e){return(0,I.Ay)("MuiClock",e)}(0,N.A)("MuiClock",["root","clock","wrapper","squareMask","pin","amButton","pmButton","meridiemText"]);const Ue=(0,R.Ay)("div",{name:"MuiClock",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"flex",justifyContent:"center",alignItems:"center",margin:e.spacing(2)}))),We=(0,R.Ay)("div",{name:"MuiClock",slot:"Clock",overridesResolver:(e,t)=>t.clock})({backgroundColor:"rgba(0,0,0,.07)",borderRadius:"50%",height:220,width:220,flexShrink:0,position:"relative",pointerEvents:"none"}),qe=(0,R.Ay)("div",{name:"MuiClock",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({"&:focus":{outline:"none"}}),$e=(0,R.Ay)("div",{name:"MuiClock",slot:"SquareMask",overridesResolver:(e,t)=>t.squareMask})((({ownerState:e})=>(0,r.A)({width:"100%",height:"100%",position:"absolute",pointerEvents:"auto",outline:0,touchAction:"none",userSelect:"none"},e.disabled?{}:{"@media (pointer: fine)":{cursor:"pointer",borderRadius:"50%"},"&:active":{cursor:"move"}}))),Ye=(0,R.Ay)("div",{name:"MuiClock",slot:"Pin",overridesResolver:(e,t)=>t.pin})((({theme:e})=>({width:6,height:6,borderRadius:"50%",backgroundColor:(e.vars||e).palette.primary.main,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}))),Ge=(0,R.Ay)(_e.A,{name:"MuiClock",slot:"AmButton",overridesResolver:(e,t)=>t.amButton})((({theme:e,ownerState:t})=>(0,r.A)({zIndex:1,position:"absolute",bottom:8,left:8,paddingLeft:4,paddingRight:4,width:Me},"am"===t.meridiemMode&&{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:hover":{backgroundColor:(e.vars||e).palette.primary.light}}))),Xe=(0,R.Ay)(_e.A,{name:"MuiClock",slot:"PmButton",overridesResolver:(e,t)=>t.pmButton})((({theme:e,ownerState:t})=>(0,r.A)({zIndex:1,position:"absolute",bottom:8,right:8,paddingLeft:4,paddingRight:4,width:Me},"pm"===t.meridiemMode&&{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:hover":{backgroundColor:(e.vars||e).palette.primary.light}}))),Ze=(0,R.Ay)(B.A,{name:"MuiClock",slot:"meridiemText",overridesResolver:(e,t)=>t.meridiemText})({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});function Ke(e){const t=(0,s.A)({props:e,name:"MuiClock"}),{ampm:n,ampmInClock:r,autoFocus:i,children:a,value:l,handleMeridiemChange:u,isTimeDisabled:c,meridiemMode:d,minutesStep:f=1,onChange:p,selectedId:h,type:m,viewValue:g,disabled:v,readOnly:y,className:S}=t,x=t,E=(0,w.hc)(),k=(0,w.Nq)(),T=o.useRef(!1),_=(e=>{const{classes:t}=e;return(0,P.A)({root:["root"],clock:["clock"],wrapper:["wrapper"],squareMask:["squareMask"],pin:["pin"],amButton:["amButton"],pmButton:["pmButton"],meridiemText:["meridiemText"]},Be,t)})(x),D=c(g,m),A=!n&&"hours"===m&&(g<1||g>12),M=(e,t)=>{v||y||c(e,m)||p(e,t)},R=(e,t)=>{let{offsetX:r,offsetY:i}=e;if(void 0===r){const t=e.target.getBoundingClientRect();r=e.changedTouches[0].clientX-t.left,i=e.changedTouches[0].clientY-t.top}const o="seconds"===m||"minutes"===m?((e,t,n=1)=>{const r=6*n;let{value:i}=Ne(r,e,t);return i=i*n%60,i})(r,i,f):((e,t,n)=>{const{value:r,distance:i}=Ne(30,e,t);let o=r||12;return n?o%=12:i"hours"===m||g%5==0),[m,g]),I="minutes"===m?f:1,N=o.useRef(null);return(0,De.A)((()=>{i&&N.current.focus()}),[i]),(0,C.jsxs)(Ue,{className:(0,V.A)(S,_.root),children:[(0,C.jsxs)(We,{className:_.clock,children:[(0,C.jsx)($e,{onTouchMove:e=>{T.current=!0,R(e,"shallow")},onTouchEnd:e=>{T.current&&(R(e,"finish"),T.current=!1)},onMouseUp:e=>{T.current&&(T.current=!1),R(e.nativeEvent,"finish")},onMouseMove:e=>{e.buttons>0&&R(e.nativeEvent,"shallow")},ownerState:{disabled:v},className:_.squareMask}),!D&&(0,C.jsxs)(o.Fragment,{children:[(0,C.jsx)(Ye,{className:_.pin}),null!=l&&(0,C.jsx)(Ve,{type:m,viewValue:g,isInner:A,hasSelected:O})]}),(0,C.jsx)(qe,{"aria-activedescendant":h,"aria-label":k.clockLabelText(m,l,E),ref:N,role:"listbox",onKeyDown:e=>{if(!T.current)switch(e.key){case"Home":M(0,"partial"),e.preventDefault();break;case"End":M("minutes"===m?59:23,"partial"),e.preventDefault();break;case"ArrowUp":M(g+I,"partial"),e.preventDefault();break;case"ArrowDown":M(g-I,"partial"),e.preventDefault()}},tabIndex:0,className:_.wrapper,children:a})]}),n&&r&&(0,C.jsxs)(o.Fragment,{children:[(0,C.jsx)(Ge,{onClick:y?void 0:()=>u("am"),disabled:v||null===d,ownerState:x,className:_.amButton,title:(0,b._S)(E,"am"),children:(0,C.jsx)(Ze,{variant:"caption",className:_.meridiemText,children:(0,b._S)(E,"am")})}),(0,C.jsx)(Xe,{disabled:v||null===d,onClick:y?void 0:()=>u("pm"),ownerState:x,className:_.pmButton,title:(0,b._S)(E,"pm"),children:(0,C.jsx)(Ze,{variant:"caption",className:_.meridiemText,children:(0,b._S)(E,"pm")})})]})]})}function Qe(e){return(0,I.Ay)("MuiClockNumber",e)}const Je=(0,N.A)("MuiClockNumber",["root","selected","disabled"]),et=["className","disabled","index","inner","label","selected"],tt=(0,R.Ay)("span",{name:"MuiClockNumber",slot:"Root",overridesResolver:(e,t)=>[t.root,{[`&.${Je.disabled}`]:t.disabled},{[`&.${Je.selected}`]:t.selected}]})((({theme:e,ownerState:t})=>(0,r.A)({height:Me,width:Me,position:"absolute",left:"calc((100% - 36px) / 2)",display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",color:(e.vars||e).palette.text.primary,fontFamily:e.typography.fontFamily,"&:focused":{backgroundColor:(e.vars||e).palette.background.paper},[`&.${Je.selected}`]:{color:(e.vars||e).palette.primary.contrastText},[`&.${Je.disabled}`]:{pointerEvents:"none",color:(e.vars||e).palette.text.disabled}},t.inner&&(0,r.A)({},e.typography.body2,{color:(e.vars||e).palette.text.secondary}))));function nt(e){const t=(0,s.A)({props:e,name:"MuiClockNumber"}),{className:n,disabled:o,index:a,inner:l,label:u,selected:c}=t,d=(0,i.A)(t,et),f=t,p=(e=>{const{classes:t,selected:n,disabled:r}=e,i={root:["root",n&&"selected",r&&"disabled"]};return(0,P.A)(i,Qe,t)})(f),h=a%12/12*Math.PI*2-Math.PI/2,m=(Ae-Me-2)/2*(l?.65:1),g=Math.round(Math.cos(h)*m),v=Math.round(Math.sin(h)*m);return(0,C.jsx)(tt,(0,r.A)({className:(0,V.A)(n,p.root),"aria-disabled":!!o||void 0,"aria-selected":!!c||void 0,role:"option",style:{transform:`translate(${g}px, ${v+(Ae-Me)/2}px`},ownerState:f},d,{children:u}))}const rt=({ampm:e,value:t,getClockNumberText:n,isDisabled:r,selectedId:i,utils:o})=>{const a=t?o.getHours(t):null,s=[],l=e?12:23,u=t=>null!==a&&(e?12===t?12===a||0===a:a===t||a-12===t:a===t);for(let t=e?1:0;t<=l;t+=1){let a=t.toString();0===t&&(a="00");const l=!e&&(0===t||t>12);a=o.formatNumber(a);const c=u(t);s.push((0,C.jsx)(nt,{id:c?i:void 0,index:t,inner:l,selected:c,disabled:r(t),label:a,"aria-label":n(a)},t))}return s},it=({utils:e,value:t,isDisabled:n,getClockNumberText:r,selectedId:i})=>{const o=e.formatNumber;return[[5,o("05")],[10,o("10")],[15,o("15")],[20,o("20")],[25,o("25")],[30,o("30")],[35,o("35")],[40,o("40")],[45,o("45")],[50,o("50")],[55,o("55")],[0,o("00")]].map((([e,o],a)=>{const s=e===t;return(0,C.jsx)(nt,{label:o,id:s?i:void 0,index:a+1,inner:!1,disabled:n(e),selected:s,"aria-label":r(o)},e)}))};var ot=n(33059),at=n(78401);const st=({value:e,referenceDate:t,utils:n,props:r,timezone:i})=>{const a=o.useMemo((()=>f.W.getInitialReferenceValue({value:e,utils:n,props:r,referenceDate:t,granularity:at.yX.day,timezone:i,getTodayDate:()=>(0,b.ak)(n,i,"date")})),[]);return null!=e?e:a},lt=["ampm","ampmInClock","autoFocus","components","componentsProps","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableClock","shouldDisableTime","showViewSwitcher","onChange","view","views","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","timezone"],ut=(0,R.Ay)(ke.I,{name:"MuiTimeClock",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"column",position:"relative"}),ct=(0,R.Ay)(Ce.Y,{name:"MuiTimeClock",slot:"ArrowSwitcher",overridesResolver:(e,t)=>t.arrowSwitcher})({position:"absolute",right:12,top:15}),dt=["hours","minutes"],ft=o.forwardRef((function(e,t){const n=(0,w.hc)(),a=(0,s.A)({props:e,name:"MuiTimeClock"}),{ampm:l=n.is12HourCycleInCurrentLocale(),ampmInClock:u=!1,autoFocus:c,components:d,componentsProps:p,slots:h,slotProps:m,value:g,defaultValue:y,referenceDate:b,disableIgnoringDatePartForTimeValidation:S=!1,maxTime:x,minTime:E,disableFuture:k,disablePast:T,minutesStep:_=1,shouldDisableClock:D,shouldDisableTime:A,showViewSwitcher:M,onChange:R,view:O,views:I=dt,openTo:N,onViewChange:L,focusedView:F,onFocusedViewChange:j,className:z,disabled:H,readOnly:B,timezone:U}=a,W=(0,i.A)(a,lt),q=null!=h?h:(0,he.p)(d),$=null!=m?m:p,{value:Y,handleValueChange:G,timezone:X}=(0,ot.Y)({name:"TimeClock",timezone:U,value:g,defaultValue:y,onChange:R,valueManager:f.W}),Z=st({value:Y,referenceDate:b,utils:n,props:a,timezone:X}),K=(0,w.Nq)(),Q=(0,w.cB)(X),{view:J,setView:ee,previousView:te,nextView:re,setValueAndGoToNextView:ie}=(0,Ee.o)({view:O,views:I,openTo:N,onViewChange:L,onChange:G,focusedView:F,onFocusedViewChange:j}),{meridiemMode:oe,handleMeridiemChange:ae}=(0,ne.r7)(Z,l,ie),se=o.useCallback(((e,t)=>{const r=(0,v.iF)(S,n),i="hours"===t||"minutes"===t&&I.includes("seconds"),o=({start:e,end:t})=>!(E&&r(E,t)||x&&r(e,x)||k&&r(e,Q)||T&&r(Q,i?t:e)),a=(e,r=1)=>{if(e%r!=0)return!1;if(null!=D&&D(e,t))return!1;if(A)switch(t){case"hours":return!A(n.setHours(Z,e),"hours");case"minutes":return!A(n.setMinutes(Z,e),"minutes");case"seconds":return!A(n.setSeconds(Z,e),"seconds");default:return!1}return!0};switch(t){case"hours":{const t=(0,v.gY)(e,oe,l),r=n.setHours(Z,t);return!o({start:n.setSeconds(n.setMinutes(r,0),0),end:n.setSeconds(n.setMinutes(r,59),59)})||!a(t)}case"minutes":{const t=n.setMinutes(Z,e);return!o({start:n.setSeconds(t,0),end:n.setSeconds(t,59)})||!a(e,_)}case"seconds":{const t=n.setSeconds(Z,e);return!o({start:t,end:t})||!a(e)}default:throw new Error("not supported")}}),[l,Z,S,x,oe,E,_,D,A,n,k,T,Q,I]),le=(0,xe.A)(),ue=o.useMemo((()=>{switch(J){case"hours":{const e=(e,t)=>{const r=(0,v.gY)(e,oe,l);ie(n.setHours(Z,r),t)};return{onChange:e,viewValue:n.getHours(Z),children:rt({value:Y,utils:n,ampm:l,onChange:e,getClockNumberText:K.hoursClockNumberText,isDisabled:e=>H||se(e,"hours"),selectedId:le})}}case"minutes":{const e=n.getMinutes(Z),t=(e,t)=>{ie(n.setMinutes(Z,e),t)};return{viewValue:e,onChange:t,children:it({utils:n,value:e,onChange:t,getClockNumberText:K.minutesClockNumberText,isDisabled:e=>H||se(e,"minutes"),selectedId:le})}}case"seconds":{const e=n.getSeconds(Z),t=(e,t)=>{ie(n.setSeconds(Z,e),t)};return{viewValue:e,onChange:t,children:it({utils:n,value:e,onChange:t,getClockNumberText:K.secondsClockNumberText,isDisabled:e=>H||se(e,"seconds"),selectedId:le})}}default:throw new Error("You must provide the type for ClockView")}}),[J,n,Y,l,K.hoursClockNumberText,K.minutesClockNumberText,K.secondsClockNumberText,oe,ie,Z,se,le,H]),ce=a,de=(e=>{const{classes:t}=e;return(0,P.A)({root:["root"],arrowSwitcher:["arrowSwitcher"]},Te,t)})(ce);return(0,C.jsxs)(ut,(0,r.A)({ref:t,className:(0,V.A)(de.root,z),ownerState:ce},W,{children:[(0,C.jsx)(Ke,(0,r.A)({autoFocus:null!=c?c:!!F,ampmInClock:u&&I.includes("hours"),value:Y,type:J,ampm:l,minutesStep:_,isTimeDisabled:se,meridiemMode:oe,handleMeridiemChange:ae,selectedId:le,disabled:H,readOnly:B},ue)),M&&(0,C.jsx)(ct,{className:de.arrowSwitcher,slots:q,slotProps:$,onGoToPrevious:()=>ee(te),isPreviousDisabled:!te,previousLabel:K.openPreviousView,onGoToNext:()=>ee(re),isNextDisabled:!re,nextLabel:K.openNextView,ownerState:ce})]}))}));var pt=n(3437),ht=n(71547),mt=n(56554),gt=n(88116),vt=n(31523);function yt(e){return(0,I.Ay)("MuiDigitalClock",e)}const bt=(0,N.A)("MuiDigitalClock",["root","list","item"]),wt=["ampm","timeStep","autoFocus","components","componentsProps","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableClock","shouldDisableTime","onChange","view","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","views","skipDisabled","timezone"],St=(0,R.Ay)(ke.I,{name:"MuiDigitalClock",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e})=>({overflowY:"auto",width:"100%","@media (prefers-reduced-motion: no-preference)":{scrollBehavior:e.alreadyRendered?"smooth":"auto"},maxHeight:re.kP}))),xt=(0,R.Ay)(gt.A,{name:"MuiDigitalClock",slot:"List",overridesResolver:(e,t)=>t.list})({padding:0}),Ct=(0,R.Ay)(mt.A,{name:"MuiDigitalClock",slot:"Item",overridesResolver:(e,t)=>t.item})((({theme:e})=>({padding:"8px 16px",margin:"2px 4px","&:first-of-type":{marginTop:4},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,pt.X4)(e.palette.primary.main,e.palette.action.hoverOpacity)},"&.Mui-selected":{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:focus-visible, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}},"&.Mui-focusVisible":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,pt.X4)(e.palette.primary.main,e.palette.action.focusOpacity)}}))),Et=o.forwardRef((function(e,t){var n,a,l;const u=(0,w.hc)(),c=o.useRef(null),d=(0,vt.A)(t,c),p=(0,s.A)({props:e,name:"MuiDigitalClock"}),{ampm:m=u.is12HourCycleInCurrentLocale(),timeStep:g=30,autoFocus:y,components:b,componentsProps:S,slots:x,slotProps:E,value:k,defaultValue:T,referenceDate:_,disableIgnoringDatePartForTimeValidation:D=!1,maxTime:A,minTime:M,disableFuture:R,disablePast:O,minutesStep:I=1,shouldDisableClock:N,shouldDisableTime:L,onChange:F,view:j,openTo:z,onViewChange:H,focusedView:B,onFocusedViewChange:U,className:W,disabled:q,readOnly:$,views:Y=["hours"],skipDisabled:G=!1,timezone:X}=p,Z=(0,i.A)(p,wt),{value:K,handleValueChange:Q,timezone:J}=(0,ot.Y)({name:"DigitalClock",timezone:X,value:k,defaultValue:T,onChange:F,valueManager:f.W}),ee=(0,w.Nq)(),te=(0,w.cB)(J),ne=o.useMemo((()=>(0,r.A)({},p,{alreadyRendered:!!c.current})),[p]),re=(e=>{const{classes:t}=e;return(0,P.A)({root:["root"],list:["list"],item:["item"]},yt,t)})(ne),ie=null!=(n=null!=(a=null==x?void 0:x.digitalClockItem)?a:null==b?void 0:b.DigitalClockItem)?n:Ct,oe=(0,h.Q)({elementType:ie,externalSlotProps:null!=(l=null==E?void 0:E.digitalClockItem)?l:null==S?void 0:S.digitalClockItem,ownerState:{},className:re.item}),ae=st({value:K,referenceDate:_,utils:u,props:p,timezone:J}),se=(0,ht.A)((e=>Q(e,"finish","hours"))),{setValueAndGoToNextView:le}=(0,Ee.o)({view:j,views:Y,openTo:z,onViewChange:H,onChange:se,focusedView:B,onFocusedViewChange:U}),ue=(0,ht.A)((e=>{le(e,"finish")}));o.useEffect((()=>{if(null===c.current)return;const e=c.current.querySelector('[role="listbox"] [role="option"][aria-selected="true"]');if(!e)return;const t=e.offsetTop;c.current.scrollTop=t-4}));const ce=o.useCallback((e=>{const t=(0,v.iF)(D,u);return!!(M&&t(M,e)||A&&t(e,A)||R&&t(e,te)||O&&t(te,e))||!!(u.getMinutes(e)%I!=0||null!=N&&N(u.toJsDate(e).getTime(),"hours")||L&&L(e,"hours"))}),[D,u,M,A,R,te,O,I,N,L]),de=o.useMemo((()=>{const e=u.startOfDay(ae);return[e,...Array.from({length:Math.ceil(1440/g)-1},((t,n)=>u.addMinutes(e,g*(n+1))))]}),[ae,g,u]);return(0,C.jsx)(St,(0,r.A)({ref:d,className:(0,V.A)(re.root,W),ownerState:ne},Z,{children:(0,C.jsx)(xt,{autoFocusItem:y||!!B,role:"listbox","aria-label":ee.timePickerToolbarTitle,className:re.list,children:de.map((e=>{if(G&&ce(e))return null;const t=u.isEqual(e,K);return(0,C.jsx)(ie,(0,r.A)({onClick:()=>!$&&ue(e),selected:t,disabled:q||ce(e),disableRipple:$,role:"option","aria-disabled":$,"aria-selected":t},oe,{children:u.format(e,m?"fullTime12h":"fullTime24h")}),u.toISO(e))}))})}))}));function kt(e){return(0,I.Ay)("MuiMultiSectionDigitalClock",e)}(0,N.A)("MuiMultiSectionDigitalClock",["root"]);const Tt=["autoFocus","onChange","className","disabled","readOnly","items","active","slots","slotProps","skipDisabled"],_t=(0,R.Ay)(gt.A,{name:"MuiMultiSectionDigitalClockSection",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>({maxHeight:re.kP,width:56,padding:0,overflow:"hidden","@media (prefers-reduced-motion: no-preference)":{scrollBehavior:t.alreadyRendered?"smooth":"auto"},"@media (pointer: fine)":{"&:hover":{overflowY:"auto"}},"@media (pointer: none), (pointer: coarse)":{overflowY:"auto"},"&:not(:first-of-type)":{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},"&:after":{display:"block",content:'""',height:"calc(100% - 40px - 6px)"}}))),Dt=(0,R.Ay)(mt.A,{name:"MuiMultiSectionDigitalClockSection",slot:"Item",overridesResolver:(e,t)=>t.item})((({theme:e})=>({padding:8,margin:"2px 4px",width:re.aG,justifyContent:"center","&:first-of-type":{marginTop:4},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,pt.X4)(e.palette.primary.main,e.palette.action.hoverOpacity)},"&.Mui-selected":{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:focus-visible, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}},"&.Mui-focusVisible":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,pt.X4)(e.palette.primary.main,e.palette.action.focusOpacity)}}))),At=o.forwardRef((function(e,t){var n;const a=o.useRef(null),l=(0,vt.A)(t,a),u=o.useRef(null),c=(0,s.A)({props:e,name:"MuiMultiSectionDigitalClockSection"}),{autoFocus:d,onChange:f,className:p,disabled:h,readOnly:m,items:g,active:v,slots:y,slotProps:b,skipDisabled:w}=c,S=(0,i.A)(c,Tt),x=o.useMemo((()=>(0,r.A)({},c,{alreadyRendered:!!a.current})),[c]),E=(e=>{const{classes:t}=e;return(0,P.A)({root:["root"],item:["item"]},be,t)})(x),k=null!=(n=null==y?void 0:y.digitalClockSectionItem)?n:Dt;return o.useEffect((()=>{if(null===a.current)return;const e=a.current.querySelector('[role="option"][aria-selected="true"]');if(v&&d&&e&&e.focus(),!e||u.current===e)return;u.current=e;const t=e.offsetTop;a.current.scrollTop=t-4})),(0,C.jsx)(_t,(0,r.A)({ref:l,className:(0,V.A)(E.root,p),ownerState:x,autoFocusItem:d&&v,role:"listbox"},S,{children:g.map((e=>{var t,n;if(w&&null!=(t=e.isDisabled)&&t.call(e,e.value))return null;const i=e.isSelected(e.value);return(0,C.jsx)(k,(0,r.A)({onClick:()=>!m&&f(e.value),selected:i,disabled:h||(null==(n=e.isDisabled)?void 0:n.call(e,e.value)),disableRipple:m,role:"option","aria-disabled":m,"aria-label":e.ariaLabel,"aria-selected":i,className:E.item},null==b?void 0:b.digitalClockSectionItem,{children:e.label}),e.label)}))}))})),Mt=({now:e,value:t,utils:n,ampm:r,isDisabled:i,resolveAriaLabel:o,timeStep:a})=>{const s=t?n.getHours(t):null,l=[],u=e=>null!==s&&(r?12===e?12===s||0===s:s===e||s-12===e:s===e),c=r?11:23;for(let t=0;t<=c;t+=a){let a=n.format(n.setHours(e,t),r?"hours12h":"hours24h");const s=o(parseInt(a,10).toString());a=n.formatNumber(a),l.push({value:t,label:a,isSelected:u,isDisabled:i,ariaLabel:s})}return l},Rt=({value:e,utils:t,isDisabled:n,timeStep:r,resolveLabel:i,resolveAriaLabel:o,hasValue:a=!0})=>{const s=t=>null!==e&&a&&e===t;return[...Array.from({length:Math.ceil(60/r)},((e,a)=>{const l=r*a;return{value:l,label:t.formatNumber(i(l)),isDisabled:n,isSelected:s,ariaLabel:o(l.toString())}}))]},Pt=["ampm","timeSteps","autoFocus","components","componentsProps","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableClock","shouldDisableTime","onChange","view","views","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","skipDisabled","timezone"],Ot=(0,R.Ay)(ke.I,{name:"MuiMultiSectionDigitalClock",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"flex",flexDirection:"row",width:"100%",borderBottom:`1px solid ${(e.vars||e).palette.divider}`}))),It=o.forwardRef((function(e,t){const n=(0,w.hc)(),a=(0,s.A)({props:e,name:"MuiMultiSectionDigitalClock"}),{ampm:l=n.is12HourCycleInCurrentLocale(),timeSteps:u,autoFocus:c,components:d,componentsProps:p,slots:h,slotProps:m,value:g,defaultValue:y,referenceDate:S,disableIgnoringDatePartForTimeValidation:x=!1,maxTime:E,minTime:k,disableFuture:T,disablePast:_,minutesStep:D=1,shouldDisableClock:A,shouldDisableTime:M,onChange:R,view:O,views:I=["hours","minutes"],openTo:N,onViewChange:L,focusedView:F,onFocusedViewChange:j,className:z,disabled:H,readOnly:B,skipDisabled:U=!1,timezone:W}=a,q=(0,i.A)(a,Pt),{value:$,handleValueChange:Y,timezone:G}=(0,ot.Y)({name:"MultiSectionDigitalClock",timezone:W,value:g,defaultValue:y,onChange:R,valueManager:f.W}),X=(0,w.Nq)(),Z=(0,w.cB)(G),K=o.useMemo((()=>(0,r.A)({hours:1,minutes:5,seconds:5},u)),[u]),Q=st({value:$,referenceDate:S,utils:n,props:a,timezone:G}),J=(0,ht.A)(((e,t,n)=>Y(e,t,n))),ee=o.useMemo((()=>l&&I.includes("hours")?I.includes("meridiem")?I:[...I,"meridiem"]:I),[l,I]),{view:te,setValueAndGoToNextView:re,focusedView:ie}=(0,Ee.o)({view:O,views:ee,openTo:N,onViewChange:L,onChange:J,focusedView:F,onFocusedViewChange:j}),oe=(0,ht.A)((e=>{re(e,"finish","meridiem")})),{meridiemMode:ae,handleMeridiemChange:se}=(0,ne.r7)(Q,l,oe,"finish"),le=o.useCallback(((e,t)=>{const r=(0,v.iF)(x,n),i="hours"===t||"minutes"===t&&ee.includes("seconds"),o=({start:e,end:t})=>!(k&&r(k,t)||E&&r(e,E)||T&&r(e,Z)||_&&r(Z,i?t:e)),a=(e,r=1)=>{if(e%r!=0)return!1;if(null!=A&&A(e,t))return!1;if(M)switch(t){case"hours":return!M(n.setHours(Q,e),"hours");case"minutes":return!M(n.setMinutes(Q,e),"minutes");case"seconds":return!M(n.setSeconds(Q,e),"seconds");default:return!1}return!0};switch(t){case"hours":{const t=(0,v.gY)(e,ae,l),r=n.setHours(Q,t);return!o({start:n.setSeconds(n.setMinutes(r,0),0),end:n.setSeconds(n.setMinutes(r,59),59)})||!a(t)}case"minutes":{const t=n.setMinutes(Q,e);return!o({start:n.setSeconds(t,0),end:n.setSeconds(t,59)})||!a(e,D)}case"seconds":{const t=n.setSeconds(Q,e);return!o({start:t,end:t})||!a(e)}default:throw new Error("not supported")}}),[l,Q,x,E,ae,k,D,A,M,n,T,_,Z,ee]),ue=o.useCallback((e=>{switch(e){case"hours":return{onChange:e=>{const t=(0,v.gY)(e,ae,l);re(n.setHours(Q,t),"finish","hours")},items:Mt({now:Z,value:$,ampm:l,utils:n,isDisabled:e=>H||le(e,"hours"),timeStep:K.hours,resolveAriaLabel:X.hoursClockNumberText})};case"minutes":return{onChange:e=>{re(n.setMinutes(Q,e),"finish","minutes")},items:Rt({value:n.getMinutes(Q),utils:n,isDisabled:e=>H||le(e,"minutes"),resolveLabel:e=>n.format(n.setMinutes(Z,e),"minutes"),timeStep:K.minutes,hasValue:!!$,resolveAriaLabel:X.minutesClockNumberText})};case"seconds":return{onChange:e=>{re(n.setSeconds(Q,e),"finish","seconds")},items:Rt({value:n.getSeconds(Q),utils:n,isDisabled:e=>H||le(e,"seconds"),resolveLabel:e=>n.format(n.setSeconds(Z,e),"seconds"),timeStep:K.seconds,hasValue:!!$,resolveAriaLabel:X.secondsClockNumberText})};case"meridiem":{const e=(0,b._S)(n,"am"),t=(0,b._S)(n,"pm");return{onChange:se,items:[{value:"am",label:e,isSelected:()=>!!$&&"am"===ae,ariaLabel:e},{value:"pm",label:t,isSelected:()=>!!$&&"pm"===ae,ariaLabel:t}]}}default:throw new Error(`Unknown view: ${e} found.`)}}),[Z,$,l,n,K.hours,K.minutes,K.seconds,X.hoursClockNumberText,X.minutesClockNumberText,X.secondsClockNumberText,ae,re,Q,H,le,se]),ce=o.useMemo((()=>ee.reduce(((e,t)=>(0,r.A)({},e,{[t]:ue(t)})),{})),[ee,ue]),de=a,fe=(e=>{const{classes:t}=e;return(0,P.A)({root:["root"]},kt,t)})(de);return(0,C.jsx)(Ot,(0,r.A)({ref:t,className:(0,V.A)(fe.root,z),ownerState:de,role:"group"},q,{children:Object.entries(ce).map((([e,t])=>(0,C.jsx)(At,{items:t.items,onChange:t.onChange,active:te===e,autoFocus:null!=c?c:ie===e,disabled:H,readOnly:B,slots:null!=h?h:d,slotProps:null!=m?m:p,skipDisabled:U,"aria-label":X.selectViewText(e)},e)))}))})),Nt=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:i,value:o,defaultValue:a,referenceDate:s,onChange:l,className:u,classes:c,disableFuture:d,disablePast:f,minTime:p,maxTime:h,shouldDisableTime:m,shouldDisableClock:g,minutesStep:y,ampm:b,ampmInClock:w,components:S,componentsProps:x,slots:E,slotProps:k,readOnly:T,disabled:_,sx:D,autoFocus:A,showViewSwitcher:M,disableIgnoringDatePartForTimeValidation:R,timezone:P})=>(0,C.jsx)(ft,{view:e,onViewChange:t,focusedView:n&&(0,v.hW)(n)?n:null,onFocusedViewChange:r,views:i.filter(v.hW),value:o,defaultValue:a,referenceDate:s,onChange:l,className:u,classes:c,disableFuture:d,disablePast:f,minTime:p,maxTime:h,shouldDisableTime:m,shouldDisableClock:g,minutesStep:y,ampm:b,ampmInClock:w,components:S,componentsProps:x,slots:E,slotProps:k,readOnly:T,disabled:_,sx:D,autoFocus:A,showViewSwitcher:M,disableIgnoringDatePartForTimeValidation:R,timezone:P}),Lt=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:i,value:o,defaultValue:a,referenceDate:s,onChange:l,className:u,classes:c,disableFuture:d,disablePast:f,minTime:p,maxTime:h,shouldDisableTime:m,shouldDisableClock:g,minutesStep:y,ampm:b,components:w,componentsProps:S,slots:x,slotProps:E,readOnly:k,disabled:T,sx:_,autoFocus:D,disableIgnoringDatePartForTimeValidation:A,timeSteps:M,skipDisabled:R,timezone:P})=>(0,C.jsx)(Et,{view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:i.filter(v.hW),value:o,defaultValue:a,referenceDate:s,onChange:l,className:u,classes:c,disableFuture:d,disablePast:f,minTime:p,maxTime:h,shouldDisableTime:m,shouldDisableClock:g,minutesStep:y,ampm:b,components:w,componentsProps:S,slots:x,slotProps:E,readOnly:k,disabled:T,sx:_,autoFocus:D,disableIgnoringDatePartForTimeValidation:A,timeStep:null==M?void 0:M.minutes,skipDisabled:R,timezone:P}),Ft=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:i,value:o,defaultValue:a,referenceDate:s,onChange:l,className:u,classes:c,disableFuture:d,disablePast:f,minTime:p,maxTime:h,shouldDisableTime:m,shouldDisableClock:g,minutesStep:y,ampm:b,components:w,componentsProps:S,slots:x,slotProps:E,readOnly:k,disabled:T,sx:_,autoFocus:D,disableIgnoringDatePartForTimeValidation:A,timeSteps:M,skipDisabled:R,timezone:P})=>(0,C.jsx)(It,{view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:i.filter(v.hW),value:o,defaultValue:a,referenceDate:s,onChange:l,className:u,classes:c,disableFuture:d,disablePast:f,minTime:p,maxTime:h,shouldDisableTime:m,shouldDisableClock:g,minutesStep:y,ampm:b,components:w,componentsProps:S,slots:x,slotProps:E,readOnly:k,disabled:T,sx:_,autoFocus:D,disableIgnoringDatePartForTimeValidation:A,timeSteps:M,skipDisabled:R,timezone:P}),jt=({view:e,onViewChange:t,views:n,focusedView:i,onFocusedViewChange:a,value:s,defaultValue:l,referenceDate:u,onChange:d,className:f,classes:p,disableFuture:h,disablePast:m,minDate:g,minTime:y,maxDate:w,maxTime:S,shouldDisableDate:x,shouldDisableMonth:E,shouldDisableYear:k,shouldDisableTime:T,shouldDisableClock:_,reduceAnimations:D,minutesStep:A,ampm:M,onMonthChange:R,monthsPerRow:P,onYearChange:O,yearsPerRow:I,defaultCalendarMonth:N,components:L,componentsProps:F,slots:j,slotProps:z,loading:H,renderLoading:V,disableHighlightToday:B,readOnly:U,disabled:W,showDaysOutsideCurrentMonth:q,dayOfWeekFormatter:$,sx:Y,autoFocus:G,fixedWeekNumber:X,displayWeekNumber:Z,timezone:K,disableIgnoringDatePartForTimeValidation:Q,timeSteps:J,skipDisabled:ee,timeViewsCount:te,shouldRenderTimeInASingleColumn:ne})=>{var ie,oe;const ae=!(null==(ie=(0,c.Y)(null!=(oe=null==z?void 0:z.actionBar)?oe:null==F?void 0:F.actionBar,{}))||null==(ie=ie.actions)||!ie.length),se={view:(0,v.Sq)(e)?e:"hours",onViewChange:t,focusedView:i&&(0,v.Sq)(i)?i:null,onFocusedViewChange:a,views:n.filter(v.Sq),value:s,defaultValue:l,referenceDate:u,onChange:d,className:f,classes:p,disableFuture:h,disablePast:m,minTime:y,maxTime:S,shouldDisableTime:T,shouldDisableClock:_,minutesStep:A,ampm:M,components:L,componentsProps:F,slots:j,slotProps:z,readOnly:U,disabled:W,autoFocus:G,disableIgnoringDatePartForTimeValidation:Q,timeSteps:J,skipDisabled:ee,timezone:K};return(0,C.jsxs)(o.Fragment,{children:[(0,C.jsxs)(Se,{children:[(0,C.jsx)(ye.x,{view:(0,b.sC)(e)?e:"day",onViewChange:t,views:n.filter(b.sC),focusedView:i&&(0,b.sC)(i)?i:null,onFocusedViewChange:a,value:s,defaultValue:l,referenceDate:u,onChange:d,className:f,classes:p,disableFuture:h,disablePast:m,minDate:g,maxDate:w,shouldDisableDate:x,shouldDisableMonth:E,shouldDisableYear:k,reduceAnimations:D,onMonthChange:R,monthsPerRow:P,onYearChange:O,yearsPerRow:I,defaultCalendarMonth:N,components:L,componentsProps:F,slots:j,slotProps:z,loading:H,renderLoading:V,disableHighlightToday:B,readOnly:U,disabled:W,showDaysOutsideCurrentMonth:q,dayOfWeekFormatter:$,sx:Y,autoFocus:G,fixedWeekNumber:X,displayWeekNumber:Z,timezone:K}),te>0&&(0,C.jsxs)(o.Fragment,{children:[(0,C.jsx)(ve.A,{orientation:"vertical"}),ne?Lt((0,r.A)({},se,{view:"hours",views:["hours"],focusedView:i&&(0,v.Sq)(i)?"hours":null,sx:(0,r.A)({width:"auto",[`&.${bt.root}`]:{maxHeight:re.Y2}},Array.isArray(Y)?Y:[Y])})):Ft((0,r.A)({},se,{view:(0,v.Sq)(e)?e:"hours",views:n.filter(v.Sq),focusedView:i&&(0,v.Sq)(i)?i:null,sx:(0,r.A)({borderBottom:0,width:"auto",[`.${we.root}`]:{maxHeight:"100%"}},Array.isArray(Y)?Y:[Y])}))]})]}),ae&&(0,C.jsx)(ve.A,{})]})};var zt=n(86224),Ht=n(62067);const Vt=["views","format"],Bt=(e,t)=>{let{views:n,format:o}=t,a=(0,i.A)(t,Vt);if(o)return o;const s=[],l=[];if(n.forEach((e=>{(0,v.hW)(e)?l.push(e):s.push(e)})),0===l.length)return(0,b.Wq)(e,(0,r.A)({views:s},a),!1);if(0===s.length)return(0,v.b$)(e,(0,r.A)({views:l},a));const u=(0,v.b$)(e,(0,r.A)({views:l},a));return`${(0,b.Wq)(e,(0,r.A)({views:s},a),!1)} ${u}`},Ut=(e,t,n)=>n?t.filter((e=>!(0,v.Sq)(e)||"hours"===e)):e?[...t,"meridiem"]:t,Wt=o.forwardRef((function(e,t){var n,i,o,a,s,l,u;const d=(0,w.Nq)(),p=(0,w.hc)(),h=me(e,"MuiDesktopDateTimePicker"),{shouldRenderTimeInASingleColumn:m,thresholdToRenderTimeInASingleColumn:g,views:v,timeSteps:b}=function({thresholdToRenderTimeInASingleColumn:e,ampm:t,timeSteps:n,views:i}){const o=null!=e?e:24,a=(0,r.A)({hours:1,minutes:5,seconds:5},n),s=((e,t)=>{var n,r;return 1440/((null!=(n=e.hours)?n:1)*(null!=(r=e.minutes)?r:5))<=t})(a,o);return{thresholdToRenderTimeInASingleColumn:o,timeSteps:a,shouldRenderTimeInASingleColumn:s,views:Ut(t,i,s)}}(h),S=!h.viewRenderers||0===Object.keys(h.viewRenderers).length,x=S?{day:jt,month:jt,year:jt,hours:jt,minutes:jt,seconds:jt,meridiem:jt}:(0,r.A)({day:ge.W,month:ge.W,year:ge.W,hours:null,minutes:null,seconds:null,meridiem:null},h.viewRenderers),C=null==(n=h.ampmInClock)||n,E=S?["accept"]:[],k=(0,r.A)({},h,{viewRenderers:x,format:Bt(p,h),views:v,yearsPerRow:null!=(i=h.yearsPerRow)?i:4,ampmInClock:C,timeSteps:b,thresholdToRenderTimeInASingleColumn:g,shouldRenderTimeInASingleColumn:m,slots:(0,r.A)({field:_,openPickerIcon:O.CT},h.slots),slotProps:(0,r.A)({},h.slotProps,{field:e=>{var n;return(0,r.A)({},(0,c.Y)(null==(n=h.slotProps)?void 0:n.field,e),(0,Ht.zd)(h),{ref:t})},toolbar:(0,r.A)({hidden:!0,ampmInClock:C,toolbarVariant:S?"desktop":"mobile"},null==(o=h.slotProps)?void 0:o.toolbar),tabs:(0,r.A)({hidden:!0},null==(a=h.slotProps)?void 0:a.tabs),actionBar:(0,r.A)({actions:E},null==(s=h.slotProps)?void 0:s.actionBar)})}),{renderPicker:T}=(0,zt.U)({props:k,valueManager:f.W,valueType:"date-time",getOpenDialogAriaText:null!=(l=null==(u=k.localeText)?void 0:u.openDatePickerDialogue)?l:d.openDatePickerDialogue,validator:y});return T()}));Wt.propTypes={ampm:u().bool,ampmInClock:u().bool,autoFocus:u().bool,className:u().string,closeOnSelect:u().bool,components:u().object,componentsProps:u().object,dayOfWeekFormatter:u().func,defaultCalendarMonth:u().any,defaultValue:u().any,disabled:u().bool,disableFuture:u().bool,disableHighlightToday:u().bool,disableIgnoringDatePartForTimeValidation:u().bool,disableOpenPicker:u().bool,disablePast:u().bool,displayWeekNumber:u().bool,fixedWeekNumber:u().number,format:u().string,formatDensity:u().oneOf(["dense","spacious"]),inputRef:d.A,label:u().node,loading:u().bool,localeText:u().object,maxDate:u().any,maxDateTime:u().any,maxTime:u().any,minDate:u().any,minDateTime:u().any,minTime:u().any,minutesStep:u().number,monthsPerRow:u().oneOf([3,4]),name:u().string,onAccept:u().func,onChange:u().func,onClose:u().func,onError:u().func,onMonthChange:u().func,onOpen:u().func,onSelectedSectionsChange:u().func,onViewChange:u().func,onYearChange:u().func,open:u().bool,openTo:u().oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),orientation:u().oneOf(["landscape","portrait"]),readOnly:u().bool,reduceAnimations:u().bool,referenceDate:u().any,renderLoading:u().func,selectedSections:u().oneOfType([u().oneOf(["all","day","hours","meridiem","minutes","month","seconds","weekDay","year"]),u().number,u().shape({endIndex:u().number.isRequired,startIndex:u().number.isRequired})]),shouldDisableClock:u().func,shouldDisableDate:u().func,shouldDisableMonth:u().func,shouldDisableTime:u().func,shouldDisableYear:u().func,showDaysOutsideCurrentMonth:u().bool,skipDisabled:u().bool,slotProps:u().object,slots:u().object,sx:u().oneOfType([u().arrayOf(u().oneOfType([u().func,u().object,u().bool])),u().func,u().object]),thresholdToRenderTimeInASingleColumn:u().number,timeSteps:u().shape({hours:u().number,minutes:u().number,seconds:u().number}),timezone:u().string,value:u().any,view:u().oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),viewRenderers:u().shape({day:u().func,hours:u().func,meridiem:u().func,minutes:u().func,month:u().func,seconds:u().func,year:u().func}),views:u().arrayOf(u().oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsPerRow:u().oneOf([3,4])};var qt=n(63119);const $t=o.forwardRef((function(e,t){var n,i,o,a,s;const l=(0,w.Nq)(),u=(0,w.hc)(),d=me(e,"MuiMobileDateTimePicker"),p=(0,r.A)({day:ge.W,month:ge.W,year:ge.W,hours:Nt,minutes:Nt,seconds:Nt},d.viewRenderers),h=null!=(n=d.ampmInClock)&&n,m=(0,r.A)({},d,{viewRenderers:p,format:Bt(u,d),ampmInClock:h,slots:(0,r.A)({field:_},d.slots),slotProps:(0,r.A)({},d.slotProps,{field:e=>{var n;return(0,r.A)({},(0,c.Y)(null==(n=d.slotProps)?void 0:n.field,e),(0,Ht.zd)(d),{ref:t})},toolbar:(0,r.A)({hidden:!1,ampmInClock:h},null==(i=d.slotProps)?void 0:i.toolbar),tabs:(0,r.A)({hidden:!1},null==(o=d.slotProps)?void 0:o.tabs)})}),{renderPicker:g}=(0,qt.C)({props:m,valueManager:f.W,valueType:"date-time",getOpenDialogAriaText:null!=(a=null==(s=m.localeText)?void 0:s.openDatePickerDialogue)?a:l.openDatePickerDialogue,validator:y});return g()}));$t.propTypes={ampm:u().bool,ampmInClock:u().bool,autoFocus:u().bool,className:u().string,closeOnSelect:u().bool,components:u().object,componentsProps:u().object,dayOfWeekFormatter:u().func,defaultCalendarMonth:u().any,defaultValue:u().any,disabled:u().bool,disableFuture:u().bool,disableHighlightToday:u().bool,disableIgnoringDatePartForTimeValidation:u().bool,disableOpenPicker:u().bool,disablePast:u().bool,displayWeekNumber:u().bool,fixedWeekNumber:u().number,format:u().string,formatDensity:u().oneOf(["dense","spacious"]),inputRef:d.A,label:u().node,loading:u().bool,localeText:u().object,maxDate:u().any,maxDateTime:u().any,maxTime:u().any,minDate:u().any,minDateTime:u().any,minTime:u().any,minutesStep:u().number,monthsPerRow:u().oneOf([3,4]),name:u().string,onAccept:u().func,onChange:u().func,onClose:u().func,onError:u().func,onMonthChange:u().func,onOpen:u().func,onSelectedSectionsChange:u().func,onViewChange:u().func,onYearChange:u().func,open:u().bool,openTo:u().oneOf(["day","hours","minutes","month","seconds","year"]),orientation:u().oneOf(["landscape","portrait"]),readOnly:u().bool,reduceAnimations:u().bool,referenceDate:u().any,renderLoading:u().func,selectedSections:u().oneOfType([u().oneOf(["all","day","hours","meridiem","minutes","month","seconds","weekDay","year"]),u().number,u().shape({endIndex:u().number.isRequired,startIndex:u().number.isRequired})]),shouldDisableClock:u().func,shouldDisableDate:u().func,shouldDisableMonth:u().func,shouldDisableTime:u().func,shouldDisableYear:u().func,showDaysOutsideCurrentMonth:u().bool,slotProps:u().object,slots:u().object,sx:u().oneOfType([u().arrayOf(u().oneOfType([u().func,u().object,u().bool])),u().func,u().object]),timezone:u().string,value:u().any,view:u().oneOf(["day","hours","minutes","month","seconds","year"]),viewRenderers:u().shape({day:u().func,hours:u().func,minutes:u().func,month:u().func,seconds:u().func,year:u().func}),views:u().arrayOf(u().oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsPerRow:u().oneOf([3,4])};var Yt=n(24034);const Gt=["desktopModeMediaQuery"],Xt=o.forwardRef((function(e,t){const n=(0,s.A)({props:e,name:"MuiDateTimePicker"}),{desktopModeMediaQuery:o=Yt.jX}=n,l=(0,i.A)(n,Gt);return(0,a.A)(o,{defaultMatches:!0})?(0,C.jsx)(Wt,(0,r.A)({ref:t},l)):(0,C.jsx)($t,(0,r.A)({ref:t},l))}))},4316:(e,t)=>{"use strict";var n=function(){function e(t){if(!t)throw new TypeError("Invalid argument; `value` has no value.");this.value=e.EMPTY,t&&e.isGuid(t)&&(this.value=t)}return e.isGuid=function(t){var n=t.toString();return t&&(t instanceof e||e.validator.test(n))},e.create=function(){return new e([e.gen(2),e.gen(1),e.gen(1),e.gen(1),e.gen(3)].join("-"))},e.createEmpty=function(){return new e("emptyguid")},e.parse=function(t){return new e(t)},e.raw=function(){return[e.gen(2),e.gen(1),e.gen(1),e.gen(1),e.gen(3)].join("-")},e.gen=function(e){for(var t="",n=0;n{"use strict";var r=n(73404),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case m:case l:return e;default:return t}}case i:return t}}}function x(e){return S(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||S(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return S(e)===u},t.isContextProvider=function(e){return S(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return S(e)===f},t.isFragment=function(e){return S(e)===o},t.isLazy=function(e){return S(e)===g},t.isMemo=function(e){return S(e)===m},t.isPortal=function(e){return S(e)===i},t.isProfiler=function(e){return S(e)===s},t.isStrictMode=function(e){return S(e)===a},t.isSuspense=function(e){return S(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=S},73404:(e,t,n)=>{"use strict";e.exports=n(3072)},19421:(e,t,n)=>{var r,i,o;i=[n(60960)],void 0===(o="function"==typeof(r=function(e){var t,n=e.validator,r="unobtrusiveValidation";function i(e,t,n){e.rules[t]=n,e.message&&(e.messages[t]=e.message)}function o(e){return e.replace(/([!"#$%&'()*+,./:;<=>?@\[\\\]^`{|}~])/g,"\\$1")}function a(e){return e.substr(0,e.lastIndexOf(".")+1)}function s(e,t){return 0===e.indexOf("*.")&&(e=e.replace("*.",t)),e}function l(t,n){var r=e(this).find("[data-valmsg-for='"+o(n[0].name)+"']"),i=r.attr("data-valmsg-replace"),a=i?!1!==e.parseJSON(i):null;r.removeClass("field-validation-valid").addClass("field-validation-error"),t.data("unobtrusiveContainer",r),a?(r.empty(),t.removeClass("input-validation-error").appendTo(r)):t.hide()}function u(t,n){var r=e(this).find("[data-valmsg-summary=true]"),i=r.find("ul");i&&i.length&&n.errorList.length&&(i.empty(),r.addClass("validation-summary-errors").removeClass("validation-summary-valid"),e.each(n.errorList,(function(){e("
  • ").html(this.message).appendTo(i)})))}function c(t){var n=t.data("unobtrusiveContainer");if(n){var r=n.attr("data-valmsg-replace"),i=r?e.parseJSON(r):null;n.addClass("field-validation-valid").removeClass("field-validation-error"),t.removeData("unobtrusiveContainer"),i&&n.empty()}}function d(t){var n=e(this),r="__jquery_unobtrusive_validation_form_reset";if(!n.data(r)){n.data(r,!0);try{n.data("validator").resetForm()}finally{n.removeData(r)}n.find(".validation-summary-errors").addClass("validation-summary-valid").removeClass("validation-summary-errors"),n.find(".field-validation-error").addClass("field-validation-valid").removeClass("field-validation-error").removeData("unobtrusiveContainer").find(">*").removeData("unobtrusiveContainer")}}function f(t){var i=e(t),o=i.data(r),a=e.proxy(d,t),s=n.unobtrusive.options||{},f=function(n,r){var i=s[n];i&&e.isFunction(i)&&i.apply(t,r)};return o||(o={options:{errorClass:s.errorClass||"input-validation-error",errorElement:s.errorElement||"span",errorPlacement:function(){l.apply(t,arguments),f("errorPlacement",arguments)},invalidHandler:function(){u.apply(t,arguments),f("invalidHandler",arguments)},messages:{},rules:{},success:function(){c.apply(t,arguments),f("success",arguments)}},attachValidation:function(){i.off("reset."+r,a).on("reset."+r,a).validate(this.options)},validate:function(){return i.validate(),i.valid()}},i.data(r,o)),o}return n.unobtrusive={adapters:[],parseElement:function(t,n){var r,i,o,a=e(t),s=a.parents("form")[0];s&&((r=f(s)).options.rules[t.name]=i={},r.options.messages[t.name]=o={},e.each(this.adapters,(function(){var n="data-val-"+this.name,r=a.attr(n),l={};void 0!==r&&(n+="-",e.each(this.params,(function(){l[this]=a.attr(n+this)})),this.adapt({element:t,form:s,message:r,params:l,rules:i,messages:o}))})),e.extend(i,{__dummy__:!0}),n||r.attachValidation())},parse:function(t){var r=e(t),i=r.parents().addBack().filter("form").add(r.find("form")).has("[data-val=true]");r.find("[data-val=true]").each((function(){n.unobtrusive.parseElement(this,!0)})),i.each((function(){var e=f(this);e&&e.attachValidation()}))}},(t=n.unobtrusive.adapters).add=function(e,t,n){return n||(n=t,t=[]),this.push({name:e,params:t,adapt:n}),this},t.addBool=function(e,t){return this.add(e,(function(n){i(n,t||e,!0)}))},t.addMinMax=function(e,t,n,r,o,a){return this.add(e,[o||"min",a||"max"],(function(e){var o=e.params.min,a=e.params.max;o&&a?i(e,r,[o,a]):o?i(e,t,o):a&&i(e,n,a)}))},t.addSingleVal=function(e,t,n){return this.add(e,[t||"val"],(function(r){i(r,n||e,r.params[t])}))},n.addMethod("__dummy__",(function(e,t,n){return!0})),n.addMethod("regex",(function(e,t,n){var r;return!!this.optional(t)||(r=new RegExp(n).exec(e))&&0===r.index&&r[0].length===e.length})),n.addMethod("nonalphamin",(function(e,t,n){var r;return n&&(r=(r=e.match(/\W/g))&&r.length>=n),r})),n.methods.extension?(t.addSingleVal("accept","mimtype"),t.addSingleVal("extension","extension")):t.addSingleVal("extension","extension","accept"),t.addSingleVal("regex","pattern"),t.addBool("creditcard").addBool("date").addBool("digits").addBool("email").addBool("number").addBool("url"),t.addMinMax("length","minlength","maxlength","rangelength").addMinMax("range","min","max","range"),t.addMinMax("minlength","minlength").addMinMax("maxlength","minlength","maxlength"),t.add("equalto",["other"],(function(t){var n=a(t.element.name),r=s(t.params.other,n);i(t,"equalTo",e(t.form).find(":input").filter("[name='"+o(r)+"']")[0])})),t.add("required",(function(e){"INPUT"===e.element.tagName.toUpperCase()&&"CHECKBOX"===e.element.type.toUpperCase()||i(e,"required",!0)})),t.add("remote",["url","type","additionalfields"],(function(t){var n={url:t.params.url,type:t.params.type||"GET",data:{}},r=a(t.element.name);e.each(function(e){return e.replace(/^\s+|\s+$/g,"").split(/\s*,\s*/g)}(t.params.additionalfields||t.element.name),(function(i,a){var l=s(a,r);n.data[l]=function(){var n=e(t.form).find(":input").filter("[name='"+o(l)+"']");return n.is(":checkbox")?n.filter(":checked").val()||n.filter(":hidden").val()||"":n.is(":radio")?n.filter(":checked").val()||"":n.val()}})),i(t,"remote",n)})),t.add("password",["min","nonalphamin","regex"],(function(e){e.params.min&&i(e,"minlength",e.params.min),e.params.nonalphamin&&i(e,"nonalphamin",e.params.nonalphamin),e.params.regex&&i(e,"regex",e.params.regex)})),t.add("fileextensions",["extensions"],(function(e){i(e,"extension",e.params.extensions)})),e((function(){n.unobtrusive.parse(document)})),n.unobtrusive})?r.apply(t,i):r)||(e.exports=o)},60960:(e,t,n)=>{var r,i,o;i=[n(74692)],void 0===(o="function"==typeof(r=function(e){e.extend(e.fn,{validate:function(t){if(this.length){var n=e.data(this[0],"validator");return n||(this.attr("novalidate","novalidate"),n=new e.validator(t,this[0]),e.data(this[0],"validator",n),n.settings.onsubmit&&(this.on("click.validate",":submit",(function(t){n.submitButton=t.currentTarget,e(this).hasClass("cancel")&&(n.cancelSubmit=!0),void 0!==e(this).attr("formnovalidate")&&(n.cancelSubmit=!0)})),this.on("submit.validate",(function(t){function r(){var r,i;return n.submitButton&&(n.settings.submitHandler||n.formSubmitted)&&(r=e("").attr("name",n.submitButton.name).val(e(n.submitButton).val()).appendTo(n.currentForm)),!(n.settings.submitHandler&&!n.settings.debug)||(i=n.settings.submitHandler.call(n,n.currentForm,t),r&&r.remove(),void 0!==i&&i)}return n.settings.debug&&t.preventDefault(),n.cancelSubmit?(n.cancelSubmit=!1,r()):n.form()?n.pendingRequest?(n.formSubmitted=!0,!1):r():(n.focusInvalid(),!1)}))),n)}t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var t,n,r;return e(this[0]).is("form")?t=this.validate().form():(r=[],t=!0,n=e(this[0].form).validate(),this.each((function(){(t=n.element(this)&&t)||(r=r.concat(n.errorList))})),n.errorList=r),t},rules:function(t,n){var r,i,o,a,s,l,u=this[0],c=void 0!==this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=u&&(!u.form&&c&&(u.form=this.closest("form")[0],u.name=this.attr("name")),null!=u.form)){if(t)switch(i=(r=e.data(u.form,"validator").settings).rules,o=e.validator.staticRules(u),t){case"add":e.extend(o,e.validator.normalizeRule(n)),delete o.messages,i[u.name]=o,n.messages&&(r.messages[u.name]=e.extend(r.messages[u.name],n.messages));break;case"remove":return n?(l={},e.each(n.split(/\s/),(function(e,t){l[t]=o[t],delete o[t]})),l):(delete i[u.name],o)}return(a=e.validator.normalizeRules(e.extend({},e.validator.classRules(u),e.validator.attributeRules(u),e.validator.dataRules(u),e.validator.staticRules(u)),u)).required&&(s=a.required,delete a.required,a=e.extend({required:s},a)),a.remote&&(s=a.remote,delete a.remote,a=e.extend(a,{remote:s})),a}}});var t,n=function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};e.extend(e.expr.pseudos||e.expr[":"],{blank:function(t){return!n(""+e(t).val())},filled:function(t){var r=e(t).val();return null!==r&&!!n(""+r)},unchecked:function(t){return!e(t).prop("checked")}}),e.validator=function(t,n){this.settings=e.extend(!0,{},e.validator.defaults,t),this.currentForm=n,this.init()},e.validator.format=function(t,n){return 1===arguments.length?function(){var n=e.makeArray(arguments);return n.unshift(t),e.validator.format.apply(this,n)}:(void 0===n||(arguments.length>2&&n.constructor!==Array&&(n=e.makeArray(arguments).slice(1)),n.constructor!==Array&&(n=[n]),e.each(n,(function(e,n){t=t.replace(new RegExp("\\{"+e+"\\}","g"),(function(){return n}))}))),t)},e.extend(e.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:e([]),errorLabelContainer:e([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,customElements:[],onfocusin:function(e){this.lastActive=e,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,e,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(e)))},onfocusout:function(e){this.checkable(e)||!(e.name in this.submitted)&&this.optional(e)||this.element(e)},onkeyup:function(t,n){9===n.which&&""===this.elementValue(t)||-1!==e.inArray(n.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])||(t.name in this.submitted||t.name in this.invalid)&&this.element(t)},onclick:function(e){e.name in this.submitted?this.element(e):e.parentNode.name in this.submitted&&this.element(e.parentNode)},highlight:function(t,n,r){"radio"===t.type?this.findByName(t.name).addClass(n).removeClass(r):e(t).addClass(n).removeClass(r)},unhighlight:function(t,n,r){"radio"===t.type?this.findByName(t.name).removeClass(n).addClass(r):e(t).removeClass(n).addClass(r)}},setDefaults:function(t){e.extend(e.validator.defaults,t)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:e.validator.format("Please enter no more than {0} characters."),minlength:e.validator.format("Please enter at least {0} characters."),rangelength:e.validator.format("Please enter a value between {0} and {1} characters long."),range:e.validator.format("Please enter a value between {0} and {1}."),max:e.validator.format("Please enter a value less than or equal to {0}."),min:e.validator.format("Please enter a value greater than or equal to {0}."),step:e.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){this.labelContainer=e(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||e(this.currentForm),this.containers=e(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var t,n=this.currentForm,r=this.groups={};function i(t){var r=void 0!==e(this).attr("contenteditable")&&"false"!==e(this).attr("contenteditable");if(!this.form&&r&&(this.form=e(this).closest("form")[0],this.name=e(this).attr("name")),n===this.form){var i=e.data(this.form,"validator"),o="on"+t.type.replace(/^validate/,""),a=i.settings;a[o]&&!e(this).is(a.ignore)&&a[o].call(i,this,t)}}e.each(this.settings.groups,(function(t,n){"string"==typeof n&&(n=n.split(/\s/)),e.each(n,(function(e,n){r[n]=t}))})),t=this.settings.rules,e.each(t,(function(n,r){t[n]=e.validator.normalizeRule(r)}));e(this.currentForm).on("focusin.validate focusout.validate keyup.validate",[":text","[type='password']","[type='file']","select","textarea","[type='number']","[type='search']","[type='tel']","[type='url']","[type='email']","[type='datetime']","[type='date']","[type='month']","[type='week']","[type='time']","[type='datetime-local']","[type='range']","[type='color']","[type='radio']","[type='checkbox']","[contenteditable]","[type='button']"].concat(this.settings.customElements).join(", "),i).on("click.validate",["select","option","[type='radio']","[type='checkbox']"].concat(this.settings.customElements).join(", "),i),this.settings.invalidHandler&&e(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),e.extend(this.submitted,this.errorMap),this.invalid=e.extend({},this.errorMap),this.valid()||e(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var e=0,t=this.currentElements=this.elements();t[e];e++)this.check(t[e]);return this.valid()},element:function(t){var n,r,i=this.clean(t),o=this.validationTargetFor(i),a=this,s=!0;return void 0===o?delete this.invalid[i.name]:(this.prepareElement(o),this.currentElements=e(o),(r=this.groups[o.name])&&e.each(this.groups,(function(e,t){t===r&&e!==o.name&&(i=a.validationTargetFor(a.clean(a.findByName(e))))&&i.name in a.invalid&&(a.currentElements.push(i),s=a.check(i)&&s)})),n=!1!==this.check(o),s=s&&n,this.invalid[o.name]=!n,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),e(t).attr("aria-invalid",!n)),s},showErrors:function(t){if(t){var n=this;e.extend(this.errorMap,t),this.errorList=e.map(this.errorMap,(function(e,t){return{message:e,element:n.findByName(t)[0]}})),this.successList=e.grep(this.successList,(function(e){return!(e.name in t)}))}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){e.fn.resetForm&&e(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var t=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(t)},resetElements:function(e){var t;if(this.settings.unhighlight)for(t=0;e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,""),this.findByName(e[t].name).removeClass(this.settings.validClass);else e.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(e){var t,n=0;for(t in e)void 0!==e[t]&&null!==e[t]&&!1!==e[t]&&n++;return n},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(e){e.not(this.containers).text(""),this.addWrapper(e).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{e(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").trigger("focus").trigger("focusin")}catch(e){}},findLastActive:function(){var t=this.lastActive;return t&&1===e.grep(this.errorList,(function(e){return e.element.name===t.name})).length&&t},elements:function(){var t=this,n={};return e(this.currentForm).find(["input","select","textarea","[contenteditable]"].concat(this.settings.customElements).join(", ")).not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter((function(){var r=this.name||e(this).attr("name"),i=void 0!==e(this).attr("contenteditable")&&"false"!==e(this).attr("contenteditable");return!r&&t.settings.debug&&window.console&&console.error("%o has no name assigned",this),i&&(this.form=e(this).closest("form")[0],this.name=r),!(this.form!==t.currentForm||r in n||!t.objectLength(e(this).rules())||(n[r]=!0,0))}))},clean:function(t){return e(t)[0]},errors:function(){var t=this.settings.errorClass.split(" ").join(".");return e(this.settings.errorElement+"."+t,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=e([]),this.toHide=e([])},reset:function(){this.resetInternals(),this.currentElements=e([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(e){this.reset(),this.toHide=this.errorsFor(e)},elementValue:function(t){var n,r,i=e(t),o=t.type,a=void 0!==i.attr("contenteditable")&&"false"!==i.attr("contenteditable");return"radio"===o||"checkbox"===o?this.findByName(t.name).filter(":checked").val():"number"===o&&void 0!==t.validity?t.validity.badInput?"NaN":i.val():(n=a?i.text():i.val(),"file"===o?"C:\\fakepath\\"===n.substr(0,12)?n.substr(12):(r=n.lastIndexOf("/"))>=0||(r=n.lastIndexOf("\\"))>=0?n.substr(r+1):n:"string"==typeof n?n.replace(/\r/g,""):n)},check:function(t){t=this.validationTargetFor(this.clean(t));var n,r,i,o,a=e(t).rules(),s=e.map(a,(function(e,t){return t})).length,l=!1,u=this.elementValue(t);for(r in this.abortRequest(t),"function"==typeof a.normalizer?o=a.normalizer:"function"==typeof this.settings.normalizer&&(o=this.settings.normalizer),o&&(u=o.call(t,u),delete a.normalizer),a){i={method:r,parameters:a[r]};try{if("dependency-mismatch"===(n=e.validator.methods[r].call(this,u,t,i.parameters))&&1===s){l=!0;continue}if(l=!1,"pending"===n)return void(this.toHide=this.toHide.not(this.errorsFor(t)));if(!n)return this.formatAndAdd(t,i),!1}catch(e){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+t.id+", check the '"+i.method+"' method.",e),e instanceof TypeError&&(e.message+=". Exception occurred when checking element "+t.id+", check the '"+i.method+"' method."),e}}if(!l)return this.objectLength(a)&&this.successList.push(t),!0},customDataMessage:function(t,n){return e(t).data("msg"+n.charAt(0).toUpperCase()+n.substring(1).toLowerCase())||e(t).data("msg")},customMessage:function(e,t){var n=this.settings.messages[e];return n&&(n.constructor===String?n:n[t])},findDefined:function(){for(var e=0;eWarning: No message defined for "+t.name+""),i=/\$?\{(\d+)\}/g;return"function"==typeof r?r=r.call(this,n.parameters,t):i.test(r)&&(r=e.validator.format(r.replace(i,"{$1}"),n.parameters)),r},formatAndAdd:function(e,t){var n=this.defaultMessage(e,t);this.errorList.push({message:n,element:e,method:t.method}),this.errorMap[e.name]=n,this.submitted[e.name]=n},addWrapper:function(e){return this.settings.wrapper&&(e=e.add(e.parent(this.settings.wrapper))),e},defaultShowErrors:function(){var e,t,n;for(e=0;this.errorList[e];e++)n=this.errorList[e],this.settings.highlight&&this.settings.highlight.call(this,n.element,this.settings.errorClass,this.settings.validClass),this.showLabel(n.element,n.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(e=0;this.successList[e];e++)this.showLabel(this.successList[e]);if(this.settings.unhighlight)for(e=0,t=this.validElements();t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return e(this.errorList).map((function(){return this.element}))},showLabel:function(t,n){var r,i,o,a,s=this.errorsFor(t),l=this.idOrName(t),u=e(t).attr("aria-describedby");s.length?(s.removeClass(this.settings.validClass).addClass(this.settings.errorClass),this.settings&&this.settings.escapeHtml?s.text(n||""):s.html(n||"")):(s=e("<"+this.settings.errorElement+">").attr("id",l+"-error").addClass(this.settings.errorClass),this.settings&&this.settings.escapeHtml?s.text(n||""):s.html(n||""),r=s,this.settings.wrapper&&(r=s.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(r):this.settings.errorPlacement?this.settings.errorPlacement.call(this,r,e(t)):r.insertAfter(t),s.is("label")?s.attr("for",l):0===s.parents("label[for='"+this.escapeCssMeta(l)+"']").length&&(o=s.attr("id"),u?u.match(new RegExp("\\b"+this.escapeCssMeta(o)+"\\b"))||(u+=" "+o):u=o,e(t).attr("aria-describedby",u),(i=this.groups[t.name])&&(a=this,e.each(a.groups,(function(t,n){n===i&&e("[name='"+a.escapeCssMeta(t)+"']",a.currentForm).attr("aria-describedby",s.attr("id"))}))))),!n&&this.settings.success&&(s.text(""),"string"==typeof this.settings.success?s.addClass(this.settings.success):this.settings.success(s,t)),this.toShow=this.toShow.add(s)},errorsFor:function(t){var n=this.escapeCssMeta(this.idOrName(t)),r=e(t).attr("aria-describedby"),i="label[for='"+n+"'], label[for='"+n+"'] *";return r&&(i=i+", #"+this.escapeCssMeta(r).replace(/\s+/g,", #")),this.errors().filter(i)},escapeCssMeta:function(e){return void 0===e?"":e.replace(/([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(e){return this.groups[e.name]||(this.checkable(e)?e.name:e.id||e.name)},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name)),e(t).not(this.settings.ignore)[0]},checkable:function(e){return/radio|checkbox/i.test(e.type)},findByName:function(t){return e(this.currentForm).find("[name='"+this.escapeCssMeta(t)+"']")},getLength:function(t,n){switch(n.nodeName.toLowerCase()){case"select":return e("option:selected",n).length;case"input":if(this.checkable(n))return this.findByName(n.name).filter(":checked").length}return t.length},depend:function(e,t){return!this.dependTypes[typeof e]||this.dependTypes[typeof e](e,t)},dependTypes:{boolean:function(e){return e},string:function(t,n){return!!e(t,n.form).length},function:function(e,t){return e(t)}},optional:function(t){var n=this.elementValue(t);return!e.validator.methods.required.call(this,n,t)&&"dependency-mismatch"},elementAjaxPort:function(e){return"validate"+e.name},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,e(t).addClass(this.settings.pendingClass),this.pending[t.name]=!0)},stopRequest:function(t,n){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[t.name],e(t).removeClass(this.settings.pendingClass),n&&0===this.pendingRequest&&this.formSubmitted&&this.form()&&0===this.pendingRequest?(e(this.currentForm).trigger("submit"),this.submitButton&&e("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!n&&0===this.pendingRequest&&this.formSubmitted&&(e(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},abortRequest:function(t){var n;this.pending[t.name]&&(n=this.elementAjaxPort(t),e.ajaxAbort(n),this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[t.name],e(t).removeClass(this.settings.pendingClass))},previousValue:function(t,n){return n="string"==typeof n&&n||"remote",e.data(t,"previousValue")||e.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,{method:n})})},destroy:function(){this.resetForm(),e(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,n){t.constructor===String?this.classRuleSettings[t]=n:e.extend(this.classRuleSettings,t)},classRules:function(t){var n={},r=e(t).attr("class");return r&&e.each(r.split(" "),(function(){this in e.validator.classRuleSettings&&e.extend(n,e.validator.classRuleSettings[this])})),n},normalizeAttributeRule:function(e,t,n,r){/min|max|step/.test(n)&&(null===t||/number|range|text/.test(t))&&(r=Number(r),isNaN(r)&&(r=void 0)),r||0===r?e[n]=r:t===n&&"range"!==t&&(e["date"===t?"dateISO":n]=!0)},attributeRules:function(t){var n,r,i={},o=e(t),a=t.getAttribute("type");for(n in e.validator.methods)"required"===n?(""===(r=t.getAttribute(n))&&(r=!0),r=!!r):r=o.attr(n),this.normalizeAttributeRule(i,a,n,r);return i.maxlength&&/-1|2147483647|524288/.test(i.maxlength)&&delete i.maxlength,i},dataRules:function(t){var n,r,i={},o=e(t),a=t.getAttribute("type");for(n in e.validator.methods)""===(r=o.data("rule"+n.charAt(0).toUpperCase()+n.substring(1).toLowerCase()))&&(r=!0),this.normalizeAttributeRule(i,a,n,r);return i},staticRules:function(t){var n={},r=e.data(t.form,"validator");return r.settings.rules&&(n=e.validator.normalizeRule(r.settings.rules[t.name])||{}),n},normalizeRules:function(t,n){return e.each(t,(function(r,i){if(!1!==i){if(i.param||i.depends){var o=!0;switch(typeof i.depends){case"string":o=!!e(i.depends,n.form).length;break;case"function":o=i.depends.call(n,n)}o?t[r]=void 0===i.param||i.param:(e.data(n.form,"validator").resetElements(e(n)),delete t[r])}}else delete t[r]})),e.each(t,(function(e,r){t[e]="function"==typeof r&&"normalizer"!==e?r(n):r})),e.each(["minlength","maxlength"],(function(){t[this]&&(t[this]=Number(t[this]))})),e.each(["rangelength","range"],(function(){var e;t[this]&&(Array.isArray(t[this])?t[this]=[Number(t[this][0]),Number(t[this][1])]:"string"==typeof t[this]&&(e=t[this].replace(/[\[\]]/g,"").split(/[\s,]+/),t[this]=[Number(e[0]),Number(e[1])]))})),e.validator.autoCreateRanges&&(null!=t.min&&null!=t.max&&(t.range=[t.min,t.max],delete t.min,delete t.max),null!=t.minlength&&null!=t.maxlength&&(t.rangelength=[t.minlength,t.maxlength],delete t.minlength,delete t.maxlength)),t},normalizeRule:function(t){if("string"==typeof t){var n={};e.each(t.split(/\s/),(function(){n[this]=!0})),t=n}return t},addMethod:function(t,n,r){e.validator.methods[t]=n,e.validator.messages[t]=void 0!==r?r:e.validator.messages[t],n.length<3&&e.validator.addClassRules(t,e.validator.normalizeRule(t))},methods:{required:function(t,n,r){if(!this.depend(r,n))return"dependency-mismatch";if("select"===n.nodeName.toLowerCase()){var i=e(n).val();return i&&i.length>0}return this.checkable(n)?this.getLength(t,n)>0:null!=t&&t.length>0},email:function(e,t){return this.optional(t)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)},url:function(e,t){return this.optional(t)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:(?:[^\]\[?\/<~#`!@$^&*()+=}|:";',>{ ]|%[0-9A-Fa-f]{2})+(?::(?:[^\]\[?\/<~#`!@$^&*()+=}|:";',>{ ]|%[0-9A-Fa-f]{2})*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(e)},date:(t=!1,function(e,n){return t||(t=!0,this.settings.debug&&window.console&&console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")),this.optional(n)||!/Invalid|NaN/.test(new Date(e).toString())}),dateISO:function(e,t){return this.optional(t)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:function(e,t){return this.optional(t)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:-?\.\d+)?$/.test(e)},digits:function(e,t){return this.optional(t)||/^\d+$/.test(e)},minlength:function(e,t,n){var r=Array.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||r>=n},maxlength:function(e,t,n){var r=Array.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||r<=n},rangelength:function(e,t,n){var r=Array.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||r>=n[0]&&r<=n[1]},min:function(e,t,n){return this.optional(t)||e>=n},max:function(e,t,n){return this.optional(t)||e<=n},range:function(e,t,n){return this.optional(t)||e>=n[0]&&e<=n[1]},step:function(t,n,r){var i,o=e(n).attr("type"),a="Step attribute on input type "+o+" is not supported.",s=new RegExp("\\b"+o+"\\b"),l=function(e){var t=(""+e).match(/(?:\.(\d+))?$/);return t&&t[1]?t[1].length:0},u=function(e){return Math.round(e*Math.pow(10,i))},c=!0;if(o&&!s.test(["text","number","range"].join()))throw new Error(a);return i=l(r),(l(t)>i||u(t)%u(r)!=0)&&(c=!1),this.optional(n)||c},equalTo:function(t,n,r){var i=e(r);return this.settings.onfocusout&&i.not(".validate-equalTo-blur").length&&i.addClass("validate-equalTo-blur").on("blur.validate-equalTo",(function(){e(n).valid()})),t===i.val()},remote:function(t,n,r,i){if(this.optional(n))return"dependency-mismatch";i="string"==typeof i&&i||"remote";var o,a,s,l=this.previousValue(n,i);return this.settings.messages[n.name]||(this.settings.messages[n.name]={}),l.originalMessage=l.originalMessage||this.settings.messages[n.name][i],this.settings.messages[n.name][i]=l.message,r="string"==typeof r&&{url:r}||r,s=e.param(e.extend({data:t},r.data)),null!==l.valid&&l.old===s?l.valid:(l.old=s,l.valid=null,o=this,this.startRequest(n),(a={})[n.name]=t,e.ajax(e.extend(!0,{mode:"abort",port:this.elementAjaxPort(n),dataType:"json",data:a,context:o.currentForm,success:function(e){var r,a,s,u=!0===e||"true"===e;o.settings.messages[n.name][i]=l.originalMessage,u?(s=o.formSubmitted,o.toHide=o.errorsFor(n),o.formSubmitted=s,o.successList.push(n),o.invalid[n.name]=!1,o.showErrors()):(r={},a=e||o.defaultMessage(n,{method:i,parameters:t}),r[n.name]=l.message=a,o.invalid[n.name]=!0,o.showErrors(r)),l.valid=u,o.stopRequest(n,u)}},r)),"pending")}}});var r,i={};return e.ajaxPrefilter?e.ajaxPrefilter((function(t,n,r){var o=t.port;"abort"===t.mode&&(e.ajaxAbort(o),i[o]=r)})):(r=e.ajax,e.ajax=function(t){var n=("mode"in t?t:e.ajaxSettings).mode,o=("port"in t?t:e.ajaxSettings).port;return"abort"===n?(e.ajaxAbort(o),i[o]=r.apply(this,arguments),i[o]):r.apply(this,arguments)}),e.ajaxAbort=function(e){i[e]&&(i[e].abort(),delete i[e])},e})?r.apply(t,i):r)||(e.exports=o)},74692:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,i){"use strict";var o=[],a=Object.getPrototypeOf,s=o.slice,l=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},u=o.push,c=o.indexOf,d={},f=d.toString,p=d.hasOwnProperty,h=p.toString,m=h.call(Object),g={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},b=r.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function S(e,t,n){var r,i,o=(n=n||b).createElement("script");if(o.text=e,t)for(r in w)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[f.call(e)]||"object":typeof e}var C="3.7.1",E=/HTML$/i,k=function(e,t){return new k.fn.init(e,t)};function T(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function _(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}k.fn=k.prototype={jquery:C,constructor:k,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=k.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return k.each(this,e)},map:function(e){return this.pushStack(k.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(k.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(k.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+R+")"+R+"*"),V=new RegExp(R+"|>"),B=new RegExp(F),U=new RegExp("^"+O+"$"),W={ID:new RegExp("^#("+O+")"),CLASS:new RegExp("^\\.("+O+")"),TAG:new RegExp("^("+O+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+T+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},q=/^(?:input|select|textarea|button)$/i,$=/^h\d$/i,Y=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/[+~]/,X=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),Z=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},K=function(){le()},Q=fe((function(e){return!0===e.disabled&&_(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{m.apply(o=s.call(N.childNodes),N.childNodes),o[N.childNodes.length].nodeType}catch(e){m={apply:function(e,t){L.apply(e,s.call(t))},call:function(e){L.apply(e,s.call(arguments,1))}}}function J(e,t,n,r){var i,o,a,s,u,c,p,h=t&&t.ownerDocument,y=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return n;if(!r&&(le(t),t=t||l,d)){if(11!==y&&(u=Y.exec(e)))if(i=u[1]){if(9===y){if(!(a=t.getElementById(i)))return n;if(a.id===i)return m.call(n,a),n}else if(h&&(a=h.getElementById(i))&&J.contains(t,a)&&a.id===i)return m.call(n,a),n}else{if(u[2])return m.apply(n,t.getElementsByTagName(e)),n;if((i=u[3])&&t.getElementsByClassName)return m.apply(n,t.getElementsByClassName(i)),n}if(!(C[e+" "]||f&&f.test(e))){if(p=e,h=t,1===y&&(V.test(e)||H.test(e))){for((h=G.test(e)&&se(t.parentNode)||t)==t&&g.scope||((s=t.getAttribute("id"))?s=k.escapeSelector(s):t.setAttribute("id",s=v)),o=(c=ce(e)).length;o--;)c[o]=(s?"#"+s:":scope")+" "+de(c[o]);p=c.join(",")}try{return m.apply(n,h.querySelectorAll(p)),n}catch(t){C(e,!0)}finally{s===v&&t.removeAttribute("id")}}}return ye(e.replace(P,"$1"),t,n,r)}function ee(){var e=[];return function n(r,i){return e.push(r+" ")>t.cacheLength&&delete n[e.shift()],n[r+" "]=i}}function te(e){return e[v]=!0,e}function ne(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function re(e){return function(t){return _(t,"input")&&t.type===e}}function ie(e){return function(t){return(_(t,"input")||_(t,"button"))&&t.type===e}}function oe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Q(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te((function(t){return t=+t,te((function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function se(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var n,r=e?e.ownerDocument||e:N;return r!=l&&9===r.nodeType&&r.documentElement?(u=(l=r).documentElement,d=!k.isXMLDoc(l),h=u.matches||u.webkitMatchesSelector||u.msMatchesSelector,u.msMatchesSelector&&N!=l&&(n=l.defaultView)&&n.top!==n&&n.addEventListener("unload",K),g.getById=ne((function(e){return u.appendChild(e).id=k.expando,!l.getElementsByName||!l.getElementsByName(k.expando).length})),g.disconnectedMatch=ne((function(e){return h.call(e,"*")})),g.scope=ne((function(){return l.querySelectorAll(":scope")})),g.cssHas=ne((function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),g.getById?(t.filter.ID=function(e){var t=e.replace(X,Z);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(X,Z);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&d)return t.getElementsByClassName(e)},f=[],ne((function(e){var t;u.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||f.push("\\["+R+"*(?:value|"+T+")"),e.querySelectorAll("[id~="+v+"-]").length||f.push("~="),e.querySelectorAll("a#"+v+"+*").length||f.push(".#.+[+~]"),e.querySelectorAll(":checked").length||f.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),u.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||f.push("\\["+R+"*name"+R+"*="+R+"*(?:''|\"\")")})),g.cssHas||f.push(":has"),f=f.length&&new RegExp(f.join("|")),E=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!g.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument==N&&J.contains(N,e)?-1:t===l||t.ownerDocument==N&&J.contains(N,t)?1:i?c.call(i,e)-c.call(i,t):0:4&n?-1:1)},l):l}for(e in J.matches=function(e,t){return J(e,null,null,t)},J.matchesSelector=function(e,t){if(le(e),d&&!C[t+" "]&&(!f||!f.test(t)))try{var n=h.call(e,t);if(n||g.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){C(t,!0)}return J(t,l,null,[e]).length>0},J.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),k.contains(e,t)},J.attr=function(e,n){(e.ownerDocument||e)!=l&&le(e);var r=t.attrHandle[n.toLowerCase()],i=r&&p.call(t.attrHandle,n.toLowerCase())?r(e,n,!d):void 0;return void 0!==i?i:e.getAttribute(n)},J.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},k.uniqueSort=function(e){var t,n=[],r=0,o=0;if(a=!g.sortStable,i=!g.sortStable&&s.call(e,0),A.call(e,E),a){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)M.call(e,n[r],1)}return i=null,e},k.fn.uniqueSort=function(){return this.pushStack(k.uniqueSort(s.apply(this)))},t=k.expr={cacheLength:50,createPseudo:te,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(X,Z),e[3]=(e[3]||e[4]||e[5]||"").replace(X,Z),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||J.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&J.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return W.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&B.test(n)&&(t=ce(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(X,Z).toLowerCase();return"*"===e?function(){return!0}:function(e){return _(e,t)}},CLASS:function(e){var t=w[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&w(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=J.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(j," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,f,p,h=o!==a?"nextSibling":"previousSibling",m=t.parentNode,g=s&&t.nodeName.toLowerCase(),b=!l&&!s,w=!1;if(m){if(o){for(;h;){for(d=t;d=d[h];)if(s?_(d,g):1===d.nodeType)return!1;p=h="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&b){for(w=(f=(u=(c=m[v]||(m[v]={}))[e]||[])[0]===y&&u[1])&&u[2],d=f&&m.childNodes[f];d=++f&&d&&d[h]||(w=f=0)||p.pop();)if(1===d.nodeType&&++w&&d===t){c[e]=[y,f,w];break}}else if(b&&(w=f=(u=(c=t[v]||(t[v]={}))[e]||[])[0]===y&&u[1]),!1===w)for(;(d=++f&&d&&d[h]||(w=f=0)||p.pop())&&(!(s?_(d,g):1===d.nodeType)||!++w||(b&&((c=d[v]||(d[v]={}))[e]=[y,w]),d!==t)););return(w-=i)===r||w%r==0&&w/r>=0}}},PSEUDO:function(e,n){var r,i=t.pseudos[e]||t.setFilters[e.toLowerCase()]||J.error("unsupported pseudo: "+e);return i[v]?i(n):i.length>1?(r=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var r,o=i(e,n),a=o.length;a--;)e[r=c.call(e,o[a])]=!(t[r]=o[a])})):function(e){return i(e,0,r)}):i}},pseudos:{not:te((function(e){var t=[],n=[],r=ve(e.replace(P,"$1"));return r[v]?te((function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return J(e,t).length>0}})),contains:te((function(e){return e=e.replace(X,Z),function(t){return(t.textContent||k.text(t)).indexOf(e)>-1}})),lang:te((function(e){return U.test(e||"")||J.error("unsupported lang: "+e),e=e.replace(X,Z).toLowerCase(),function(t){var n;do{if(n=d?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=r.location&&r.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===u},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:oe(!1),disabled:oe(!0),checked:function(e){return _(e,"input")&&!!e.checked||_(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return $.test(e.nodeName)},input:function(e){return q.test(e.nodeName)},button:function(e){return _(e,"input")&&"button"===e.type||_(e,"button")},text:function(e){var t;return _(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae((function(){return[0]})),last:ae((function(e,t){return[t-1]})),eq:ae((function(e,t,n){return[n<0?n+t:n]})),even:ae((function(e,t){for(var n=0;nt?t:n;--r>=0;)e.push(r);return e})),gt:ae((function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function he(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,u=null!=t;s-1&&(o[u]=!(a[u]=f))}}else p=he(p===a?p.splice(v,p.length):p),i?i(null,a,p,l):m.apply(a,p)}))}function ge(e){for(var r,i,o,a=e.length,s=t.relative[e[0].type],l=s||t.relative[" "],u=s?1:0,d=fe((function(e){return e===r}),l,!0),f=fe((function(e){return c.call(r,e)>-1}),l,!0),p=[function(e,t,i){var o=!s&&(i||t!=n)||((r=t).nodeType?d(e,t,i):f(e,t,i));return r=null,o}];u1&&pe(p),u>1&&de(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(P,"$1"),i,u0,o=e.length>0,a=function(a,s,u,c,f){var p,h,g,v=0,b="0",w=a&&[],S=[],x=n,C=a||o&&t.find.TAG("*",f),E=y+=null==x?1:Math.random()||.1,T=C.length;for(f&&(n=s==l||s||f);b!==T&&null!=(p=C[b]);b++){if(o&&p){for(h=0,s||p.ownerDocument==l||(le(p),u=!d);g=e[h++];)if(g(p,s||l,u)){m.call(c,p);break}f&&(y=E)}i&&((p=!g&&p)&&v--,a&&w.push(p))}if(v+=b,i&&b!==v){for(h=0;g=r[h++];)g(w,S,s,u);if(a){if(v>0)for(;b--;)w[b]||S[b]||(S[b]=D.call(c));S=he(S)}m.apply(c,S),f&&!a&&S.length>0&&v+r.length>1&&k.uniqueSort(c)}return f&&(y=E,n=x),w};return i?te(a):a}(a,o)),s.selector=e}return s}function ye(e,n,r,i){var o,a,s,l,u,c="function"==typeof e&&e,f=!i&&ce(e=c.selector||e);if(r=r||[],1===f.length){if((a=f[0]=f[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===n.nodeType&&d&&t.relative[a[1].type]){if(!(n=(t.find.ID(s.matches[0].replace(X,Z),n)||[])[0]))return r;c&&(n=n.parentNode),e=e.slice(a.shift().value.length)}for(o=W.needsContext.test(e)?0:a.length;o--&&(s=a[o],!t.relative[l=s.type]);)if((u=t.find[l])&&(i=u(s.matches[0].replace(X,Z),G.test(a[0].type)&&se(n.parentNode)||n))){if(a.splice(o,1),!(e=i.length&&de(a)))return m.apply(r,i),r;break}}return(c||ve(e,f))(i,n,!d,r,!n||G.test(e)&&se(n.parentNode)||n),r}ue.prototype=t.filters=t.pseudos,t.setFilters=new ue,g.sortStable=v.split("").sort(E).join("")===v,le(),g.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))})),k.find=J,k.expr[":"]=k.expr.pseudos,k.unique=k.uniqueSort,J.compile=ve,J.select=ye,J.setDocument=le,J.tokenize=ce,J.escape=k.escapeSelector,J.getText=k.text,J.isXML=k.isXMLDoc,J.selectors=k.expr,J.support=k.support,J.uniqueSort=k.uniqueSort}();var F=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&k(e).is(n))break;r.push(e)}return r},j=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},z=k.expr.match.needsContext,H=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function V(e,t,n){return v(t)?k.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?k.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?k.grep(e,(function(e){return c.call(t,e)>-1!==n})):k.filter(t,e,n)}k.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?k.find.matchesSelector(r,e)?[r]:[]:k.find.matches(e,k.grep(t,(function(e){return 1===e.nodeType})))},k.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(k(e).filter((function(){for(t=0;t1?k.uniqueSort(n):n},filter:function(e){return this.pushStack(V(this,e||[],!1))},not:function(e){return this.pushStack(V(this,e||[],!0))},is:function(e){return!!V(this,"string"==typeof e&&z.test(e)?k(e):e||[],!1).length}});var B,U=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||B,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:U.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),H.test(r[1])&&k.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=b.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,B=k(b);var W=/^(?:parents|prev(?:Until|All))/,q={children:!0,contents:!0,next:!0,prev:!0};function $(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&k.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?k.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?c.call(k(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),k.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return F(e,"parentNode")},parentsUntil:function(e,t,n){return F(e,"parentNode",n)},next:function(e){return $(e,"nextSibling")},prev:function(e){return $(e,"previousSibling")},nextAll:function(e){return F(e,"nextSibling")},prevAll:function(e){return F(e,"previousSibling")},nextUntil:function(e,t,n){return F(e,"nextSibling",n)},prevUntil:function(e,t,n){return F(e,"previousSibling",n)},siblings:function(e){return j((e.parentNode||{}).firstChild,e)},children:function(e){return j(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(_(e,"template")&&(e=e.content||e),k.merge([],e.childNodes))}},(function(e,t){k.fn[e]=function(n,r){var i=k.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=k.filter(r,i)),this.length>1&&(q[e]||k.uniqueSort(i),W.test(e)&&i.reverse()),this.pushStack(i)}}));var Y=/[^\x20\t\r\n\f]+/g;function G(e){return e}function X(e){throw e}function Z(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}k.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return k.each(e.match(Y)||[],(function(e,n){t[n]=!0})),t}(e):k.extend({},e);var t,n,r,i,o=[],a=[],s=-1,l=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s-1;)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?k.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},k.extend({Deferred:function(e){var t=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return k.Deferred((function(n){k.each(t,(function(t,r){var i=v(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,i){var o=0;function a(e,t,n,i){return function(){var s=this,l=arguments,u=function(){var r,u;if(!(e=o&&(n!==X&&(s=void 0,l=[r]),t.rejectWith(s,l))}};e?c():(k.Deferred.getErrorHook?c.error=k.Deferred.getErrorHook():k.Deferred.getStackHook&&(c.error=k.Deferred.getStackHook()),r.setTimeout(c))}}return k.Deferred((function(r){t[0][3].add(a(0,r,v(i)?i:G,r.notifyWith)),t[1][3].add(a(0,r,v(e)?e:G)),t[2][3].add(a(0,r,v(n)?n:X))})).promise()},promise:function(e){return null!=e?k.extend(e,i):i}},o={};return k.each(t,(function(e,r){var a=r[2],s=r[5];i[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),o[r[0]]=function(){return o[r[0]+"With"](this===o?void 0:this,arguments),this},o[r[0]+"With"]=a.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=s.call(arguments),o=k.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?s.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(Z(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||v(i[n]&&i[n].then)))return o.then();for(;n--;)Z(i[n],a(n),o.reject);return o.promise()}});var K=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&K.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},k.readyException=function(e){r.setTimeout((function(){throw e}))};var Q=k.Deferred();function J(){b.removeEventListener("DOMContentLoaded",J),r.removeEventListener("load",J),k.ready()}k.fn.ready=function(e){return Q.then(e).catch((function(e){k.readyException(e)})),this},k.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--k.readyWait:k.isReady)||(k.isReady=!0,!0!==e&&--k.readyWait>0||Q.resolveWith(b,[k]))}}),k.ready.then=Q.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(k.ready):(b.addEventListener("DOMContentLoaded",J),r.addEventListener("load",J));var ee=function(e,t,n,r,i,o,a){var s=0,l=e.length,u=null==n;if("object"===x(n))for(s in i=!0,n)ee(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(k(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each((function(){le.remove(this,e)}))}}),k.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=se.get(e,t),n&&(!r||Array.isArray(n)?r=se.access(e,t,k.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=k.queue(e,t),r=n.length,i=n.shift(),o=k._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){k.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return se.get(e,n)||se.access(e,n,{empty:k.Callbacks("once memory").add((function(){se.remove(e,[t+"queue",n])}))})}}),k.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,_e=/^$|^module$|\/(?:java|ecma)script/i;Ce=b.createDocumentFragment().appendChild(b.createElement("div")),(Ee=b.createElement("input")).setAttribute("type","radio"),Ee.setAttribute("checked","checked"),Ee.setAttribute("name","t"),Ce.appendChild(Ee),g.checkClone=Ce.cloneNode(!0).cloneNode(!0).lastChild.checked,Ce.innerHTML="",g.noCloneChecked=!!Ce.cloneNode(!0).lastChild.defaultValue,Ce.innerHTML="",g.option=!!Ce.lastChild;var De={thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function Ae(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&_(e,t)?k.merge([e],n):n}function Me(e,t){for(var n=0,r=e.length;n",""]);var Re=/<|&#?\w+;/;function Pe(e,t,n,r,i){for(var o,a,s,l,u,c,d=t.createDocumentFragment(),f=[],p=0,h=e.length;p-1)i&&i.push(o);else if(u=ge(o),a=Ae(d.appendChild(o),"script"),u&&Me(a),n)for(c=0;o=a[c++];)_e.test(o.type||"")&&n.push(o);return d}var Oe=/^([^.]*)(?:\.(.+)|)/;function Ie(){return!0}function Ne(){return!1}function Le(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ne;else if(!i)return e;return 1===o&&(a=i,i=function(e){return k().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=k.guid++)),e.each((function(){k.event.add(this,t,i,r,n)}))}function Fe(e,t,n){n?(se.set(e,t,!1),k.event.add(e,t,{namespace:!1,handler:function(e){var n,r=se.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(k.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),se.set(this,t,r),this[t](),n=se.get(this,t),se.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(se.set(this,t,k.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ie)}})):void 0===se.get(e,t)&&k.event.add(e,t,Ie)}k.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,u,c,d,f,p,h,m,g=se.get(e);if(oe(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(me,i),n.guid||(n.guid=k.guid++),(l=g.events)||(l=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==k&&k.event.triggered!==t.type?k.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(Y)||[""]).length;u--;)p=m=(s=Oe.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=k.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=k.event.special[p]||{},c=k.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(f=l[p])||((f=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,c):f.push(c),k.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,l,u,c,d,f,p,h,m,g=se.hasData(e)&&se.get(e);if(g&&(l=g.events)){for(u=(t=(t||"").match(Y)||[""]).length;u--;)if(p=m=(s=Oe.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=k.event.special[p]||{},f=l[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)c=f[o],!i&&m!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(o,1),c.selector&&f.delegateCount--,d.remove&&d.remove.call(e,c));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||k.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)k.event.remove(e,p+t[u],n,r,!0);k.isEmptyObject(l)&&se.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),l=k.event.fix(e),u=(se.get(this,"events")||Object.create(null))[l.type]||[],c=k.event.special[l.type]||{};for(s[0]=l,t=1;t=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(o=[],a={},n=0;n-1:k.find(i,this,null,[u]).length),a[i]&&o.push(r);o.length&&s.push({elem:u,handlers:o})}return u=this,l\s*$/g;function Ve(e,t){return _(e,"table")&&_(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Be(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ue(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function We(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(se.hasData(e)&&(s=se.get(e).events))for(i in se.remove(t,"handle events"),s)for(n=0,r=s[i].length;n1&&"string"==typeof h&&!g.checkClone&&ze.test(h))return e.each((function(i){var o=e.eq(i);m&&(t[0]=h.call(this,i,o.html())),$e(o,t,n,r)}));if(f&&(o=(i=Pe(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=k.map(Ae(i,"script"),Be)).length;d0&&Me(a,!l&&Ae(e,"script")),s},cleanData:function(e){for(var t,n,r,i=k.event.special,o=0;void 0!==(n=e[o]);o++)if(oe(n)){if(t=n[se.expando]){if(t.events)for(r in t.events)i[r]?k.event.remove(n,r):k.removeEvent(n,r,t.handle);n[se.expando]=void 0}n[le.expando]&&(n[le.expando]=void 0)}}}),k.fn.extend({detach:function(e){return Ye(this,e,!0)},remove:function(e){return Ye(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?k.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return $e(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ve(this,e).appendChild(e)}))},prepend:function(){return $e(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ve(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return $e(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return $e(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(k.cleanData(Ae(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return k.clone(this,e,t)}))},html:function(e){return ee(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!je.test(e)&&!De[(Te.exec(e)||["",""])[1].toLowerCase()]){e=k.htmlPrefilter(e);try{for(;n=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-s-.5))||0),l+u}function ct(e,t,n){var r=Ze(e),i=(!g.boxSizingReliable()||n)&&"border-box"===k.css(e,"boxSizing",!1,r),o=i,a=Je(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ge.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&i||!g.reliableTrDimensions()&&_(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===k.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===k.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+ut(e,t,n||(i?"border":"content"),o,r,a)+"px"}function dt(e,t,n,r,i){return new dt.prototype.init(e,t,n,r,i)}k.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Je(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=ie(t),l=Xe.test(t),u=e.style;if(l||(t=it(s)),a=k.cssHooks[t]||k.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:u[t];"string"==(o=typeof n)&&(i=pe.exec(n))&&i[1]&&(n=be(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=i&&i[3]||(k.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,r){var i,o,a,s=ie(t);return Xe.test(t)||(t=it(s)),(a=k.cssHooks[t]||k.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Je(e,t,r)),"normal"===i&&t in st&&(i=st[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),k.each(["height","width"],(function(e,t){k.cssHooks[t]={get:function(e,n,r){if(n)return!ot.test(k.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ct(e,t,r):Ke(e,at,(function(){return ct(e,t,r)}))},set:function(e,n,r){var i,o=Ze(e),a=!g.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===k.css(e,"boxSizing",!1,o),l=r?ut(e,t,r,s,o):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-ut(e,t,"border",!1,o)-.5)),l&&(i=pe.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=k.css(e,t)),lt(0,n,l)}}})),k.cssHooks.marginLeft=et(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Je(e,"marginLeft"))||e.getBoundingClientRect().left-Ke(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),k.each({margin:"",padding:"",border:"Width"},(function(e,t){k.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+he[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(k.cssHooks[e+t].set=lt)})),k.fn.extend({css:function(e,t){return ee(this,(function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Ze(e),i=t.length;a1)}}),k.Tween=dt,dt.prototype={constructor:dt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||k.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(k.cssNumber[n]?"":"px")},cur:function(){var e=dt.propHooks[this.prop];return e&&e.get?e.get(this):dt.propHooks._default.get(this)},run:function(e){var t,n=dt.propHooks[this.prop];return this.options.duration?this.pos=t=k.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):dt.propHooks._default.set(this),this}},dt.prototype.init.prototype=dt.prototype,dt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=k.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){k.fx.step[e.prop]?k.fx.step[e.prop](e):1!==e.elem.nodeType||!k.cssHooks[e.prop]&&null==e.elem.style[it(e.prop)]?e.elem[e.prop]=e.now:k.style(e.elem,e.prop,e.now+e.unit)}}},dt.propHooks.scrollTop=dt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},k.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},k.fx=dt.prototype.init,k.fx.step={};var ft,pt,ht=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;function gt(){pt&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(gt):r.setTimeout(gt,k.fx.interval),k.fx.tick())}function vt(){return r.setTimeout((function(){ft=void 0})),ft=Date.now()}function yt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=he[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function bt(e,t,n){for(var r,i=(wt.tweeners[t]||[]).concat(wt.tweeners["*"]),o=0,a=i.length;o1)},removeAttr:function(e){return this.each((function(){k.removeAttr(this,e)}))}}),k.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?k.prop(e,t,n):(1===o&&k.isXMLDoc(e)||(i=k.attrHooks[t.toLowerCase()]||(k.expr.match.bool.test(t)?St:void 0)),void 0!==n?null===n?void k.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=k.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&_(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(Y);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),St={set:function(e,t,n){return!1===t?k.removeAttr(e,n):e.setAttribute(n,n),n}},k.each(k.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=xt[t]||k.find.attr;xt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=xt[a],xt[a]=i,i=null!=n(e,t,r)?a:null,xt[a]=o),i}}));var Ct=/^(?:input|select|textarea|button)$/i,Et=/^(?:a|area)$/i;function kt(e){return(e.match(Y)||[]).join(" ")}function Tt(e){return e.getAttribute&&e.getAttribute("class")||""}function _t(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(Y)||[]}k.fn.extend({prop:function(e,t){return ee(this,k.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[k.propFix[e]||e]}))}}),k.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&k.isXMLDoc(e)||(t=k.propFix[t]||t,i=k.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=k.find.attr(e,"tabindex");return t?parseInt(t,10):Ct.test(e.nodeName)||Et.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(k.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){k.propFix[this.toLowerCase()]=this})),k.fn.extend({addClass:function(e){var t,n,r,i,o,a;return v(e)?this.each((function(t){k(this).addClass(e.call(this,t,Tt(this)))})):(t=_t(e)).length?this.each((function(){if(r=Tt(this),n=1===this.nodeType&&" "+kt(r)+" "){for(o=0;o-1;)n=n.replace(" "+i+" "," ");a=kt(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,i,o,a=typeof e,s="string"===a||Array.isArray(e);return v(e)?this.each((function(n){k(this).toggleClass(e.call(this,n,Tt(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=_t(e),this.each((function(){if(s)for(o=k(this),i=0;i-1)return!0;return!1}});var Dt=/\r/g;k.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=v(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,k(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=k.map(i,(function(e){return null==e?"":e+""}))),(t=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=k.valHooks[i.type]||k.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Dt,""):null==n?"":n:void 0}}),k.extend({valHooks:{option:{get:function(e){var t=k.find.attr(e,"value");return null!=t?t:kt(k.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?o+1:i.length;for(r=o<0?l:a?o:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),k.each(["radio","checkbox"],(function(){k.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=k.inArray(k(e).val(),t)>-1}},g.checkOn||(k.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var At=r.location,Mt={guid:Date.now()},Rt=/\?/;k.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||k.error("Invalid XML: "+(n?k.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Pt=/^(?:focusinfocus|focusoutblur)$/,Ot=function(e){e.stopPropagation()};k.extend(k.event,{trigger:function(e,t,n,i){var o,a,s,l,u,c,d,f,h=[n||b],m=p.call(e,"type")?e.type:e,g=p.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!Pt.test(m+k.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),u=m.indexOf(":")<0&&"on"+m,(e=e[k.expando]?e:new k.Event(m,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:k.makeArray(t,[e]),d=k.event.special[m]||{},i||!d.trigger||!1!==d.trigger.apply(n,t))){if(!i&&!d.noBubble&&!y(n)){for(l=d.delegateType||m,Pt.test(l+m)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||r)}for(o=0;(a=h[o++])&&!e.isPropagationStopped();)f=a,e.type=o>1?l:d.bindType||m,(c=(se.get(a,"events")||Object.create(null))[e.type]&&se.get(a,"handle"))&&c.apply(a,t),(c=u&&a[u])&&c.apply&&oe(a)&&(e.result=c.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!oe(n)||u&&v(n[m])&&!y(n)&&((s=n[u])&&(n[u]=null),k.event.triggered=m,e.isPropagationStopped()&&f.addEventListener(m,Ot),n[m](),e.isPropagationStopped()&&f.removeEventListener(m,Ot),k.event.triggered=void 0,s&&(n[u]=s)),e.result}},simulate:function(e,t,n){var r=k.extend(new k.Event,n,{type:e,isSimulated:!0});k.event.trigger(r,null,t)}}),k.fn.extend({trigger:function(e,t){return this.each((function(){k.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return k.event.trigger(e,t,n,!0)}});var It=/\[\]$/,Nt=/\r?\n/g,Lt=/^(?:submit|button|image|reset|file)$/i,Ft=/^(?:input|select|textarea|keygen)/i;function jt(e,t,n,r){var i;if(Array.isArray(t))k.each(t,(function(t,i){n||It.test(e)?r(e,i):jt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==x(t))r(e,t);else for(i in t)jt(e+"["+i+"]",t[i],n,r)}k.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!k.isPlainObject(e))k.each(e,(function(){i(this.name,this.value)}));else for(n in e)jt(n,e[n],t,i);return r.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=k.prop(this,"elements");return e?k.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!k(this).is(":disabled")&&Ft.test(this.nodeName)&&!Lt.test(e)&&(this.checked||!ke.test(e))})).map((function(e,t){var n=k(this).val();return null==n?null:Array.isArray(n)?k.map(n,(function(e){return{name:t.name,value:e.replace(Nt,"\r\n")}})):{name:t.name,value:n.replace(Nt,"\r\n")}})).get()}});var zt=/%20/g,Ht=/#.*$/,Vt=/([?&])_=[^&]*/,Bt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ut=/^(?:GET|HEAD)$/,Wt=/^\/\//,qt={},$t={},Yt="*/".concat("*"),Gt=b.createElement("a");function Xt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(Y)||[];if(v(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Zt(e,t,n,r){var i={},o=e===$t;function a(s){var l;return i[s]=!0,k.each(e[s]||[],(function(e,s){var u=s(t,n,r);return"string"!=typeof u||o||i[u]?o?!(l=u):void 0:(t.dataTypes.unshift(u),a(u),!1)})),l}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Kt(e,t){var n,r,i=k.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&k.extend(!0,e,r),e}Gt.href=At.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(At.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Yt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Kt(Kt(e,k.ajaxSettings),t):Kt(k.ajaxSettings,e)},ajaxPrefilter:Xt(qt),ajaxTransport:Xt($t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,i,o,a,s,l,u,c,d,f,p=k.ajaxSetup({},t),h=p.context||p,m=p.context&&(h.nodeType||h.jquery)?k(h):k.event,g=k.Deferred(),v=k.Callbacks("once memory"),y=p.statusCode||{},w={},S={},x="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(u){if(!a)for(a={};t=Bt.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?o:null},setRequestHeader:function(e,t){return null==u&&(e=S[e.toLowerCase()]=S[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==u&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)C.always(e[C.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||x;return n&&n.abort(t),E(0,t),this}};if(g.promise(C),p.url=((e||p.url||At.href)+"").replace(Wt,At.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(Y)||[""],null==p.crossDomain){l=b.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Gt.protocol+"//"+Gt.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=k.param(p.data,p.traditional)),Zt(qt,p,t,C),u)return C;for(d in(c=k.event&&p.global)&&0==k.active++&&k.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ut.test(p.type),i=p.url.replace(Ht,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(zt,"+")):(f=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(Rt.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Vt,"$1"),f=(Rt.test(i)?"&":"?")+"_="+Mt.guid+++f),p.url=i+f),p.ifModified&&(k.lastModified[i]&&C.setRequestHeader("If-Modified-Since",k.lastModified[i]),k.etag[i]&&C.setRequestHeader("If-None-Match",k.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Yt+"; q=0.01":""):p.accepts["*"]),p.headers)C.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,C,p)||u))return C.abort();if(x="abort",v.add(p.complete),C.done(p.success),C.fail(p.error),n=Zt($t,p,t,C)){if(C.readyState=1,c&&m.trigger("ajaxSend",[C,p]),u)return C;p.async&&p.timeout>0&&(s=r.setTimeout((function(){C.abort("timeout")}),p.timeout));try{u=!1,n.send(w,E)}catch(e){if(u)throw e;E(-1,e)}}else E(-1,"No Transport");function E(e,t,a,l){var d,f,b,w,S,x=t;u||(u=!0,s&&r.clearTimeout(s),n=void 0,o=l||"",C.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(w=function(e,t,n){for(var r,i,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){l.unshift(i);break}if(l[0]in n)o=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(p,C,a)),!d&&k.inArray("script",p.dataTypes)>-1&&k.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),w=function(e,t,n,r){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(i in u)if((s=i.split(" "))[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[i]:!0!==u[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(p,w,C,d),d?(p.ifModified&&((S=C.getResponseHeader("Last-Modified"))&&(k.lastModified[i]=S),(S=C.getResponseHeader("etag"))&&(k.etag[i]=S)),204===e||"HEAD"===p.type?x="nocontent":304===e?x="notmodified":(x=w.state,f=w.data,d=!(b=w.error))):(b=x,!e&&x||(x="error",e<0&&(e=0))),C.status=e,C.statusText=(t||x)+"",d?g.resolveWith(h,[f,x,C]):g.rejectWith(h,[C,x,b]),C.statusCode(y),y=void 0,c&&m.trigger(d?"ajaxSuccess":"ajaxError",[C,p,d?f:b]),v.fireWith(h,[C,x]),c&&(m.trigger("ajaxComplete",[C,p]),--k.active||k.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return k.get(e,t,n,"json")},getScript:function(e,t){return k.get(e,void 0,t,"script")}}),k.each(["get","post"],(function(e,t){k[t]=function(e,n,r,i){return v(n)&&(i=i||r,r=n,n=void 0),k.ajax(k.extend({url:e,type:t,dataType:i,data:n,success:r},k.isPlainObject(e)&&e))}})),k.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),k._evalUrl=function(e,t,n){return k.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){k.globalEval(e,t,n)}})},k.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=k(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return v(e)?this.each((function(t){k(this).wrapInner(e.call(this,t))})):this.each((function(){var t=k(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=v(e);return this.each((function(n){k(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){k(this).replaceWith(this.childNodes)})),this}}),k.expr.pseudos.hidden=function(e){return!k.expr.pseudos.visible(e)},k.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Qt={0:200,1223:204},Jt=k.ajaxSettings.xhr();g.cors=!!Jt&&"withCredentials"in Jt,g.ajax=Jt=!!Jt,k.ajaxTransport((function(e){var t,n;if(g.cors||Jt&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Qt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),k.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return k.globalEval(e),e}}}),k.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),k.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=k("