@ukpc-lib/react 0.2.42 → 0.2.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1088 +0,0 @@
1
- var JE=require("./index.css");const Gn=require("react/jsx-runtime"),Je=require("react"),Ms=require("./Colors-51ce6654.cjs"),U0=require("react-dom"),Ic=require("@mui/material"),W0=require("moment");function $0(i){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(i){for(const n in i)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(i,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:()=>i[n]})}}return t.default=i,Object.freeze(t)}function z0(i,t){for(var n=0;n<t.length;n++){const s=t[n];if(typeof s!="string"&&!Array.isArray(s)){for(const o in s)if(o!=="default"&&!(o in i)){const l=Object.getOwnPropertyDescriptor(s,o);l&&Object.defineProperty(i,o,l.get?l:{enumerable:!0,get:()=>s[o]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}const tl=$0(Je);function Vp(i){var t,n,s="";if(typeof i=="string"||typeof i=="number")s+=i;else if(typeof i=="object")if(Array.isArray(i)){var o=i.length;for(t=0;t<o;t++)i[t]&&(n=Vp(i[t]))&&(s&&(s+=" "),s+=n)}else for(n in i)i[n]&&(s&&(s+=" "),s+=n);return s}function Ls(){for(var i,t,n=0,s="",o=arguments.length;n<o;n++)(i=arguments[n])&&(t=Vp(i))&&(s&&(s+=" "),s+=t);return s}const ec=i=>typeof i=="number"&&!isNaN(i),rl=i=>typeof i=="string",Io=i=>typeof i=="function",Rc=i=>rl(i)||Io(i)?i:null,zf=i=>Je.isValidElement(i)||rl(i)||Io(i)||ec(i);function Y0(i,t,n){n===void 0&&(n=300);const{scrollHeight:s,style:o}=i;requestAnimationFrame(()=>{o.minHeight="initial",o.height=s+"px",o.transition=`all ${n}ms`,requestAnimationFrame(()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,n)})})}function jc(i){let{enter:t,exit:n,appendPosition:s=!1,collapse:o=!0,collapseDuration:l=300}=i;return function(g){let{children:k,position:C,preventExitTransition:A,done:U,nodeRef:L,isIn:q,playToast:Q}=g;const re=s?`${t}--${C}`:t,ne=s?`${n}--${C}`:n,J=Je.useRef(0);return Je.useLayoutEffect(()=>{const F=L.current,he=re.split(" "),ye=Ie=>{Ie.target===L.current&&(Q(),F.removeEventListener("animationend",ye),F.removeEventListener("animationcancel",ye),J.current===0&&Ie.type!=="animationcancel"&&F.classList.remove(...he))};F.classList.add(...he),F.addEventListener("animationend",ye),F.addEventListener("animationcancel",ye)},[]),Je.useEffect(()=>{const F=L.current,he=()=>{F.removeEventListener("animationend",he),o?Y0(F,U,l):U()};q||(A?he():(J.current=1,F.className+=` ${ne}`,F.addEventListener("animationend",he)))},[q]),Je.createElement(Je.Fragment,null,k)}}function bh(i,t){return i!=null?{content:i.content,containerId:i.props.containerId,id:i.props.toastId,theme:i.props.theme,type:i.props.type,data:i.props.data||{},isLoading:i.props.isLoading,icon:i.props.icon,status:t}:{}}const Wi=new Map;let tc=[];const Yf=new Set,V0=i=>Yf.forEach(t=>t(i)),Gp=()=>Wi.size>0;function qp(i,t){var n;if(t)return!((n=Wi.get(t))==null||!n.isToastActive(i));let s=!1;return Wi.forEach(o=>{o.isToastActive(i)&&(s=!0)}),s}function Xp(i,t){zf(i)&&(Gp()||tc.push({content:i,options:t}),Wi.forEach(n=>{n.buildToast(i,t)}))}function wh(i,t){Wi.forEach(n=>{t!=null&&t!=null&&t.containerId?(t==null?void 0:t.containerId)===n.id&&n.toggle(i,t==null?void 0:t.id):n.toggle(i,t==null?void 0:t.id)})}function G0(i){const{subscribe:t,getSnapshot:n,setProps:s}=Je.useRef(function(l){const g=l.containerId||1;return{subscribe(k){const C=function(U,L,q){let Q=1,re=0,ne=[],J=[],F=[],he=L;const ye=new Map,Ie=new Set,de=()=>{F=Array.from(ye.values()),Ie.forEach(Ue=>Ue())},je=Ue=>{J=Ue==null?[]:J.filter(ke=>ke!==Ue),de()},m=Ue=>{const{toastId:ke,onOpen:ht,updateId:Et,children:vt}=Ue.props,dt=Et==null;Ue.staleId&&ye.delete(Ue.staleId),ye.set(ke,Ue),J=[...J,Ue.props.toastId].filter(Ct=>Ct!==Ue.staleId),de(),q(bh(Ue,dt?"added":"updated")),dt&&Io(ht)&&ht(Je.isValidElement(vt)&&vt.props)};return{id:U,props:he,observe:Ue=>(Ie.add(Ue),()=>Ie.delete(Ue)),toggle:(Ue,ke)=>{ye.forEach(ht=>{ke!=null&&ke!==ht.props.toastId||Io(ht.toggle)&&ht.toggle(Ue)})},removeToast:je,toasts:ye,clearQueue:()=>{re-=ne.length,ne=[]},buildToast:(Ue,ke)=>{if((Ye=>{let{containerId:Xe,toastId:Qe,updateId:Ze}=Ye;const Ke=Xe?Xe!==U:U!==1,ct=ye.has(Qe)&&Ze==null;return Ke||ct})(ke))return;const{toastId:ht,updateId:Et,data:vt,staleId:dt,delay:Ct}=ke,me=()=>{je(ht)},Le=Et==null;Le&&re++;const Ve={...he,style:he.toastStyle,key:Q++,...Object.fromEntries(Object.entries(ke).filter(Ye=>{let[Xe,Qe]=Ye;return Qe!=null})),toastId:ht,updateId:Et,data:vt,closeToast:me,isIn:!1,className:Rc(ke.className||he.toastClassName),bodyClassName:Rc(ke.bodyClassName||he.bodyClassName),progressClassName:Rc(ke.progressClassName||he.progressClassName),autoClose:!ke.isLoading&&(qe=ke.autoClose,lt=he.autoClose,qe===!1||ec(qe)&&qe>0?qe:lt),deleteToast(){const Ye=ye.get(ht),{onClose:Xe,children:Qe}=Ye.props;Io(Xe)&&Xe(Je.isValidElement(Qe)&&Qe.props),q(bh(Ye,"removed")),ye.delete(ht),re--,re<0&&(re=0),ne.length>0?m(ne.shift()):de()}};var qe,lt;Ve.closeButton=he.closeButton,ke.closeButton===!1||zf(ke.closeButton)?Ve.closeButton=ke.closeButton:ke.closeButton===!0&&(Ve.closeButton=!zf(he.closeButton)||he.closeButton);let Ce=Ue;Je.isValidElement(Ue)&&!rl(Ue.type)?Ce=Je.cloneElement(Ue,{closeToast:me,toastProps:Ve,data:vt}):Io(Ue)&&(Ce=Ue({closeToast:me,toastProps:Ve,data:vt}));const Pe={content:Ce,props:Ve,staleId:dt};he.limit&&he.limit>0&&re>he.limit&&Le?ne.push(Pe):ec(Ct)?setTimeout(()=>{m(Pe)},Ct):m(Pe)},setProps(Ue){he=Ue},setToggle:(Ue,ke)=>{ye.get(Ue).toggle=ke},isToastActive:Ue=>J.some(ke=>ke===Ue),getSnapshot:()=>he.newestOnTop?F.reverse():F}}(g,l,V0);Wi.set(g,C);const A=C.observe(k);return tc.forEach(U=>Xp(U.content,U.options)),tc=[],()=>{A(),Wi.delete(g)}},setProps(k){var C;(C=Wi.get(g))==null||C.setProps(k)},getSnapshot(){var k;return(k=Wi.get(g))==null?void 0:k.getSnapshot()}}}(i)).current;s(i);const o=Je.useSyncExternalStore(t,n,n);return{getToastToRender:function(l){if(!o)return[];const g=new Map;return o.forEach(k=>{const{position:C}=k.props;g.has(C)||g.set(C,[]),g.get(C).push(k)}),Array.from(g,k=>l(k[0],k[1]))},isToastActive:qp,count:o==null?void 0:o.length}}function q0(i){const[t,n]=Je.useState(!1),[s,o]=Je.useState(!1),l=Je.useRef(null),g=Je.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:k,pauseOnHover:C,closeToast:A,onClick:U,closeOnClick:L}=i;var q,Q;function re(){n(!0)}function ne(){n(!1)}function J(ye){const Ie=l.current;g.canDrag&&Ie&&(g.didMove=!0,t&&ne(),g.delta=i.draggableDirection==="x"?ye.clientX-g.start:ye.clientY-g.start,g.start!==ye.clientX&&(g.canCloseOnClick=!1),Ie.style.transform=`translate3d(${i.draggableDirection==="x"?`${g.delta}px, var(--y)`:`0, calc(${g.delta}px + var(--y))`},0)`,Ie.style.opacity=""+(1-Math.abs(g.delta/g.removalDistance)))}function F(){document.removeEventListener("pointermove",J),document.removeEventListener("pointerup",F);const ye=l.current;if(g.canDrag&&g.didMove&&ye){if(g.canDrag=!1,Math.abs(g.delta)>g.removalDistance)return o(!0),i.closeToast(),void i.collapseAll();ye.style.transition="transform 0.2s, opacity 0.2s",ye.style.removeProperty("transform"),ye.style.removeProperty("opacity")}}(Q=Wi.get((q={id:i.toastId,containerId:i.containerId,fn:n}).containerId||1))==null||Q.setToggle(q.id,q.fn),Je.useEffect(()=>{if(i.pauseOnFocusLoss)return document.hasFocus()||ne(),window.addEventListener("focus",re),window.addEventListener("blur",ne),()=>{window.removeEventListener("focus",re),window.removeEventListener("blur",ne)}},[i.pauseOnFocusLoss]);const he={onPointerDown:function(ye){if(i.draggable===!0||i.draggable===ye.pointerType){g.didMove=!1,document.addEventListener("pointermove",J),document.addEventListener("pointerup",F);const Ie=l.current;g.canCloseOnClick=!0,g.canDrag=!0,Ie.style.transition="none",i.draggableDirection==="x"?(g.start=ye.clientX,g.removalDistance=Ie.offsetWidth*(i.draggablePercent/100)):(g.start=ye.clientY,g.removalDistance=Ie.offsetHeight*(i.draggablePercent===80?1.5*i.draggablePercent:i.draggablePercent)/100)}},onPointerUp:function(ye){const{top:Ie,bottom:de,left:je,right:m}=l.current.getBoundingClientRect();ye.nativeEvent.type!=="touchend"&&i.pauseOnHover&&ye.clientX>=je&&ye.clientX<=m&&ye.clientY>=Ie&&ye.clientY<=de?ne():re()}};return k&&C&&(he.onMouseEnter=ne,i.stacked||(he.onMouseLeave=re)),L&&(he.onClick=ye=>{U&&U(ye),g.canCloseOnClick&&A()}),{playToast:re,pauseToast:ne,isRunning:t,preventExitTransition:s,toastRef:l,eventHandlers:he}}function X0(i){let{delay:t,isRunning:n,closeToast:s,type:o="default",hide:l,className:g,style:k,controlledProgress:C,progress:A,rtl:U,isIn:L,theme:q}=i;const Q=l||C&&A===0,re={...k,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused"};C&&(re.transform=`scaleX(${A})`);const ne=Ls("Toastify__progress-bar",C?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${q}`,`Toastify__progress-bar--${o}`,{"Toastify__progress-bar--rtl":U}),J=Io(g)?g({rtl:U,type:o,defaultClassName:ne}):Ls(ne,g),F={[C&&A>=1?"onTransitionEnd":"onAnimationEnd"]:C&&A<1?null:()=>{L&&s()}};return Je.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":Q},Je.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${q} Toastify__progress-bar--${o}`}),Je.createElement("div",{role:"progressbar","aria-hidden":Q?"true":"false","aria-label":"notification timer",className:J,style:re,...F}))}let K0=1;const Kp=()=>""+K0++;function J0(i){return i&&(rl(i.toastId)||ec(i.toastId))?i.toastId:Kp()}function Ql(i,t){return Xp(i,t),t.toastId}function Oc(i,t){return{...t,type:t&&t.type||i,toastId:J0(t)}}function bc(i){return(t,n)=>Ql(t,Oc(i,n))}function yn(i,t){return Ql(i,Oc("default",t))}yn.loading=(i,t)=>Ql(i,Oc("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),yn.promise=function(i,t,n){let s,{pending:o,error:l,success:g}=t;o&&(s=rl(o)?yn.loading(o,n):yn.loading(o.render,{...n,...o}));const k={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},C=(U,L,q)=>{if(L==null)return void yn.dismiss(s);const Q={type:U,...k,...n,data:q},re=rl(L)?{render:L}:L;return s?yn.update(s,{...Q,...re}):yn(re.render,{...Q,...re}),q},A=Io(i)?i():i;return A.then(U=>C("success",g,U)).catch(U=>C("error",l,U)),A},yn.success=bc("success"),yn.info=bc("info"),yn.error=bc("error"),yn.warning=bc("warning"),yn.warn=yn.warning,yn.dark=(i,t)=>Ql(i,Oc("default",{theme:"dark",...t})),yn.dismiss=function(i){(function(t){var n;if(Gp()){if(t==null||rl(n=t)||ec(n))Wi.forEach(o=>{o.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){var s;(s=Wi.get(t.containerId))!=null&&s.removeToast(t.id)||Wi.forEach(o=>{o.removeToast(t.id)})}}else tc=tc.filter(o=>t!=null&&o.options.toastId!==t)})(i)},yn.clearWaitingQueue=function(i){i===void 0&&(i={}),Wi.forEach(t=>{!t.props.limit||i.containerId&&t.id!==i.containerId||t.clearQueue()})},yn.isActive=qp,yn.update=function(i,t){t===void 0&&(t={});const n=((s,o)=>{var l;let{containerId:g}=o;return(l=Wi.get(g||1))==null?void 0:l.toasts.get(s)})(i,t);if(n){const{props:s,content:o}=n,l={delay:100,...s,...t,toastId:t.toastId||i,updateId:Kp()};l.toastId!==i&&(l.staleId=i);const g=l.render||o;delete l.render,Ql(g,l)}},yn.done=i=>{yn.update(i,{progress:1})},yn.onChange=function(i){return Yf.add(i),()=>{Yf.delete(i)}},yn.play=i=>wh(!0,i),yn.pause=i=>wh(!1,i);const Z0=typeof window<"u"?Je.useLayoutEffect:Je.useEffect,wc=i=>{let{theme:t,type:n,isLoading:s,...o}=i;return Je.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...o})},wf={info:function(i){return Je.createElement(wc,{...i},Je.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(i){return Je.createElement(wc,{...i},Je.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(i){return Je.createElement(wc,{...i},Je.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(i){return Je.createElement(wc,{...i},Je.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return Je.createElement("div",{className:"Toastify__spinner"})}},Q0=i=>{const{isRunning:t,preventExitTransition:n,toastRef:s,eventHandlers:o,playToast:l}=q0(i),{closeButton:g,children:k,autoClose:C,onClick:A,type:U,hideProgressBar:L,closeToast:q,transition:Q,position:re,className:ne,style:J,bodyClassName:F,bodyStyle:he,progressClassName:ye,progressStyle:Ie,updateId:de,role:je,progress:m,rtl:Ue,toastId:ke,deleteToast:ht,isIn:Et,isLoading:vt,closeOnClick:dt,theme:Ct}=i,me=Ls("Toastify__toast",`Toastify__toast-theme--${Ct}`,`Toastify__toast--${U}`,{"Toastify__toast--rtl":Ue},{"Toastify__toast--close-on-click":dt}),Le=Io(ne)?ne({rtl:Ue,position:re,type:U,defaultClassName:me}):Ls(me,ne),Ve=function(Pe){let{theme:Ye,type:Xe,isLoading:Qe,icon:Ze}=Pe,Ke=null;const ct={theme:Ye,type:Xe};return Ze===!1||(Io(Ze)?Ke=Ze({...ct,isLoading:Qe}):Je.isValidElement(Ze)?Ke=Je.cloneElement(Ze,ct):Qe?Ke=wf.spinner():(mt=>mt in wf)(Xe)&&(Ke=wf[Xe](ct))),Ke}(i),qe=!!m||!C,lt={closeToast:q,type:U,theme:Ct};let Ce=null;return g===!1||(Ce=Io(g)?g(lt):Je.isValidElement(g)?Je.cloneElement(g,lt):function(Pe){let{closeToast:Ye,theme:Xe,ariaLabel:Qe="close"}=Pe;return Je.createElement("button",{className:`Toastify__close-button Toastify__close-button--${Xe}`,type:"button",onClick:Ze=>{Ze.stopPropagation(),Ye(Ze)},"aria-label":Qe},Je.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},Je.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(lt)),Je.createElement(Q,{isIn:Et,done:ht,position:re,preventExitTransition:n,nodeRef:s,playToast:l},Je.createElement("div",{id:ke,onClick:A,"data-in":Et,className:Le,...o,style:J,ref:s},Je.createElement("div",{...Et&&{role:je},className:Io(F)?F({type:U}):Ls("Toastify__toast-body",F),style:he},Ve!=null&&Je.createElement("div",{className:Ls("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!vt})},Ve),Je.createElement("div",null,k)),Ce,Je.createElement(X0,{...de&&!qe?{key:`pb-${de}`}:{},rtl:Ue,theme:Ct,delay:C,isRunning:t,isIn:Et,closeToast:q,hide:L,type:U,style:Ie,className:ye,controlledProgress:qe,progress:m||0})))},Hc=function(i,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${i}-enter`,exit:`Toastify--animate Toastify__${i}-exit`,appendPosition:t}},ew=jc(Hc("bounce",!0));jc(Hc("slide",!0));jc(Hc("zoom"));jc(Hc("flip"));const tw={position:"top-right",transition:ew,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function nw(i){let t={...tw,...i};const n=i.stacked,[s,o]=Je.useState(!0),l=Je.useRef(null),{getToastToRender:g,isToastActive:k,count:C}=G0(t),{className:A,style:U,rtl:L,containerId:q}=t;function Q(ne){const J=Ls("Toastify__toast-container",`Toastify__toast-container--${ne}`,{"Toastify__toast-container--rtl":L});return Io(A)?A({position:ne,rtl:L,defaultClassName:J}):Ls(J,Rc(A))}function re(){n&&(o(!0),yn.play())}return Z0(()=>{if(n){var ne;const J=l.current.querySelectorAll('[data-in="true"]'),F=12,he=(ne=t.position)==null?void 0:ne.includes("top");let ye=0,Ie=0;Array.from(J).reverse().forEach((de,je)=>{const m=de;m.classList.add("Toastify__toast--stacked"),je>0&&(m.dataset.collapsed=`${s}`),m.dataset.pos||(m.dataset.pos=he?"top":"bot");const Ue=ye*(s?.2:1)+(s?0:F*je);m.style.setProperty("--y",`${he?Ue:-1*Ue}px`),m.style.setProperty("--g",`${F}`),m.style.setProperty("--s",""+(1-(s?Ie:0))),ye+=m.offsetHeight,Ie+=.025})}},[s,C,n]),Je.createElement("div",{ref:l,className:"Toastify",id:q,onMouseEnter:()=>{n&&(o(!1),yn.pause())},onMouseLeave:re},g((ne,J)=>{const F=J.length?{...U}:{...U,pointerEvents:"none"};return Je.createElement("div",{className:Q(ne),style:F,key:`container-${ne}`},J.map(he=>{let{content:ye,props:Ie}=he;return Je.createElement(Q0,{...Ie,stacked:n,collapseAll:re,isIn:k(Ie.toastId,Ie.containerId),style:Ie.style,key:`toast-${Ie.key}`},ye)}))}))}function rw(){return Gn.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Gn.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 1C16.5222 1 21 5.47676 21 11C21 16.5222 16.5222 21 11 21C5.47676 21 1 16.5222 1 11C1 5.47676 5.47676 1 11 1Z",stroke:"#E01B00",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Gn.jsx("path",{d:"M10.9942 6.89636V11.6737",stroke:"#E01B00",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Gn.jsx("path",{d:"M10.9941 15.1038H11.0049",stroke:"#E01B00",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function iw(){return Gn.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Gn.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#009D4F"}),Gn.jsx("path",{d:"M7.25244 12L10.4174 15.165L16.7474 8.83496",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function ow(){return Gn.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Gn.jsx("path",{d:"M12 7.73684V13.4211M12 21C7.69215 21 5.53823 21 4.29308 20.0953C3.20701 19.3063 2.50676 18.0934 2.36643 16.7583C2.20555 15.2276 3.28252 13.3623 5.43644 9.63158C7.59036 5.90088 8.66732 4.03553 10.0734 3.40952C11.2998 2.86349 12.7002 2.86349 13.9266 3.40952C15.3327 4.03553 16.4096 5.90088 18.5636 9.63158C20.7175 13.3623 21.7944 15.2276 21.6336 16.7583C21.4932 18.0934 20.793 19.3063 19.7069 20.0953C18.4618 21 16.3078 21 12 21Z",stroke:"#FFB600","stroke-width":"1.5","stroke-linecap":"round"}),Gn.jsx("path",{d:"M12.9473 16.263C12.9473 16.7863 12.5232 17.2104 12 17.2104C11.4768 17.2104 11.0526 16.7863 11.0526 16.263C11.0526 15.7398 11.4768 15.3157 12 15.3157C12.5232 15.3157 12.9473 15.7398 12.9473 16.263Z",fill:"#FFB600"})]})}const ld={paddingLeft:"16px",borderLeft:"2px solid",boxShadow:"none",fontFamily:"inherit"},aw=({closeToast:i})=>Gn.jsx("i",{className:"material-icons",onClick:i,style:{cursor:"pointer"},children:Gn.jsx("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Gn.jsx("path",{d:"M7.05086 6.13616C6.66033 5.74563 6.02717 5.74563 5.63664 6.13616C5.24612 6.52668 5.24612 7.15984 5.63664 7.55037L10.5864 12.5001L5.63664 17.4499C5.24612 17.8404 5.24612 18.4736 5.63664 18.8641C6.02717 19.2546 6.66033 19.2546 7.05086 18.8641L12.0006 13.9143L16.9504 18.8641C17.3409 19.2546 17.974 19.2546 18.3646 18.8641C18.7551 18.4736 18.7551 17.8404 18.3646 17.4499L13.4148 12.5001L18.3646 7.55037C18.7551 7.15984 18.7551 6.52668 18.3646 6.13616C17.974 5.74563 17.3409 5.74563 16.9504 6.13616L12.0006 11.0859L7.05086 6.13616Z",fill:"#85858A"})})}),sw=i=>{yn.success(i,{icon:Gn.jsx(iw,{}),bodyStyle:{},position:"bottom-right",style:{...ld,background:Ms.color.primary100,borderColor:Ms.color.success,color:Ms.color.success}})},uw=i=>{yn.error(i,{icon:Gn.jsx(rw,{}),position:"bottom-right",style:{...ld,background:"#F7E4E1",borderColor:Ms.color.danger,color:Ms.color.danger}})},lw=i=>{yn.error(i,{icon:Gn.jsx(ow,{}),position:"bottom-right",style:{...ld,background:"#FFF1B8",borderColor:Ms.color.warning,color:Ms.color.warning}})},cw=i=>{yn(i,{closeButton:aw,toastId:"notify",position:"top-right",closeOnClick:!1,hideProgressBar:!0,containerId:"toastifyNotification",style:{width:"610px",minHeight:"72px",padding:"12px 24px 12px 0",color:Ms.color.textPrimary}})},Jp=Je.createContext({}),fw=({children:i})=>{const[t,n]=Je.useState(!0),[s,o]=Je.useState({all:{rows:[],total:0},unread:{rows:[],total:0}}),l=()=>{n(!t)},g=()=>{n(!0)};return Gn.jsx(Jp.Provider,{value:{isOpen:t,toggleOpen:l,setShowModalFalse:g,notidata:s,setNotiData:o},children:i})};var Ro=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ac(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}function dw(i){if(i.__esModule)return i;var t=i.default;if(typeof t=="function"){var n=function s(){return this instanceof s?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(i).forEach(function(s){var o=Object.getOwnPropertyDescriptor(i,s);Object.defineProperty(n,s,o.get?o:{enumerable:!0,get:function(){return i[s]}})}),n}var Zu={};/**
2
- * @license React
3
- * react-dom-server-legacy.browser.production.min.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var Sh;function hw(){if(Sh)return Zu;Sh=1;var i=Je;function t(y){for(var I="https://reactjs.org/docs/error-decoder.html?invariant="+y,H=1;H<arguments.length;H++)I+="&args[]="+encodeURIComponent(arguments[H]);return"Minified React error #"+y+"; visit "+I+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=Object.prototype.hasOwnProperty,s=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,o={},l={};function g(y){return n.call(l,y)?!0:n.call(o,y)?!1:s.test(y)?l[y]=!0:(o[y]=!0,!1)}function k(y,I,H,G,Se,ce,_e){this.acceptsBooleans=I===2||I===3||I===4,this.attributeName=G,this.attributeNamespace=Se,this.mustUseProperty=H,this.propertyName=y,this.type=I,this.sanitizeURL=ce,this.removeEmptyString=_e}var C={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(y){C[y]=new k(y,0,!1,y,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(y){var I=y[0];C[I]=new k(I,1,!1,y[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(y){C[y]=new k(y,2,!1,y.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(y){C[y]=new k(y,2,!1,y,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(y){C[y]=new k(y,3,!1,y.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(y){C[y]=new k(y,3,!0,y,null,!1,!1)}),["capture","download"].forEach(function(y){C[y]=new k(y,4,!1,y,null,!1,!1)}),["cols","rows","size","span"].forEach(function(y){C[y]=new k(y,6,!1,y,null,!1,!1)}),["rowSpan","start"].forEach(function(y){C[y]=new k(y,5,!1,y.toLowerCase(),null,!1,!1)});var A=/[\-:]([a-z])/g;function U(y){return y[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(y){var I=y.replace(A,U);C[I]=new k(I,1,!1,y,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(y){var I=y.replace(A,U);C[I]=new k(I,1,!1,y,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(y){var I=y.replace(A,U);C[I]=new k(I,1,!1,y,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(y){C[y]=new k(y,1,!1,y.toLowerCase(),null,!1,!1)}),C.xlinkHref=new k("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(y){C[y]=new k(y,1,!1,y.toLowerCase(),null,!0,!0)});var L={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},q=["Webkit","ms","Moz","O"];Object.keys(L).forEach(function(y){q.forEach(function(I){I=I+y.charAt(0).toUpperCase()+y.substring(1),L[I]=L[y]})});var Q=/["'&<>]/;function re(y){if(typeof y=="boolean"||typeof y=="number")return""+y;y=""+y;var I=Q.exec(y);if(I){var H="",G,Se=0;for(G=I.index;G<y.length;G++){switch(y.charCodeAt(G)){case 34:I="&quot;";break;case 38:I="&amp;";break;case 39:I="&#x27;";break;case 60:I="&lt;";break;case 62:I="&gt;";break;default:continue}Se!==G&&(H+=y.substring(Se,G)),Se=G+1,H+=I}y=Se!==G?H+y.substring(Se,G):H}return y}var ne=/([A-Z])/g,J=/^ms-/,F=Array.isArray;function he(y,I){return{insertionMode:y,selectedValue:I}}function ye(y,I,H){switch(I){case"select":return he(1,H.value!=null?H.value:H.defaultValue);case"svg":return he(2,null);case"math":return he(3,null);case"foreignObject":return he(1,null);case"table":return he(4,null);case"thead":case"tbody":case"tfoot":return he(5,null);case"colgroup":return he(7,null);case"tr":return he(6,null)}return 4<=y.insertionMode||y.insertionMode===0?he(1,null):y}var Ie=new Map;function de(y,I,H){if(typeof H!="object")throw Error(t(62));I=!0;for(var G in H)if(n.call(H,G)){var Se=H[G];if(Se!=null&&typeof Se!="boolean"&&Se!==""){if(G.indexOf("--")===0){var ce=re(G);Se=re((""+Se).trim())}else{ce=G;var _e=Ie.get(ce);_e!==void 0||(_e=re(ce.replace(ne,"-$1").toLowerCase().replace(J,"-ms-")),Ie.set(ce,_e)),ce=_e,Se=typeof Se=="number"?Se===0||n.call(L,G)?""+Se:Se+"px":re((""+Se).trim())}I?(I=!1,y.push(' style="',ce,":",Se)):y.push(";",ce,":",Se)}}I||y.push('"')}function je(y,I,H,G){switch(H){case"style":de(y,I,G);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<H.length)||H[0]!=="o"&&H[0]!=="O"||H[1]!=="n"&&H[1]!=="N"){if(I=C.hasOwnProperty(H)?C[H]:null,I!==null){switch(typeof G){case"function":case"symbol":return;case"boolean":if(!I.acceptsBooleans)return}switch(H=I.attributeName,I.type){case 3:G&&y.push(" ",H,'=""');break;case 4:G===!0?y.push(" ",H,'=""'):G!==!1&&y.push(" ",H,'="',re(G),'"');break;case 5:isNaN(G)||y.push(" ",H,'="',re(G),'"');break;case 6:!isNaN(G)&&1<=G&&y.push(" ",H,'="',re(G),'"');break;default:I.sanitizeURL&&(G=""+G),y.push(" ",H,'="',re(G),'"')}}else if(g(H)){switch(typeof G){case"function":case"symbol":return;case"boolean":if(I=H.toLowerCase().slice(0,5),I!=="data-"&&I!=="aria-")return}y.push(" ",H,'="',re(G),'"')}}}function m(y,I,H){if(I!=null){if(H!=null)throw Error(t(60));if(typeof I!="object"||!("__html"in I))throw Error(t(61));I=I.__html,I!=null&&y.push(""+I)}}function Ue(y){var I="";return i.Children.forEach(y,function(H){H!=null&&(I+=H)}),I}function ke(y,I,H,G){y.push(vt(H));var Se=H=null,ce;for(ce in I)if(n.call(I,ce)){var _e=I[ce];if(_e!=null)switch(ce){case"children":H=_e;break;case"dangerouslySetInnerHTML":Se=_e;break;default:je(y,G,ce,_e)}}return y.push(">"),m(y,Se,H),typeof H=="string"?(y.push(re(H)),null):H}var ht=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Et=new Map;function vt(y){var I=Et.get(y);if(I===void 0){if(!ht.test(y))throw Error(t(65,y));I="<"+y,Et.set(y,I)}return I}function dt(y,I,H,G,Se){switch(I){case"select":y.push(vt("select"));var ce=null,_e=null;for(ut in H)if(n.call(H,ut)){var $e=H[ut];if($e!=null)switch(ut){case"children":ce=$e;break;case"dangerouslySetInnerHTML":_e=$e;break;case"defaultValue":case"value":break;default:je(y,G,ut,$e)}}return y.push(">"),m(y,_e,ce),ce;case"option":_e=Se.selectedValue,y.push(vt("option"));var st=$e=null,yt=null,ut=null;for(ce in H)if(n.call(H,ce)){var jt=H[ce];if(jt!=null)switch(ce){case"children":$e=jt;break;case"selected":yt=jt;break;case"dangerouslySetInnerHTML":ut=jt;break;case"value":st=jt;default:je(y,G,ce,jt)}}if(_e!=null)if(H=st!==null?""+st:Ue($e),F(_e)){for(G=0;G<_e.length;G++)if(""+_e[G]===H){y.push(' selected=""');break}}else""+_e===H&&y.push(' selected=""');else yt&&y.push(' selected=""');return y.push(">"),m(y,ut,$e),$e;case"textarea":y.push(vt("textarea")),ut=_e=ce=null;for($e in H)if(n.call(H,$e)&&(st=H[$e],st!=null))switch($e){case"children":ut=st;break;case"value":ce=st;break;case"defaultValue":_e=st;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:je(y,G,$e,st)}if(ce===null&&_e!==null&&(ce=_e),y.push(">"),ut!=null){if(ce!=null)throw Error(t(92));if(F(ut)&&1<ut.length)throw Error(t(93));ce=""+ut}return typeof ce=="string"&&ce[0]===`
10
- `&&y.push(`
11
- `),ce!==null&&y.push(re(""+ce)),null;case"input":y.push(vt("input")),st=ut=$e=ce=null;for(_e in H)if(n.call(H,_e)&&(yt=H[_e],yt!=null))switch(_e){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":st=yt;break;case"defaultValue":$e=yt;break;case"checked":ut=yt;break;case"value":ce=yt;break;default:je(y,G,_e,yt)}return ut!==null?je(y,G,"checked",ut):st!==null&&je(y,G,"checked",st),ce!==null?je(y,G,"value",ce):$e!==null&&je(y,G,"value",$e),y.push("/>"),null;case"menuitem":y.push(vt("menuitem"));for(var zn in H)if(n.call(H,zn)&&(ce=H[zn],ce!=null))switch(zn){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:je(y,G,zn,ce)}return y.push(">"),null;case"title":y.push(vt("title")),ce=null;for(jt in H)if(n.call(H,jt)&&(_e=H[jt],_e!=null))switch(jt){case"children":ce=_e;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:je(y,G,jt,_e)}return y.push(">"),ce;case"listing":case"pre":y.push(vt(I)),_e=ce=null;for(st in H)if(n.call(H,st)&&($e=H[st],$e!=null))switch(st){case"children":ce=$e;break;case"dangerouslySetInnerHTML":_e=$e;break;default:je(y,G,st,$e)}if(y.push(">"),_e!=null){if(ce!=null)throw Error(t(60));if(typeof _e!="object"||!("__html"in _e))throw Error(t(61));H=_e.__html,H!=null&&(typeof H=="string"&&0<H.length&&H[0]===`
12
- `?y.push(`
13
- `,H):y.push(""+H))}return typeof ce=="string"&&ce[0]===`
14
- `&&y.push(`
15
- `),ce;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":y.push(vt(I));for(var Fn in H)if(n.call(H,Fn)&&(ce=H[Fn],ce!=null))switch(Fn){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,I));default:je(y,G,Fn,ce)}return y.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return ke(y,H,I,G);case"html":return Se.insertionMode===0&&y.push("<!DOCTYPE html>"),ke(y,H,I,G);default:if(I.indexOf("-")===-1&&typeof H.is!="string")return ke(y,H,I,G);y.push(vt(I)),_e=ce=null;for(yt in H)if(n.call(H,yt)&&($e=H[yt],$e!=null))switch(yt){case"children":ce=$e;break;case"dangerouslySetInnerHTML":_e=$e;break;case"style":de(y,G,$e);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:g(yt)&&typeof $e!="function"&&typeof $e!="symbol"&&y.push(" ",yt,'="',re($e),'"')}return y.push(">"),m(y,_e,ce),ce}}function Ct(y,I,H){if(y.push('<!--$?--><template id="'),H===null)throw Error(t(395));return y.push(H),y.push('"></template>')}function me(y,I,H,G){switch(H.insertionMode){case 0:case 1:return y.push('<div hidden id="'),y.push(I.segmentPrefix),I=G.toString(16),y.push(I),y.push('">');case 2:return y.push('<svg aria-hidden="true" style="display:none" id="'),y.push(I.segmentPrefix),I=G.toString(16),y.push(I),y.push('">');case 3:return y.push('<math aria-hidden="true" style="display:none" id="'),y.push(I.segmentPrefix),I=G.toString(16),y.push(I),y.push('">');case 4:return y.push('<table hidden id="'),y.push(I.segmentPrefix),I=G.toString(16),y.push(I),y.push('">');case 5:return y.push('<table hidden><tbody id="'),y.push(I.segmentPrefix),I=G.toString(16),y.push(I),y.push('">');case 6:return y.push('<table hidden><tr id="'),y.push(I.segmentPrefix),I=G.toString(16),y.push(I),y.push('">');case 7:return y.push('<table hidden><colgroup id="'),y.push(I.segmentPrefix),I=G.toString(16),y.push(I),y.push('">');default:throw Error(t(397))}}function Le(y,I){switch(I.insertionMode){case 0:case 1:return y.push("</div>");case 2:return y.push("</svg>");case 3:return y.push("</math>");case 4:return y.push("</table>");case 5:return y.push("</tbody></table>");case 6:return y.push("</tr></table>");case 7:return y.push("</colgroup></table>");default:throw Error(t(397))}}var Ve=/[<\u2028\u2029]/g;function qe(y){return JSON.stringify(y).replace(Ve,function(I){switch(I){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function lt(y,I){return I=I===void 0?"":I,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:I+"P:",segmentPrefix:I+"S:",boundaryPrefix:I+"B:",idPrefix:I,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:y}}function Ce(y,I,H,G){return H.generateStaticMarkup?(y.push(re(I)),!1):(I===""?y=G:(G&&y.push("<!-- -->"),y.push(re(I)),y=!0),y)}var Pe=Object.assign,Ye=Symbol.for("react.element"),Xe=Symbol.for("react.portal"),Qe=Symbol.for("react.fragment"),Ze=Symbol.for("react.strict_mode"),Ke=Symbol.for("react.profiler"),ct=Symbol.for("react.provider"),mt=Symbol.for("react.context"),wt=Symbol.for("react.forward_ref"),gt=Symbol.for("react.suspense"),Tt=Symbol.for("react.suspense_list"),Ge=Symbol.for("react.memo"),Ft=Symbol.for("react.lazy"),Bt=Symbol.for("react.scope"),Hn=Symbol.for("react.debug_trace_mode"),ur=Symbol.for("react.legacy_hidden"),Un=Symbol.for("react.default_value"),bn=Symbol.iterator;function xi(y){if(y==null)return null;if(typeof y=="function")return y.displayName||y.name||null;if(typeof y=="string")return y;switch(y){case Qe:return"Fragment";case Xe:return"Portal";case Ke:return"Profiler";case Ze:return"StrictMode";case gt:return"Suspense";case Tt:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case mt:return(y.displayName||"Context")+".Consumer";case ct:return(y._context.displayName||"Context")+".Provider";case wt:var I=y.render;return y=y.displayName,y||(y=I.displayName||I.name||"",y=y!==""?"ForwardRef("+y+")":"ForwardRef"),y;case Ge:return I=y.displayName||null,I!==null?I:xi(y.type)||"Memo";case Ft:I=y._payload,y=y._init;try{return xi(y(I))}catch{}}return null}var mr={};function qn(y,I){if(y=y.contextTypes,!y)return mr;var H={},G;for(G in y)H[G]=I[G];return H}var rn=null;function sn(y,I){if(y!==I){y.context._currentValue2=y.parentValue,y=y.parent;var H=I.parent;if(y===null){if(H!==null)throw Error(t(401))}else{if(H===null)throw Error(t(401));sn(y,H)}I.context._currentValue2=I.value}}function un(y){y.context._currentValue2=y.parentValue,y=y.parent,y!==null&&un(y)}function at(y){var I=y.parent;I!==null&&at(I),y.context._currentValue2=y.value}function En(y,I){if(y.context._currentValue2=y.parentValue,y=y.parent,y===null)throw Error(t(402));y.depth===I.depth?sn(y,I):En(y,I)}function Jr(y,I){var H=I.parent;if(H===null)throw Error(t(402));y.depth===H.depth?sn(y,H):Jr(y,H),I.context._currentValue2=I.value}function nn(y){var I=rn;I!==y&&(I===null?at(y):y===null?un(I):I.depth===y.depth?sn(I,y):I.depth>y.depth?En(I,y):Jr(I,y),rn=y)}var Ci={isMounted:function(){return!1},enqueueSetState:function(y,I){y=y._reactInternals,y.queue!==null&&y.queue.push(I)},enqueueReplaceState:function(y,I){y=y._reactInternals,y.replace=!0,y.queue=[I]},enqueueForceUpdate:function(){}};function Ei(y,I,H,G){var Se=y.state!==void 0?y.state:null;y.updater=Ci,y.props=H,y.state=Se;var ce={queue:[],replace:!1};y._reactInternals=ce;var _e=I.contextType;if(y.context=typeof _e=="object"&&_e!==null?_e._currentValue2:G,_e=I.getDerivedStateFromProps,typeof _e=="function"&&(_e=_e(H,Se),Se=_e==null?Se:Pe({},Se,_e),y.state=Se),typeof I.getDerivedStateFromProps!="function"&&typeof y.getSnapshotBeforeUpdate!="function"&&(typeof y.UNSAFE_componentWillMount=="function"||typeof y.componentWillMount=="function"))if(I=y.state,typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount(),I!==y.state&&Ci.enqueueReplaceState(y,y.state,null),ce.queue!==null&&0<ce.queue.length)if(I=ce.queue,_e=ce.replace,ce.queue=null,ce.replace=!1,_e&&I.length===1)y.state=I[0];else{for(ce=_e?I[0]:y.state,Se=!0,_e=_e?1:0;_e<I.length;_e++){var $e=I[_e];$e=typeof $e=="function"?$e.call(y,ce,H,G):$e,$e!=null&&(Se?(Se=!1,ce=Pe({},ce,$e)):Pe(ce,$e))}y.state=ce}else ce.queue=null}var ki={id:1,overflow:""};function yr(y,I,H){var G=y.id;y=y.overflow;var Se=32-Ln(G)-1;G&=~(1<<Se),H+=1;var ce=32-Ln(I)+Se;if(30<ce){var _e=Se-Se%5;return ce=(G&(1<<_e)-1).toString(32),G>>=_e,Se-=_e,{id:1<<32-Ln(I)+Se|H<<Se|G,overflow:ce+y}}return{id:1<<ce|H<<Se|G,overflow:y}}var Ln=Math.clz32?Math.clz32:Fr,br=Math.log,lr=Math.LN2;function Fr(y){return y>>>=0,y===0?32:31-(br(y)/lr|0)|0}function Nr(y,I){return y===I&&(y!==0||1/y===1/I)||y!==y&&I!==I}var so=typeof Object.is=="function"?Object.is:Nr,Wn=null,Br=null,Xn=null,Vt=null,Zr=!1,Ti=!1,kn=0,ln=null,Qr=0;function ei(){if(Wn===null)throw Error(t(321));return Wn}function fn(){if(0<Qr)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function $i(){return Vt===null?Xn===null?(Zr=!1,Xn=Vt=fn()):(Zr=!0,Vt=Xn):Vt.next===null?(Zr=!1,Vt=Vt.next=fn()):(Zr=!0,Vt=Vt.next),Vt}function cr(){Br=Wn=null,Ti=!1,Xn=null,Qr=0,Vt=ln=null}function ti(y,I){return typeof I=="function"?I(y):I}function on(y,I,H){if(Wn=ei(),Vt=$i(),Zr){var G=Vt.queue;if(I=G.dispatch,ln!==null&&(H=ln.get(G),H!==void 0)){ln.delete(G),G=Vt.memoizedState;do G=y(G,H.action),H=H.next;while(H!==null);return Vt.memoizedState=G,[G,I]}return[Vt.memoizedState,I]}return y=y===ti?typeof I=="function"?I():I:H!==void 0?H(I):I,Vt.memoizedState=y,y=Vt.queue={last:null,dispatch:null},y=y.dispatch=Zo.bind(null,Wn,y),[Vt.memoizedState,y]}function li(y,I){if(Wn=ei(),Vt=$i(),I=I===void 0?null:I,Vt!==null){var H=Vt.memoizedState;if(H!==null&&I!==null){var G=H[1];e:if(G===null)G=!1;else{for(var Se=0;Se<G.length&&Se<I.length;Se++)if(!so(I[Se],G[Se])){G=!1;break e}G=!0}if(G)return H[0]}}return y=y(),Vt.memoizedState=[y,I],y}function Zo(y,I,H){if(25<=Qr)throw Error(t(301));if(y===Wn)if(Ti=!0,y={action:H,next:null},ln===null&&(ln=new Map),H=ln.get(I),H===void 0)ln.set(I,y);else{for(I=H;I.next!==null;)I=I.next;I.next=y}}function Qo(){throw Error(t(394))}function jr(){}var zi={readContext:function(y){return y._currentValue2},useContext:function(y){return ei(),y._currentValue2},useMemo:li,useReducer:on,useRef:function(y){Wn=ei(),Vt=$i();var I=Vt.memoizedState;return I===null?(y={current:y},Vt.memoizedState=y):I},useState:function(y){return on(ti,y)},useInsertionEffect:jr,useLayoutEffect:function(){},useCallback:function(y,I){return li(function(){return y},I)},useImperativeHandle:jr,useEffect:jr,useDebugValue:jr,useDeferredValue:function(y){return ei(),y},useTransition:function(){return ei(),[!1,Qo]},useId:function(){var y=Br.treeContext,I=y.overflow;y=y.id,y=(y&~(1<<32-Ln(y)-1)).toString(32)+I;var H=Yi;if(H===null)throw Error(t(404));return I=kn++,y=":"+H.idPrefix+"R"+y,0<I&&(y+="H"+I.toString(32)),y+":"},useMutableSource:function(y,I){return ei(),I(y._source)},useSyncExternalStore:function(y,I,H){if(H===void 0)throw Error(t(407));return H()}},Yi=null,uo=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function ci(y){return console.error(y),null}function ni(){}function fi(y,I,H,G,Se,ce,_e,$e,st){var yt=[],ut=new Set;return I={destination:null,responseState:I,progressiveChunkSize:G===void 0?12800:G,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ut,pingedTasks:yt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Se===void 0?ci:Se,onAllReady:ce===void 0?ni:ce,onShellReady:_e===void 0?ni:_e,onShellError:$e===void 0?ni:$e,onFatalError:st===void 0?ni:st},H=di(I,0,null,H,!1,!1),H.parentFlushed=!0,y=Vi(I,y,null,H,ut,mr,null,ki),yt.push(y),I}function Vi(y,I,H,G,Se,ce,_e,$e){y.allPendingTasks++,H===null?y.pendingRootTasks++:H.pendingTasks++;var st={node:I,ping:function(){var yt=y.pingedTasks;yt.push(st),yt.length===1&&$n(y)},blockedBoundary:H,blockedSegment:G,abortSet:Se,legacyContext:ce,context:_e,treeContext:$e};return Se.add(st),st}function di(y,I,H,G,Se,ce){return{status:0,id:-1,index:I,parentFlushed:!1,chunks:[],children:[],formatContext:G,boundary:H,lastPushedText:Se,textEmbedded:ce}}function Hr(y,I){if(y=y.onError(I),y!=null&&typeof y!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof y+'" instead');return y}function fr(y,I){var H=y.onShellError;H(I),H=y.onFatalError,H(I),y.destination!==null?(y.status=2,y.destination.destroy(I)):(y.status=1,y.fatalError=I)}function wr(y,I,H,G,Se){for(Wn={},Br=I,kn=0,y=H(G,Se);Ti;)Ti=!1,kn=0,Qr+=1,Vt=null,y=H(G,Se);return cr(),y}function Ur(y,I,H,G){var Se=H.render(),ce=G.childContextTypes;if(ce!=null){var _e=I.legacyContext;if(typeof H.getChildContext!="function")G=_e;else{H=H.getChildContext();for(var $e in H)if(!($e in ce))throw Error(t(108,xi(G)||"Unknown",$e));G=Pe({},_e,H)}I.legacyContext=G,cn(y,I,Se),I.legacyContext=_e}else cn(y,I,Se)}function Sr(y,I){if(y&&y.defaultProps){I=Pe({},I),y=y.defaultProps;for(var H in y)I[H]===void 0&&(I[H]=y[H]);return I}return I}function Mn(y,I,H,G,Se){if(typeof H=="function")if(H.prototype&&H.prototype.isReactComponent){Se=qn(H,I.legacyContext);var ce=H.contextType;ce=new H(G,typeof ce=="object"&&ce!==null?ce._currentValue2:Se),Ei(ce,H,G,Se),Ur(y,I,ce,H)}else{ce=qn(H,I.legacyContext),Se=wr(y,I,H,G,ce);var _e=kn!==0;if(typeof Se=="object"&&Se!==null&&typeof Se.render=="function"&&Se.$$typeof===void 0)Ei(Se,H,G,ce),Ur(y,I,Se,H);else if(_e){G=I.treeContext,I.treeContext=yr(G,1,0);try{cn(y,I,Se)}finally{I.treeContext=G}}else cn(y,I,Se)}else if(typeof H=="string"){switch(Se=I.blockedSegment,ce=dt(Se.chunks,H,G,y.responseState,Se.formatContext),Se.lastPushedText=!1,_e=Se.formatContext,Se.formatContext=ye(_e,H,G),dr(y,I,ce),Se.formatContext=_e,H){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:Se.chunks.push("</",H,">")}Se.lastPushedText=!1}else{switch(H){case ur:case Hn:case Ze:case Ke:case Qe:cn(y,I,G.children);return;case Tt:cn(y,I,G.children);return;case Bt:throw Error(t(343));case gt:e:{H=I.blockedBoundary,Se=I.blockedSegment,ce=G.fallback,G=G.children,_e=new Set;var $e={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:_e,errorDigest:null},st=di(y,Se.chunks.length,$e,Se.formatContext,!1,!1);Se.children.push(st),Se.lastPushedText=!1;var yt=di(y,0,null,Se.formatContext,!1,!1);yt.parentFlushed=!0,I.blockedBoundary=$e,I.blockedSegment=yt;try{if(dr(y,I,G),y.responseState.generateStaticMarkup||yt.lastPushedText&&yt.textEmbedded&&yt.chunks.push("<!-- -->"),yt.status=1,Cr($e,yt),$e.pendingTasks===0)break e}catch(ut){yt.status=4,$e.forceClientRender=!0,$e.errorDigest=Hr(y,ut)}finally{I.blockedBoundary=H,I.blockedSegment=Se}I=Vi(y,ce,H,st,_e,I.legacyContext,I.context,I.treeContext),y.pingedTasks.push(I)}return}if(typeof H=="object"&&H!==null)switch(H.$$typeof){case wt:if(G=wr(y,I,H.render,G,Se),kn!==0){H=I.treeContext,I.treeContext=yr(H,1,0);try{cn(y,I,G)}finally{I.treeContext=H}}else cn(y,I,G);return;case Ge:H=H.type,G=Sr(H,G),Mn(y,I,H,G,Se);return;case ct:if(Se=G.children,H=H._context,G=G.value,ce=H._currentValue2,H._currentValue2=G,_e=rn,rn=G={parent:_e,depth:_e===null?0:_e.depth+1,context:H,parentValue:ce,value:G},I.context=G,cn(y,I,Se),y=rn,y===null)throw Error(t(403));G=y.parentValue,y.context._currentValue2=G===Un?y.context._defaultValue:G,y=rn=y.parent,I.context=y;return;case mt:G=G.children,G=G(H._currentValue2),cn(y,I,G);return;case Ft:Se=H._init,H=Se(H._payload),G=Sr(H,G),Mn(y,I,H,G,void 0);return}throw Error(t(130,H==null?H:typeof H,""))}}function cn(y,I,H){if(I.node=H,typeof H=="object"&&H!==null){switch(H.$$typeof){case Ye:Mn(y,I,H.type,H.props,H.ref);return;case Xe:throw Error(t(257));case Ft:var G=H._init;H=G(H._payload),cn(y,I,H);return}if(F(H)){xr(y,I,H);return}if(H===null||typeof H!="object"?G=null:(G=bn&&H[bn]||H["@@iterator"],G=typeof G=="function"?G:null),G&&(G=G.call(H))){if(H=G.next(),!H.done){var Se=[];do Se.push(H.value),H=G.next();while(!H.done);xr(y,I,Se)}return}throw y=Object.prototype.toString.call(H),Error(t(31,y==="[object Object]"?"object with keys {"+Object.keys(H).join(", ")+"}":y))}typeof H=="string"?(G=I.blockedSegment,G.lastPushedText=Ce(I.blockedSegment.chunks,H,y.responseState,G.lastPushedText)):typeof H=="number"&&(G=I.blockedSegment,G.lastPushedText=Ce(I.blockedSegment.chunks,""+H,y.responseState,G.lastPushedText))}function xr(y,I,H){for(var G=H.length,Se=0;Se<G;Se++){var ce=I.treeContext;I.treeContext=yr(ce,G,Se);try{dr(y,I,H[Se])}finally{I.treeContext=ce}}}function dr(y,I,H){var G=I.blockedSegment.formatContext,Se=I.legacyContext,ce=I.context;try{return cn(y,I,H)}catch(st){if(cr(),typeof st=="object"&&st!==null&&typeof st.then=="function"){H=st;var _e=I.blockedSegment,$e=di(y,_e.chunks.length,null,_e.formatContext,_e.lastPushedText,!0);_e.children.push($e),_e.lastPushedText=!1,y=Vi(y,I.node,I.blockedBoundary,$e,I.abortSet,I.legacyContext,I.context,I.treeContext).ping,H.then(y,y),I.blockedSegment.formatContext=G,I.legacyContext=Se,I.context=ce,nn(ce)}else throw I.blockedSegment.formatContext=G,I.legacyContext=Se,I.context=ce,nn(ce),st}}function Tn(y){var I=y.blockedBoundary;y=y.blockedSegment,y.status=3,Wr(this,I,y)}function ri(y,I,H){var G=y.blockedBoundary;y.blockedSegment.status=3,G===null?(I.allPendingTasks--,I.status!==2&&(I.status=2,I.destination!==null&&I.destination.push(null))):(G.pendingTasks--,G.forceClientRender||(G.forceClientRender=!0,y=H===void 0?Error(t(432)):H,G.errorDigest=I.onError(y),G.parentFlushed&&I.clientRenderedBoundaries.push(G)),G.fallbackAbortableTasks.forEach(function(Se){return ri(Se,I,H)}),G.fallbackAbortableTasks.clear(),I.allPendingTasks--,I.allPendingTasks===0&&(G=I.onAllReady,G()))}function Cr(y,I){if(I.chunks.length===0&&I.children.length===1&&I.children[0].boundary===null){var H=I.children[0];H.id=I.id,H.parentFlushed=!0,H.status===1&&Cr(y,H)}else y.completedSegments.push(I)}function Wr(y,I,H){if(I===null){if(H.parentFlushed){if(y.completedRootSegment!==null)throw Error(t(389));y.completedRootSegment=H}y.pendingRootTasks--,y.pendingRootTasks===0&&(y.onShellError=ni,I=y.onShellReady,I())}else I.pendingTasks--,I.forceClientRender||(I.pendingTasks===0?(H.parentFlushed&&H.status===1&&Cr(I,H),I.parentFlushed&&y.completedBoundaries.push(I),I.fallbackAbortableTasks.forEach(Tn,y),I.fallbackAbortableTasks.clear()):H.parentFlushed&&H.status===1&&(Cr(I,H),I.completedSegments.length===1&&I.parentFlushed&&y.partialBoundaries.push(I)));y.allPendingTasks--,y.allPendingTasks===0&&(y=y.onAllReady,y())}function $n(y){if(y.status!==2){var I=rn,H=uo.current;uo.current=zi;var G=Yi;Yi=y.responseState;try{var Se=y.pingedTasks,ce;for(ce=0;ce<Se.length;ce++){var _e=Se[ce],$e=y,st=_e.blockedSegment;if(st.status===0){nn(_e.context);try{cn($e,_e,_e.node),$e.responseState.generateStaticMarkup||st.lastPushedText&&st.textEmbedded&&st.chunks.push("<!-- -->"),_e.abortSet.delete(_e),st.status=1,Wr($e,_e.blockedBoundary,st)}catch(wn){if(cr(),typeof wn=="object"&&wn!==null&&typeof wn.then=="function"){var yt=_e.ping;wn.then(yt,yt)}else{_e.abortSet.delete(_e),st.status=4;var ut=_e.blockedBoundary,jt=wn,zn=Hr($e,jt);if(ut===null?fr($e,jt):(ut.pendingTasks--,ut.forceClientRender||(ut.forceClientRender=!0,ut.errorDigest=zn,ut.parentFlushed&&$e.clientRenderedBoundaries.push(ut))),$e.allPendingTasks--,$e.allPendingTasks===0){var Fn=$e.onAllReady;Fn()}}}finally{}}}Se.splice(0,ce),y.destination!==null&&er(y,y.destination)}catch(wn){Hr(y,wn),fr(y,wn)}finally{Yi=G,uo.current=H,H===zi&&nn(I)}}}function $r(y,I,H){switch(H.parentFlushed=!0,H.status){case 0:var G=H.id=y.nextSegmentId++;return H.lastPushedText=!1,H.textEmbedded=!1,y=y.responseState,I.push('<template id="'),I.push(y.placeholderPrefix),y=G.toString(16),I.push(y),I.push('"></template>');case 1:H.status=2;var Se=!0;G=H.chunks;var ce=0;H=H.children;for(var _e=0;_e<H.length;_e++){for(Se=H[_e];ce<Se.index;ce++)I.push(G[ce]);Se=zr(y,I,Se)}for(;ce<G.length-1;ce++)I.push(G[ce]);return ce<G.length&&(Se=I.push(G[ce])),Se;default:throw Error(t(390))}}function zr(y,I,H){var G=H.boundary;if(G===null)return $r(y,I,H);if(G.parentFlushed=!0,G.forceClientRender)return y.responseState.generateStaticMarkup||(G=G.errorDigest,I.push("<!--$!-->"),I.push("<template"),G&&(I.push(' data-dgst="'),G=re(G),I.push(G),I.push('"')),I.push("></template>")),$r(y,I,H),y=y.responseState.generateStaticMarkup?!0:I.push("<!--/$-->"),y;if(0<G.pendingTasks){G.rootSegmentID=y.nextSegmentId++,0<G.completedSegments.length&&y.partialBoundaries.push(G);var Se=y.responseState,ce=Se.nextSuspenseID++;return Se=Se.boundaryPrefix+ce.toString(16),G=G.id=Se,Ct(I,y.responseState,G),$r(y,I,H),I.push("<!--/$-->")}if(G.byteSize>y.progressiveChunkSize)return G.rootSegmentID=y.nextSegmentId++,y.completedBoundaries.push(G),Ct(I,y.responseState,G.id),$r(y,I,H),I.push("<!--/$-->");if(y.responseState.generateStaticMarkup||I.push("<!--$-->"),H=G.completedSegments,H.length!==1)throw Error(t(391));return zr(y,I,H[0]),y=y.responseState.generateStaticMarkup?!0:I.push("<!--/$-->"),y}function _i(y,I,H){return me(I,y.responseState,H.formatContext,H.id),zr(y,I,H),Le(I,H.formatContext)}function Cn(y,I,H){for(var G=H.completedSegments,Se=0;Se<G.length;Se++)hr(y,I,H,G[Se]);if(G.length=0,y=y.responseState,G=H.id,H=H.rootSegmentID,I.push(y.startInlineScript),y.sentCompleteBoundaryFunction?I.push('$RC("'):(y.sentCompleteBoundaryFunction=!0,I.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),G===null)throw Error(t(395));return H=H.toString(16),I.push(G),I.push('","'),I.push(y.segmentPrefix),I.push(H),I.push('")<\/script>')}function hr(y,I,H,G){if(G.status===2)return!0;var Se=G.id;if(Se===-1){if((G.id=H.rootSegmentID)===-1)throw Error(t(392));return _i(y,I,G)}return _i(y,I,G),y=y.responseState,I.push(y.startInlineScript),y.sentCompleteSegmentFunction?I.push('$RS("'):(y.sentCompleteSegmentFunction=!0,I.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),I.push(y.segmentPrefix),Se=Se.toString(16),I.push(Se),I.push('","'),I.push(y.placeholderPrefix),I.push(Se),I.push('")<\/script>')}function er(y,I){try{var H=y.completedRootSegment;if(H!==null&&y.pendingRootTasks===0){zr(y,I,H),y.completedRootSegment=null;var G=y.responseState.bootstrapChunks;for(H=0;H<G.length-1;H++)I.push(G[H]);H<G.length&&I.push(G[H])}var Se=y.clientRenderedBoundaries,ce;for(ce=0;ce<Se.length;ce++){var _e=Se[ce];G=I;var $e=y.responseState,st=_e.id,yt=_e.errorDigest,ut=_e.errorMessage,jt=_e.errorComponentStack;if(G.push($e.startInlineScript),$e.sentClientRenderFunction?G.push('$RX("'):($e.sentClientRenderFunction=!0,G.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),st===null)throw Error(t(395));if(G.push(st),G.push('"'),yt||ut||jt){G.push(",");var zn=qe(yt||"");G.push(zn)}if(ut||jt){G.push(",");var Fn=qe(ut||"");G.push(Fn)}if(jt){G.push(",");var wn=qe(jt);G.push(wn)}if(!G.push(")<\/script>")){y.destination=null,ce++,Se.splice(0,ce);return}}Se.splice(0,ce);var kr=y.completedBoundaries;for(ce=0;ce<kr.length;ce++)if(!Cn(y,I,kr[ce])){y.destination=null,ce++,kr.splice(0,ce);return}kr.splice(0,ce);var Kn=y.partialBoundaries;for(ce=0;ce<Kn.length;ce++){var Ii=Kn[ce];e:{Se=y,_e=I;var ii=Ii.completedSegments;for($e=0;$e<ii.length;$e++)if(!hr(Se,_e,Ii,ii[$e])){$e++,ii.splice(0,$e);var Oi=!1;break e}ii.splice(0,$e),Oi=!0}if(!Oi){y.destination=null,ce++,Kn.splice(0,ce);return}}Kn.splice(0,ce);var Tr=y.completedBoundaries;for(ce=0;ce<Tr.length;ce++)if(!Cn(y,I,Tr[ce])){y.destination=null,ce++,Tr.splice(0,ce);return}Tr.splice(0,ce)}finally{y.allPendingTasks===0&&y.pingedTasks.length===0&&y.clientRenderedBoundaries.length===0&&y.completedBoundaries.length===0&&I.push(null)}}function lo(y,I){try{var H=y.abortableTasks;H.forEach(function(G){return ri(G,y,I)}),H.clear(),y.destination!==null&&er(y,y.destination)}catch(G){Hr(y,G),fr(y,G)}}function Ri(){}function Er(y,I,H,G){var Se=!1,ce=null,_e="",$e={push:function(yt){return yt!==null&&(_e+=yt),!0},destroy:function(yt){Se=!0,ce=yt}},st=!1;if(y=fi(y,lt(H,I?I.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Ri,void 0,function(){st=!0},void 0,void 0),$n(y),lo(y,G),y.status===1)y.status=2,$e.destroy(y.fatalError);else if(y.status!==2&&y.destination===null){y.destination=$e;try{er(y,$e)}catch(yt){Hr(y,yt),fr(y,yt)}}if(Se)throw ce;if(!st)throw Error(t(426));return _e}return Zu.renderToNodeStream=function(){throw Error(t(207))},Zu.renderToStaticMarkup=function(y,I){return Er(y,I,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Zu.renderToStaticNodeStream=function(){throw Error(t(208))},Zu.renderToString=function(y,I){return Er(y,I,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Zu.version="18.2.0",Zu}var Sc={};/**
16
- * @license React
17
- * react-dom-server.browser.production.min.js
18
- *
19
- * Copyright (c) Facebook, Inc. and its affiliates.
20
- *
21
- * This source code is licensed under the MIT license found in the
22
- * LICENSE file in the root directory of this source tree.
23
- */var xh;function pw(){if(xh)return Sc;xh=1;var i=Je;function t(b){for(var _="https://reactjs.org/docs/error-decoder.html?invariant="+b,N=1;N<arguments.length;N++)_+="&args[]="+encodeURIComponent(arguments[N]);return"Minified React error #"+b+"; visit "+_+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=null,s=0;function o(b,_){if(_.length!==0)if(512<_.length)0<s&&(b.enqueue(new Uint8Array(n.buffer,0,s)),n=new Uint8Array(512),s=0),b.enqueue(_);else{var N=n.length-s;N<_.length&&(N===0?b.enqueue(n):(n.set(_.subarray(0,N),s),b.enqueue(n),_=_.subarray(N)),n=new Uint8Array(512),s=0),n.set(_,s),s+=_.length}}function l(b,_){return o(b,_),!0}function g(b){n&&0<s&&(b.enqueue(new Uint8Array(n.buffer,0,s)),n=null,s=0)}var k=new TextEncoder;function C(b){return k.encode(b)}function A(b){return k.encode(b)}function U(b,_){typeof b.error=="function"?b.error(_):b.close()}var L=Object.prototype.hasOwnProperty,q=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Q={},re={};function ne(b){return L.call(re,b)?!0:L.call(Q,b)?!1:q.test(b)?re[b]=!0:(Q[b]=!0,!1)}function J(b,_,N,V,ge,ve,De){this.acceptsBooleans=_===2||_===3||_===4,this.attributeName=V,this.attributeNamespace=ge,this.mustUseProperty=N,this.propertyName=b,this.type=_,this.sanitizeURL=ve,this.removeEmptyString=De}var F={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(b){F[b]=new J(b,0,!1,b,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(b){var _=b[0];F[_]=new J(_,1,!1,b[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(b){F[b]=new J(b,2,!1,b.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(b){F[b]=new J(b,2,!1,b,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(b){F[b]=new J(b,3,!1,b.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(b){F[b]=new J(b,3,!0,b,null,!1,!1)}),["capture","download"].forEach(function(b){F[b]=new J(b,4,!1,b,null,!1,!1)}),["cols","rows","size","span"].forEach(function(b){F[b]=new J(b,6,!1,b,null,!1,!1)}),["rowSpan","start"].forEach(function(b){F[b]=new J(b,5,!1,b.toLowerCase(),null,!1,!1)});var he=/[\-:]([a-z])/g;function ye(b){return b[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(b){var _=b.replace(he,ye);F[_]=new J(_,1,!1,b,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(b){var _=b.replace(he,ye);F[_]=new J(_,1,!1,b,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(b){var _=b.replace(he,ye);F[_]=new J(_,1,!1,b,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(b){F[b]=new J(b,1,!1,b.toLowerCase(),null,!1,!1)}),F.xlinkHref=new J("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(b){F[b]=new J(b,1,!1,b.toLowerCase(),null,!0,!0)});var Ie={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},de=["Webkit","ms","Moz","O"];Object.keys(Ie).forEach(function(b){de.forEach(function(_){_=_+b.charAt(0).toUpperCase()+b.substring(1),Ie[_]=Ie[b]})});var je=/["'&<>]/;function m(b){if(typeof b=="boolean"||typeof b=="number")return""+b;b=""+b;var _=je.exec(b);if(_){var N="",V,ge=0;for(V=_.index;V<b.length;V++){switch(b.charCodeAt(V)){case 34:_="&quot;";break;case 38:_="&amp;";break;case 39:_="&#x27;";break;case 60:_="&lt;";break;case 62:_="&gt;";break;default:continue}ge!==V&&(N+=b.substring(ge,V)),ge=V+1,N+=_}b=ge!==V?N+b.substring(ge,V):N}return b}var Ue=/([A-Z])/g,ke=/^ms-/,ht=Array.isArray,Et=A("<script>"),vt=A("<\/script>"),dt=A('<script src="'),Ct=A('<script type="module" src="'),me=A('" async=""><\/script>'),Le=/(<\/|<)(s)(cript)/gi;function Ve(b,_,N,V){return""+_+(N==="s"?"\\u0073":"\\u0053")+V}function qe(b,_,N,V,ge){b=b===void 0?"":b,_=_===void 0?Et:A('<script nonce="'+m(_)+'">');var ve=[];if(N!==void 0&&ve.push(_,C((""+N).replace(Le,Ve)),vt),V!==void 0)for(N=0;N<V.length;N++)ve.push(dt,C(m(V[N])),me);if(ge!==void 0)for(V=0;V<ge.length;V++)ve.push(Ct,C(m(ge[V])),me);return{bootstrapChunks:ve,startInlineScript:_,placeholderPrefix:A(b+"P:"),segmentPrefix:A(b+"S:"),boundaryPrefix:b+"B:",idPrefix:b,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function lt(b,_){return{insertionMode:b,selectedValue:_}}function Ce(b){return lt(b==="http://www.w3.org/2000/svg"?2:b==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function Pe(b,_,N){switch(_){case"select":return lt(1,N.value!=null?N.value:N.defaultValue);case"svg":return lt(2,null);case"math":return lt(3,null);case"foreignObject":return lt(1,null);case"table":return lt(4,null);case"thead":case"tbody":case"tfoot":return lt(5,null);case"colgroup":return lt(7,null);case"tr":return lt(6,null)}return 4<=b.insertionMode||b.insertionMode===0?lt(1,null):b}var Ye=A("<!-- -->");function Xe(b,_,N,V){return _===""?V:(V&&b.push(Ye),b.push(C(m(_))),!0)}var Qe=new Map,Ze=A(' style="'),Ke=A(":"),ct=A(";");function mt(b,_,N){if(typeof N!="object")throw Error(t(62));_=!0;for(var V in N)if(L.call(N,V)){var ge=N[V];if(ge!=null&&typeof ge!="boolean"&&ge!==""){if(V.indexOf("--")===0){var ve=C(m(V));ge=C(m((""+ge).trim()))}else{ve=V;var De=Qe.get(ve);De!==void 0||(De=A(m(ve.replace(Ue,"-$1").toLowerCase().replace(ke,"-ms-"))),Qe.set(ve,De)),ve=De,ge=typeof ge=="number"?ge===0||L.call(Ie,V)?C(""+ge):C(ge+"px"):C(m((""+ge).trim()))}_?(_=!1,b.push(Ze,ve,Ke,ge)):b.push(ct,ve,Ke,ge)}}_||b.push(Tt)}var wt=A(" "),gt=A('="'),Tt=A('"'),Ge=A('=""');function Ft(b,_,N,V){switch(N){case"style":mt(b,_,V);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<N.length)||N[0]!=="o"&&N[0]!=="O"||N[1]!=="n"&&N[1]!=="N"){if(_=F.hasOwnProperty(N)?F[N]:null,_!==null){switch(typeof V){case"function":case"symbol":return;case"boolean":if(!_.acceptsBooleans)return}switch(N=C(_.attributeName),_.type){case 3:V&&b.push(wt,N,Ge);break;case 4:V===!0?b.push(wt,N,Ge):V!==!1&&b.push(wt,N,gt,C(m(V)),Tt);break;case 5:isNaN(V)||b.push(wt,N,gt,C(m(V)),Tt);break;case 6:!isNaN(V)&&1<=V&&b.push(wt,N,gt,C(m(V)),Tt);break;default:_.sanitizeURL&&(V=""+V),b.push(wt,N,gt,C(m(V)),Tt)}}else if(ne(N)){switch(typeof V){case"function":case"symbol":return;case"boolean":if(_=N.toLowerCase().slice(0,5),_!=="data-"&&_!=="aria-")return}b.push(wt,C(N),gt,C(m(V)),Tt)}}}var Bt=A(">"),Hn=A("/>");function ur(b,_,N){if(_!=null){if(N!=null)throw Error(t(60));if(typeof _!="object"||!("__html"in _))throw Error(t(61));_=_.__html,_!=null&&b.push(C(""+_))}}function Un(b){var _="";return i.Children.forEach(b,function(N){N!=null&&(_+=N)}),_}var bn=A(' selected=""');function xi(b,_,N,V){b.push(sn(N));var ge=N=null,ve;for(ve in _)if(L.call(_,ve)){var De=_[ve];if(De!=null)switch(ve){case"children":N=De;break;case"dangerouslySetInnerHTML":ge=De;break;default:Ft(b,V,ve,De)}}return b.push(Bt),ur(b,ge,N),typeof N=="string"?(b.push(C(m(N))),null):N}var mr=A(`
24
- `),qn=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,rn=new Map;function sn(b){var _=rn.get(b);if(_===void 0){if(!qn.test(b))throw Error(t(65,b));_=A("<"+b),rn.set(b,_)}return _}var un=A("<!DOCTYPE html>");function at(b,_,N,V,ge){switch(_){case"select":b.push(sn("select"));var ve=null,De=null;for(kt in N)if(L.call(N,kt)){var We=N[kt];if(We!=null)switch(kt){case"children":ve=We;break;case"dangerouslySetInnerHTML":De=We;break;case"defaultValue":case"value":break;default:Ft(b,V,kt,We)}}return b.push(Bt),ur(b,De,ve),ve;case"option":De=ge.selectedValue,b.push(sn("option"));var ft=We=null,Mt=null,kt=null;for(ve in N)if(L.call(N,ve)){var bt=N[ve];if(bt!=null)switch(ve){case"children":We=bt;break;case"selected":Mt=bt;break;case"dangerouslySetInnerHTML":kt=bt;break;case"value":ft=bt;default:Ft(b,V,ve,bt)}}if(De!=null)if(N=ft!==null?""+ft:Un(We),ht(De)){for(V=0;V<De.length;V++)if(""+De[V]===N){b.push(bn);break}}else""+De===N&&b.push(bn);else Mt&&b.push(bn);return b.push(Bt),ur(b,kt,We),We;case"textarea":b.push(sn("textarea")),kt=De=ve=null;for(We in N)if(L.call(N,We)&&(ft=N[We],ft!=null))switch(We){case"children":kt=ft;break;case"value":ve=ft;break;case"defaultValue":De=ft;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:Ft(b,V,We,ft)}if(ve===null&&De!==null&&(ve=De),b.push(Bt),kt!=null){if(ve!=null)throw Error(t(92));if(ht(kt)&&1<kt.length)throw Error(t(93));ve=""+kt}return typeof ve=="string"&&ve[0]===`
25
- `&&b.push(mr),ve!==null&&b.push(C(m(""+ve))),null;case"input":b.push(sn("input")),ft=kt=We=ve=null;for(De in N)if(L.call(N,De)&&(Mt=N[De],Mt!=null))switch(De){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":ft=Mt;break;case"defaultValue":We=Mt;break;case"checked":kt=Mt;break;case"value":ve=Mt;break;default:Ft(b,V,De,Mt)}return kt!==null?Ft(b,V,"checked",kt):ft!==null&&Ft(b,V,"checked",ft),ve!==null?Ft(b,V,"value",ve):We!==null&&Ft(b,V,"value",We),b.push(Hn),null;case"menuitem":b.push(sn("menuitem"));for(var Dn in N)if(L.call(N,Dn)&&(ve=N[Dn],ve!=null))switch(Dn){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:Ft(b,V,Dn,ve)}return b.push(Bt),null;case"title":b.push(sn("title")),ve=null;for(bt in N)if(L.call(N,bt)&&(De=N[bt],De!=null))switch(bt){case"children":ve=De;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:Ft(b,V,bt,De)}return b.push(Bt),ve;case"listing":case"pre":b.push(sn(_)),De=ve=null;for(ft in N)if(L.call(N,ft)&&(We=N[ft],We!=null))switch(ft){case"children":ve=We;break;case"dangerouslySetInnerHTML":De=We;break;default:Ft(b,V,ft,We)}if(b.push(Bt),De!=null){if(ve!=null)throw Error(t(60));if(typeof De!="object"||!("__html"in De))throw Error(t(61));N=De.__html,N!=null&&(typeof N=="string"&&0<N.length&&N[0]===`
26
- `?b.push(mr,C(N)):b.push(C(""+N)))}return typeof ve=="string"&&ve[0]===`
27
- `&&b.push(mr),ve;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":b.push(sn(_));for(var vn in N)if(L.call(N,vn)&&(ve=N[vn],ve!=null))switch(vn){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,_));default:Ft(b,V,vn,ve)}return b.push(Hn),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return xi(b,N,_,V);case"html":return ge.insertionMode===0&&b.push(un),xi(b,N,_,V);default:if(_.indexOf("-")===-1&&typeof N.is!="string")return xi(b,N,_,V);b.push(sn(_)),De=ve=null;for(Mt in N)if(L.call(N,Mt)&&(We=N[Mt],We!=null))switch(Mt){case"children":ve=We;break;case"dangerouslySetInnerHTML":De=We;break;case"style":mt(b,V,We);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:ne(Mt)&&typeof We!="function"&&typeof We!="symbol"&&b.push(wt,C(Mt),gt,C(m(We)),Tt)}return b.push(Bt),ur(b,De,ve),ve}}var En=A("</"),Jr=A(">"),nn=A('<template id="'),Ci=A('"></template>'),Ei=A("<!--$-->"),ki=A('<!--$?--><template id="'),yr=A('"></template>'),Ln=A("<!--$!-->"),br=A("<!--/$-->"),lr=A("<template"),Fr=A('"'),Nr=A(' data-dgst="');A(' data-msg="'),A(' data-stck="');var so=A("></template>");function Wn(b,_,N){if(o(b,ki),N===null)throw Error(t(395));return o(b,N),l(b,yr)}var Br=A('<div hidden id="'),Xn=A('">'),Vt=A("</div>"),Zr=A('<svg aria-hidden="true" style="display:none" id="'),Ti=A('">'),kn=A("</svg>"),ln=A('<math aria-hidden="true" style="display:none" id="'),Qr=A('">'),ei=A("</math>"),fn=A('<table hidden id="'),$i=A('">'),cr=A("</table>"),ti=A('<table hidden><tbody id="'),on=A('">'),li=A("</tbody></table>"),Zo=A('<table hidden><tr id="'),Qo=A('">'),jr=A("</tr></table>"),zi=A('<table hidden><colgroup id="'),Yi=A('">'),uo=A("</colgroup></table>");function ci(b,_,N,V){switch(N.insertionMode){case 0:case 1:return o(b,Br),o(b,_.segmentPrefix),o(b,C(V.toString(16))),l(b,Xn);case 2:return o(b,Zr),o(b,_.segmentPrefix),o(b,C(V.toString(16))),l(b,Ti);case 3:return o(b,ln),o(b,_.segmentPrefix),o(b,C(V.toString(16))),l(b,Qr);case 4:return o(b,fn),o(b,_.segmentPrefix),o(b,C(V.toString(16))),l(b,$i);case 5:return o(b,ti),o(b,_.segmentPrefix),o(b,C(V.toString(16))),l(b,on);case 6:return o(b,Zo),o(b,_.segmentPrefix),o(b,C(V.toString(16))),l(b,Qo);case 7:return o(b,zi),o(b,_.segmentPrefix),o(b,C(V.toString(16))),l(b,Yi);default:throw Error(t(397))}}function ni(b,_){switch(_.insertionMode){case 0:case 1:return l(b,Vt);case 2:return l(b,kn);case 3:return l(b,ei);case 4:return l(b,cr);case 5:return l(b,li);case 6:return l(b,jr);case 7:return l(b,uo);default:throw Error(t(397))}}var fi=A('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Vi=A('$RS("'),di=A('","'),Hr=A('")<\/script>'),fr=A('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),wr=A('$RC("'),Ur=A('","'),Sr=A('")<\/script>'),Mn=A('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),cn=A('$RX("'),xr=A('"'),dr=A(")<\/script>"),Tn=A(","),ri=/[<\u2028\u2029]/g;function Cr(b){return JSON.stringify(b).replace(ri,function(_){switch(_){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Wr=Object.assign,$n=Symbol.for("react.element"),$r=Symbol.for("react.portal"),zr=Symbol.for("react.fragment"),_i=Symbol.for("react.strict_mode"),Cn=Symbol.for("react.profiler"),hr=Symbol.for("react.provider"),er=Symbol.for("react.context"),lo=Symbol.for("react.forward_ref"),Ri=Symbol.for("react.suspense"),Er=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),H=Symbol.for("react.scope"),G=Symbol.for("react.debug_trace_mode"),Se=Symbol.for("react.legacy_hidden"),ce=Symbol.for("react.default_value"),_e=Symbol.iterator;function $e(b){if(b==null)return null;if(typeof b=="function")return b.displayName||b.name||null;if(typeof b=="string")return b;switch(b){case zr:return"Fragment";case $r:return"Portal";case Cn:return"Profiler";case _i:return"StrictMode";case Ri:return"Suspense";case Er:return"SuspenseList"}if(typeof b=="object")switch(b.$$typeof){case er:return(b.displayName||"Context")+".Consumer";case hr:return(b._context.displayName||"Context")+".Provider";case lo:var _=b.render;return b=b.displayName,b||(b=_.displayName||_.name||"",b=b!==""?"ForwardRef("+b+")":"ForwardRef"),b;case y:return _=b.displayName||null,_!==null?_:$e(b.type)||"Memo";case I:_=b._payload,b=b._init;try{return $e(b(_))}catch{}}return null}var st={};function yt(b,_){if(b=b.contextTypes,!b)return st;var N={},V;for(V in b)N[V]=_[V];return N}var ut=null;function jt(b,_){if(b!==_){b.context._currentValue=b.parentValue,b=b.parent;var N=_.parent;if(b===null){if(N!==null)throw Error(t(401))}else{if(N===null)throw Error(t(401));jt(b,N)}_.context._currentValue=_.value}}function zn(b){b.context._currentValue=b.parentValue,b=b.parent,b!==null&&zn(b)}function Fn(b){var _=b.parent;_!==null&&Fn(_),b.context._currentValue=b.value}function wn(b,_){if(b.context._currentValue=b.parentValue,b=b.parent,b===null)throw Error(t(402));b.depth===_.depth?jt(b,_):wn(b,_)}function kr(b,_){var N=_.parent;if(N===null)throw Error(t(402));b.depth===N.depth?jt(b,N):kr(b,N),_.context._currentValue=_.value}function Kn(b){var _=ut;_!==b&&(_===null?Fn(b):b===null?zn(_):_.depth===b.depth?jt(_,b):_.depth>b.depth?wn(_,b):kr(_,b),ut=b)}var Ii={isMounted:function(){return!1},enqueueSetState:function(b,_){b=b._reactInternals,b.queue!==null&&b.queue.push(_)},enqueueReplaceState:function(b,_){b=b._reactInternals,b.replace=!0,b.queue=[_]},enqueueForceUpdate:function(){}};function ii(b,_,N,V){var ge=b.state!==void 0?b.state:null;b.updater=Ii,b.props=N,b.state=ge;var ve={queue:[],replace:!1};b._reactInternals=ve;var De=_.contextType;if(b.context=typeof De=="object"&&De!==null?De._currentValue:V,De=_.getDerivedStateFromProps,typeof De=="function"&&(De=De(N,ge),ge=De==null?ge:Wr({},ge,De),b.state=ge),typeof _.getDerivedStateFromProps!="function"&&typeof b.getSnapshotBeforeUpdate!="function"&&(typeof b.UNSAFE_componentWillMount=="function"||typeof b.componentWillMount=="function"))if(_=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),_!==b.state&&Ii.enqueueReplaceState(b,b.state,null),ve.queue!==null&&0<ve.queue.length)if(_=ve.queue,De=ve.replace,ve.queue=null,ve.replace=!1,De&&_.length===1)b.state=_[0];else{for(ve=De?_[0]:b.state,ge=!0,De=De?1:0;De<_.length;De++){var We=_[De];We=typeof We=="function"?We.call(b,ve,N,V):We,We!=null&&(ge?(ge=!1,ve=Wr({},ve,We)):Wr(ve,We))}b.state=ve}else ve.queue=null}var Oi={id:1,overflow:""};function Tr(b,_,N){var V=b.id;b=b.overflow;var ge=32-co(V)-1;V&=~(1<<ge),N+=1;var ve=32-co(_)+ge;if(30<ve){var De=ge-ge%5;return ve=(V&(1<<De)-1).toString(32),V>>=De,ge-=De,{id:1<<32-co(_)+ge|N<<ge|V,overflow:ve+b}}return{id:1<<ve|N<<ge|V,overflow:b}}var co=Math.clz32?Math.clz32:ta,Ja=Math.log,ea=Math.LN2;function ta(b){return b>>>=0,b===0?32:31-(Ja(b)/ea|0)|0}function na(b,_){return b===_&&(b!==0||1/b===1/_)||b!==b&&_!==_}var ra=typeof Object.is=="function"?Object.is:na,oi=null,fo=null,Po=null,en=null,Gt=!1,Nt=!1,hi=0,Yr=null,ho=0;function ai(){if(oi===null)throw Error(t(321));return oi}function tr(){if(0<ho)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function ia(){return en===null?Po===null?(Gt=!1,Po=en=tr()):(Gt=!0,en=Po):en.next===null?(Gt=!1,en=en.next=tr()):(Gt=!0,en=en.next),en}function Lo(){fo=oi=null,Nt=!1,Po=null,ho=0,en=Yr=null}function xa(b,_){return typeof _=="function"?_(b):_}function dn(b,_,N){if(oi=ai(),en=ia(),Gt){var V=en.queue;if(_=V.dispatch,Yr!==null&&(N=Yr.get(V),N!==void 0)){Yr.delete(V),V=en.memoizedState;do V=b(V,N.action),N=N.next;while(N!==null);return en.memoizedState=V,[V,_]}return[en.memoizedState,_]}return b=b===xa?typeof _=="function"?_():_:N!==void 0?N(_):_,en.memoizedState=b,b=en.queue={last:null,dispatch:null},b=b.dispatch=si.bind(null,oi,b),[en.memoizedState,b]}function po(b,_){if(oi=ai(),en=ia(),_=_===void 0?null:_,en!==null){var N=en.memoizedState;if(N!==null&&_!==null){var V=N[1];e:if(V===null)V=!1;else{for(var ge=0;ge<V.length&&ge<_.length;ge++)if(!ra(_[ge],V[ge])){V=!1;break e}V=!0}if(V)return N[0]}}return b=b(),en.memoizedState=[b,_],b}function si(b,_,N){if(25<=ho)throw Error(t(301));if(b===oi)if(Nt=!0,b={action:N,next:null},Yr===null&&(Yr=new Map),N=Yr.get(_),N===void 0)Yr.set(_,b);else{for(_=N;_.next!==null;)_=_.next;_.next=b}}function Ca(){throw Error(t(394))}function Gi(){}var Yn={readContext:function(b){return b._currentValue},useContext:function(b){return ai(),b._currentValue},useMemo:po,useReducer:dn,useRef:function(b){oi=ai(),en=ia();var _=en.memoizedState;return _===null?(b={current:b},en.memoizedState=b):_},useState:function(b){return dn(xa,b)},useInsertionEffect:Gi,useLayoutEffect:function(){},useCallback:function(b,_){return po(function(){return b},_)},useImperativeHandle:Gi,useEffect:Gi,useDebugValue:Gi,useDeferredValue:function(b){return ai(),b},useTransition:function(){return ai(),[!1,Ca]},useId:function(){var b=fo.treeContext,_=b.overflow;b=b.id,b=(b&~(1<<32-co(b)-1)).toString(32)+_;var N=a;if(N===null)throw Error(t(404));return _=hi++,b=":"+N.idPrefix+"R"+b,0<_&&(b+="H"+_.toString(32)),b+":"},useMutableSource:function(b,_){return ai(),_(b._source)},useSyncExternalStore:function(b,_,N){if(N===void 0)throw Error(t(407));return N()}},a=null,f=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function v(b){return console.error(b),null}function w(){}function R(b,_,N,V,ge,ve,De,We,ft){var Mt=[],kt=new Set;return _={destination:null,responseState:_,progressiveChunkSize:V===void 0?12800:V,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:kt,pingedTasks:Mt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:ge===void 0?v:ge,onAllReady:ve===void 0?w:ve,onShellReady:De===void 0?w:De,onShellError:We===void 0?w:We,onFatalError:ft===void 0?w:ft},N=M(_,0,null,N,!1,!1),N.parentFlushed=!0,b=O(_,b,null,N,kt,st,null,Oi),Mt.push(b),_}function O(b,_,N,V,ge,ve,De,We){b.allPendingTasks++,N===null?b.pendingRootTasks++:N.pendingTasks++;var ft={node:_,ping:function(){var Mt=b.pingedTasks;Mt.push(ft),Mt.length===1&&Rr(b)},blockedBoundary:N,blockedSegment:V,abortSet:ge,legacyContext:ve,context:De,treeContext:We};return ge.add(ft),ft}function M(b,_,N,V,ge,ve){return{status:0,id:-1,index:_,parentFlushed:!1,chunks:[],children:[],formatContext:V,boundary:N,lastPushedText:ge,textEmbedded:ve}}function te(b,_){if(b=b.onError(_),b!=null&&typeof b!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b}function K(b,_){var N=b.onShellError;N(_),N=b.onFatalError,N(_),b.destination!==null?(b.status=2,U(b.destination,_)):(b.status=1,b.fatalError=_)}function fe(b,_,N,V,ge){for(oi={},fo=_,hi=0,b=N(V,ge);Nt;)Nt=!1,hi=0,ho+=1,en=null,b=N(V,ge);return Lo(),b}function Re(b,_,N,V){var ge=N.render(),ve=V.childContextTypes;if(ve!=null){var De=_.legacyContext;if(typeof N.getChildContext!="function")V=De;else{N=N.getChildContext();for(var We in N)if(!(We in ve))throw Error(t(108,$e(V)||"Unknown",We));V=Wr({},De,N)}_.legacyContext=V,Fe(b,_,ge),_.legacyContext=De}else Fe(b,_,ge)}function Oe(b,_){if(b&&b.defaultProps){_=Wr({},_),b=b.defaultProps;for(var N in b)_[N]===void 0&&(_[N]=b[N]);return _}return _}function be(b,_,N,V,ge){if(typeof N=="function")if(N.prototype&&N.prototype.isReactComponent){ge=yt(N,_.legacyContext);var ve=N.contextType;ve=new N(V,typeof ve=="object"&&ve!==null?ve._currentValue:ge),ii(ve,N,V,ge),Re(b,_,ve,N)}else{ve=yt(N,_.legacyContext),ge=fe(b,_,N,V,ve);var De=hi!==0;if(typeof ge=="object"&&ge!==null&&typeof ge.render=="function"&&ge.$$typeof===void 0)ii(ge,N,V,ve),Re(b,_,ge,N);else if(De){V=_.treeContext,_.treeContext=Tr(V,1,0);try{Fe(b,_,ge)}finally{_.treeContext=V}}else Fe(b,_,ge)}else if(typeof N=="string"){switch(ge=_.blockedSegment,ve=at(ge.chunks,N,V,b.responseState,ge.formatContext),ge.lastPushedText=!1,De=ge.formatContext,ge.formatContext=Pe(De,N,V),_t(b,_,ve),ge.formatContext=De,N){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:ge.chunks.push(En,C(N),Jr)}ge.lastPushedText=!1}else{switch(N){case Se:case G:case _i:case Cn:case zr:Fe(b,_,V.children);return;case Er:Fe(b,_,V.children);return;case H:throw Error(t(343));case Ri:e:{N=_.blockedBoundary,ge=_.blockedSegment,ve=V.fallback,V=V.children,De=new Set;var We={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:De,errorDigest:null},ft=M(b,ge.chunks.length,We,ge.formatContext,!1,!1);ge.children.push(ft),ge.lastPushedText=!1;var Mt=M(b,0,null,ge.formatContext,!1,!1);Mt.parentFlushed=!0,_.blockedBoundary=We,_.blockedSegment=Mt;try{if(_t(b,_,V),Mt.lastPushedText&&Mt.textEmbedded&&Mt.chunks.push(Ye),Mt.status=1,an(We,Mt),We.pendingTasks===0)break e}catch(kt){Mt.status=4,We.forceClientRender=!0,We.errorDigest=te(b,kt)}finally{_.blockedBoundary=N,_.blockedSegment=ge}_=O(b,ve,N,ft,De,_.legacyContext,_.context,_.treeContext),b.pingedTasks.push(_)}return}if(typeof N=="object"&&N!==null)switch(N.$$typeof){case lo:if(V=fe(b,_,N.render,V,ge),hi!==0){N=_.treeContext,_.treeContext=Tr(N,1,0);try{Fe(b,_,V)}finally{_.treeContext=N}}else Fe(b,_,V);return;case y:N=N.type,V=Oe(N,V),be(b,_,N,V,ge);return;case hr:if(ge=V.children,N=N._context,V=V.value,ve=N._currentValue,N._currentValue=V,De=ut,ut=V={parent:De,depth:De===null?0:De.depth+1,context:N,parentValue:ve,value:V},_.context=V,Fe(b,_,ge),b=ut,b===null)throw Error(t(403));V=b.parentValue,b.context._currentValue=V===ce?b.context._defaultValue:V,b=ut=b.parent,_.context=b;return;case er:V=V.children,V=V(N._currentValue),Fe(b,_,V);return;case I:ge=N._init,N=ge(N._payload),V=Oe(N,V),be(b,_,N,V,void 0);return}throw Error(t(130,N==null?N:typeof N,""))}}function Fe(b,_,N){if(_.node=N,typeof N=="object"&&N!==null){switch(N.$$typeof){case $n:be(b,_,N.type,N.props,N.ref);return;case $r:throw Error(t(257));case I:var V=N._init;N=V(N._payload),Fe(b,_,N);return}if(ht(N)){tt(b,_,N);return}if(N===null||typeof N!="object"?V=null:(V=_e&&N[_e]||N["@@iterator"],V=typeof V=="function"?V:null),V&&(V=V.call(N))){if(N=V.next(),!N.done){var ge=[];do ge.push(N.value),N=V.next();while(!N.done);tt(b,_,ge)}return}throw b=Object.prototype.toString.call(N),Error(t(31,b==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":b))}typeof N=="string"?(V=_.blockedSegment,V.lastPushedText=Xe(_.blockedSegment.chunks,N,b.responseState,V.lastPushedText)):typeof N=="number"&&(V=_.blockedSegment,V.lastPushedText=Xe(_.blockedSegment.chunks,""+N,b.responseState,V.lastPushedText))}function tt(b,_,N){for(var V=N.length,ge=0;ge<V;ge++){var ve=_.treeContext;_.treeContext=Tr(ve,V,ge);try{_t(b,_,N[ge])}finally{_.treeContext=ve}}}function _t(b,_,N){var V=_.blockedSegment.formatContext,ge=_.legacyContext,ve=_.context;try{return Fe(b,_,N)}catch(ft){if(Lo(),typeof ft=="object"&&ft!==null&&typeof ft.then=="function"){N=ft;var De=_.blockedSegment,We=M(b,De.chunks.length,null,De.formatContext,De.lastPushedText,!0);De.children.push(We),De.lastPushedText=!1,b=O(b,_.node,_.blockedBoundary,We,_.abortSet,_.legacyContext,_.context,_.treeContext).ping,N.then(b,b),_.blockedSegment.formatContext=V,_.legacyContext=ge,_.context=ve,Kn(ve)}else throw _.blockedSegment.formatContext=V,_.legacyContext=ge,_.context=ve,Kn(ve),ft}}function Ot(b){var _=b.blockedBoundary;b=b.blockedSegment,b.status=3,_r(this,_,b)}function _n(b,_,N){var V=b.blockedBoundary;b.blockedSegment.status=3,V===null?(_.allPendingTasks--,_.status!==2&&(_.status=2,_.destination!==null&&_.destination.close())):(V.pendingTasks--,V.forceClientRender||(V.forceClientRender=!0,b=N===void 0?Error(t(432)):N,V.errorDigest=_.onError(b),V.parentFlushed&&_.clientRenderedBoundaries.push(V)),V.fallbackAbortableTasks.forEach(function(ge){return _n(ge,_,N)}),V.fallbackAbortableTasks.clear(),_.allPendingTasks--,_.allPendingTasks===0&&(V=_.onAllReady,V()))}function an(b,_){if(_.chunks.length===0&&_.children.length===1&&_.children[0].boundary===null){var N=_.children[0];N.id=_.id,N.parentFlushed=!0,N.status===1&&an(b,N)}else b.completedSegments.push(_)}function _r(b,_,N){if(_===null){if(N.parentFlushed){if(b.completedRootSegment!==null)throw Error(t(389));b.completedRootSegment=N}b.pendingRootTasks--,b.pendingRootTasks===0&&(b.onShellError=w,_=b.onShellReady,_())}else _.pendingTasks--,_.forceClientRender||(_.pendingTasks===0?(N.parentFlushed&&N.status===1&&an(_,N),_.parentFlushed&&b.completedBoundaries.push(_),_.fallbackAbortableTasks.forEach(Ot,b),_.fallbackAbortableTasks.clear()):N.parentFlushed&&N.status===1&&(an(_,N),_.completedSegments.length===1&&_.parentFlushed&&b.partialBoundaries.push(_)));b.allPendingTasks--,b.allPendingTasks===0&&(b=b.onAllReady,b())}function Rr(b){if(b.status!==2){var _=ut,N=f.current;f.current=Yn;var V=a;a=b.responseState;try{var ge=b.pingedTasks,ve;for(ve=0;ve<ge.length;ve++){var De=ge[ve],We=b,ft=De.blockedSegment;if(ft.status===0){Kn(De.context);try{Fe(We,De,De.node),ft.lastPushedText&&ft.textEmbedded&&ft.chunks.push(Ye),De.abortSet.delete(De),ft.status=1,_r(We,De.blockedBoundary,ft)}catch(Nn){if(Lo(),typeof Nn=="object"&&Nn!==null&&typeof Nn.then=="function"){var Mt=De.ping;Nn.then(Mt,Mt)}else{De.abortSet.delete(De),ft.status=4;var kt=De.blockedBoundary,bt=Nn,Dn=te(We,bt);if(kt===null?K(We,bt):(kt.pendingTasks--,kt.forceClientRender||(kt.forceClientRender=!0,kt.errorDigest=Dn,kt.parentFlushed&&We.clientRenderedBoundaries.push(kt))),We.allPendingTasks--,We.allPendingTasks===0){var vn=We.onAllReady;vn()}}}finally{}}}ge.splice(0,ve),b.destination!==null&&Xi(b,b.destination)}catch(Nn){te(b,Nn),K(b,Nn)}finally{a=V,f.current=N,N===Yn&&Kn(_)}}}function Ht(b,_,N){switch(N.parentFlushed=!0,N.status){case 0:var V=N.id=b.nextSegmentId++;return N.lastPushedText=!1,N.textEmbedded=!1,b=b.responseState,o(_,nn),o(_,b.placeholderPrefix),b=C(V.toString(16)),o(_,b),l(_,Ci);case 1:N.status=2;var ge=!0;V=N.chunks;var ve=0;N=N.children;for(var De=0;De<N.length;De++){for(ge=N[De];ve<ge.index;ve++)o(_,V[ve]);ge=Ir(b,_,ge)}for(;ve<V.length-1;ve++)o(_,V[ve]);return ve<V.length&&(ge=l(_,V[ve])),ge;default:throw Error(t(390))}}function Ir(b,_,N){var V=N.boundary;if(V===null)return Ht(b,_,N);if(V.parentFlushed=!0,V.forceClientRender)V=V.errorDigest,l(_,Ln),o(_,lr),V&&(o(_,Nr),o(_,C(m(V))),o(_,Fr)),l(_,so),Ht(b,_,N);else if(0<V.pendingTasks){V.rootSegmentID=b.nextSegmentId++,0<V.completedSegments.length&&b.partialBoundaries.push(V);var ge=b.responseState,ve=ge.nextSuspenseID++;ge=A(ge.boundaryPrefix+ve.toString(16)),V=V.id=ge,Wn(_,b.responseState,V),Ht(b,_,N)}else if(V.byteSize>b.progressiveChunkSize)V.rootSegmentID=b.nextSegmentId++,b.completedBoundaries.push(V),Wn(_,b.responseState,V.id),Ht(b,_,N);else{if(l(_,Ei),N=V.completedSegments,N.length!==1)throw Error(t(391));Ir(b,_,N[0])}return l(_,br)}function Ut(b,_,N){return ci(_,b.responseState,N.formatContext,N.id),Ir(b,_,N),ni(_,N.formatContext)}function Zt(b,_,N){for(var V=N.completedSegments,ge=0;ge<V.length;ge++)qi(b,_,N,V[ge]);if(V.length=0,b=b.responseState,V=N.id,N=N.rootSegmentID,o(_,b.startInlineScript),b.sentCompleteBoundaryFunction?o(_,wr):(b.sentCompleteBoundaryFunction=!0,o(_,fr)),V===null)throw Error(t(395));return N=C(N.toString(16)),o(_,V),o(_,Ur),o(_,b.segmentPrefix),o(_,N),l(_,Sr)}function qi(b,_,N,V){if(V.status===2)return!0;var ge=V.id;if(ge===-1){if((V.id=N.rootSegmentID)===-1)throw Error(t(392));return Ut(b,_,V)}return Ut(b,_,V),b=b.responseState,o(_,b.startInlineScript),b.sentCompleteSegmentFunction?o(_,Vi):(b.sentCompleteSegmentFunction=!0,o(_,fi)),o(_,b.segmentPrefix),ge=C(ge.toString(16)),o(_,ge),o(_,di),o(_,b.placeholderPrefix),o(_,ge),l(_,Hr)}function Xi(b,_){n=new Uint8Array(512),s=0;try{var N=b.completedRootSegment;if(N!==null&&b.pendingRootTasks===0){Ir(b,_,N),b.completedRootSegment=null;var V=b.responseState.bootstrapChunks;for(N=0;N<V.length-1;N++)o(_,V[N]);N<V.length&&l(_,V[N])}var ge=b.clientRenderedBoundaries,ve;for(ve=0;ve<ge.length;ve++){var De=ge[ve];V=_;var We=b.responseState,ft=De.id,Mt=De.errorDigest,kt=De.errorMessage,bt=De.errorComponentStack;if(o(V,We.startInlineScript),We.sentClientRenderFunction?o(V,cn):(We.sentClientRenderFunction=!0,o(V,Mn)),ft===null)throw Error(t(395));o(V,ft),o(V,xr),(Mt||kt||bt)&&(o(V,Tn),o(V,C(Cr(Mt||"")))),(kt||bt)&&(o(V,Tn),o(V,C(Cr(kt||"")))),bt&&(o(V,Tn),o(V,C(Cr(bt)))),l(V,dr)}ge.splice(0,ve);var Dn=b.completedBoundaries;for(ve=0;ve<Dn.length;ve++)Zt(b,_,Dn[ve]);Dn.splice(0,ve),g(_),n=new Uint8Array(512),s=0;var vn=b.partialBoundaries;for(ve=0;ve<vn.length;ve++){var Nn=vn[ve];e:{ge=b,De=_;var Mo=Nn.completedSegments;for(We=0;We<Mo.length;We++)if(!qi(ge,De,Nn,Mo[We])){We++,Mo.splice(0,We);var Ea=!1;break e}Mo.splice(0,We),Ea=!0}if(!Ea){b.destination=null,ve++,vn.splice(0,ve);return}}vn.splice(0,ve);var Fo=b.completedBoundaries;for(ve=0;ve<Fo.length;ve++)Zt(b,_,Fo[ve]);Fo.splice(0,ve)}finally{g(_),b.allPendingTasks===0&&b.pingedTasks.length===0&&b.clientRenderedBoundaries.length===0&&b.completedBoundaries.length===0&&_.close()}}function pr(b,_){try{var N=b.abortableTasks;N.forEach(function(V){return _n(V,b,_)}),N.clear(),b.destination!==null&&Xi(b,b.destination)}catch(V){te(b,V),K(b,V)}}return Sc.renderToReadableStream=function(b,_){return new Promise(function(N,V){var ge,ve,De=new Promise(function(kt,bt){ve=kt,ge=bt}),We=R(b,qe(_?_.identifierPrefix:void 0,_?_.nonce:void 0,_?_.bootstrapScriptContent:void 0,_?_.bootstrapScripts:void 0,_?_.bootstrapModules:void 0),Ce(_?_.namespaceURI:void 0),_?_.progressiveChunkSize:void 0,_?_.onError:void 0,ve,function(){var kt=new ReadableStream({type:"bytes",pull:function(bt){if(We.status===1)We.status=2,U(bt,We.fatalError);else if(We.status!==2&&We.destination===null){We.destination=bt;try{Xi(We,bt)}catch(Dn){te(We,Dn),K(We,Dn)}}},cancel:function(){pr(We)}},{highWaterMark:0});kt.allReady=De,N(kt)},function(kt){De.catch(function(){}),V(kt)},ge);if(_&&_.signal){var ft=_.signal,Mt=function(){pr(We,ft.reason),ft.removeEventListener("abort",Mt)};ft.addEventListener("abort",Mt)}Rr(We)})},Sc.version="18.2.0",Sc}var Qu={};/**
28
- * @license React
29
- * react-dom-server-legacy.browser.development.js
30
- *
31
- * Copyright (c) Facebook, Inc. and its affiliates.
32
- *
33
- * This source code is licensed under the MIT license found in the
34
- * LICENSE file in the root directory of this source tree.
35
- */var Ch;function gw(){return Ch||(Ch=1,process.env.NODE_ENV!=="production"&&function(){var i=Je,t="18.2.0",n=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function s(u){{for(var h=arguments.length,S=new Array(h>1?h-1:0),T=1;T<h;T++)S[T-1]=arguments[T];l("warn",u,S)}}function o(u){{for(var h=arguments.length,S=new Array(h>1?h-1:0),T=1;T<h;T++)S[T-1]=arguments[T];l("error",u,S)}}function l(u,h,S){{var T=n.ReactDebugCurrentFrame,B=T.getStackAddendum();B!==""&&(h+="%s",S=S.concat([B]));var X=S.map(function(ie){return String(ie)});X.unshift("Warning: "+h),Function.prototype.apply.call(console[u],console,X)}}function g(u){u()}function k(u){}function C(u,h){A(u,h)}function A(u,h){return u.push(h)}function U(u){}function L(u){u.push(null)}function q(u){return u}function Q(u){return u}function re(u,h){u.destroy(h)}function ne(u){{var h=typeof Symbol=="function"&&Symbol.toStringTag,S=h&&u[Symbol.toStringTag]||u.constructor.name||"Object";return S}}function J(u){try{return F(u),!1}catch{return!0}}function F(u){return""+u}function he(u,h){if(J(u))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",h,ne(u)),F(u)}function ye(u,h){if(J(u))return o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",h,ne(u)),F(u)}function Ie(u){if(J(u))return o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",ne(u)),F(u)}var de=Object.prototype.hasOwnProperty,je=0,m=1,Ue=2,ke=3,ht=4,Et=5,vt=6,dt=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Ct=dt+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",me=new RegExp("^["+dt+"]["+Ct+"]*$"),Le={},Ve={};function qe(u){return de.call(Ve,u)?!0:de.call(Le,u)?!1:me.test(u)?(Ve[u]=!0,!0):(Le[u]=!0,o("Invalid attribute name: `%s`",u),!1)}function lt(u,h,S,T){if(S!==null&&S.type===je)return!1;switch(typeof h){case"function":case"symbol":return!0;case"boolean":{if(T)return!1;if(S!==null)return!S.acceptsBooleans;var B=u.toLowerCase().slice(0,5);return B!=="data-"&&B!=="aria-"}default:return!1}}function Ce(u){return Ye.hasOwnProperty(u)?Ye[u]:null}function Pe(u,h,S,T,B,X,ie){this.acceptsBooleans=h===Ue||h===ke||h===ht,this.attributeName=T,this.attributeNamespace=B,this.mustUseProperty=S,this.propertyName=u,this.type=h,this.sanitizeURL=X,this.removeEmptyString=ie}var Ye={},Xe=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Xe.forEach(function(u){Ye[u]=new Pe(u,je,!1,u,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(u){var h=u[0],S=u[1];Ye[h]=new Pe(h,m,!1,S,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(u){Ye[u]=new Pe(u,Ue,!1,u.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(u){Ye[u]=new Pe(u,Ue,!1,u,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(u){Ye[u]=new Pe(u,ke,!1,u.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(u){Ye[u]=new Pe(u,ke,!0,u,null,!1,!1)}),["capture","download"].forEach(function(u){Ye[u]=new Pe(u,ht,!1,u,null,!1,!1)}),["cols","rows","size","span"].forEach(function(u){Ye[u]=new Pe(u,vt,!1,u,null,!1,!1)}),["rowSpan","start"].forEach(function(u){Ye[u]=new Pe(u,Et,!1,u.toLowerCase(),null,!1,!1)});var Qe=/[\-\:]([a-z])/g,Ze=function(u){return u[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(u){var h=u.replace(Qe,Ze);Ye[h]=new Pe(h,m,!1,u,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(u){var h=u.replace(Qe,Ze);Ye[h]=new Pe(h,m,!1,u,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(u){var h=u.replace(Qe,Ze);Ye[h]=new Pe(h,m,!1,u,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(u){Ye[u]=new Pe(u,m,!1,u.toLowerCase(),null,!1,!1)});var Ke="xlinkHref";Ye[Ke]=new Pe("xlinkHref",m,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(u){Ye[u]=new Pe(u,m,!1,u.toLowerCase(),null,!0,!0)});var ct={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function mt(u,h){return u+h.charAt(0).toUpperCase()+h.substring(1)}var wt=["Webkit","ms","Moz","O"];Object.keys(ct).forEach(function(u){wt.forEach(function(h){ct[mt(h,u)]=ct[u]})});var gt={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Tt(u,h){gt[h.type]||h.onChange||h.onInput||h.readOnly||h.disabled||h.value==null||o("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),h.onChange||h.readOnly||h.disabled||h.checked==null||o("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Ge(u,h){if(u.indexOf("-")===-1)return typeof h.is=="string";switch(u){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ft={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Bt={},Hn=new RegExp("^(aria)-["+Ct+"]*$"),ur=new RegExp("^(aria)[A-Z]["+Ct+"]*$");function Un(u,h){{if(de.call(Bt,h)&&Bt[h])return!0;if(ur.test(h)){var S="aria-"+h.slice(4).toLowerCase(),T=Ft.hasOwnProperty(S)?S:null;if(T==null)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",h),Bt[h]=!0,!0;if(h!==T)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",h,T),Bt[h]=!0,!0}if(Hn.test(h)){var B=h.toLowerCase(),X=Ft.hasOwnProperty(B)?B:null;if(X==null)return Bt[h]=!0,!1;if(h!==X)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",h,X),Bt[h]=!0,!0}}return!0}function bn(u,h){{var S=[];for(var T in h){var B=Un(u,T);B||S.push(T)}var X=S.map(function(ie){return"`"+ie+"`"}).join(", ");S.length===1?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",X,u):S.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",X,u)}}function xi(u,h){Ge(u,h)||bn(u,h)}var mr=!1;function qn(u,h){{if(u!=="input"&&u!=="textarea"&&u!=="select")return;h!=null&&h.value===null&&!mr&&(mr=!0,u==="select"&&h.multiple?o("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",u):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",u))}}var rn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},sn=function(){};{var un={},at=/^on./,En=/^on[^A-Z]/,Jr=new RegExp("^(aria)-["+Ct+"]*$"),nn=new RegExp("^(aria)[A-Z]["+Ct+"]*$");sn=function(u,h,S,T){if(de.call(un,h)&&un[h])return!0;var B=h.toLowerCase();if(B==="onfocusin"||B==="onfocusout")return o("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),un[h]=!0,!0;if(T!=null){var X=T.registrationNameDependencies,ie=T.possibleRegistrationNames;if(X.hasOwnProperty(h))return!0;var Ee=ie.hasOwnProperty(B)?ie[B]:null;if(Ee!=null)return o("Invalid event handler property `%s`. Did you mean `%s`?",h,Ee),un[h]=!0,!0;if(at.test(h))return o("Unknown event handler property `%s`. It will be ignored.",h),un[h]=!0,!0}else if(at.test(h))return En.test(h)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",h),un[h]=!0,!0;if(Jr.test(h)||nn.test(h))return!0;if(B==="innerhtml")return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),un[h]=!0,!0;if(B==="aria")return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),un[h]=!0,!0;if(B==="is"&&S!==null&&S!==void 0&&typeof S!="string")return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof S),un[h]=!0,!0;if(typeof S=="number"&&isNaN(S))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",h),un[h]=!0,!0;var He=Ce(h),it=He!==null&&He.type===je;if(rn.hasOwnProperty(B)){var pt=rn[B];if(pt!==h)return o("Invalid DOM property `%s`. Did you mean `%s`?",h,pt),un[h]=!0,!0}else if(!it&&h!==B)return o("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",h,B),un[h]=!0,!0;return typeof S=="boolean"&&lt(h,S,He,!1)?(S?o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',S,h,h,S,h):o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',S,h,h,S,h,h,h),un[h]=!0,!0):it?!0:lt(h,S,He,!1)?(un[h]=!0,!1):((S==="false"||S==="true")&&He!==null&&He.type===ke&&(o("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",S,h,S==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',h,S),un[h]=!0),!0)}}var Ci=function(u,h,S){{var T=[];for(var B in h){var X=sn(u,B,h[B],S);X||T.push(B)}var ie=T.map(function(Ee){return"`"+Ee+"`"}).join(", ");T.length===1?o("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",ie,u):T.length>1&&o("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",ie,u)}};function Ei(u,h,S){Ge(u,h)||Ci(u,h,S)}var ki=function(){};{var yr=/^(?:webkit|moz|o)[A-Z]/,Ln=/^-ms-/,br=/-(.)/g,lr=/;\s*$/,Fr={},Nr={},so=!1,Wn=!1,Br=function(u){return u.replace(br,function(h,S){return S.toUpperCase()})},Xn=function(u){Fr.hasOwnProperty(u)&&Fr[u]||(Fr[u]=!0,o("Unsupported style property %s. Did you mean %s?",u,Br(u.replace(Ln,"ms-"))))},Vt=function(u){Fr.hasOwnProperty(u)&&Fr[u]||(Fr[u]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",u,u.charAt(0).toUpperCase()+u.slice(1)))},Zr=function(u,h){Nr.hasOwnProperty(h)&&Nr[h]||(Nr[h]=!0,o(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,u,h.replace(lr,"")))},Ti=function(u,h){so||(so=!0,o("`NaN` is an invalid value for the `%s` css style property.",u))},kn=function(u,h){Wn||(Wn=!0,o("`Infinity` is an invalid value for the `%s` css style property.",u))};ki=function(u,h){u.indexOf("-")>-1?Xn(u):yr.test(u)?Vt(u):lr.test(h)&&Zr(u,h),typeof h=="number"&&(isNaN(h)?Ti(u,h):isFinite(h)||kn(u,h))}}var ln=ki,Qr=/["'&<>]/;function ei(u){Ie(u);var h=""+u,S=Qr.exec(h);if(!S)return h;var T,B="",X,ie=0;for(X=S.index;X<h.length;X++){switch(h.charCodeAt(X)){case 34:T="&quot;";break;case 38:T="&amp;";break;case 39:T="&#x27;";break;case 60:T="&lt;";break;case 62:T="&gt;";break;default:continue}ie!==X&&(B+=h.substring(ie,X)),ie=X+1,B+=T}return ie!==X?B+h.substring(ie,X):B}function fn(u){return typeof u=="boolean"||typeof u=="number"?""+u:ei(u)}var $i=/([A-Z])/g,cr=/^ms-/;function ti(u){return u.replace($i,"-$1").toLowerCase().replace(cr,"-ms-")}var on=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,li=!1;function Zo(u){!li&&on.test(u)&&(li=!0,o("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(u)))}var Qo=Array.isArray;function jr(u){return Qo(u)}var zi="<script>",Yi="<\/script>",uo='<script src="',ci='<script type="module" src="',ni='" async=""><\/script>';function fi(u){return Ie(u),(""+u).replace(Vi,di)}var Vi=/(<\/|<)(s)(cript)/gi,di=function(u,h,S,T){return""+h+(S==="s"?"\\u0073":"\\u0053")+T};function Hr(u,h,S,T,B){var X=u===void 0?"":u,ie=h===void 0?zi:'<script nonce="'+fn(h)+'">',Ee=[];if(S!==void 0&&Ee.push(ie,fi(S),Yi),T!==void 0)for(var He=0;He<T.length;He++)Ee.push(uo,fn(T[He]),ni);if(B!==void 0)for(var it=0;it<B.length;it++)Ee.push(ci,fn(B[it]),ni);return{bootstrapChunks:Ee,startInlineScript:ie,placeholderPrefix:X+"P:",segmentPrefix:X+"S:",boundaryPrefix:X+"B:",idPrefix:X,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var fr=0,wr=1,Ur=2,Sr=3,Mn=4,cn=5,xr=6,dr=7;function Tn(u,h){return{insertionMode:u,selectedValue:h}}function ri(u,h,S){switch(h){case"select":return Tn(wr,S.value!=null?S.value:S.defaultValue);case"svg":return Tn(Ur,null);case"math":return Tn(Sr,null);case"foreignObject":return Tn(wr,null);case"table":return Tn(Mn,null);case"thead":case"tbody":case"tfoot":return Tn(cn,null);case"colgroup":return Tn(dr,null);case"tr":return Tn(xr,null)}return u.insertionMode>=Mn||u.insertionMode===fr?Tn(wr,null):u}var Cr=null;function Wr(u){var h=u.nextSuspenseID++;return u.boundaryPrefix+h.toString(16)}function $n(u,h,S){var T=u.idPrefix,B=":"+T+"R"+h;return S>0&&(B+="H"+S.toString(32)),B+":"}function $r(u){return fn(u)}var zr="<!-- -->";function _i(u,h,S,T){return h===""?T:(T&&u.push(zr),u.push($r(h)),!0)}function Cn(u,h,S,T){S&&T&&u.push(zr)}var hr=new Map;function er(u){var h=hr.get(u);if(h!==void 0)return h;var S=fn(ti(u));return hr.set(u,S),S}var lo=' style="',Ri=":",Er=";";function y(u,h,S){if(typeof S!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var T=!0;for(var B in S)if(de.call(S,B)){var X=S[B];if(!(X==null||typeof X=="boolean"||X==="")){var ie=void 0,Ee=void 0,He=B.indexOf("--")===0;He?(ie=fn(B),ye(X,B),Ee=fn((""+X).trim())):(ln(B,X),ie=er(B),typeof X=="number"?X!==0&&!de.call(ct,B)?Ee=X+"px":Ee=""+X:(ye(X,B),Ee=fn((""+X).trim()))),T?(T=!1,u.push(lo,ie,Ri,Ee)):u.push(Er,ie,Ri,Ee)}}T||u.push(G)}var I=" ",H='="',G='"',Se='=""';function ce(u,h,S,T){switch(S){case"style":{y(u,h,T);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(S.length>2&&(S[0]==="o"||S[0]==="O")&&(S[1]==="n"||S[1]==="N"))){var B=Ce(S);if(B!==null){switch(typeof T){case"function":case"symbol":return;case"boolean":if(!B.acceptsBooleans)return}var X=B.attributeName,ie=X;switch(B.type){case ke:T&&u.push(I,ie,Se);return;case ht:T===!0?u.push(I,ie,Se):T===!1||u.push(I,ie,H,fn(T),G);return;case Et:isNaN(T)||u.push(I,ie,H,fn(T),G);break;case vt:!isNaN(T)&&T>=1&&u.push(I,ie,H,fn(T),G);break;default:B.sanitizeURL&&(he(T,X),T=""+T,Zo(T)),u.push(I,ie,H,fn(T),G)}}else if(qe(S)){switch(typeof T){case"function":case"symbol":return;case"boolean":{var Ee=S.toLowerCase().slice(0,5);if(Ee!=="data-"&&Ee!=="aria-")return}}u.push(I,S,H,fn(T),G)}}}var _e=">",$e="/>";function st(u,h,S){if(h!=null){if(S!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof h!="object"||!("__html"in h))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var T=h.__html;T!=null&&(Ie(T),u.push(""+T))}}var yt=!1,ut=!1,jt=!1,zn=!1,Fn=!1,wn=!1,kr=!1;function Kn(u,h){{var S=u[h];if(S!=null){var T=jr(S);u.multiple&&!T?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.",h):!u.multiple&&T&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",h)}}}function Ii(u,h,S){Tt("select",h),Kn(h,"value"),Kn(h,"defaultValue"),h.value!==void 0&&h.defaultValue!==void 0&&!jt&&(o("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),jt=!0),u.push(Nt("select"));var T=null,B=null;for(var X in h)if(de.call(h,X)){var ie=h[X];if(ie==null)continue;switch(X){case"children":T=ie;break;case"dangerouslySetInnerHTML":B=ie;break;case"defaultValue":case"value":break;default:ce(u,S,X,ie);break}}return u.push(_e),st(u,B,T),T}function ii(u){var h="";return i.Children.forEach(u,function(S){S!=null&&(h+=S,!Fn&&typeof S!="string"&&typeof S!="number"&&(Fn=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),h}var Oi=' selected=""';function Tr(u,h,S,T){var B=T.selectedValue;u.push(Nt("option"));var X=null,ie=null,Ee=null,He=null;for(var it in h)if(de.call(h,it)){var pt=h[it];if(pt==null)continue;switch(it){case"children":X=pt;break;case"selected":Ee=pt,kr||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),kr=!0);break;case"dangerouslySetInnerHTML":He=pt;break;case"value":ie=pt;default:ce(u,S,it,pt);break}}if(B!=null){var Rt;if(ie!==null?(he(ie,"value"),Rt=""+ie):(He!==null&&(wn||(wn=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),Rt=ii(X)),jr(B))for(var mn=0;mn<B.length;mn++){he(B[mn],"value");var Zn=""+B[mn];if(Zn===Rt){u.push(Oi);break}}else he(B,"select.value"),""+B===Rt&&u.push(Oi)}else Ee&&u.push(Oi);return u.push(_e),st(u,He,X),X}function co(u,h,S){Tt("input",h),h.checked!==void 0&&h.defaultChecked!==void 0&&!ut&&(o("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",h.type),ut=!0),h.value!==void 0&&h.defaultValue!==void 0&&!yt&&(o("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",h.type),yt=!0),u.push(Nt("input"));var T=null,B=null,X=null,ie=null;for(var Ee in h)if(de.call(h,Ee)){var He=h[Ee];if(He==null)continue;switch(Ee){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":ie=He;break;case"defaultValue":B=He;break;case"checked":X=He;break;case"value":T=He;break;default:ce(u,S,Ee,He);break}}return X!==null?ce(u,S,"checked",X):ie!==null&&ce(u,S,"checked",ie),T!==null?ce(u,S,"value",T):B!==null&&ce(u,S,"value",B),u.push($e),null}function Ja(u,h,S){Tt("textarea",h),h.value!==void 0&&h.defaultValue!==void 0&&!zn&&(o("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),zn=!0),u.push(Nt("textarea"));var T=null,B=null,X=null;for(var ie in h)if(de.call(h,ie)){var Ee=h[ie];if(Ee==null)continue;switch(ie){case"children":X=Ee;break;case"value":T=Ee;break;case"defaultValue":B=Ee;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:ce(u,S,ie,Ee);break}}if(T===null&&B!==null&&(T=B),u.push(_e),X!=null){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),T!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(jr(X)){if(X.length>1)throw new Error("<textarea> can only have at most one child.");Ie(X[0]),T=""+X[0]}Ie(X),T=""+X}return typeof T=="string"&&T[0]===`
36
- `&&u.push(fo),T!==null&&(he(T,"value"),u.push($r(""+T))),null}function ea(u,h,S,T){u.push(Nt(S));for(var B in h)if(de.call(h,B)){var X=h[B];if(X==null)continue;switch(B){case"children":case"dangerouslySetInnerHTML":throw new Error(S+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:ce(u,T,B,X);break}}return u.push($e),null}function ta(u,h,S){u.push(Nt("menuitem"));for(var T in h)if(de.call(h,T)){var B=h[T];if(B==null)continue;switch(T){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:ce(u,S,T,B);break}}return u.push(_e),null}function na(u,h,S){u.push(Nt("title"));var T=null;for(var B in h)if(de.call(h,B)){var X=h[B];if(X==null)continue;switch(B){case"children":T=X;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:ce(u,S,B,X);break}}u.push(_e);{var ie=Array.isArray(T)&&T.length<2?T[0]||null:T;Array.isArray(T)&&T.length>1?o("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):ie!=null&&ie.$$typeof!=null?o("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):ie!=null&&typeof ie!="string"&&typeof ie!="number"&&o("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return T}function ra(u,h,S,T){u.push(Nt(S));var B=null,X=null;for(var ie in h)if(de.call(h,ie)){var Ee=h[ie];if(Ee==null)continue;switch(ie){case"children":B=Ee;break;case"dangerouslySetInnerHTML":X=Ee;break;default:ce(u,T,ie,Ee);break}}return u.push(_e),st(u,X,B),typeof B=="string"?(u.push($r(B)),null):B}function oi(u,h,S,T){u.push(Nt(S));var B=null,X=null;for(var ie in h)if(de.call(h,ie)){var Ee=h[ie];if(Ee==null)continue;switch(ie){case"children":B=Ee;break;case"dangerouslySetInnerHTML":X=Ee;break;case"style":y(u,T,Ee);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:qe(ie)&&typeof Ee!="function"&&typeof Ee!="symbol"&&u.push(I,ie,H,fn(Ee),G);break}}return u.push(_e),st(u,X,B),B}var fo=`
37
- `;function Po(u,h,S,T){u.push(Nt(S));var B=null,X=null;for(var ie in h)if(de.call(h,ie)){var Ee=h[ie];if(Ee==null)continue;switch(ie){case"children":B=Ee;break;case"dangerouslySetInnerHTML":X=Ee;break;default:ce(u,T,ie,Ee);break}}if(u.push(_e),X!=null){if(B!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof X!="object"||!("__html"in X))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var He=X.__html;He!=null&&(typeof He=="string"&&He.length>0&&He[0]===`
38
- `?u.push(fo,He):(Ie(He),u.push(""+He)))}return typeof B=="string"&&B[0]===`
39
- `&&u.push(fo),B}var en=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Gt=new Map;function Nt(u){var h=Gt.get(u);if(h===void 0){if(!en.test(u))throw new Error("Invalid tag: "+u);h="<"+u,Gt.set(u,h)}return h}var hi="<!DOCTYPE html>";function Yr(u,h,S,T,B){switch(xi(h,S),qn(h,S),Ei(h,S,null),!S.suppressContentEditableWarning&&S.contentEditable&&S.children!=null&&o("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),B.insertionMode!==Ur&&B.insertionMode!==Sr&&h.indexOf("-")===-1&&typeof S.is!="string"&&h.toLowerCase()!==h&&o("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",h),h){case"select":return Ii(u,S,T);case"option":return Tr(u,S,T,B);case"textarea":return Ja(u,S,T);case"input":return co(u,S,T);case"menuitem":return ta(u,S,T);case"title":return na(u,S,T);case"listing":case"pre":return Po(u,S,h,T);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return ea(u,S,h,T);case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return ra(u,S,h,T);case"html":return B.insertionMode===fr&&u.push(hi),ra(u,S,h,T);default:return h.indexOf("-")===-1&&typeof S.is!="string"?ra(u,S,h,T):oi(u,S,h,T)}}var ho="</",ai=">";function tr(u,h,S){switch(h){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:u.push(ho,h,ai)}}function ia(u,h){for(var S=h.bootstrapChunks,T=0;T<S.length-1;T++)C(u,S[T]);return T<S.length?A(u,S[T]):!0}var Lo='<template id="',xa='"></template>';function dn(u,h,S){C(u,Lo),C(u,h.placeholderPrefix);var T=S.toString(16);return C(u,T),A(u,xa)}var po="<!--$-->",si='<!--$?--><template id="',Ca='"></template>',Gi="<!--$!-->",Yn="<!--/$-->",a="<template",f='"',v=' data-dgst="',w=' data-msg="',R=' data-stck="',O="></template>";function M(u,h){return A(u,po)}function te(u,h,S){if(C(u,si),S===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return C(u,S),A(u,Ca)}function K(u,h,S,T,B){var X;return X=A(u,Gi),C(u,a),S&&(C(u,v),C(u,fn(S)),C(u,f)),T&&(C(u,w),C(u,fn(T)),C(u,f)),B&&(C(u,R),C(u,fn(B)),C(u,f)),X=A(u,O),X}function fe(u,h){return A(u,Yn)}function Re(u,h){return A(u,Yn)}function Oe(u,h){return A(u,Yn)}var be='<div hidden id="',Fe='">',tt="</div>",_t='<svg aria-hidden="true" style="display:none" id="',Ot='">',_n="</svg>",an='<math aria-hidden="true" style="display:none" id="',_r='">',Rr="</math>",Ht='<table hidden id="',Ir='">',Ut="</table>",Zt='<table hidden><tbody id="',qi='">',Xi="</tbody></table>",pr='<table hidden><tr id="',b='">',_="</tr></table>",N='<table hidden><colgroup id="',V='">',ge="</colgroup></table>";function ve(u,h,S,T){switch(S.insertionMode){case fr:case wr:return C(u,be),C(u,h.segmentPrefix),C(u,T.toString(16)),A(u,Fe);case Ur:return C(u,_t),C(u,h.segmentPrefix),C(u,T.toString(16)),A(u,Ot);case Sr:return C(u,an),C(u,h.segmentPrefix),C(u,T.toString(16)),A(u,_r);case Mn:return C(u,Ht),C(u,h.segmentPrefix),C(u,T.toString(16)),A(u,Ir);case cn:return C(u,Zt),C(u,h.segmentPrefix),C(u,T.toString(16)),A(u,qi);case xr:return C(u,pr),C(u,h.segmentPrefix),C(u,T.toString(16)),A(u,b);case dr:return C(u,N),C(u,h.segmentPrefix),C(u,T.toString(16)),A(u,V);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function De(u,h){switch(h.insertionMode){case fr:case wr:return A(u,tt);case Ur:return A(u,_n);case Sr:return A(u,Rr);case Mn:return A(u,Ut);case cn:return A(u,Xi);case xr:return A(u,_);case dr:return A(u,ge);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var We="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",ft='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',Mt='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',kt=We+';$RS("',bt='$RS("',Dn='","',vn='")<\/script>';function Nn(u,h,S){C(u,h.startInlineScript),h.sentCompleteSegmentFunction?C(u,bt):(h.sentCompleteSegmentFunction=!0,C(u,kt)),C(u,h.segmentPrefix);var T=S.toString(16);return C(u,T),C(u,Dn),C(u,h.placeholderPrefix),C(u,T),A(u,vn)}var Mo=ft+';$RC("',Ea='$RC("',Fo='","',Vr='")<\/script>';function Za(u,h,S,T){if(C(u,h.startInlineScript),h.sentCompleteBoundaryFunction?C(u,Ea):(h.sentCompleteBoundaryFunction=!0,C(u,Mo)),S===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var B=T.toString(16);return C(u,S),C(u,Fo),C(u,h.segmentPrefix),C(u,B),A(u,Vr)}var Ki=Mt+';$RX("',ka='$RX("',No='"',ui=")<\/script>",Di=",";function Qa(u,h,S,T,B,X){if(C(u,h.startInlineScript),h.sentClientRenderFunction?C(u,ka):(h.sentClientRenderFunction=!0,C(u,Ki)),S===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return C(u,S),C(u,No),(T||B||X)&&(C(u,Di),C(u,Bo(T||""))),(B||X)&&(C(u,Di),C(u,Bo(B||""))),X&&(C(u,Di),C(u,Bo(X))),A(u,ui)}var mu=/[<\u2028\u2029]/g;function Bo(u){var h=JSON.stringify(u);return h.replace(mu,function(S){switch(S){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function Ji(u,h){var S=Hr(h,void 0);return{bootstrapChunks:S.bootstrapChunks,startInlineScript:S.startInlineScript,placeholderPrefix:S.placeholderPrefix,segmentPrefix:S.segmentPrefix,boundaryPrefix:S.boundaryPrefix,idPrefix:S.idPrefix,nextSuspenseID:S.nextSuspenseID,sentCompleteSegmentFunction:S.sentCompleteSegmentFunction,sentCompleteBoundaryFunction:S.sentCompleteBoundaryFunction,sentClientRenderFunction:S.sentClientRenderFunction,generateStaticMarkup:u}}function nr(){return{insertionMode:wr,selectedValue:null}}function es(u,h,S,T){return S.generateStaticMarkup?(u.push(fn(h)),!1):_i(u,h,S,T)}function Ta(u,h,S,T){if(!h.generateStaticMarkup)return Cn(u,h,S,T)}function _a(u,h){return h.generateStaticMarkup?!0:M(u)}function Y(u,h,S,T,B){return h.generateStaticMarkup?!0:K(u,h,S,T,B)}function le(u,h){return h.generateStaticMarkup?!0:fe(u)}function xe(u,h){return h.generateStaticMarkup?!0:Oe(u)}var we=Object.assign,z=Symbol.for("react.element"),ae=Symbol.for("react.portal"),oe=Symbol.for("react.fragment"),Ae=Symbol.for("react.strict_mode"),Me=Symbol.for("react.profiler"),nt=Symbol.for("react.provider"),rt=Symbol.for("react.context"),et=Symbol.for("react.forward_ref"),Dt=Symbol.for("react.suspense"),St=Symbol.for("react.suspense_list"),Wt=Symbol.for("react.memo"),Rn=Symbol.for("react.lazy"),Jn=Symbol.for("react.scope"),Bn=Symbol.for("react.debug_trace_mode"),Or=Symbol.for("react.legacy_hidden"),Ai=Symbol.for("react.default_value"),At=Symbol.iterator,fl="@@iterator";function Sn(u){if(u===null||typeof u!="object")return null;var h=At&&u[At]||u[fl];return typeof h=="function"?h:null}function jo(u,h,S){var T=u.displayName;if(T)return T;var B=h.displayName||h.name||"";return B!==""?S+"("+B+")":S}function yu(u){return u.displayName||"Context"}function xn(u){if(u==null)return null;if(typeof u.tag=="number"&&o("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case oe:return"Fragment";case ae:return"Portal";case Me:return"Profiler";case Ae:return"StrictMode";case Dt:return"Suspense";case St:return"SuspenseList"}if(typeof u=="object")switch(u.$$typeof){case rt:var h=u;return yu(h)+".Consumer";case nt:var S=u;return yu(S._context)+".Provider";case et:return jo(u,u.render,"ForwardRef");case Wt:var T=u.displayName||null;return T!==null?T:xn(u.type)||"Memo";case Rn:{var B=u,X=B._payload,ie=B._init;try{return xn(ie(X))}catch{return null}}}return null}var Ra=0,Ia,Zi,Oa,js,Da,bu,wu;function oa(){}oa.__reactDisabledLog=!0;function Hs(){{if(Ra===0){Ia=console.log,Zi=console.info,Oa=console.warn,js=console.error,Da=console.group,bu=console.groupCollapsed,wu=console.groupEnd;var u={configurable:!0,enumerable:!0,value:oa,writable:!0};Object.defineProperties(console,{info:u,log:u,warn:u,error:u,group:u,groupCollapsed:u,groupEnd:u})}Ra++}}function go(){{if(Ra--,Ra===0){var u={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:we({},u,{value:Ia}),info:we({},u,{value:Zi}),warn:we({},u,{value:Oa}),error:we({},u,{value:js}),group:we({},u,{value:Da}),groupCollapsed:we({},u,{value:bu}),groupEnd:we({},u,{value:wu})})}Ra<0&&o("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Pi=n.ReactCurrentDispatcher,vo;function ts(u,h,S){{if(vo===void 0)try{throw Error()}catch(B){var T=B.stack.trim().match(/\n( *(at )?)/);vo=T&&T[1]||""}return`
40
- `+vo+u}}var ns=!1,Us;{var rs=typeof WeakMap=="function"?WeakMap:Map;Us=new rs}function Aa(u,h){if(!u||ns)return"";{var S=Us.get(u);if(S!==void 0)return S}var T;ns=!0;var B=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var X;X=Pi.current,Pi.current=null,Hs();try{if(h){var ie=function(){throw Error()};if(Object.defineProperty(ie.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ie,[])}catch(jn){T=jn}Reflect.construct(u,[],ie)}else{try{ie.call()}catch(jn){T=jn}u.call(ie.prototype)}}else{try{throw Error()}catch(jn){T=jn}u()}}catch(jn){if(jn&&T&&typeof jn.stack=="string"){for(var Ee=jn.stack.split(`
41
- `),He=T.stack.split(`
42
- `),it=Ee.length-1,pt=He.length-1;it>=1&&pt>=0&&Ee[it]!==He[pt];)pt--;for(;it>=1&&pt>=0;it--,pt--)if(Ee[it]!==He[pt]){if(it!==1||pt!==1)do if(it--,pt--,pt<0||Ee[it]!==He[pt]){var Rt=`
43
- `+Ee[it].replace(" at new "," at ");return u.displayName&&Rt.includes("<anonymous>")&&(Rt=Rt.replace("<anonymous>",u.displayName)),typeof u=="function"&&Us.set(u,Rt),Rt}while(it>=1&&pt>=0);break}}}finally{ns=!1,Pi.current=X,go(),Error.prepareStackTrace=B}var mn=u?u.displayName||u.name:"",Zn=mn?ts(mn):"";return typeof u=="function"&&Us.set(u,Zn),Zn}function is(u,h,S){return Aa(u,!0)}function Su(u,h,S){return Aa(u,!1)}function xu(u){var h=u.prototype;return!!(h&&h.isReactComponent)}function Pa(u,h,S){if(u==null)return"";if(typeof u=="function")return Aa(u,xu(u));if(typeof u=="string")return ts(u);switch(u){case Dt:return ts("Suspense");case St:return ts("SuspenseList")}if(typeof u=="object")switch(u.$$typeof){case et:return Su(u.render);case Wt:return Pa(u.type,h,S);case Rn:{var T=u,B=T._payload,X=T._init;try{return Pa(X(B),h,S)}catch{}}}return""}var Cu={},In=n.ReactDebugCurrentFrame;function On(u){if(u){var h=u._owner,S=Pa(u.type,u._source,h?h.type:null);In.setExtraStackFrame(S)}else In.setExtraStackFrame(null)}function Eu(u,h,S,T,B){{var X=Function.call.bind(de);for(var ie in u)if(X(u,ie)){var Ee=void 0;try{if(typeof u[ie]!="function"){var He=Error((T||"React class")+": "+S+" type `"+ie+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof u[ie]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw He.name="Invariant Violation",He}Ee=u[ie](h,ie,T,S,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(it){Ee=it}Ee&&!(Ee instanceof Error)&&(On(B),o("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",T||"React class",S,ie,typeof Ee),On(null)),Ee instanceof Error&&!(Ee.message in Cu)&&(Cu[Ee.message]=!0,On(B),o("Failed %s type: %s",S,Ee.message),On(null))}}}var ku;ku={};var mo={};Object.freeze(mo);function dl(u,h){{var S=u.contextTypes;if(!S)return mo;var T={};for(var B in S)T[B]=h[B];{var X=xn(u)||"Unknown";Eu(S,T,"context",X)}return T}}function yo(u,h,S,T){{if(typeof u.getChildContext!="function"){{var B=xn(h)||"Unknown";ku[B]||(ku[B]=!0,o("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",B,B))}return S}var X=u.getChildContext();for(var ie in X)if(!(ie in T))throw new Error((xn(h)||"Unknown")+'.getChildContext(): key "'+ie+'" is not defined in childContextTypes.');{var Ee=xn(h)||"Unknown";Eu(T,X,"child context",Ee)}return we({},S,X)}}var Li;Li={};var os=null,Dr=null;function Ho(u){u.context._currentValue2=u.parentValue}function Uo(u){u.context._currentValue2=u.value}function Wo(u,h){if(u!==h){Ho(u);var S=u.parent,T=h.parent;if(S===null){if(T!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(T===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");Wo(S,T)}Uo(h)}}function $o(u){Ho(u);var h=u.parent;h!==null&&$o(h)}function as(u){var h=u.parent;h!==null&&as(h),Uo(u)}function hl(u,h){Ho(u);var S=u.parent;if(S===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");S.depth===h.depth?Wo(S,h):hl(S,h)}function pl(u,h){var S=h.parent;if(S===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");u.depth===S.depth?Wo(u,S):pl(u,S),Uo(h)}function Ws(u){var h=Dr,S=u;h!==S&&(h===null?as(S):S===null?$o(h):h.depth===S.depth?Wo(h,S):h.depth>S.depth?hl(h,S):pl(h,S),Dr=S)}function ss(u,h){var S;S=u._currentValue2,u._currentValue2=h,u._currentRenderer2!==void 0&&u._currentRenderer2!==null&&u._currentRenderer2!==Li&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),u._currentRenderer2=Li;var T=Dr,B={parent:T,depth:T===null?0:T.depth+1,context:u,parentValue:S,value:h};return Dr=B,B}function La(u){var h=Dr;if(h===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");h.context!==u&&o("The parent context is not the expected context. This is probably a bug in React.");{var S=h.parentValue;S===Ai?h.context._currentValue2=h.context._defaultValue:h.context._currentValue2=S,u._currentRenderer2!==void 0&&u._currentRenderer2!==null&&u._currentRenderer2!==Li&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),u._currentRenderer2=Li}return Dr=h.parent}function us(){return Dr}function aa(u){var h=u._currentValue2;return h}function j(u){return u._reactInternals}function zo(u,h){u._reactInternals=h}var sa={},Ar={},zt,$s,Ma,ls,Qi,Fa,zs,Ys,Vs;{zt=new Set,$s=new Set,Ma=new Set,zs=new Set,ls=new Set,Ys=new Set,Vs=new Set;var gl=new Set;Fa=function(u,h){if(!(u===null||typeof u=="function")){var S=h+"_"+u;gl.has(S)||(gl.add(S),o("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",h,u))}},Qi=function(u,h){if(h===void 0){var S=xn(u)||"Component";ls.has(S)||(ls.add(S),o("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",S))}}}function eo(u,h){{var S=u.constructor,T=S&&xn(S)||"ReactClass",B=T+"."+h;if(sa[B])return;o(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
44
-
45
- Please check the code for the %s component.`,h,h,T),sa[B]=!0}}var vl={isMounted:function(u){return!1},enqueueSetState:function(u,h,S){var T=j(u);T.queue===null?eo(u,"setState"):(T.queue.push(h),S!=null&&Fa(S,"setState"))},enqueueReplaceState:function(u,h,S){var T=j(u);T.replace=!0,T.queue=[h],S!=null&&Fa(S,"setState")},enqueueForceUpdate:function(u,h){var S=j(u);S.queue===null?eo(u,"forceUpdate"):h!=null&&Fa(h,"setState")}};function Bl(u,h,S,T,B){var X=S(B,T);Qi(h,X);var ie=X==null?T:we({},T,X);return ie}function jl(u,h,S){var T=mo,B=u.contextType;if("contextType"in u){var X=B===null||B!==void 0&&B.$$typeof===rt&&B._context===void 0;if(!X&&!Vs.has(u)){Vs.add(u);var ie="";B===void 0?ie=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof B!="object"?ie=" However, it is set to a "+typeof B+".":B.$$typeof===nt?ie=" Did you accidentally pass the Context.Provider instead?":B._context!==void 0?ie=" Did you accidentally pass the Context.Consumer instead?":ie=" However, it is set to an object with keys {"+Object.keys(B).join(", ")+"}.",o("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",xn(u)||"Component",ie)}}typeof B=="object"&&B!==null?T=aa(B):T=S;var Ee=new u(h,T);{if(typeof u.getDerivedStateFromProps=="function"&&(Ee.state===null||Ee.state===void 0)){var He=xn(u)||"Component";zt.has(He)||(zt.add(He),o("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",He,Ee.state===null?"null":"undefined",He))}if(typeof u.getDerivedStateFromProps=="function"||typeof Ee.getSnapshotBeforeUpdate=="function"){var it=null,pt=null,Rt=null;if(typeof Ee.componentWillMount=="function"&&Ee.componentWillMount.__suppressDeprecationWarning!==!0?it="componentWillMount":typeof Ee.UNSAFE_componentWillMount=="function"&&(it="UNSAFE_componentWillMount"),typeof Ee.componentWillReceiveProps=="function"&&Ee.componentWillReceiveProps.__suppressDeprecationWarning!==!0?pt="componentWillReceiveProps":typeof Ee.UNSAFE_componentWillReceiveProps=="function"&&(pt="UNSAFE_componentWillReceiveProps"),typeof Ee.componentWillUpdate=="function"&&Ee.componentWillUpdate.__suppressDeprecationWarning!==!0?Rt="componentWillUpdate":typeof Ee.UNSAFE_componentWillUpdate=="function"&&(Rt="UNSAFE_componentWillUpdate"),it!==null||pt!==null||Rt!==null){var mn=xn(u)||"Component",Zn=typeof u.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Ma.has(mn)||(Ma.add(mn),o(`Unsafe legacy lifecycles will not be called for components using new component APIs.
46
-
47
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
48
-
49
- The above lifecycles should be removed. Learn more about this warning here:
50
- https://reactjs.org/link/unsafe-component-lifecycles`,mn,Zn,it!==null?`
51
- `+it:"",pt!==null?`
52
- `+pt:"",Rt!==null?`
53
- `+Rt:""))}}}return Ee}function ml(u,h,S){{var T=xn(h)||"Component",B=u.render;B||(h.prototype&&typeof h.prototype.render=="function"?o("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",T):o("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",T)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&o("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",T),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&o("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",T),u.propTypes&&o("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",T),u.contextType&&o("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",T),u.contextTypes&&o("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",T),h.contextType&&h.contextTypes&&!Ys.has(h)&&(Ys.add(h),o("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",T)),typeof u.componentShouldUpdate=="function"&&o("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",T),h.prototype&&h.prototype.isPureReactComponent&&typeof u.shouldComponentUpdate<"u"&&o("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",xn(h)||"A pure component"),typeof u.componentDidUnmount=="function"&&o("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",T),typeof u.componentDidReceiveProps=="function"&&o("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",T),typeof u.componentWillRecieveProps=="function"&&o("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",T),typeof u.UNSAFE_componentWillRecieveProps=="function"&&o("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",T);var X=u.props!==S;u.props!==void 0&&X&&o("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",T,T),u.defaultProps&&o("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",T,T),typeof u.getSnapshotBeforeUpdate=="function"&&typeof u.componentDidUpdate!="function"&&!$s.has(h)&&($s.add(h),o("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",xn(h))),typeof u.getDerivedStateFromProps=="function"&&o("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",T),typeof u.getDerivedStateFromError=="function"&&o("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",T),typeof h.getSnapshotBeforeUpdate=="function"&&o("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",T);var ie=u.state;ie&&(typeof ie!="object"||jr(ie))&&o("%s.state: must be set to an object or null",T),typeof u.getChildContext=="function"&&typeof h.childContextTypes!="object"&&o("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",T)}}function Hl(u,h){var S=h.state;if(typeof h.componentWillMount=="function"){if(h.componentWillMount.__suppressDeprecationWarning!==!0){var T=xn(u)||"Unknown";Ar[T]||(s(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
54
-
55
- * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
56
-
57
- Please update the following components: %s`,T),Ar[T]=!0)}h.componentWillMount()}typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),S!==h.state&&(o("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",xn(u)||"Component"),vl.enqueueReplaceState(h,h.state,null))}function bo(u,h,S,T){if(u.queue!==null&&u.queue.length>0){var B=u.queue,X=u.replace;if(u.queue=null,u.replace=!1,X&&B.length===1)h.state=B[0];else{for(var ie=X?B[0]:h.state,Ee=!0,He=X?1:0;He<B.length;He++){var it=B[He],pt=typeof it=="function"?it.call(h,ie,S,T):it;pt!=null&&(Ee?(Ee=!1,ie=we({},ie,pt)):we(ie,pt))}h.state=ie}}else u.queue=null}function Gs(u,h,S,T){ml(u,h,S);var B=u.state!==void 0?u.state:null;u.updater=vl,u.props=S,u.state=B;var X={queue:[],replace:!1};zo(u,X);var ie=h.contextType;if(typeof ie=="object"&&ie!==null?u.context=aa(ie):u.context=T,u.state===S){var Ee=xn(h)||"Component";zs.has(Ee)||(zs.add(Ee),o("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",Ee))}var He=h.getDerivedStateFromProps;typeof He=="function"&&(u.state=Bl(u,h,He,B,S)),typeof h.getDerivedStateFromProps!="function"&&typeof u.getSnapshotBeforeUpdate!="function"&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function")&&(Hl(h,u),bo(X,u,S,T))}var qs={id:1,overflow:""};function Ul(u){var h=u.overflow,S=u.id,T=S&~ua(S);return T.toString(32)+h}function Tu(u,h,S){var T=u.id,B=u.overflow,X=Xs(T)-1,ie=T&~(1<<X),Ee=S+1,He=Xs(h)+X;if(He>30){var it=X-X%5,pt=(1<<it)-1,Rt=(ie&pt).toString(32),mn=ie>>it,Zn=X-it,jn=Xs(h)+Zn,Gu=Ee<<Zn,qu=Gu|mn,Il=Rt+B;return{id:1<<jn|qu,overflow:Il}}else{var Ts=Ee<<X,Gc=Ts|ie,qc=B;return{id:1<<He|Gc,overflow:qc}}}function Xs(u){return 32-Wl(u)}function ua(u){return 1<<Xs(u)-1}var Wl=Math.clz32?Math.clz32:wo,$l=Math.log,Mi=Math.LN2;function wo(u){var h=u>>>0;return h===0?32:31-($l(h)/Mi|0)|0}function _u(u,h){return u===h&&(u!==0||1/u===1/h)||u!==u&&h!==h}var Ks=typeof Object.is=="function"?Object.is:_u,Kt=null,la=null,Yo=null,tn=null,pi=!1,ca=!1,Na=0,An=null,gi=0,fa=25,Fi=!1,da;function rr(){if(Kt===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
58
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
59
- 2. You might be breaking the Rules of Hooks
60
- 3. You might have more than one copy of React in the same app
61
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return Fi&&o("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),Kt}function Ru(u,h){if(h===null)return o("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",da),!1;u.length!==h.length&&o(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
62
-
63
- Previous: %s
64
- Incoming: %s`,da,"["+u.join(", ")+"]","["+h.join(", ")+"]");for(var S=0;S<h.length&&S<u.length;S++)if(!Ks(u[S],h[S]))return!1;return!0}function Vo(){if(gi>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Pr(){return tn===null?Yo===null?(pi=!1,Yo=tn=Vo()):(pi=!0,tn=Yo):tn.next===null?(pi=!1,tn=tn.next=Vo()):(pi=!0,tn=tn.next),tn}function Iu(u,h){Kt=h,la=u,Fi=!1,Na=0}function yl(u,h,S,T){for(;ca;)ca=!1,Na=0,gi+=1,tn=null,S=u(h,T);return So(),S}function Ou(){var u=Na!==0;return u}function So(){Fi=!1,Kt=null,la=null,ca=!1,Yo=null,gi=0,An=null,tn=null}function Go(u){return Fi&&o("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),aa(u)}function Du(u){return da="useContext",rr(),aa(u)}function Js(u,h){return typeof h=="function"?h(u):h}function Zs(u){return da="useState",bl(Js,u)}function bl(u,h,S){if(u!==Js&&(da="useReducer"),Kt=rr(),tn=Pr(),pi){var T=tn.queue,B=T.dispatch;if(An!==null){var X=An.get(T);if(X!==void 0){An.delete(T);var ie=tn.memoizedState,Ee=X;do{var He=Ee.action;Fi=!0,ie=u(ie,He),Fi=!1,Ee=Ee.next}while(Ee!==null);return tn.memoizedState=ie,[ie,B]}}return[tn.memoizedState,B]}else{Fi=!0;var it;u===Js?it=typeof h=="function"?h():h:it=S!==void 0?S(h):h,Fi=!1,tn.memoizedState=it;var pt=tn.queue={last:null,dispatch:null},Rt=pt.dispatch=wl.bind(null,Kt,pt);return[tn.memoizedState,Rt]}}function Au(u,h){Kt=rr(),tn=Pr();var S=h===void 0?null:h;if(tn!==null){var T=tn.memoizedState;if(T!==null&&S!==null){var B=T[1];if(Ru(S,B))return T[0]}}Fi=!0;var X=u();return Fi=!1,tn.memoizedState=[X,S],X}function ir(u){Kt=rr(),tn=Pr();var h=tn.memoizedState;if(h===null){var S={current:u};return Object.seal(S),tn.memoizedState=S,S}else return h}function Pu(u,h){da="useLayoutEffect",o("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function wl(u,h,S){if(gi>=fa)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(u===Kt){ca=!0;var T={action:S,next:null};An===null&&(An=new Map);var B=An.get(h);if(B===void 0)An.set(h,T);else{for(var X=B;X.next!==null;)X=X.next;X.next=T}}}function to(u,h){return Au(function(){return u},h)}function Lu(u,h,S){return rr(),h(u._source)}function Qs(u,h,S){if(S===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return S()}function ha(u){return rr(),u}function cs(){throw new Error("startTransition cannot be called during server rendering.")}function gr(){return rr(),[!1,cs]}function fs(){var u=la,h=Ul(u.treeContext),S=hs;if(S===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var T=Na++;return $n(S,h,T)}function ds(){}var Sl={readContext:Go,useContext:Du,useMemo:Au,useReducer:bl,useRef:ir,useState:Zs,useInsertionEffect:ds,useLayoutEffect:Pu,useCallback:to,useImperativeHandle:ds,useEffect:ds,useDebugValue:ds,useDeferredValue:ha,useTransition:gr,useId:fs,useMutableSource:Lu,useSyncExternalStore:Qs},hs=null;function Ba(u){hs=u}function Mu(u){try{var h="",S=u;do{switch(S.tag){case 0:h+=ts(S.type,null,null);break;case 1:h+=Su(S.type,null,null);break;case 2:h+=is(S.type,null,null);break}S=S.parent}while(S);return h}catch(T){return`
65
- Error generating stack: `+T.message+`
66
- `+T.stack}}var vi=n.ReactCurrentDispatcher,ps=n.ReactDebugCurrentFrame,eu=0,pa=1,ja=2,Fu=3,ga=4,Nu=0,Bu=1,no=2,zl=12800;function Yl(u){return console.error(u),null}function Ha(){}function gs(u,h,S,T,B,X,ie,Ee,He){var it=[],pt=new Set,Rt={destination:null,responseState:h,progressiveChunkSize:T===void 0?zl:T,status:Nu,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:pt,pingedTasks:it,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:B===void 0?Yl:B,onAllReady:X===void 0?Ha:X,onShellReady:ie===void 0?Ha:ie,onShellError:Ee===void 0?Ha:Ee,onFatalError:He===void 0?Ha:He},mn=xo(Rt,0,null,S,!1,!1);mn.parentFlushed=!0;var Zn=Ua(Rt,u,null,mn,pt,mo,os,qs);return it.push(Zn),Rt}function tu(u,h){var S=u.pingedTasks;S.push(h),S.length===1&&g(function(){return Vu(u)})}function Ni(u,h){return{id:Cr,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:h,errorDigest:null}}function Ua(u,h,S,T,B,X,ie,Ee){u.allPendingTasks++,S===null?u.pendingRootTasks++:S.pendingTasks++;var He={node:h,ping:function(){return tu(u,He)},blockedBoundary:S,blockedSegment:T,abortSet:B,legacyContext:X,context:ie,treeContext:Ee};return He.componentStack=null,B.add(He),He}function xo(u,h,S,T,B,X){return{status:eu,id:-1,index:h,parentFlushed:!1,chunks:[],children:[],formatContext:T,boundary:S,lastPushedText:B,textEmbedded:X}}var Bi=null;function Wa(){return Bi===null||Bi.componentStack===null?"":Mu(Bi.componentStack)}function mi(u,h){u.componentStack={tag:0,parent:u.componentStack,type:h}}function va(u,h){u.componentStack={tag:1,parent:u.componentStack,type:h}}function nu(u,h){u.componentStack={tag:2,parent:u.componentStack,type:h}}function yi(u){u.componentStack===null?o("Unexpectedly popped too many stack frames. This is a bug in React."):u.componentStack=u.componentStack.parent}var Co=null;function ju(u,h){{var S;typeof h=="string"?S=h:h&&typeof h.message=="string"?S=h.message:S=String(h);var T=Co||Wa();Co=null,u.errorMessage=S,u.errorComponentStack=T}}function ma(u,h){var S=u.onError(h);if(S!=null&&typeof S!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof S+'" instead');return S}function vs(u,h){var S=u.onShellError;S(h);var T=u.onFatalError;T(h),u.destination!==null?(u.status=no,re(u.destination,h)):(u.status=Bu,u.fatalError=h)}function ru(u,h,S){mi(h,"Suspense");var T=h.blockedBoundary,B=h.blockedSegment,X=S.fallback,ie=S.children,Ee=new Set,He=Ni(u,Ee),it=B.chunks.length,pt=xo(u,it,He,B.formatContext,!1,!1);B.children.push(pt),B.lastPushedText=!1;var Rt=xo(u,0,null,B.formatContext,!1,!1);Rt.parentFlushed=!0,h.blockedBoundary=He,h.blockedSegment=Rt;try{if(ji(u,h,ie),Ta(Rt.chunks,u.responseState,Rt.lastPushedText,Rt.textEmbedded),Rt.status=pa,Cs(He,Rt),He.pendingTasks===0){yi(h);return}}catch(Zn){Rt.status=ga,He.forceClientRender=!0,He.errorDigest=ma(u,Zn),ju(He,Zn)}finally{h.blockedBoundary=T,h.blockedSegment=B}var mn=Ua(u,X,T,pt,Ee,h.legacyContext,h.context,h.treeContext);mn.componentStack=h.componentStack,u.pingedTasks.push(mn),yi(h)}function xl(u,h,S,T){mi(h,S);var B=h.blockedSegment,X=Yr(B.chunks,S,T,u.responseState,B.formatContext);B.lastPushedText=!1;var ie=B.formatContext;B.formatContext=ri(ie,S,T),ji(u,h,X),B.formatContext=ie,tr(B.chunks,S),B.lastPushedText=!1,yi(h)}function Hu(u){return u.prototype&&u.prototype.isReactComponent}function $t(u,h,S,T,B){var X={};Iu(h,X);var ie=S(T,B);return yl(S,T,ie,B)}function ms(u,h,S,T,B){var X=S.render();S.props!==B&&(Gr||o("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",xn(T)||"a component"),Gr=!0);{var ie=T.childContextTypes;if(ie!=null){var Ee=h.legacyContext,He=yo(S,T,Ee,ie);h.legacyContext=He,Lr(u,h,X),h.legacyContext=Ee;return}}Lr(u,h,X)}function Cl(u,h,S,T){nu(h,S);var B=dl(S,h.legacyContext),X=jl(S,T,B);Gs(X,S,T,B),ms(u,h,X,S,T),yi(h)}var ya={},$a={},Uu={},Wu={},Gr=!1,El=!1,ys=!1,bs=!1;function kl(u,h,S,T){var B;if(B=dl(S,h.legacyContext),va(h,S),S.prototype&&typeof S.prototype.render=="function"){var X=xn(S)||"Unknown";ya[X]||(o("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",X,X),ya[X]=!0)}var ie=$t(u,h,S,T,B),Ee=Ou();if(typeof ie=="object"&&ie!==null&&typeof ie.render=="function"&&ie.$$typeof===void 0){var He=xn(S)||"Unknown";$a[He]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",He,He,He),$a[He]=!0)}if(typeof ie=="object"&&ie!==null&&typeof ie.render=="function"&&ie.$$typeof===void 0){{var it=xn(S)||"Unknown";$a[it]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",it,it,it),$a[it]=!0)}Gs(ie,S,T,B),ms(u,h,ie,S,T)}else if(Tl(S),Ee){var pt=h.treeContext,Rt=1,mn=0;h.treeContext=Tu(pt,Rt,mn);try{Lr(u,h,ie)}finally{h.treeContext=pt}}else Lr(u,h,ie);yi(h)}function Tl(u){{if(u&&u.childContextTypes&&o("%s(...): childContextTypes cannot be defined on a function component.",u.displayName||u.name||"Component"),typeof u.getDerivedStateFromProps=="function"){var h=xn(u)||"Unknown";Wu[h]||(o("%s: Function components do not support getDerivedStateFromProps.",h),Wu[h]=!0)}if(typeof u.contextType=="object"&&u.contextType!==null){var S=xn(u)||"Unknown";Uu[S]||(o("%s: Function components do not support contextType.",S),Uu[S]=!0)}}}function qr(u,h){if(u&&u.defaultProps){var S=we({},h),T=u.defaultProps;for(var B in T)S[B]===void 0&&(S[B]=T[B]);return S}return h}function qo(u,h,S,T,B){va(h,S.render);var X=$t(u,h,S.render,T,B),ie=Ou();if(ie){var Ee=h.treeContext,He=1,it=0;h.treeContext=Tu(Ee,He,it);try{Lr(u,h,X)}finally{h.treeContext=Ee}}else Lr(u,h,X);yi(h)}function $u(u,h,S,T,B){var X=S.type,ie=qr(X,T);ws(u,h,X,ie,B)}function iu(u,h,S,T){S._context===void 0?S!==S.Consumer&&(bs||(bs=!0,o("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):S=S._context;var B=T.children;typeof B!="function"&&o("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var X=aa(S),ie=B(X);Lr(u,h,ie)}function ou(u,h,S,T){var B=S._context,X=T.value,ie=T.children,Ee;Ee=h.context,h.context=ss(B,X),Lr(u,h,ie),h.context=La(B),Ee!==h.context&&o("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Xr(u,h,S,T,B){mi(h,"Lazy");var X=S._payload,ie=S._init,Ee=ie(X),He=qr(Ee,T);ws(u,h,Ee,He,B),yi(h)}function ws(u,h,S,T,B){if(typeof S=="function")if(Hu(S)){Cl(u,h,S,T);return}else{kl(u,h,S,T);return}if(typeof S=="string"){xl(u,h,S,T);return}switch(S){case Or:case Bn:case Ae:case Me:case oe:{Lr(u,h,T.children);return}case St:{mi(h,"SuspenseList"),Lr(u,h,T.children),yi(h);return}case Jn:throw new Error("ReactDOMServer does not yet support scope components.");case Dt:{ru(u,h,T);return}}if(typeof S=="object"&&S!==null)switch(S.$$typeof){case et:{qo(u,h,S,T,B);return}case Wt:{$u(u,h,S,T,B);return}case nt:{ou(u,h,S,T);return}case rt:{iu(u,h,S,T);return}case Rn:{Xr(u,h,S,T);return}}var X="";throw(S===void 0||typeof S=="object"&&S!==null&&Object.keys(S).length===0)&&(X+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(S==null?S:typeof S)+"."+X))}function zu(u,h){typeof Symbol=="function"&&u[Symbol.toStringTag]==="Generator"&&(El||o("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),El=!0),u.entries===h&&(ys||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ys=!0)}function Lr(u,h,S){try{return Ss(u,h,S)}catch(T){throw typeof T=="object"&&T!==null&&typeof T.then=="function"||(Co=Co!==null?Co:Wa()),T}}function Ss(u,h,S){if(h.node=S,typeof S=="object"&&S!==null){switch(S.$$typeof){case z:{var T=S,B=T.type,X=T.props,ie=T.ref;ws(u,h,B,X,ie);return}case ae:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Rn:{var Ee=S,He=Ee._payload,it=Ee._init,pt;try{pt=it(He)}catch(Ts){throw typeof Ts=="object"&&Ts!==null&&typeof Ts.then=="function"&&mi(h,"Lazy"),Ts}Lr(u,h,pt);return}}if(jr(S)){Eo(u,h,S);return}var Rt=Sn(S);if(Rt){zu(S,Rt);var mn=Rt.call(S);if(mn){var Zn=mn.next();if(!Zn.done){var jn=[];do jn.push(Zn.value),Zn=mn.next();while(!Zn.done);Eo(u,h,jn);return}return}}var Gu=Object.prototype.toString.call(S);throw new Error("Objects are not valid as a React child (found: "+(Gu==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":Gu)+"). If you meant to render a collection of children, use an array instead.")}if(typeof S=="string"){var qu=h.blockedSegment;qu.lastPushedText=es(h.blockedSegment.chunks,S,u.responseState,qu.lastPushedText);return}if(typeof S=="number"){var Il=h.blockedSegment;Il.lastPushedText=es(h.blockedSegment.chunks,""+S,u.responseState,Il.lastPushedText);return}typeof S=="function"&&o("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function Eo(u,h,S){for(var T=S.length,B=0;B<T;B++){var X=h.treeContext;h.treeContext=Tu(X,T,B);try{ji(u,h,S[B])}finally{h.treeContext=X}}}function Vl(u,h,S){var T=h.blockedSegment,B=T.chunks.length,X=xo(u,B,null,T.formatContext,T.lastPushedText,!0);T.children.push(X),T.lastPushedText=!1;var ie=Ua(u,h.node,h.blockedBoundary,X,h.abortSet,h.legacyContext,h.context,h.treeContext);h.componentStack!==null&&(ie.componentStack=h.componentStack.parent);var Ee=ie.ping;S.then(Ee,Ee)}function ji(u,h,S){var T=h.blockedSegment.formatContext,B=h.legacyContext,X=h.context,ie=null;ie=h.componentStack;try{return Lr(u,h,S)}catch(Ee){if(So(),typeof Ee=="object"&&Ee!==null&&typeof Ee.then=="function"){Vl(u,h,Ee),h.blockedSegment.formatContext=T,h.legacyContext=B,h.context=X,Ws(X),h.componentStack=ie;return}else throw h.blockedSegment.formatContext=T,h.legacyContext=B,h.context=X,Ws(X),h.componentStack=ie,Ee}}function xs(u,h,S,T){var B=ma(u,T);if(h===null?vs(u,T):(h.pendingTasks--,h.forceClientRender||(h.forceClientRender=!0,h.errorDigest=B,ju(h,T),h.parentFlushed&&u.clientRenderedBoundaries.push(h))),u.allPendingTasks--,u.allPendingTasks===0){var X=u.onAllReady;X()}}function Yu(u){var h=this,S=u.blockedBoundary,T=u.blockedSegment;T.status=Fu,Es(h,S,T)}function au(u,h,S){var T=u.blockedBoundary,B=u.blockedSegment;if(B.status=Fu,T===null)h.allPendingTasks--,h.status!==no&&(h.status=no,h.destination!==null&&L(h.destination));else{if(T.pendingTasks--,!T.forceClientRender){T.forceClientRender=!0;var X=S===void 0?new Error("The render was aborted by the server without a reason."):S;T.errorDigest=h.onError(X);{var ie="The server did not finish this Suspense boundary: ";X&&typeof X.message=="string"?X=ie+X.message:X=ie+String(X);var Ee=Bi;Bi=u;try{ju(T,X)}finally{Bi=Ee}}T.parentFlushed&&h.clientRenderedBoundaries.push(T)}if(T.fallbackAbortableTasks.forEach(function(it){return au(it,h,S)}),T.fallbackAbortableTasks.clear(),h.allPendingTasks--,h.allPendingTasks===0){var He=h.onAllReady;He()}}}function Cs(u,h){if(h.chunks.length===0&&h.children.length===1&&h.children[0].boundary===null){var S=h.children[0];S.id=h.id,S.parentFlushed=!0,S.status===pa&&Cs(u,S)}else{var T=u.completedSegments;T.push(h)}}function Es(u,h,S){if(h===null){if(S.parentFlushed){if(u.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");u.completedRootSegment=S}if(u.pendingRootTasks--,u.pendingRootTasks===0){u.onShellError=Ha;var T=u.onShellReady;T()}}else if(h.pendingTasks--,!h.forceClientRender){if(h.pendingTasks===0)S.parentFlushed&&S.status===pa&&Cs(h,S),h.parentFlushed&&u.completedBoundaries.push(h),h.fallbackAbortableTasks.forEach(Yu,u),h.fallbackAbortableTasks.clear();else if(S.parentFlushed&&S.status===pa){Cs(h,S);var B=h.completedSegments;B.length===1&&h.parentFlushed&&u.partialBoundaries.push(h)}}if(u.allPendingTasks--,u.allPendingTasks===0){var X=u.onAllReady;X()}}function su(u,h){var S=h.blockedSegment;if(S.status===eu){Ws(h.context);var T=null;T=Bi,Bi=h;try{Lr(u,h,h.node),Ta(S.chunks,u.responseState,S.lastPushedText,S.textEmbedded),h.abortSet.delete(h),S.status=pa,Es(u,h.blockedBoundary,S)}catch(X){if(So(),typeof X=="object"&&X!==null&&typeof X.then=="function"){var B=h.ping;X.then(B,B)}else h.abortSet.delete(h),S.status=ga,xs(u,h.blockedBoundary,S,X)}finally{Bi=T}}}function Vu(u){if(u.status!==no){var h=us(),S=vi.current;vi.current=Sl;var T;T=ps.getCurrentStack,ps.getCurrentStack=Wa;var B=hs;Ba(u.responseState);try{var X=u.pingedTasks,ie;for(ie=0;ie<X.length;ie++){var Ee=X[ie];su(u,Ee)}X.splice(0,ie),u.destination!==null&&lu(u,u.destination)}catch(He){ma(u,He),vs(u,He)}finally{Ba(B),vi.current=S,ps.getCurrentStack=T,S===Sl&&Ws(h)}}}function za(u,h,S){switch(S.parentFlushed=!0,S.status){case eu:{var T=S.id=u.nextSegmentId++;return S.lastPushedText=!1,S.textEmbedded=!1,dn(h,u.responseState,T)}case pa:{S.status=ja;for(var B=!0,X=S.chunks,ie=0,Ee=S.children,He=0;He<Ee.length;He++){for(var it=Ee[He];ie<it.index;ie++)C(h,X[ie]);B=ks(u,h,it)}for(;ie<X.length-1;ie++)C(h,X[ie]);return ie<X.length&&(B=A(h,X[ie])),B}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ks(u,h,S){var T=S.boundary;if(T===null)return za(u,h,S);if(T.parentFlushed=!0,T.forceClientRender)return Y(h,u.responseState,T.errorDigest,T.errorMessage,T.errorComponentStack),za(u,h,S),xe(h,u.responseState);if(T.pendingTasks>0){T.rootSegmentID=u.nextSegmentId++,T.completedSegments.length>0&&u.partialBoundaries.push(T);var B=T.id=Wr(u.responseState);return te(h,u.responseState,B),za(u,h,S),Re(h,u.responseState)}else{if(T.byteSize>u.progressiveChunkSize)return T.rootSegmentID=u.nextSegmentId++,u.completedBoundaries.push(T),te(h,u.responseState,T.id),za(u,h,S),Re(h,u.responseState);_a(h,u.responseState);var X=T.completedSegments;if(X.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var ie=X[0];return ks(u,h,ie),le(h,u.responseState)}}function _l(u,h,S){return Qa(h,u.responseState,S.id,S.errorDigest,S.errorMessage,S.errorComponentStack)}function uu(u,h,S){return ve(h,u.responseState,S.formatContext,S.id),ks(u,h,S),De(h,S.formatContext)}function or(u,h,S){for(var T=S.completedSegments,B=0;B<T.length;B++){var X=T[B];Rl(u,h,S,X)}return T.length=0,Za(h,u.responseState,S.id,S.rootSegmentID)}function ro(u,h,S){for(var T=S.completedSegments,B=0;B<T.length;B++){var X=T[B];if(!Rl(u,h,S,X))return B++,T.splice(0,B),!1}return T.splice(0,B),!0}function Rl(u,h,S,T){if(T.status===ja)return!0;var B=T.id;if(B===-1){var X=T.id=S.rootSegmentID;if(X===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return uu(u,h,T)}else return uu(u,h,T),Nn(h,u.responseState,B)}function lu(u,h){try{var S=u.completedRootSegment;S!==null&&u.pendingRootTasks===0&&(ks(u,h,S),u.completedRootSegment=null,ia(h,u.responseState));var T=u.clientRenderedBoundaries,B;for(B=0;B<T.length;B++){var X=T[B];if(!_l(u,h,X)){u.destination=null,B++,T.splice(0,B);return}}T.splice(0,B);var ie=u.completedBoundaries;for(B=0;B<ie.length;B++){var Ee=ie[B];if(!or(u,h,Ee)){u.destination=null,B++,ie.splice(0,B);return}}ie.splice(0,B);var He=u.partialBoundaries;for(B=0;B<He.length;B++){var it=He[B];if(!ro(u,h,it)){u.destination=null,B++,He.splice(0,B);return}}He.splice(0,B);var pt=u.completedBoundaries;for(B=0;B<pt.length;B++){var Rt=pt[B];if(!or(u,h,Rt)){u.destination=null,B++,pt.splice(0,B);return}}pt.splice(0,B)}finally{u.allPendingTasks===0&&u.pingedTasks.length===0&&u.clientRenderedBoundaries.length===0&&u.completedBoundaries.length===0&&(u.abortableTasks.size!==0&&o("There was still abortable task at the root when we closed. This is a bug in React."),L(h))}}function cu(u){g(function(){return Vu(u)})}function c(u,h){if(u.status===Bu){u.status=no,re(h,u.fatalError);return}if(u.status!==no&&u.destination===null){u.destination=h;try{lu(u,h)}catch(S){ma(u,S),vs(u,S)}}}function p(u,h){try{var S=u.abortableTasks;S.forEach(function(T){return au(T,u,h)}),S.clear(),u.destination!==null&&lu(u,u.destination)}catch(T){ma(u,T),vs(u,T)}}function E(){}function D(u,h,S,T){var B=!1,X=null,ie="",Ee={push:function(Rt){return Rt!==null&&(ie+=Rt),!0},destroy:function(Rt){B=!0,X=Rt}},He=!1;function it(){He=!0}var pt=gs(u,Ji(S,h?h.identifierPrefix:void 0),nr(),1/0,E,void 0,it,void 0,void 0);if(cu(pt),p(pt,T),c(pt,Ee),B)throw X;if(!He)throw new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return ie}function $(u,h){return D(u,h,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function Z(u,h){return D(u,h,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function se(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function Te(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}Qu.renderToNodeStream=se,Qu.renderToStaticMarkup=Z,Qu.renderToStaticNodeStream=Te,Qu.renderToString=$,Qu.version=t}()),Qu}var xc={};/**
67
- * @license React
68
- * react-dom-server.browser.development.js
69
- *
70
- * Copyright (c) Facebook, Inc. and its affiliates.
71
- *
72
- * This source code is licensed under the MIT license found in the
73
- * LICENSE file in the root directory of this source tree.
74
- */var Eh;function vw(){return Eh||(Eh=1,process.env.NODE_ENV!=="production"&&function(){var i=Je,t="18.2.0",n=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function s(c){{for(var p=arguments.length,E=new Array(p>1?p-1:0),D=1;D<p;D++)E[D-1]=arguments[D];l("warn",c,E)}}function o(c){{for(var p=arguments.length,E=new Array(p>1?p-1:0),D=1;D<p;D++)E[D-1]=arguments[D];l("error",c,E)}}function l(c,p,E){{var D=n.ReactDebugCurrentFrame,$=D.getStackAddendum();$!==""&&(p+="%s",E=E.concat([$]));var Z=E.map(function(se){return String(se)});Z.unshift("Warning: "+p),Function.prototype.apply.call(console[c],console,Z)}}function g(c){c()}var k=512,C=null,A=0;function U(c){C=new Uint8Array(k),A=0}function L(c,p){if(p.length!==0){if(p.length>k){A>0&&(c.enqueue(new Uint8Array(C.buffer,0,A)),C=new Uint8Array(k),A=0),c.enqueue(p);return}var E=p,D=C.length-A;D<E.length&&(D===0?c.enqueue(C):(C.set(E.subarray(0,D),A),c.enqueue(C),E=E.subarray(D)),C=new Uint8Array(k),A=0),C.set(E,A),A+=E.length}}function q(c,p){return L(c,p),!0}function Q(c){C&&A>0&&(c.enqueue(new Uint8Array(C.buffer,0,A)),C=null,A=0)}function re(c){c.close()}var ne=new TextEncoder;function J(c){return ne.encode(c)}function F(c){return ne.encode(c)}function he(c,p){typeof c.error=="function"?c.error(p):c.close()}function ye(c){{var p=typeof Symbol=="function"&&Symbol.toStringTag,E=p&&c[Symbol.toStringTag]||c.constructor.name||"Object";return E}}function Ie(c){try{return de(c),!1}catch{return!0}}function de(c){return""+c}function je(c,p){if(Ie(c))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",p,ye(c)),de(c)}function m(c,p){if(Ie(c))return o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",p,ye(c)),de(c)}function Ue(c){if(Ie(c))return o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",ye(c)),de(c)}var ke=Object.prototype.hasOwnProperty,ht=0,Et=1,vt=2,dt=3,Ct=4,me=5,Le=6,Ve=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",qe=Ve+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",lt=new RegExp("^["+Ve+"]["+qe+"]*$"),Ce={},Pe={};function Ye(c){return ke.call(Pe,c)?!0:ke.call(Ce,c)?!1:lt.test(c)?(Pe[c]=!0,!0):(Ce[c]=!0,o("Invalid attribute name: `%s`",c),!1)}function Xe(c,p,E,D){if(E!==null&&E.type===ht)return!1;switch(typeof p){case"function":case"symbol":return!0;case"boolean":{if(D)return!1;if(E!==null)return!E.acceptsBooleans;var $=c.toLowerCase().slice(0,5);return $!=="data-"&&$!=="aria-"}default:return!1}}function Qe(c){return Ke.hasOwnProperty(c)?Ke[c]:null}function Ze(c,p,E,D,$,Z,se){this.acceptsBooleans=p===vt||p===dt||p===Ct,this.attributeName=D,this.attributeNamespace=$,this.mustUseProperty=E,this.propertyName=c,this.type=p,this.sanitizeURL=Z,this.removeEmptyString=se}var Ke={},ct=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ct.forEach(function(c){Ke[c]=new Ze(c,ht,!1,c,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(c){var p=c[0],E=c[1];Ke[p]=new Ze(p,Et,!1,E,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(c){Ke[c]=new Ze(c,vt,!1,c.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(c){Ke[c]=new Ze(c,vt,!1,c,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(c){Ke[c]=new Ze(c,dt,!1,c.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(c){Ke[c]=new Ze(c,dt,!0,c,null,!1,!1)}),["capture","download"].forEach(function(c){Ke[c]=new Ze(c,Ct,!1,c,null,!1,!1)}),["cols","rows","size","span"].forEach(function(c){Ke[c]=new Ze(c,Le,!1,c,null,!1,!1)}),["rowSpan","start"].forEach(function(c){Ke[c]=new Ze(c,me,!1,c.toLowerCase(),null,!1,!1)});var mt=/[\-\:]([a-z])/g,wt=function(c){return c[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(c){var p=c.replace(mt,wt);Ke[p]=new Ze(p,Et,!1,c,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(c){var p=c.replace(mt,wt);Ke[p]=new Ze(p,Et,!1,c,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(c){var p=c.replace(mt,wt);Ke[p]=new Ze(p,Et,!1,c,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(c){Ke[c]=new Ze(c,Et,!1,c.toLowerCase(),null,!1,!1)});var gt="xlinkHref";Ke[gt]=new Ze("xlinkHref",Et,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(c){Ke[c]=new Ze(c,Et,!1,c.toLowerCase(),null,!0,!0)});var Tt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Ge(c,p){return c+p.charAt(0).toUpperCase()+p.substring(1)}var Ft=["Webkit","ms","Moz","O"];Object.keys(Tt).forEach(function(c){Ft.forEach(function(p){Tt[Ge(p,c)]=Tt[c]})});var Bt={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Hn(c,p){Bt[p.type]||p.onChange||p.onInput||p.readOnly||p.disabled||p.value==null||o("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),p.onChange||p.readOnly||p.disabled||p.checked==null||o("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function ur(c,p){if(c.indexOf("-")===-1)return typeof p.is=="string";switch(c){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Un={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},bn={},xi=new RegExp("^(aria)-["+qe+"]*$"),mr=new RegExp("^(aria)[A-Z]["+qe+"]*$");function qn(c,p){{if(ke.call(bn,p)&&bn[p])return!0;if(mr.test(p)){var E="aria-"+p.slice(4).toLowerCase(),D=Un.hasOwnProperty(E)?E:null;if(D==null)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",p),bn[p]=!0,!0;if(p!==D)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",p,D),bn[p]=!0,!0}if(xi.test(p)){var $=p.toLowerCase(),Z=Un.hasOwnProperty($)?$:null;if(Z==null)return bn[p]=!0,!1;if(p!==Z)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",p,Z),bn[p]=!0,!0}}return!0}function rn(c,p){{var E=[];for(var D in p){var $=qn(c,D);$||E.push(D)}var Z=E.map(function(se){return"`"+se+"`"}).join(", ");E.length===1?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",Z,c):E.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",Z,c)}}function sn(c,p){ur(c,p)||rn(c,p)}var un=!1;function at(c,p){{if(c!=="input"&&c!=="textarea"&&c!=="select")return;p!=null&&p.value===null&&!un&&(un=!0,c==="select"&&p.multiple?o("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",c):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",c))}}var En={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Jr=function(){};{var nn={},Ci=/^on./,Ei=/^on[^A-Z]/,ki=new RegExp("^(aria)-["+qe+"]*$"),yr=new RegExp("^(aria)[A-Z]["+qe+"]*$");Jr=function(c,p,E,D){if(ke.call(nn,p)&&nn[p])return!0;var $=p.toLowerCase();if($==="onfocusin"||$==="onfocusout")return o("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),nn[p]=!0,!0;if(D!=null){var Z=D.registrationNameDependencies,se=D.possibleRegistrationNames;if(Z.hasOwnProperty(p))return!0;var Te=se.hasOwnProperty($)?se[$]:null;if(Te!=null)return o("Invalid event handler property `%s`. Did you mean `%s`?",p,Te),nn[p]=!0,!0;if(Ci.test(p))return o("Unknown event handler property `%s`. It will be ignored.",p),nn[p]=!0,!0}else if(Ci.test(p))return Ei.test(p)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",p),nn[p]=!0,!0;if(ki.test(p)||yr.test(p))return!0;if($==="innerhtml")return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),nn[p]=!0,!0;if($==="aria")return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),nn[p]=!0,!0;if($==="is"&&E!==null&&E!==void 0&&typeof E!="string")return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof E),nn[p]=!0,!0;if(typeof E=="number"&&isNaN(E))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",p),nn[p]=!0,!0;var u=Qe(p),h=u!==null&&u.type===ht;if(En.hasOwnProperty($)){var S=En[$];if(S!==p)return o("Invalid DOM property `%s`. Did you mean `%s`?",p,S),nn[p]=!0,!0}else if(!h&&p!==$)return o("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",p,$),nn[p]=!0,!0;return typeof E=="boolean"&&Xe(p,E,u,!1)?(E?o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',E,p,p,E,p):o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',E,p,p,E,p,p,p),nn[p]=!0,!0):h?!0:Xe(p,E,u,!1)?(nn[p]=!0,!1):((E==="false"||E==="true")&&u!==null&&u.type===dt&&(o("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",E,p,E==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',p,E),nn[p]=!0),!0)}}var Ln=function(c,p,E){{var D=[];for(var $ in p){var Z=Jr(c,$,p[$],E);Z||D.push($)}var se=D.map(function(Te){return"`"+Te+"`"}).join(", ");D.length===1?o("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",se,c):D.length>1&&o("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",se,c)}};function br(c,p,E){ur(c,p)||Ln(c,p,E)}var lr=function(){};{var Fr=/^(?:webkit|moz|o)[A-Z]/,Nr=/^-ms-/,so=/-(.)/g,Wn=/;\s*$/,Br={},Xn={},Vt=!1,Zr=!1,Ti=function(c){return c.replace(so,function(p,E){return E.toUpperCase()})},kn=function(c){Br.hasOwnProperty(c)&&Br[c]||(Br[c]=!0,o("Unsupported style property %s. Did you mean %s?",c,Ti(c.replace(Nr,"ms-"))))},ln=function(c){Br.hasOwnProperty(c)&&Br[c]||(Br[c]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",c,c.charAt(0).toUpperCase()+c.slice(1)))},Qr=function(c,p){Xn.hasOwnProperty(p)&&Xn[p]||(Xn[p]=!0,o(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,c,p.replace(Wn,"")))},ei=function(c,p){Vt||(Vt=!0,o("`NaN` is an invalid value for the `%s` css style property.",c))},fn=function(c,p){Zr||(Zr=!0,o("`Infinity` is an invalid value for the `%s` css style property.",c))};lr=function(c,p){c.indexOf("-")>-1?kn(c):Fr.test(c)?ln(c):Wn.test(p)&&Qr(c,p),typeof p=="number"&&(isNaN(p)?ei(c,p):isFinite(p)||fn(c,p))}}var $i=lr,cr=/["'&<>]/;function ti(c){Ue(c);var p=""+c,E=cr.exec(p);if(!E)return p;var D,$="",Z,se=0;for(Z=E.index;Z<p.length;Z++){switch(p.charCodeAt(Z)){case 34:D="&quot;";break;case 38:D="&amp;";break;case 39:D="&#x27;";break;case 60:D="&lt;";break;case 62:D="&gt;";break;default:continue}se!==Z&&($+=p.substring(se,Z)),se=Z+1,$+=D}return se!==Z?$+p.substring(se,Z):$}function on(c){return typeof c=="boolean"||typeof c=="number"?""+c:ti(c)}var li=/([A-Z])/g,Zo=/^ms-/;function Qo(c){return c.replace(li,"-$1").toLowerCase().replace(Zo,"-ms-")}var jr=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,zi=!1;function Yi(c){!zi&&jr.test(c)&&(zi=!0,o("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(c)))}var uo=Array.isArray;function ci(c){return uo(c)}var ni=F("<script>"),fi=F("<\/script>"),Vi=F('<script src="'),di=F('<script type="module" src="'),Hr=F('" async=""><\/script>');function fr(c){return Ue(c),(""+c).replace(wr,Ur)}var wr=/(<\/|<)(s)(cript)/gi,Ur=function(c,p,E,D){return""+p+(E==="s"?"\\u0073":"\\u0053")+D};function Sr(c,p,E,D,$){var Z=c===void 0?"":c,se=p===void 0?ni:F('<script nonce="'+on(p)+'">'),Te=[];if(E!==void 0&&Te.push(se,J(fr(E)),fi),D!==void 0)for(var u=0;u<D.length;u++)Te.push(Vi,J(on(D[u])),Hr);if($!==void 0)for(var h=0;h<$.length;h++)Te.push(di,J(on($[h])),Hr);return{bootstrapChunks:Te,startInlineScript:se,placeholderPrefix:F(Z+"P:"),segmentPrefix:F(Z+"S:"),boundaryPrefix:Z+"B:",idPrefix:Z,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Mn=0,cn=1,xr=2,dr=3,Tn=4,ri=5,Cr=6,Wr=7;function $n(c,p){return{insertionMode:c,selectedValue:p}}function $r(c){var p=c==="http://www.w3.org/2000/svg"?xr:c==="http://www.w3.org/1998/Math/MathML"?dr:Mn;return $n(p,null)}function zr(c,p,E){switch(p){case"select":return $n(cn,E.value!=null?E.value:E.defaultValue);case"svg":return $n(xr,null);case"math":return $n(dr,null);case"foreignObject":return $n(cn,null);case"table":return $n(Tn,null);case"thead":case"tbody":case"tfoot":return $n(ri,null);case"colgroup":return $n(Wr,null);case"tr":return $n(Cr,null)}return c.insertionMode>=Tn||c.insertionMode===Mn?$n(cn,null):c}var _i=null;function Cn(c){var p=c.nextSuspenseID++;return F(c.boundaryPrefix+p.toString(16))}function hr(c,p,E){var D=c.idPrefix,$=":"+D+"R"+p;return E>0&&($+="H"+E.toString(32)),$+":"}function er(c){return on(c)}var lo=F("<!-- -->");function Ri(c,p,E,D){return p===""?D:(D&&c.push(lo),c.push(J(er(p))),!0)}function Er(c,p,E,D){E&&D&&c.push(lo)}var y=new Map;function I(c){var p=y.get(c);if(p!==void 0)return p;var E=F(on(Qo(c)));return y.set(c,E),E}var H=F(' style="'),G=F(":"),Se=F(";");function ce(c,p,E){if(typeof E!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var D=!0;for(var $ in E)if(ke.call(E,$)){var Z=E[$];if(!(Z==null||typeof Z=="boolean"||Z==="")){var se=void 0,Te=void 0,u=$.indexOf("--")===0;u?(se=J(on($)),m(Z,$),Te=J(on((""+Z).trim()))):($i($,Z),se=I($),typeof Z=="number"?Z!==0&&!ke.call(Tt,$)?Te=J(Z+"px"):Te=J(""+Z):(m(Z,$),Te=J(on((""+Z).trim())))),D?(D=!1,c.push(H,se,G,Te)):c.push(Se,se,G,Te)}}D||c.push(st)}var _e=F(" "),$e=F('="'),st=F('"'),yt=F('=""');function ut(c,p,E,D){switch(E){case"style":{ce(c,p,D);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(E.length>2&&(E[0]==="o"||E[0]==="O")&&(E[1]==="n"||E[1]==="N"))){var $=Qe(E);if($!==null){switch(typeof D){case"function":case"symbol":return;case"boolean":if(!$.acceptsBooleans)return}var Z=$.attributeName,se=J(Z);switch($.type){case dt:D&&c.push(_e,se,yt);return;case Ct:D===!0?c.push(_e,se,yt):D===!1||c.push(_e,se,$e,J(on(D)),st);return;case me:isNaN(D)||c.push(_e,se,$e,J(on(D)),st);break;case Le:!isNaN(D)&&D>=1&&c.push(_e,se,$e,J(on(D)),st);break;default:$.sanitizeURL&&(je(D,Z),D=""+D,Yi(D)),c.push(_e,se,$e,J(on(D)),st)}}else if(Ye(E)){switch(typeof D){case"function":case"symbol":return;case"boolean":{var Te=E.toLowerCase().slice(0,5);if(Te!=="data-"&&Te!=="aria-")return}}c.push(_e,J(E),$e,J(on(D)),st)}}}var jt=F(">"),zn=F("/>");function Fn(c,p,E){if(p!=null){if(E!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof p!="object"||!("__html"in p))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var D=p.__html;D!=null&&(Ue(D),c.push(J(""+D)))}}var wn=!1,kr=!1,Kn=!1,Ii=!1,ii=!1,Oi=!1,Tr=!1;function co(c,p){{var E=c[p];if(E!=null){var D=ci(E);c.multiple&&!D?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.",p):!c.multiple&&D&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",p)}}}function Ja(c,p,E){Hn("select",p),co(p,"value"),co(p,"defaultValue"),p.value!==void 0&&p.defaultValue!==void 0&&!Kn&&(o("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Kn=!0),c.push(tr("select"));var D=null,$=null;for(var Z in p)if(ke.call(p,Z)){var se=p[Z];if(se==null)continue;switch(Z){case"children":D=se;break;case"dangerouslySetInnerHTML":$=se;break;case"defaultValue":case"value":break;default:ut(c,E,Z,se);break}}return c.push(jt),Fn(c,$,D),D}function ea(c){var p="";return i.Children.forEach(c,function(E){E!=null&&(p+=E,!ii&&typeof E!="string"&&typeof E!="number"&&(ii=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),p}var ta=F(' selected=""');function na(c,p,E,D){var $=D.selectedValue;c.push(tr("option"));var Z=null,se=null,Te=null,u=null;for(var h in p)if(ke.call(p,h)){var S=p[h];if(S==null)continue;switch(h){case"children":Z=S;break;case"selected":Te=S,Tr||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Tr=!0);break;case"dangerouslySetInnerHTML":u=S;break;case"value":se=S;default:ut(c,E,h,S);break}}if($!=null){var T;if(se!==null?(je(se,"value"),T=""+se):(u!==null&&(Oi||(Oi=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),T=ea(Z)),ci($))for(var B=0;B<$.length;B++){je($[B],"value");var X=""+$[B];if(X===T){c.push(ta);break}}else je($,"select.value"),""+$===T&&c.push(ta)}else Te&&c.push(ta);return c.push(jt),Fn(c,u,Z),Z}function ra(c,p,E){Hn("input",p),p.checked!==void 0&&p.defaultChecked!==void 0&&!kr&&(o("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",p.type),kr=!0),p.value!==void 0&&p.defaultValue!==void 0&&!wn&&(o("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",p.type),wn=!0),c.push(tr("input"));var D=null,$=null,Z=null,se=null;for(var Te in p)if(ke.call(p,Te)){var u=p[Te];if(u==null)continue;switch(Te){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":se=u;break;case"defaultValue":$=u;break;case"checked":Z=u;break;case"value":D=u;break;default:ut(c,E,Te,u);break}}return Z!==null?ut(c,E,"checked",Z):se!==null&&ut(c,E,"checked",se),D!==null?ut(c,E,"value",D):$!==null&&ut(c,E,"value",$),c.push(zn),null}function oi(c,p,E){Hn("textarea",p),p.value!==void 0&&p.defaultValue!==void 0&&!Ii&&(o("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Ii=!0),c.push(tr("textarea"));var D=null,$=null,Z=null;for(var se in p)if(ke.call(p,se)){var Te=p[se];if(Te==null)continue;switch(se){case"children":Z=Te;break;case"value":D=Te;break;case"defaultValue":$=Te;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:ut(c,E,se,Te);break}}if(D===null&&$!==null&&(D=$),c.push(jt),Z!=null){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),D!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(ci(Z)){if(Z.length>1)throw new Error("<textarea> can only have at most one child.");Ue(Z[0]),D=""+Z[0]}Ue(Z),D=""+Z}return typeof D=="string"&&D[0]===`
75
- `&&c.push(hi),D!==null&&(je(D,"value"),c.push(J(er(""+D)))),null}function fo(c,p,E,D){c.push(tr(E));for(var $ in p)if(ke.call(p,$)){var Z=p[$];if(Z==null)continue;switch($){case"children":case"dangerouslySetInnerHTML":throw new Error(E+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:ut(c,D,$,Z);break}}return c.push(zn),null}function Po(c,p,E){c.push(tr("menuitem"));for(var D in p)if(ke.call(p,D)){var $=p[D];if($==null)continue;switch(D){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:ut(c,E,D,$);break}}return c.push(jt),null}function en(c,p,E){c.push(tr("title"));var D=null;for(var $ in p)if(ke.call(p,$)){var Z=p[$];if(Z==null)continue;switch($){case"children":D=Z;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:ut(c,E,$,Z);break}}c.push(jt);{var se=Array.isArray(D)&&D.length<2?D[0]||null:D;Array.isArray(D)&&D.length>1?o("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):se!=null&&se.$$typeof!=null?o("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):se!=null&&typeof se!="string"&&typeof se!="number"&&o("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return D}function Gt(c,p,E,D){c.push(tr(E));var $=null,Z=null;for(var se in p)if(ke.call(p,se)){var Te=p[se];if(Te==null)continue;switch(se){case"children":$=Te;break;case"dangerouslySetInnerHTML":Z=Te;break;default:ut(c,D,se,Te);break}}return c.push(jt),Fn(c,Z,$),typeof $=="string"?(c.push(J(er($))),null):$}function Nt(c,p,E,D){c.push(tr(E));var $=null,Z=null;for(var se in p)if(ke.call(p,se)){var Te=p[se];if(Te==null)continue;switch(se){case"children":$=Te;break;case"dangerouslySetInnerHTML":Z=Te;break;case"style":ce(c,D,Te);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Ye(se)&&typeof Te!="function"&&typeof Te!="symbol"&&c.push(_e,J(se),$e,J(on(Te)),st);break}}return c.push(jt),Fn(c,Z,$),$}var hi=F(`
76
- `);function Yr(c,p,E,D){c.push(tr(E));var $=null,Z=null;for(var se in p)if(ke.call(p,se)){var Te=p[se];if(Te==null)continue;switch(se){case"children":$=Te;break;case"dangerouslySetInnerHTML":Z=Te;break;default:ut(c,D,se,Te);break}}if(c.push(jt),Z!=null){if($!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof Z!="object"||!("__html"in Z))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var u=Z.__html;u!=null&&(typeof u=="string"&&u.length>0&&u[0]===`
77
- `?c.push(hi,J(u)):(Ue(u),c.push(J(""+u))))}return typeof $=="string"&&$[0]===`
78
- `&&c.push(hi),$}var ho=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ai=new Map;function tr(c){var p=ai.get(c);if(p===void 0){if(!ho.test(c))throw new Error("Invalid tag: "+c);p=F("<"+c),ai.set(c,p)}return p}var ia=F("<!DOCTYPE html>");function Lo(c,p,E,D,$){switch(sn(p,E),at(p,E),br(p,E,null),!E.suppressContentEditableWarning&&E.contentEditable&&E.children!=null&&o("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),$.insertionMode!==xr&&$.insertionMode!==dr&&p.indexOf("-")===-1&&typeof E.is!="string"&&p.toLowerCase()!==p&&o("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",p),p){case"select":return Ja(c,E,D);case"option":return na(c,E,D,$);case"textarea":return oi(c,E,D);case"input":return ra(c,E,D);case"menuitem":return Po(c,E,D);case"title":return en(c,E,D);case"listing":case"pre":return Yr(c,E,p,D);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return fo(c,E,p,D);case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Gt(c,E,p,D);case"html":return $.insertionMode===Mn&&c.push(ia),Gt(c,E,p,D);default:return p.indexOf("-")===-1&&typeof E.is!="string"?Gt(c,E,p,D):Nt(c,E,p,D)}}var xa=F("</"),dn=F(">");function po(c,p,E){switch(p){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:c.push(xa,J(p),dn)}}function si(c,p){for(var E=p.bootstrapChunks,D=0;D<E.length-1;D++)L(c,E[D]);return D<E.length?q(c,E[D]):!0}var Ca=F('<template id="'),Gi=F('"></template>');function Yn(c,p,E){L(c,Ca),L(c,p.placeholderPrefix);var D=J(E.toString(16));return L(c,D),q(c,Gi)}var a=F("<!--$-->"),f=F('<!--$?--><template id="'),v=F('"></template>'),w=F("<!--$!-->"),R=F("<!--/$-->"),O=F("<template"),M=F('"'),te=F(' data-dgst="'),K=F(' data-msg="'),fe=F(' data-stck="'),Re=F("></template>");function Oe(c,p){return q(c,a)}function be(c,p,E){if(L(c,f),E===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return L(c,E),q(c,v)}function Fe(c,p,E,D,$){var Z;return Z=q(c,w),L(c,O),E&&(L(c,te),L(c,J(on(E))),L(c,M)),D&&(L(c,K),L(c,J(on(D))),L(c,M)),$&&(L(c,fe),L(c,J(on($))),L(c,M)),Z=q(c,Re),Z}function tt(c,p){return q(c,R)}function _t(c,p){return q(c,R)}function Ot(c,p){return q(c,R)}var _n=F('<div hidden id="'),an=F('">'),_r=F("</div>"),Rr=F('<svg aria-hidden="true" style="display:none" id="'),Ht=F('">'),Ir=F("</svg>"),Ut=F('<math aria-hidden="true" style="display:none" id="'),Zt=F('">'),qi=F("</math>"),Xi=F('<table hidden id="'),pr=F('">'),b=F("</table>"),_=F('<table hidden><tbody id="'),N=F('">'),V=F("</tbody></table>"),ge=F('<table hidden><tr id="'),ve=F('">'),De=F("</tr></table>"),We=F('<table hidden><colgroup id="'),ft=F('">'),Mt=F("</colgroup></table>");function kt(c,p,E,D){switch(E.insertionMode){case Mn:case cn:return L(c,_n),L(c,p.segmentPrefix),L(c,J(D.toString(16))),q(c,an);case xr:return L(c,Rr),L(c,p.segmentPrefix),L(c,J(D.toString(16))),q(c,Ht);case dr:return L(c,Ut),L(c,p.segmentPrefix),L(c,J(D.toString(16))),q(c,Zt);case Tn:return L(c,Xi),L(c,p.segmentPrefix),L(c,J(D.toString(16))),q(c,pr);case ri:return L(c,_),L(c,p.segmentPrefix),L(c,J(D.toString(16))),q(c,N);case Cr:return L(c,ge),L(c,p.segmentPrefix),L(c,J(D.toString(16))),q(c,ve);case Wr:return L(c,We),L(c,p.segmentPrefix),L(c,J(D.toString(16))),q(c,ft);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function bt(c,p){switch(p.insertionMode){case Mn:case cn:return q(c,_r);case xr:return q(c,Ir);case dr:return q(c,qi);case Tn:return q(c,b);case ri:return q(c,V);case Cr:return q(c,De);case Wr:return q(c,Mt);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var Dn="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",vn='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',Nn='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',Mo=F(Dn+';$RS("'),Ea=F('$RS("'),Fo=F('","'),Vr=F('")<\/script>');function Za(c,p,E){L(c,p.startInlineScript),p.sentCompleteSegmentFunction?L(c,Ea):(p.sentCompleteSegmentFunction=!0,L(c,Mo)),L(c,p.segmentPrefix);var D=J(E.toString(16));return L(c,D),L(c,Fo),L(c,p.placeholderPrefix),L(c,D),q(c,Vr)}var Ki=F(vn+';$RC("'),ka=F('$RC("'),No=F('","'),ui=F('")<\/script>');function Di(c,p,E,D){if(L(c,p.startInlineScript),p.sentCompleteBoundaryFunction?L(c,ka):(p.sentCompleteBoundaryFunction=!0,L(c,Ki)),E===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var $=J(D.toString(16));return L(c,E),L(c,No),L(c,p.segmentPrefix),L(c,$),q(c,ui)}var Qa=F(Nn+';$RX("'),mu=F('$RX("'),Bo=F('"'),Ji=F(")<\/script>"),nr=F(",");function es(c,p,E,D,$,Z){if(L(c,p.startInlineScript),p.sentClientRenderFunction?L(c,mu):(p.sentClientRenderFunction=!0,L(c,Qa)),E===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return L(c,E),L(c,Bo),(D||$||Z)&&(L(c,nr),L(c,J(_a(D||"")))),($||Z)&&(L(c,nr),L(c,J(_a($||"")))),Z&&(L(c,nr),L(c,J(_a(Z)))),q(c,Ji)}var Ta=/[<\u2028\u2029]/g;function _a(c){var p=JSON.stringify(c);return p.replace(Ta,function(E){switch(E){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Y=Object.assign,le=Symbol.for("react.element"),xe=Symbol.for("react.portal"),we=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),ae=Symbol.for("react.profiler"),oe=Symbol.for("react.provider"),Ae=Symbol.for("react.context"),Me=Symbol.for("react.forward_ref"),nt=Symbol.for("react.suspense"),rt=Symbol.for("react.suspense_list"),et=Symbol.for("react.memo"),Dt=Symbol.for("react.lazy"),St=Symbol.for("react.scope"),Wt=Symbol.for("react.debug_trace_mode"),Rn=Symbol.for("react.legacy_hidden"),Jn=Symbol.for("react.default_value"),Bn=Symbol.iterator,Or="@@iterator";function Ai(c){if(c===null||typeof c!="object")return null;var p=Bn&&c[Bn]||c[Or];return typeof p=="function"?p:null}function At(c,p,E){var D=c.displayName;if(D)return D;var $=p.displayName||p.name||"";return $!==""?E+"("+$+")":E}function fl(c){return c.displayName||"Context"}function Sn(c){if(c==null)return null;if(typeof c.tag=="number"&&o("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c;switch(c){case we:return"Fragment";case xe:return"Portal";case ae:return"Profiler";case z:return"StrictMode";case nt:return"Suspense";case rt:return"SuspenseList"}if(typeof c=="object")switch(c.$$typeof){case Ae:var p=c;return fl(p)+".Consumer";case oe:var E=c;return fl(E._context)+".Provider";case Me:return At(c,c.render,"ForwardRef");case et:var D=c.displayName||null;return D!==null?D:Sn(c.type)||"Memo";case Dt:{var $=c,Z=$._payload,se=$._init;try{return Sn(se(Z))}catch{return null}}}return null}var jo=0,yu,xn,Ra,Ia,Zi,Oa,js;function Da(){}Da.__reactDisabledLog=!0;function bu(){{if(jo===0){yu=console.log,xn=console.info,Ra=console.warn,Ia=console.error,Zi=console.group,Oa=console.groupCollapsed,js=console.groupEnd;var c={configurable:!0,enumerable:!0,value:Da,writable:!0};Object.defineProperties(console,{info:c,log:c,warn:c,error:c,group:c,groupCollapsed:c,groupEnd:c})}jo++}}function wu(){{if(jo--,jo===0){var c={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Y({},c,{value:yu}),info:Y({},c,{value:xn}),warn:Y({},c,{value:Ra}),error:Y({},c,{value:Ia}),group:Y({},c,{value:Zi}),groupCollapsed:Y({},c,{value:Oa}),groupEnd:Y({},c,{value:js})})}jo<0&&o("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var oa=n.ReactCurrentDispatcher,Hs;function go(c,p,E){{if(Hs===void 0)try{throw Error()}catch($){var D=$.stack.trim().match(/\n( *(at )?)/);Hs=D&&D[1]||""}return`
79
- `+Hs+c}}var Pi=!1,vo;{var ts=typeof WeakMap=="function"?WeakMap:Map;vo=new ts}function ns(c,p){if(!c||Pi)return"";{var E=vo.get(c);if(E!==void 0)return E}var D;Pi=!0;var $=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Z;Z=oa.current,oa.current=null,bu();try{if(p){var se=function(){throw Error()};if(Object.defineProperty(se.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(se,[])}catch(ie){D=ie}Reflect.construct(c,[],se)}else{try{se.call()}catch(ie){D=ie}c.call(se.prototype)}}else{try{throw Error()}catch(ie){D=ie}c()}}catch(ie){if(ie&&D&&typeof ie.stack=="string"){for(var Te=ie.stack.split(`
80
- `),u=D.stack.split(`
81
- `),h=Te.length-1,S=u.length-1;h>=1&&S>=0&&Te[h]!==u[S];)S--;for(;h>=1&&S>=0;h--,S--)if(Te[h]!==u[S]){if(h!==1||S!==1)do if(h--,S--,S<0||Te[h]!==u[S]){var T=`
82
- `+Te[h].replace(" at new "," at ");return c.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",c.displayName)),typeof c=="function"&&vo.set(c,T),T}while(h>=1&&S>=0);break}}}finally{Pi=!1,oa.current=Z,wu(),Error.prepareStackTrace=$}var B=c?c.displayName||c.name:"",X=B?go(B):"";return typeof c=="function"&&vo.set(c,X),X}function Us(c,p,E){return ns(c,!0)}function rs(c,p,E){return ns(c,!1)}function Aa(c){var p=c.prototype;return!!(p&&p.isReactComponent)}function is(c,p,E){if(c==null)return"";if(typeof c=="function")return ns(c,Aa(c));if(typeof c=="string")return go(c);switch(c){case nt:return go("Suspense");case rt:return go("SuspenseList")}if(typeof c=="object")switch(c.$$typeof){case Me:return rs(c.render);case et:return is(c.type,p,E);case Dt:{var D=c,$=D._payload,Z=D._init;try{return is(Z($),p,E)}catch{}}}return""}var Su={},xu=n.ReactDebugCurrentFrame;function Pa(c){if(c){var p=c._owner,E=is(c.type,c._source,p?p.type:null);xu.setExtraStackFrame(E)}else xu.setExtraStackFrame(null)}function Cu(c,p,E,D,$){{var Z=Function.call.bind(ke);for(var se in c)if(Z(c,se)){var Te=void 0;try{if(typeof c[se]!="function"){var u=Error((D||"React class")+": "+E+" type `"+se+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof c[se]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}Te=c[se](p,se,D,E,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(h){Te=h}Te&&!(Te instanceof Error)&&(Pa($),o("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",D||"React class",E,se,typeof Te),Pa(null)),Te instanceof Error&&!(Te.message in Su)&&(Su[Te.message]=!0,Pa($),o("Failed %s type: %s",E,Te.message),Pa(null))}}}var In;In={};var On={};Object.freeze(On);function Eu(c,p){{var E=c.contextTypes;if(!E)return On;var D={};for(var $ in E)D[$]=p[$];{var Z=Sn(c)||"Unknown";Cu(E,D,"context",Z)}return D}}function ku(c,p,E,D){{if(typeof c.getChildContext!="function"){{var $=Sn(p)||"Unknown";In[$]||(In[$]=!0,o("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",$,$))}return E}var Z=c.getChildContext();for(var se in Z)if(!(se in D))throw new Error((Sn(p)||"Unknown")+'.getChildContext(): key "'+se+'" is not defined in childContextTypes.');{var Te=Sn(p)||"Unknown";Cu(D,Z,"child context",Te)}return Y({},E,Z)}}var mo;mo={};var dl=null,yo=null;function Li(c){c.context._currentValue=c.parentValue}function os(c){c.context._currentValue=c.value}function Dr(c,p){if(c!==p){Li(c);var E=c.parent,D=p.parent;if(E===null){if(D!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(D===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");Dr(E,D)}os(p)}}function Ho(c){Li(c);var p=c.parent;p!==null&&Ho(p)}function Uo(c){var p=c.parent;p!==null&&Uo(p),os(c)}function Wo(c,p){Li(c);var E=c.parent;if(E===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");E.depth===p.depth?Dr(E,p):Wo(E,p)}function $o(c,p){var E=p.parent;if(E===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");c.depth===E.depth?Dr(c,E):$o(c,E),os(p)}function as(c){var p=yo,E=c;p!==E&&(p===null?Uo(E):E===null?Ho(p):p.depth===E.depth?Dr(p,E):p.depth>E.depth?Wo(p,E):$o(p,E),yo=E)}function hl(c,p){var E;E=c._currentValue,c._currentValue=p,c._currentRenderer!==void 0&&c._currentRenderer!==null&&c._currentRenderer!==mo&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),c._currentRenderer=mo;var D=yo,$={parent:D,depth:D===null?0:D.depth+1,context:c,parentValue:E,value:p};return yo=$,$}function pl(c){var p=yo;if(p===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");p.context!==c&&o("The parent context is not the expected context. This is probably a bug in React.");{var E=p.parentValue;E===Jn?p.context._currentValue=p.context._defaultValue:p.context._currentValue=E,c._currentRenderer!==void 0&&c._currentRenderer!==null&&c._currentRenderer!==mo&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),c._currentRenderer=mo}return yo=p.parent}function Ws(){return yo}function ss(c){var p=c._currentValue;return p}function La(c){return c._reactInternals}function us(c,p){c._reactInternals=p}var aa={},j={},zo,sa,Ar,zt,$s,Ma,ls,Qi,Fa;{zo=new Set,sa=new Set,Ar=new Set,ls=new Set,zt=new Set,Qi=new Set,Fa=new Set;var zs=new Set;Ma=function(c,p){if(!(c===null||typeof c=="function")){var E=p+"_"+c;zs.has(E)||(zs.add(E),o("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",p,c))}},$s=function(c,p){if(p===void 0){var E=Sn(c)||"Component";zt.has(E)||(zt.add(E),o("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",E))}}}function Ys(c,p){{var E=c.constructor,D=E&&Sn(E)||"ReactClass",$=D+"."+p;if(aa[$])return;o(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
83
-
84
- Please check the code for the %s component.`,p,p,D),aa[$]=!0}}var Vs={isMounted:function(c){return!1},enqueueSetState:function(c,p,E){var D=La(c);D.queue===null?Ys(c,"setState"):(D.queue.push(p),E!=null&&Ma(E,"setState"))},enqueueReplaceState:function(c,p,E){var D=La(c);D.replace=!0,D.queue=[p],E!=null&&Ma(E,"setState")},enqueueForceUpdate:function(c,p){var E=La(c);E.queue===null?Ys(c,"forceUpdate"):p!=null&&Ma(p,"setState")}};function gl(c,p,E,D,$){var Z=E($,D);$s(p,Z);var se=Z==null?D:Y({},D,Z);return se}function eo(c,p,E){var D=On,$=c.contextType;if("contextType"in c){var Z=$===null||$!==void 0&&$.$$typeof===Ae&&$._context===void 0;if(!Z&&!Fa.has(c)){Fa.add(c);var se="";$===void 0?se=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof $!="object"?se=" However, it is set to a "+typeof $+".":$.$$typeof===oe?se=" Did you accidentally pass the Context.Provider instead?":$._context!==void 0?se=" Did you accidentally pass the Context.Consumer instead?":se=" However, it is set to an object with keys {"+Object.keys($).join(", ")+"}.",o("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Sn(c)||"Component",se)}}typeof $=="object"&&$!==null?D=ss($):D=E;var Te=new c(p,D);{if(typeof c.getDerivedStateFromProps=="function"&&(Te.state===null||Te.state===void 0)){var u=Sn(c)||"Component";zo.has(u)||(zo.add(u),o("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",u,Te.state===null?"null":"undefined",u))}if(typeof c.getDerivedStateFromProps=="function"||typeof Te.getSnapshotBeforeUpdate=="function"){var h=null,S=null,T=null;if(typeof Te.componentWillMount=="function"&&Te.componentWillMount.__suppressDeprecationWarning!==!0?h="componentWillMount":typeof Te.UNSAFE_componentWillMount=="function"&&(h="UNSAFE_componentWillMount"),typeof Te.componentWillReceiveProps=="function"&&Te.componentWillReceiveProps.__suppressDeprecationWarning!==!0?S="componentWillReceiveProps":typeof Te.UNSAFE_componentWillReceiveProps=="function"&&(S="UNSAFE_componentWillReceiveProps"),typeof Te.componentWillUpdate=="function"&&Te.componentWillUpdate.__suppressDeprecationWarning!==!0?T="componentWillUpdate":typeof Te.UNSAFE_componentWillUpdate=="function"&&(T="UNSAFE_componentWillUpdate"),h!==null||S!==null||T!==null){var B=Sn(c)||"Component",X=typeof c.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Ar.has(B)||(Ar.add(B),o(`Unsafe legacy lifecycles will not be called for components using new component APIs.
85
-
86
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
87
-
88
- The above lifecycles should be removed. Learn more about this warning here:
89
- https://reactjs.org/link/unsafe-component-lifecycles`,B,X,h!==null?`
90
- `+h:"",S!==null?`
91
- `+S:"",T!==null?`
92
- `+T:""))}}}return Te}function vl(c,p,E){{var D=Sn(p)||"Component",$=c.render;$||(p.prototype&&typeof p.prototype.render=="function"?o("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",D):o("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",D)),c.getInitialState&&!c.getInitialState.isReactClassApproved&&!c.state&&o("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",D),c.getDefaultProps&&!c.getDefaultProps.isReactClassApproved&&o("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",D),c.propTypes&&o("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",D),c.contextType&&o("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",D),c.contextTypes&&o("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",D),p.contextType&&p.contextTypes&&!Qi.has(p)&&(Qi.add(p),o("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",D)),typeof c.componentShouldUpdate=="function"&&o("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",D),p.prototype&&p.prototype.isPureReactComponent&&typeof c.shouldComponentUpdate<"u"&&o("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Sn(p)||"A pure component"),typeof c.componentDidUnmount=="function"&&o("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",D),typeof c.componentDidReceiveProps=="function"&&o("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",D),typeof c.componentWillRecieveProps=="function"&&o("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",D),typeof c.UNSAFE_componentWillRecieveProps=="function"&&o("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",D);var Z=c.props!==E;c.props!==void 0&&Z&&o("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",D,D),c.defaultProps&&o("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",D,D),typeof c.getSnapshotBeforeUpdate=="function"&&typeof c.componentDidUpdate!="function"&&!sa.has(p)&&(sa.add(p),o("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Sn(p))),typeof c.getDerivedStateFromProps=="function"&&o("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",D),typeof c.getDerivedStateFromError=="function"&&o("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",D),typeof p.getSnapshotBeforeUpdate=="function"&&o("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",D);var se=c.state;se&&(typeof se!="object"||ci(se))&&o("%s.state: must be set to an object or null",D),typeof c.getChildContext=="function"&&typeof p.childContextTypes!="object"&&o("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",D)}}function Bl(c,p){var E=p.state;if(typeof p.componentWillMount=="function"){if(p.componentWillMount.__suppressDeprecationWarning!==!0){var D=Sn(c)||"Unknown";j[D]||(s(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
93
-
94
- * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
95
-
96
- Please update the following components: %s`,D),j[D]=!0)}p.componentWillMount()}typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),E!==p.state&&(o("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Sn(c)||"Component"),Vs.enqueueReplaceState(p,p.state,null))}function jl(c,p,E,D){if(c.queue!==null&&c.queue.length>0){var $=c.queue,Z=c.replace;if(c.queue=null,c.replace=!1,Z&&$.length===1)p.state=$[0];else{for(var se=Z?$[0]:p.state,Te=!0,u=Z?1:0;u<$.length;u++){var h=$[u],S=typeof h=="function"?h.call(p,se,E,D):h;S!=null&&(Te?(Te=!1,se=Y({},se,S)):Y(se,S))}p.state=se}}else c.queue=null}function ml(c,p,E,D){vl(c,p,E);var $=c.state!==void 0?c.state:null;c.updater=Vs,c.props=E,c.state=$;var Z={queue:[],replace:!1};us(c,Z);var se=p.contextType;if(typeof se=="object"&&se!==null?c.context=ss(se):c.context=D,c.state===E){var Te=Sn(p)||"Component";ls.has(Te)||(ls.add(Te),o("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",Te))}var u=p.getDerivedStateFromProps;typeof u=="function"&&(c.state=gl(c,p,u,$,E)),typeof p.getDerivedStateFromProps!="function"&&typeof c.getSnapshotBeforeUpdate!="function"&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function")&&(Bl(p,c),jl(Z,c,E,D))}var Hl={id:1,overflow:""};function bo(c){var p=c.overflow,E=c.id,D=E&~Ul(E);return D.toString(32)+p}function Gs(c,p,E){var D=c.id,$=c.overflow,Z=qs(D)-1,se=D&~(1<<Z),Te=E+1,u=qs(p)+Z;if(u>30){var h=Z-Z%5,S=(1<<h)-1,T=(se&S).toString(32),B=se>>h,X=Z-h,ie=qs(p)+X,Ee=Te<<X,He=Ee|B,it=T+$;return{id:1<<ie|He,overflow:it}}else{var pt=Te<<Z,Rt=pt|se,mn=$;return{id:1<<u|Rt,overflow:mn}}}function qs(c){return 32-Tu(c)}function Ul(c){return 1<<qs(c)-1}var Tu=Math.clz32?Math.clz32:Wl,Xs=Math.log,ua=Math.LN2;function Wl(c){var p=c>>>0;return p===0?32:31-(Xs(p)/ua|0)|0}function $l(c,p){return c===p&&(c!==0||1/c===1/p)||c!==c&&p!==p}var Mi=typeof Object.is=="function"?Object.is:$l,wo=null,_u=null,Ks=null,Kt=null,la=!1,Yo=!1,tn=0,pi=null,ca=0,Na=25,An=!1,gi;function fa(){if(wo===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
97
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
98
- 2. You might be breaking the Rules of Hooks
99
- 3. You might have more than one copy of React in the same app
100
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return An&&o("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),wo}function Fi(c,p){if(p===null)return o("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",gi),!1;c.length!==p.length&&o(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
101
-
102
- Previous: %s
103
- Incoming: %s`,gi,"["+c.join(", ")+"]","["+p.join(", ")+"]");for(var E=0;E<p.length&&E<c.length;E++)if(!Mi(c[E],p[E]))return!1;return!0}function da(){if(ca>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function rr(){return Kt===null?Ks===null?(la=!1,Ks=Kt=da()):(la=!0,Kt=Ks):Kt.next===null?(la=!1,Kt=Kt.next=da()):(la=!0,Kt=Kt.next),Kt}function Ru(c,p){wo=p,_u=c,An=!1,tn=0}function Vo(c,p,E,D){for(;Yo;)Yo=!1,tn=0,ca+=1,Kt=null,E=c(p,D);return Iu(),E}function Pr(){var c=tn!==0;return c}function Iu(){An=!1,wo=null,_u=null,Yo=!1,Ks=null,ca=0,pi=null,Kt=null}function yl(c){return An&&o("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),ss(c)}function Ou(c){return gi="useContext",fa(),ss(c)}function So(c,p){return typeof p=="function"?p(c):p}function Go(c){return gi="useState",Du(So,c)}function Du(c,p,E){if(c!==So&&(gi="useReducer"),wo=fa(),Kt=rr(),la){var D=Kt.queue,$=D.dispatch;if(pi!==null){var Z=pi.get(D);if(Z!==void 0){pi.delete(D);var se=Kt.memoizedState,Te=Z;do{var u=Te.action;An=!0,se=c(se,u),An=!1,Te=Te.next}while(Te!==null);return Kt.memoizedState=se,[se,$]}}return[Kt.memoizedState,$]}else{An=!0;var h;c===So?h=typeof p=="function"?p():p:h=E!==void 0?E(p):p,An=!1,Kt.memoizedState=h;var S=Kt.queue={last:null,dispatch:null},T=S.dispatch=Au.bind(null,wo,S);return[Kt.memoizedState,T]}}function Js(c,p){wo=fa(),Kt=rr();var E=p===void 0?null:p;if(Kt!==null){var D=Kt.memoizedState;if(D!==null&&E!==null){var $=D[1];if(Fi(E,$))return D[0]}}An=!0;var Z=c();return An=!1,Kt.memoizedState=[Z,E],Z}function Zs(c){wo=fa(),Kt=rr();var p=Kt.memoizedState;if(p===null){var E={current:c};return Object.seal(E),Kt.memoizedState=E,E}else return p}function bl(c,p){gi="useLayoutEffect",o("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function Au(c,p,E){if(ca>=Na)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(c===wo){Yo=!0;var D={action:E,next:null};pi===null&&(pi=new Map);var $=pi.get(p);if($===void 0)pi.set(p,D);else{for(var Z=$;Z.next!==null;)Z=Z.next;Z.next=D}}}function ir(c,p){return Js(function(){return c},p)}function Pu(c,p,E){return fa(),p(c._source)}function wl(c,p,E){if(E===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return E()}function to(c){return fa(),c}function Lu(){throw new Error("startTransition cannot be called during server rendering.")}function Qs(){return fa(),[!1,Lu]}function ha(){var c=_u,p=bo(c.treeContext),E=fs;if(E===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var D=tn++;return hr(E,p,D)}function cs(){}var gr={readContext:yl,useContext:Ou,useMemo:Js,useReducer:Du,useRef:Zs,useState:Go,useInsertionEffect:cs,useLayoutEffect:bl,useCallback:ir,useImperativeHandle:cs,useEffect:cs,useDebugValue:cs,useDeferredValue:to,useTransition:Qs,useId:ha,useMutableSource:Pu,useSyncExternalStore:wl},fs=null;function ds(c){fs=c}function Sl(c){try{var p="",E=c;do{switch(E.tag){case 0:p+=go(E.type,null,null);break;case 1:p+=rs(E.type,null,null);break;case 2:p+=Us(E.type,null,null);break}E=E.parent}while(E);return p}catch(D){return`
104
- Error generating stack: `+D.message+`
105
- `+D.stack}}var hs=n.ReactCurrentDispatcher,Ba=n.ReactDebugCurrentFrame,Mu=0,vi=1,ps=2,eu=3,pa=4,ja=0,Fu=1,ga=2,Nu=12800;function Bu(c){return console.error(c),null}function no(){}function zl(c,p,E,D,$,Z,se,Te,u){var h=[],S=new Set,T={destination:null,responseState:p,progressiveChunkSize:D===void 0?Nu:D,status:ja,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:S,pingedTasks:h,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:$===void 0?Bu:$,onAllReady:Z===void 0?no:Z,onShellReady:se===void 0?no:se,onShellError:Te===void 0?no:Te,onFatalError:u===void 0?no:u},B=tu(T,0,null,E,!1,!1);B.parentFlushed=!0;var X=gs(T,c,null,B,S,On,dl,Hl);return h.push(X),T}function Yl(c,p){var E=c.pingedTasks;E.push(p),E.length===1&&g(function(){return Cs(c)})}function Ha(c,p){return{id:_i,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:p,errorDigest:null}}function gs(c,p,E,D,$,Z,se,Te){c.allPendingTasks++,E===null?c.pendingRootTasks++:E.pendingTasks++;var u={node:p,ping:function(){return Yl(c,u)},blockedBoundary:E,blockedSegment:D,abortSet:$,legacyContext:Z,context:se,treeContext:Te};return u.componentStack=null,$.add(u),u}function tu(c,p,E,D,$,Z){return{status:Mu,id:-1,index:p,parentFlushed:!1,chunks:[],children:[],formatContext:D,boundary:E,lastPushedText:$,textEmbedded:Z}}var Ni=null;function Ua(){return Ni===null||Ni.componentStack===null?"":Sl(Ni.componentStack)}function xo(c,p){c.componentStack={tag:0,parent:c.componentStack,type:p}}function Bi(c,p){c.componentStack={tag:1,parent:c.componentStack,type:p}}function Wa(c,p){c.componentStack={tag:2,parent:c.componentStack,type:p}}function mi(c){c.componentStack===null?o("Unexpectedly popped too many stack frames. This is a bug in React."):c.componentStack=c.componentStack.parent}var va=null;function nu(c,p){{var E;typeof p=="string"?E=p:p&&typeof p.message=="string"?E=p.message:E=String(p);var D=va||Ua();va=null,c.errorMessage=E,c.errorComponentStack=D}}function yi(c,p){var E=c.onError(p);if(E!=null&&typeof E!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof E+'" instead');return E}function Co(c,p){var E=c.onShellError;E(p);var D=c.onFatalError;D(p),c.destination!==null?(c.status=ga,he(c.destination,p)):(c.status=Fu,c.fatalError=p)}function ju(c,p,E){xo(p,"Suspense");var D=p.blockedBoundary,$=p.blockedSegment,Z=E.fallback,se=E.children,Te=new Set,u=Ha(c,Te),h=$.chunks.length,S=tu(c,h,u,$.formatContext,!1,!1);$.children.push(S),$.lastPushedText=!1;var T=tu(c,0,null,$.formatContext,!1,!1);T.parentFlushed=!0,p.blockedBoundary=u,p.blockedSegment=T;try{if(Ss(c,p,se),Er(T.chunks,c.responseState,T.lastPushedText,T.textEmbedded),T.status=vi,xs(u,T),u.pendingTasks===0){mi(p);return}}catch(X){T.status=pa,u.forceClientRender=!0,u.errorDigest=yi(c,X),nu(u,X)}finally{p.blockedBoundary=D,p.blockedSegment=$}var B=gs(c,Z,D,S,Te,p.legacyContext,p.context,p.treeContext);B.componentStack=p.componentStack,c.pingedTasks.push(B),mi(p)}function ma(c,p,E,D){xo(p,E);var $=p.blockedSegment,Z=Lo($.chunks,E,D,c.responseState,$.formatContext);$.lastPushedText=!1;var se=$.formatContext;$.formatContext=zr(se,E,D),Ss(c,p,Z),$.formatContext=se,po($.chunks,E),$.lastPushedText=!1,mi(p)}function vs(c){return c.prototype&&c.prototype.isReactComponent}function ru(c,p,E,D,$){var Z={};Ru(p,Z);var se=E(D,$);return Vo(E,D,se,$)}function xl(c,p,E,D,$){var Z=E.render();E.props!==$&&($a||o("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Sn(D)||"a component"),$a=!0);{var se=D.childContextTypes;if(se!=null){var Te=p.legacyContext,u=ku(E,D,Te,se);p.legacyContext=u,Xr(c,p,Z),p.legacyContext=Te;return}}Xr(c,p,Z)}function Hu(c,p,E,D){Wa(p,E);var $=Eu(E,p.legacyContext),Z=eo(E,D,$);ml(Z,E,D,$),xl(c,p,Z,E,D),mi(p)}var $t={},ms={},Cl={},ya={},$a=!1,Uu=!1,Wu=!1,Gr=!1;function El(c,p,E,D){var $;if($=Eu(E,p.legacyContext),Bi(p,E),E.prototype&&typeof E.prototype.render=="function"){var Z=Sn(E)||"Unknown";$t[Z]||(o("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",Z,Z),$t[Z]=!0)}var se=ru(c,p,E,D,$),Te=Pr();if(typeof se=="object"&&se!==null&&typeof se.render=="function"&&se.$$typeof===void 0){var u=Sn(E)||"Unknown";ms[u]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",u,u,u),ms[u]=!0)}if(typeof se=="object"&&se!==null&&typeof se.render=="function"&&se.$$typeof===void 0){{var h=Sn(E)||"Unknown";ms[h]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",h,h,h),ms[h]=!0)}ml(se,E,D,$),xl(c,p,se,E,D)}else if(ys(E),Te){var S=p.treeContext,T=1,B=0;p.treeContext=Gs(S,T,B);try{Xr(c,p,se)}finally{p.treeContext=S}}else Xr(c,p,se);mi(p)}function ys(c){{if(c&&c.childContextTypes&&o("%s(...): childContextTypes cannot be defined on a function component.",c.displayName||c.name||"Component"),typeof c.getDerivedStateFromProps=="function"){var p=Sn(c)||"Unknown";ya[p]||(o("%s: Function components do not support getDerivedStateFromProps.",p),ya[p]=!0)}if(typeof c.contextType=="object"&&c.contextType!==null){var E=Sn(c)||"Unknown";Cl[E]||(o("%s: Function components do not support contextType.",E),Cl[E]=!0)}}}function bs(c,p){if(c&&c.defaultProps){var E=Y({},p),D=c.defaultProps;for(var $ in D)E[$]===void 0&&(E[$]=D[$]);return E}return p}function kl(c,p,E,D,$){Bi(p,E.render);var Z=ru(c,p,E.render,D,$),se=Pr();if(se){var Te=p.treeContext,u=1,h=0;p.treeContext=Gs(Te,u,h);try{Xr(c,p,Z)}finally{p.treeContext=Te}}else Xr(c,p,Z);mi(p)}function Tl(c,p,E,D,$){var Z=E.type,se=bs(Z,D);iu(c,p,Z,se,$)}function qr(c,p,E,D){E._context===void 0?E!==E.Consumer&&(Gr||(Gr=!0,o("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):E=E._context;var $=D.children;typeof $!="function"&&o("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var Z=ss(E),se=$(Z);Xr(c,p,se)}function qo(c,p,E,D){var $=E._context,Z=D.value,se=D.children,Te;Te=p.context,p.context=hl($,Z),Xr(c,p,se),p.context=pl($),Te!==p.context&&o("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function $u(c,p,E,D,$){xo(p,"Lazy");var Z=E._payload,se=E._init,Te=se(Z),u=bs(Te,D);iu(c,p,Te,u,$),mi(p)}function iu(c,p,E,D,$){if(typeof E=="function")if(vs(E)){Hu(c,p,E,D);return}else{El(c,p,E,D);return}if(typeof E=="string"){ma(c,p,E,D);return}switch(E){case Rn:case Wt:case z:case ae:case we:{Xr(c,p,D.children);return}case rt:{xo(p,"SuspenseList"),Xr(c,p,D.children),mi(p);return}case St:throw new Error("ReactDOMServer does not yet support scope components.");case nt:{ju(c,p,D);return}}if(typeof E=="object"&&E!==null)switch(E.$$typeof){case Me:{kl(c,p,E,D,$);return}case et:{Tl(c,p,E,D,$);return}case oe:{qo(c,p,E,D);return}case Ae:{qr(c,p,E,D);return}case Dt:{$u(c,p,E,D);return}}var Z="";throw(E===void 0||typeof E=="object"&&E!==null&&Object.keys(E).length===0)&&(Z+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(E==null?E:typeof E)+"."+Z))}function ou(c,p){typeof Symbol=="function"&&c[Symbol.toStringTag]==="Generator"&&(Uu||o("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Uu=!0),c.entries===p&&(Wu||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Wu=!0)}function Xr(c,p,E){try{return ws(c,p,E)}catch(D){throw typeof D=="object"&&D!==null&&typeof D.then=="function"||(va=va!==null?va:Ua()),D}}function ws(c,p,E){if(p.node=E,typeof E=="object"&&E!==null){switch(E.$$typeof){case le:{var D=E,$=D.type,Z=D.props,se=D.ref;iu(c,p,$,Z,se);return}case xe:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Dt:{var Te=E,u=Te._payload,h=Te._init,S;try{S=h(u)}catch(pt){throw typeof pt=="object"&&pt!==null&&typeof pt.then=="function"&&xo(p,"Lazy"),pt}Xr(c,p,S);return}}if(ci(E)){zu(c,p,E);return}var T=Ai(E);if(T){ou(E,T);var B=T.call(E);if(B){var X=B.next();if(!X.done){var ie=[];do ie.push(X.value),X=B.next();while(!X.done);zu(c,p,ie);return}return}}var Ee=Object.prototype.toString.call(E);throw new Error("Objects are not valid as a React child (found: "+(Ee==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":Ee)+"). If you meant to render a collection of children, use an array instead.")}if(typeof E=="string"){var He=p.blockedSegment;He.lastPushedText=Ri(p.blockedSegment.chunks,E,c.responseState,He.lastPushedText);return}if(typeof E=="number"){var it=p.blockedSegment;it.lastPushedText=Ri(p.blockedSegment.chunks,""+E,c.responseState,it.lastPushedText);return}typeof E=="function"&&o("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function zu(c,p,E){for(var D=E.length,$=0;$<D;$++){var Z=p.treeContext;p.treeContext=Gs(Z,D,$);try{Ss(c,p,E[$])}finally{p.treeContext=Z}}}function Lr(c,p,E){var D=p.blockedSegment,$=D.chunks.length,Z=tu(c,$,null,D.formatContext,D.lastPushedText,!0);D.children.push(Z),D.lastPushedText=!1;var se=gs(c,p.node,p.blockedBoundary,Z,p.abortSet,p.legacyContext,p.context,p.treeContext);p.componentStack!==null&&(se.componentStack=p.componentStack.parent);var Te=se.ping;E.then(Te,Te)}function Ss(c,p,E){var D=p.blockedSegment.formatContext,$=p.legacyContext,Z=p.context,se=null;se=p.componentStack;try{return Xr(c,p,E)}catch(Te){if(Iu(),typeof Te=="object"&&Te!==null&&typeof Te.then=="function"){Lr(c,p,Te),p.blockedSegment.formatContext=D,p.legacyContext=$,p.context=Z,as(Z),p.componentStack=se;return}else throw p.blockedSegment.formatContext=D,p.legacyContext=$,p.context=Z,as(Z),p.componentStack=se,Te}}function Eo(c,p,E,D){var $=yi(c,D);if(p===null?Co(c,D):(p.pendingTasks--,p.forceClientRender||(p.forceClientRender=!0,p.errorDigest=$,nu(p,D),p.parentFlushed&&c.clientRenderedBoundaries.push(p))),c.allPendingTasks--,c.allPendingTasks===0){var Z=c.onAllReady;Z()}}function Vl(c){var p=this,E=c.blockedBoundary,D=c.blockedSegment;D.status=eu,Yu(p,E,D)}function ji(c,p,E){var D=c.blockedBoundary,$=c.blockedSegment;if($.status=eu,D===null)p.allPendingTasks--,p.status!==ga&&(p.status=ga,p.destination!==null&&re(p.destination));else{if(D.pendingTasks--,!D.forceClientRender){D.forceClientRender=!0;var Z=E===void 0?new Error("The render was aborted by the server without a reason."):E;D.errorDigest=p.onError(Z);{var se="The server did not finish this Suspense boundary: ";Z&&typeof Z.message=="string"?Z=se+Z.message:Z=se+String(Z);var Te=Ni;Ni=c;try{nu(D,Z)}finally{Ni=Te}}D.parentFlushed&&p.clientRenderedBoundaries.push(D)}if(D.fallbackAbortableTasks.forEach(function(h){return ji(h,p,E)}),D.fallbackAbortableTasks.clear(),p.allPendingTasks--,p.allPendingTasks===0){var u=p.onAllReady;u()}}}function xs(c,p){if(p.chunks.length===0&&p.children.length===1&&p.children[0].boundary===null){var E=p.children[0];E.id=p.id,E.parentFlushed=!0,E.status===vi&&xs(c,E)}else{var D=c.completedSegments;D.push(p)}}function Yu(c,p,E){if(p===null){if(E.parentFlushed){if(c.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");c.completedRootSegment=E}if(c.pendingRootTasks--,c.pendingRootTasks===0){c.onShellError=no;var D=c.onShellReady;D()}}else if(p.pendingTasks--,!p.forceClientRender){if(p.pendingTasks===0)E.parentFlushed&&E.status===vi&&xs(p,E),p.parentFlushed&&c.completedBoundaries.push(p),p.fallbackAbortableTasks.forEach(Vl,c),p.fallbackAbortableTasks.clear();else if(E.parentFlushed&&E.status===vi){xs(p,E);var $=p.completedSegments;$.length===1&&p.parentFlushed&&c.partialBoundaries.push(p)}}if(c.allPendingTasks--,c.allPendingTasks===0){var Z=c.onAllReady;Z()}}function au(c,p){var E=p.blockedSegment;if(E.status===Mu){as(p.context);var D=null;D=Ni,Ni=p;try{Xr(c,p,p.node),Er(E.chunks,c.responseState,E.lastPushedText,E.textEmbedded),p.abortSet.delete(p),E.status=vi,Yu(c,p.blockedBoundary,E)}catch(Z){if(Iu(),typeof Z=="object"&&Z!==null&&typeof Z.then=="function"){var $=p.ping;Z.then($,$)}else p.abortSet.delete(p),E.status=pa,Eo(c,p.blockedBoundary,E,Z)}finally{Ni=D}}}function Cs(c){if(c.status!==ga){var p=Ws(),E=hs.current;hs.current=gr;var D;D=Ba.getCurrentStack,Ba.getCurrentStack=Ua;var $=fs;ds(c.responseState);try{var Z=c.pingedTasks,se;for(se=0;se<Z.length;se++){var Te=Z[se];au(c,Te)}Z.splice(0,se),c.destination!==null&&or(c,c.destination)}catch(u){yi(c,u),Co(c,u)}finally{ds($),hs.current=E,Ba.getCurrentStack=D,E===gr&&as(p)}}}function Es(c,p,E){switch(E.parentFlushed=!0,E.status){case Mu:{var D=E.id=c.nextSegmentId++;return E.lastPushedText=!1,E.textEmbedded=!1,Yn(p,c.responseState,D)}case vi:{E.status=ps;for(var $=!0,Z=E.chunks,se=0,Te=E.children,u=0;u<Te.length;u++){for(var h=Te[u];se<h.index;se++)L(p,Z[se]);$=su(c,p,h)}for(;se<Z.length-1;se++)L(p,Z[se]);return se<Z.length&&($=q(p,Z[se])),$}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function su(c,p,E){var D=E.boundary;if(D===null)return Es(c,p,E);if(D.parentFlushed=!0,D.forceClientRender)return Fe(p,c.responseState,D.errorDigest,D.errorMessage,D.errorComponentStack),Es(c,p,E),Ot(p,c.responseState);if(D.pendingTasks>0){D.rootSegmentID=c.nextSegmentId++,D.completedSegments.length>0&&c.partialBoundaries.push(D);var $=D.id=Cn(c.responseState);return be(p,c.responseState,$),Es(c,p,E),_t(p,c.responseState)}else{if(D.byteSize>c.progressiveChunkSize)return D.rootSegmentID=c.nextSegmentId++,c.completedBoundaries.push(D),be(p,c.responseState,D.id),Es(c,p,E),_t(p,c.responseState);Oe(p,c.responseState);var Z=D.completedSegments;if(Z.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var se=Z[0];return su(c,p,se),tt(p,c.responseState)}}function Vu(c,p,E){return es(p,c.responseState,E.id,E.errorDigest,E.errorMessage,E.errorComponentStack)}function za(c,p,E){return kt(p,c.responseState,E.formatContext,E.id),su(c,p,E),bt(p,E.formatContext)}function ks(c,p,E){for(var D=E.completedSegments,$=0;$<D.length;$++){var Z=D[$];uu(c,p,E,Z)}return D.length=0,Di(p,c.responseState,E.id,E.rootSegmentID)}function _l(c,p,E){for(var D=E.completedSegments,$=0;$<D.length;$++){var Z=D[$];if(!uu(c,p,E,Z))return $++,D.splice(0,$),!1}return D.splice(0,$),!0}function uu(c,p,E,D){if(D.status===ps)return!0;var $=D.id;if($===-1){var Z=D.id=E.rootSegmentID;if(Z===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return za(c,p,D)}else return za(c,p,D),Za(p,c.responseState,$)}function or(c,p){U();try{var E=c.completedRootSegment;E!==null&&c.pendingRootTasks===0&&(su(c,p,E),c.completedRootSegment=null,si(p,c.responseState));var D=c.clientRenderedBoundaries,$;for($=0;$<D.length;$++){var Z=D[$];Vu(c,p,Z)}D.splice(0,$);var se=c.completedBoundaries;for($=0;$<se.length;$++){var Te=se[$];ks(c,p,Te)}se.splice(0,$),Q(p),U(p);var u=c.partialBoundaries;for($=0;$<u.length;$++){var h=u[$];if(!_l(c,p,h)){c.destination=null,$++,u.splice(0,$);return}}u.splice(0,$);var S=c.completedBoundaries;for($=0;$<S.length;$++){var T=S[$];ks(c,p,T)}S.splice(0,$)}finally{Q(p),c.allPendingTasks===0&&c.pingedTasks.length===0&&c.clientRenderedBoundaries.length===0&&c.completedBoundaries.length===0&&(c.abortableTasks.size!==0&&o("There was still abortable task at the root when we closed. This is a bug in React."),re(p))}}function ro(c){g(function(){return Cs(c)})}function Rl(c,p){if(c.status===Fu){c.status=ga,he(p,c.fatalError);return}if(c.status!==ga&&c.destination===null){c.destination=p;try{or(c,p)}catch(E){yi(c,E),Co(c,E)}}}function lu(c,p){try{var E=c.abortableTasks;E.forEach(function(D){return ji(D,c,p)}),E.clear(),c.destination!==null&&or(c,c.destination)}catch(D){yi(c,D),Co(c,D)}}function cu(c,p){return new Promise(function(E,D){var $,Z,se=new Promise(function(B,X){Z=B,$=X});function Te(){var B=new ReadableStream({type:"bytes",pull:function(X){Rl(h,X)},cancel:function(X){lu(h)}},{highWaterMark:0});B.allReady=se,E(B)}function u(B){se.catch(function(){}),D(B)}var h=zl(c,Sr(p?p.identifierPrefix:void 0,p?p.nonce:void 0,p?p.bootstrapScriptContent:void 0,p?p.bootstrapScripts:void 0,p?p.bootstrapModules:void 0),$r(p?p.namespaceURI:void 0),p?p.progressiveChunkSize:void 0,p?p.onError:void 0,Z,Te,u,$);if(p&&p.signal){var S=p.signal,T=function(){lu(h,S.reason),S.removeEventListener("abort",T)};S.addEventListener("abort",T)}ro(h)})}xc.renderToReadableStream=cu,xc.version=t}()),xc}var il,Vf;process.env.NODE_ENV==="production"?(il=hw(),Vf=pw()):(il=gw(),Vf=vw());il.version;var mw=il.renderToString;il.renderToStaticMarkup;il.renderToNodeStream;il.renderToStaticNodeStream;Vf.renderToReadableStream;var Gf={exports:{}},Cc={exports:{}},pn={};/** @license React v16.13.1
106
- * react-is.production.min.js
107
- *
108
- * Copyright (c) Facebook, Inc. and its affiliates.
109
- *
110
- * This source code is licensed under the MIT license found in the
111
- * LICENSE file in the root directory of this source tree.
112
- */var kh;function yw(){if(kh)return pn;kh=1;var i=typeof Symbol=="function"&&Symbol.for,t=i?Symbol.for("react.element"):60103,n=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,o=i?Symbol.for("react.strict_mode"):60108,l=i?Symbol.for("react.profiler"):60114,g=i?Symbol.for("react.provider"):60109,k=i?Symbol.for("react.context"):60110,C=i?Symbol.for("react.async_mode"):60111,A=i?Symbol.for("react.concurrent_mode"):60111,U=i?Symbol.for("react.forward_ref"):60112,L=i?Symbol.for("react.suspense"):60113,q=i?Symbol.for("react.suspense_list"):60120,Q=i?Symbol.for("react.memo"):60115,re=i?Symbol.for("react.lazy"):60116,ne=i?Symbol.for("react.block"):60121,J=i?Symbol.for("react.fundamental"):60117,F=i?Symbol.for("react.responder"):60118,he=i?Symbol.for("react.scope"):60119;function ye(de){if(typeof de=="object"&&de!==null){var je=de.$$typeof;switch(je){case t:switch(de=de.type,de){case C:case A:case s:case l:case o:case L:return de;default:switch(de=de&&de.$$typeof,de){case k:case U:case re:case Q:case g:return de;default:return je}}case n:return je}}}function Ie(de){return ye(de)===A}return pn.AsyncMode=C,pn.ConcurrentMode=A,pn.ContextConsumer=k,pn.ContextProvider=g,pn.Element=t,pn.ForwardRef=U,pn.Fragment=s,pn.Lazy=re,pn.Memo=Q,pn.Portal=n,pn.Profiler=l,pn.StrictMode=o,pn.Suspense=L,pn.isAsyncMode=function(de){return Ie(de)||ye(de)===C},pn.isConcurrentMode=Ie,pn.isContextConsumer=function(de){return ye(de)===k},pn.isContextProvider=function(de){return ye(de)===g},pn.isElement=function(de){return typeof de=="object"&&de!==null&&de.$$typeof===t},pn.isForwardRef=function(de){return ye(de)===U},pn.isFragment=function(de){return ye(de)===s},pn.isLazy=function(de){return ye(de)===re},pn.isMemo=function(de){return ye(de)===Q},pn.isPortal=function(de){return ye(de)===n},pn.isProfiler=function(de){return ye(de)===l},pn.isStrictMode=function(de){return ye(de)===o},pn.isSuspense=function(de){return ye(de)===L},pn.isValidElementType=function(de){return typeof de=="string"||typeof de=="function"||de===s||de===A||de===l||de===o||de===L||de===q||typeof de=="object"&&de!==null&&(de.$$typeof===re||de.$$typeof===Q||de.$$typeof===g||de.$$typeof===k||de.$$typeof===U||de.$$typeof===J||de.$$typeof===F||de.$$typeof===he||de.$$typeof===ne)},pn.typeOf=ye,pn}var gn={};/** @license React v16.13.1
113
- * react-is.development.js
114
- *
115
- * Copyright (c) Facebook, Inc. and its affiliates.
116
- *
117
- * This source code is licensed under the MIT license found in the
118
- * LICENSE file in the root directory of this source tree.
119
- */var Th;function bw(){return Th||(Th=1,process.env.NODE_ENV!=="production"&&function(){var i=typeof Symbol=="function"&&Symbol.for,t=i?Symbol.for("react.element"):60103,n=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,o=i?Symbol.for("react.strict_mode"):60108,l=i?Symbol.for("react.profiler"):60114,g=i?Symbol.for("react.provider"):60109,k=i?Symbol.for("react.context"):60110,C=i?Symbol.for("react.async_mode"):60111,A=i?Symbol.for("react.concurrent_mode"):60111,U=i?Symbol.for("react.forward_ref"):60112,L=i?Symbol.for("react.suspense"):60113,q=i?Symbol.for("react.suspense_list"):60120,Q=i?Symbol.for("react.memo"):60115,re=i?Symbol.for("react.lazy"):60116,ne=i?Symbol.for("react.block"):60121,J=i?Symbol.for("react.fundamental"):60117,F=i?Symbol.for("react.responder"):60118,he=i?Symbol.for("react.scope"):60119;function ye(Ge){return typeof Ge=="string"||typeof Ge=="function"||Ge===s||Ge===A||Ge===l||Ge===o||Ge===L||Ge===q||typeof Ge=="object"&&Ge!==null&&(Ge.$$typeof===re||Ge.$$typeof===Q||Ge.$$typeof===g||Ge.$$typeof===k||Ge.$$typeof===U||Ge.$$typeof===J||Ge.$$typeof===F||Ge.$$typeof===he||Ge.$$typeof===ne)}function Ie(Ge){if(typeof Ge=="object"&&Ge!==null){var Ft=Ge.$$typeof;switch(Ft){case t:var Bt=Ge.type;switch(Bt){case C:case A:case s:case l:case o:case L:return Bt;default:var Hn=Bt&&Bt.$$typeof;switch(Hn){case k:case U:case re:case Q:case g:return Hn;default:return Ft}}case n:return Ft}}}var de=C,je=A,m=k,Ue=g,ke=t,ht=U,Et=s,vt=re,dt=Q,Ct=n,me=l,Le=o,Ve=L,qe=!1;function lt(Ge){return qe||(qe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Ce(Ge)||Ie(Ge)===C}function Ce(Ge){return Ie(Ge)===A}function Pe(Ge){return Ie(Ge)===k}function Ye(Ge){return Ie(Ge)===g}function Xe(Ge){return typeof Ge=="object"&&Ge!==null&&Ge.$$typeof===t}function Qe(Ge){return Ie(Ge)===U}function Ze(Ge){return Ie(Ge)===s}function Ke(Ge){return Ie(Ge)===re}function ct(Ge){return Ie(Ge)===Q}function mt(Ge){return Ie(Ge)===n}function wt(Ge){return Ie(Ge)===l}function gt(Ge){return Ie(Ge)===o}function Tt(Ge){return Ie(Ge)===L}gn.AsyncMode=de,gn.ConcurrentMode=je,gn.ContextConsumer=m,gn.ContextProvider=Ue,gn.Element=ke,gn.ForwardRef=ht,gn.Fragment=Et,gn.Lazy=vt,gn.Memo=dt,gn.Portal=Ct,gn.Profiler=me,gn.StrictMode=Le,gn.Suspense=Ve,gn.isAsyncMode=lt,gn.isConcurrentMode=Ce,gn.isContextConsumer=Pe,gn.isContextProvider=Ye,gn.isElement=Xe,gn.isForwardRef=Qe,gn.isFragment=Ze,gn.isLazy=Ke,gn.isMemo=ct,gn.isPortal=mt,gn.isProfiler=wt,gn.isStrictMode=gt,gn.isSuspense=Tt,gn.isValidElementType=ye,gn.typeOf=Ie}()),gn}var _h;function Zp(){return _h||(_h=1,process.env.NODE_ENV==="production"?Cc.exports=yw():Cc.exports=bw()),Cc.exports}/*
120
- object-assign
121
- (c) Sindre Sorhus
122
- @license MIT
123
- */var Sf,Rh;function ww(){if(Rh)return Sf;Rh=1;var i=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function s(l){if(l==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(l)}function o(){try{if(!Object.assign)return!1;var l=new String("abc");if(l[5]="de",Object.getOwnPropertyNames(l)[0]==="5")return!1;for(var g={},k=0;k<10;k++)g["_"+String.fromCharCode(k)]=k;var C=Object.getOwnPropertyNames(g).map(function(U){return g[U]});if(C.join("")!=="0123456789")return!1;var A={};return"abcdefghijklmnopqrst".split("").forEach(function(U){A[U]=U}),Object.keys(Object.assign({},A)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Sf=o()?Object.assign:function(l,g){for(var k,C=s(l),A,U=1;U<arguments.length;U++){k=Object(arguments[U]);for(var L in k)t.call(k,L)&&(C[L]=k[L]);if(i){A=i(k);for(var q=0;q<A.length;q++)n.call(k,A[q])&&(C[A[q]]=k[A[q]])}}return C},Sf}var xf,Ih;function cd(){if(Ih)return xf;Ih=1;var i="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return xf=i,xf}var Cf,Oh;function Qp(){return Oh||(Oh=1,Cf=Function.call.bind(Object.prototype.hasOwnProperty)),Cf}var Ef,Dh;function Sw(){if(Dh)return Ef;Dh=1;var i=function(){};if(process.env.NODE_ENV!=="production"){var t=cd(),n={},s=Qp();i=function(l){var g="Warning: "+l;typeof console<"u"&&console.error(g);try{throw new Error(g)}catch{}}}function o(l,g,k,C,A){if(process.env.NODE_ENV!=="production"){for(var U in l)if(s(l,U)){var L;try{if(typeof l[U]!="function"){var q=Error((C||"React class")+": "+k+" type `"+U+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof l[U]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw q.name="Invariant Violation",q}L=l[U](g,U,C,k,null,t)}catch(re){L=re}if(L&&!(L instanceof Error)&&i((C||"React class")+": type specification of "+k+" `"+U+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof L+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),L instanceof Error&&!(L.message in n)){n[L.message]=!0;var Q=A?A():"";i("Failed "+k+" type: "+L.message+(Q??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Ef=o,Ef}var kf,Ah;function xw(){if(Ah)return kf;Ah=1;var i=Zp(),t=ww(),n=cd(),s=Qp(),o=Sw(),l=function(){};process.env.NODE_ENV!=="production"&&(l=function(k){var C="Warning: "+k;typeof console<"u"&&console.error(C);try{throw new Error(C)}catch{}});function g(){return null}return kf=function(k,C){var A=typeof Symbol=="function"&&Symbol.iterator,U="@@iterator";function L(Ce){var Pe=Ce&&(A&&Ce[A]||Ce[U]);if(typeof Pe=="function")return Pe}var q="<<anonymous>>",Q={array:F("array"),bigint:F("bigint"),bool:F("boolean"),func:F("function"),number:F("number"),object:F("object"),string:F("string"),symbol:F("symbol"),any:he(),arrayOf:ye,element:Ie(),elementType:de(),instanceOf:je,node:ht(),objectOf:Ue,oneOf:m,oneOfType:ke,shape:vt,exact:dt};function re(Ce,Pe){return Ce===Pe?Ce!==0||1/Ce===1/Pe:Ce!==Ce&&Pe!==Pe}function ne(Ce,Pe){this.message=Ce,this.data=Pe&&typeof Pe=="object"?Pe:{},this.stack=""}ne.prototype=Error.prototype;function J(Ce){if(process.env.NODE_ENV!=="production")var Pe={},Ye=0;function Xe(Ze,Ke,ct,mt,wt,gt,Tt){if(mt=mt||q,gt=gt||ct,Tt!==n){if(C){var Ge=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw Ge.name="Invariant Violation",Ge}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ft=mt+":"+ct;!Pe[Ft]&&Ye<3&&(l("You are manually calling a React.PropTypes validation function for the `"+gt+"` prop on `"+mt+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),Pe[Ft]=!0,Ye++)}}return Ke[ct]==null?Ze?Ke[ct]===null?new ne("The "+wt+" `"+gt+"` is marked as required "+("in `"+mt+"`, but its value is `null`.")):new ne("The "+wt+" `"+gt+"` is marked as required in "+("`"+mt+"`, but its value is `undefined`.")):null:Ce(Ke,ct,mt,wt,gt)}var Qe=Xe.bind(null,!1);return Qe.isRequired=Xe.bind(null,!0),Qe}function F(Ce){function Pe(Ye,Xe,Qe,Ze,Ke,ct){var mt=Ye[Xe],wt=Le(mt);if(wt!==Ce){var gt=Ve(mt);return new ne("Invalid "+Ze+" `"+Ke+"` of type "+("`"+gt+"` supplied to `"+Qe+"`, expected ")+("`"+Ce+"`."),{expectedType:Ce})}return null}return J(Pe)}function he(){return J(g)}function ye(Ce){function Pe(Ye,Xe,Qe,Ze,Ke){if(typeof Ce!="function")return new ne("Property `"+Ke+"` of component `"+Qe+"` has invalid PropType notation inside arrayOf.");var ct=Ye[Xe];if(!Array.isArray(ct)){var mt=Le(ct);return new ne("Invalid "+Ze+" `"+Ke+"` of type "+("`"+mt+"` supplied to `"+Qe+"`, expected an array."))}for(var wt=0;wt<ct.length;wt++){var gt=Ce(ct,wt,Qe,Ze,Ke+"["+wt+"]",n);if(gt instanceof Error)return gt}return null}return J(Pe)}function Ie(){function Ce(Pe,Ye,Xe,Qe,Ze){var Ke=Pe[Ye];if(!k(Ke)){var ct=Le(Ke);return new ne("Invalid "+Qe+" `"+Ze+"` of type "+("`"+ct+"` supplied to `"+Xe+"`, expected a single ReactElement."))}return null}return J(Ce)}function de(){function Ce(Pe,Ye,Xe,Qe,Ze){var Ke=Pe[Ye];if(!i.isValidElementType(Ke)){var ct=Le(Ke);return new ne("Invalid "+Qe+" `"+Ze+"` of type "+("`"+ct+"` supplied to `"+Xe+"`, expected a single ReactElement type."))}return null}return J(Ce)}function je(Ce){function Pe(Ye,Xe,Qe,Ze,Ke){if(!(Ye[Xe]instanceof Ce)){var ct=Ce.name||q,mt=lt(Ye[Xe]);return new ne("Invalid "+Ze+" `"+Ke+"` of type "+("`"+mt+"` supplied to `"+Qe+"`, expected ")+("instance of `"+ct+"`."))}return null}return J(Pe)}function m(Ce){if(!Array.isArray(Ce))return process.env.NODE_ENV!=="production"&&(arguments.length>1?l("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):l("Invalid argument supplied to oneOf, expected an array.")),g;function Pe(Ye,Xe,Qe,Ze,Ke){for(var ct=Ye[Xe],mt=0;mt<Ce.length;mt++)if(re(ct,Ce[mt]))return null;var wt=JSON.stringify(Ce,function(Tt,Ge){var Ft=Ve(Ge);return Ft==="symbol"?String(Ge):Ge});return new ne("Invalid "+Ze+" `"+Ke+"` of value `"+String(ct)+"` "+("supplied to `"+Qe+"`, expected one of "+wt+"."))}return J(Pe)}function Ue(Ce){function Pe(Ye,Xe,Qe,Ze,Ke){if(typeof Ce!="function")return new ne("Property `"+Ke+"` of component `"+Qe+"` has invalid PropType notation inside objectOf.");var ct=Ye[Xe],mt=Le(ct);if(mt!=="object")return new ne("Invalid "+Ze+" `"+Ke+"` of type "+("`"+mt+"` supplied to `"+Qe+"`, expected an object."));for(var wt in ct)if(s(ct,wt)){var gt=Ce(ct,wt,Qe,Ze,Ke+"."+wt,n);if(gt instanceof Error)return gt}return null}return J(Pe)}function ke(Ce){if(!Array.isArray(Ce))return process.env.NODE_ENV!=="production"&&l("Invalid argument supplied to oneOfType, expected an instance of array."),g;for(var Pe=0;Pe<Ce.length;Pe++){var Ye=Ce[Pe];if(typeof Ye!="function")return l("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+qe(Ye)+" at index "+Pe+"."),g}function Xe(Qe,Ze,Ke,ct,mt){for(var wt=[],gt=0;gt<Ce.length;gt++){var Tt=Ce[gt],Ge=Tt(Qe,Ze,Ke,ct,mt,n);if(Ge==null)return null;Ge.data&&s(Ge.data,"expectedType")&&wt.push(Ge.data.expectedType)}var Ft=wt.length>0?", expected one of type ["+wt.join(", ")+"]":"";return new ne("Invalid "+ct+" `"+mt+"` supplied to "+("`"+Ke+"`"+Ft+"."))}return J(Xe)}function ht(){function Ce(Pe,Ye,Xe,Qe,Ze){return Ct(Pe[Ye])?null:new ne("Invalid "+Qe+" `"+Ze+"` supplied to "+("`"+Xe+"`, expected a ReactNode."))}return J(Ce)}function Et(Ce,Pe,Ye,Xe,Qe){return new ne((Ce||"React class")+": "+Pe+" type `"+Ye+"."+Xe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Qe+"`.")}function vt(Ce){function Pe(Ye,Xe,Qe,Ze,Ke){var ct=Ye[Xe],mt=Le(ct);if(mt!=="object")return new ne("Invalid "+Ze+" `"+Ke+"` of type `"+mt+"` "+("supplied to `"+Qe+"`, expected `object`."));for(var wt in Ce){var gt=Ce[wt];if(typeof gt!="function")return Et(Qe,Ze,Ke,wt,Ve(gt));var Tt=gt(ct,wt,Qe,Ze,Ke+"."+wt,n);if(Tt)return Tt}return null}return J(Pe)}function dt(Ce){function Pe(Ye,Xe,Qe,Ze,Ke){var ct=Ye[Xe],mt=Le(ct);if(mt!=="object")return new ne("Invalid "+Ze+" `"+Ke+"` of type `"+mt+"` "+("supplied to `"+Qe+"`, expected `object`."));var wt=t({},Ye[Xe],Ce);for(var gt in wt){var Tt=Ce[gt];if(s(Ce,gt)&&typeof Tt!="function")return Et(Qe,Ze,Ke,gt,Ve(Tt));if(!Tt)return new ne("Invalid "+Ze+" `"+Ke+"` key `"+gt+"` supplied to `"+Qe+"`.\nBad object: "+JSON.stringify(Ye[Xe],null," ")+`
124
- Valid keys: `+JSON.stringify(Object.keys(Ce),null," "));var Ge=Tt(ct,gt,Qe,Ze,Ke+"."+gt,n);if(Ge)return Ge}return null}return J(Pe)}function Ct(Ce){switch(typeof Ce){case"number":case"string":case"undefined":return!0;case"boolean":return!Ce;case"object":if(Array.isArray(Ce))return Ce.every(Ct);if(Ce===null||k(Ce))return!0;var Pe=L(Ce);if(Pe){var Ye=Pe.call(Ce),Xe;if(Pe!==Ce.entries){for(;!(Xe=Ye.next()).done;)if(!Ct(Xe.value))return!1}else for(;!(Xe=Ye.next()).done;){var Qe=Xe.value;if(Qe&&!Ct(Qe[1]))return!1}}else return!1;return!0;default:return!1}}function me(Ce,Pe){return Ce==="symbol"?!0:Pe?Pe["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&Pe instanceof Symbol:!1}function Le(Ce){var Pe=typeof Ce;return Array.isArray(Ce)?"array":Ce instanceof RegExp?"object":me(Pe,Ce)?"symbol":Pe}function Ve(Ce){if(typeof Ce>"u"||Ce===null)return""+Ce;var Pe=Le(Ce);if(Pe==="object"){if(Ce instanceof Date)return"date";if(Ce instanceof RegExp)return"regexp"}return Pe}function qe(Ce){var Pe=Ve(Ce);switch(Pe){case"array":case"object":return"an "+Pe;case"boolean":case"date":case"regexp":return"a "+Pe;default:return Pe}}function lt(Ce){return!Ce.constructor||!Ce.constructor.name?q:Ce.constructor.name}return Q.checkPropTypes=o,Q.resetWarningCache=o.resetWarningCache,Q.PropTypes=Q,Q},kf}var Tf,Ph;function Cw(){if(Ph)return Tf;Ph=1;var i=cd();function t(){}function n(){}return n.resetWarningCache=t,Tf=function(){function s(g,k,C,A,U,L){if(L!==i){var q=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw q.name="Invariant Violation",q}}s.isRequired=s;function o(){return s}var l={array:s,bigint:s,bool:s,func:s,number:s,object:s,string:s,symbol:s,any:s,arrayOf:o,element:s,elementType:s,instanceOf:o,node:s,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return l.PropTypes=l,l},Tf}if(process.env.NODE_ENV!=="production"){var Ew=Zp(),kw=!0;Gf.exports=xw()(Ew.isElement,kw)}else Gf.exports=Cw()();var vr=Gf.exports;const Jo=ac(vr);var Tw=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function eg(i,t){return i(t={exports:{}},t.exports),t.exports}var _w=eg(function(i){(function(t){var n=function(J,F,he){if(!C(F)||U(F)||L(F)||q(F)||k(F))return F;var ye,Ie=0,de=0;if(A(F))for(ye=[],de=F.length;Ie<de;Ie++)ye.push(n(J,F[Ie],he));else for(var je in ye={},F)Object.prototype.hasOwnProperty.call(F,je)&&(ye[J(je,he)]=n(J,F[je],he));return ye},s=function(J){return Q(J)?J:(J=J.replace(/[\-_\s]+(.)?/g,function(F,he){return he?he.toUpperCase():""})).substr(0,1).toLowerCase()+J.substr(1)},o=function(J){var F=s(J);return F.substr(0,1).toUpperCase()+F.substr(1)},l=function(J,F){return function(he,ye){var Ie=(ye=ye||{}).separator||"_",de=ye.split||/(?=[A-Z])/;return he.split(de).join(Ie)}(J,F).toLowerCase()},g=Object.prototype.toString,k=function(J){return typeof J=="function"},C=function(J){return J===Object(J)},A=function(J){return g.call(J)=="[object Array]"},U=function(J){return g.call(J)=="[object Date]"},L=function(J){return g.call(J)=="[object RegExp]"},q=function(J){return g.call(J)=="[object Boolean]"},Q=function(J){return(J-=0)==J},re=function(J,F){var he=F&&"process"in F?F.process:F;return typeof he!="function"?J:function(ye,Ie){return he(ye,J,Ie)}},ne={camelize:s,decamelize:l,pascalize:o,depascalize:l,camelizeKeys:function(J,F){return n(re(s,F),J)},decamelizeKeys:function(J,F){return n(re(l,F),J,F)},pascalizeKeys:function(J,F){return n(re(o,F),J)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};i.exports?i.exports=ne:t.humps=ne})(Tw)}).decamelize,Rw=function(i){if(Array.isArray(i))return i},Iw=function(i,t){if(typeof Symbol<"u"&&Symbol.iterator in Object(i)){var n=[],s=!0,o=!1,l=void 0;try{for(var g,k=i[Symbol.iterator]();!(s=(g=k.next()).done)&&(n.push(g.value),!t||n.length!==t);s=!0);}catch(C){o=!0,l=C}finally{try{s||k.return==null||k.return()}finally{if(o)throw l}}return n}},Lh=function(i,t){(t==null||t>i.length)&&(t=i.length);for(var n=0,s=new Array(t);n<t;n++)s[n]=i[n];return s},Ow=function(i,t){if(i){if(typeof i=="string")return Lh(i,t);var n=Object.prototype.toString.call(i).slice(8,-1);return n==="Object"&&i.constructor&&(n=i.constructor.name),n==="Map"||n==="Set"?Array.from(i):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Lh(i,t):void 0}},Dw=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
125
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},Aw=function(i,t){return Rw(i)||Iw(i,t)||Ow(i,t)||Dw()},tg=eg(function(i){function t(){return i.exports=t=Object.assign||function(n){for(var s=1;s<arguments.length;s++){var o=arguments[s];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(n[l]=o[l])}return n},t.apply(this,arguments)}i.exports=t}),Pw=function(i,t){if(i==null)return{};var n,s,o={},l=Object.keys(i);for(s=0;s<l.length;s++)n=l[s],t.indexOf(n)>=0||(o[n]=i[n]);return o},ng=function(i,t){if(i==null)return{};var n,s,o=Pw(i,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(i);for(s=0;s<l.length;s++)n=l[s],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(i,n)&&(o[n]=i[n])}return o},Lw=Je.createContext(null);function qf(i){var t=i.children,n=ng(i,["children"]);return typeof t!="string"&&(t=mw(t)),Je.createElement("template",tg({},n,{dangerouslySetInnerHTML:{__html:t}}))}function Xf(i){var t=i.root,n=i.children;return U0.createPortal(n,t)}function Mw(i){var t=Je.forwardRef(function(n,s){var o,l,g=n.mode,k=n.delegatesFocus,C=n.styleSheets,A=n.ssr,U=n.children,L=ng(n,["mode","delegatesFocus","styleSheets","ssr","children"]),q=(l=Je.useRef((o=s)&&o.current),Je.useEffect(function(){o&&(o.current=l.current)},[o]),l),Q=Je.useState(null),re=Aw(Q,2),ne=re[0],J=re[1],F="node_".concat(g).concat(k);return Je.useLayoutEffect(function(){if(q.current)try{if(typeof s=="function"&&s(q.current),A){var he=q.current.shadowRoot;return void J(he)}var ye=q.current.attachShadow({mode:g,delegatesFocus:k});C.length>0&&(ye.adoptedStyleSheets=C),J(ye)}catch(Ie){(function(de){var je=de.error,m=de.styleSheets,Ue=de.root;switch(je.name){case"NotSupportedError":m.length>0&&(Ue.adoptedStyleSheets=m);break;default:throw je}})({error:Ie,styleSheets:C,root:ne})}},[s,q,C]),Je.createElement(Je.Fragment,null,Je.createElement(i.tag,tg({key:F,ref:q},L),(ne||A)&&Je.createElement(Lw.Provider,{value:ne},A?Je.createElement(qf,{shadowroot:g,shadowrootmode:g},i.render({root:ne,ssr:A,children:U})):Je.createElement(Xf,{root:ne},i.render({root:ne,ssr:A,children:U})))))});return t.propTypes={mode:Jo.oneOf(["open","closed"]),delegatesFocus:Jo.bool,styleSheets:Jo.arrayOf(Jo.instanceOf(globalThis.CSSStyleSheet)),ssr:Jo.bool,children:Jo.node},t.defaultProps={mode:"open",delegatesFocus:!1,styleSheets:[],ssr:!1,children:null},t}qf.propTypes={children:Jo.oneOfType([Jo.string,Jo.node])},qf.defaultProps={children:""},Xf.propTypes={root:Jo.object.isRequired,children:Jo.node},Xf.defaultProps={children:null};var _f=new Map;function Fw(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(s){return s.children};return new Proxy(i,{get:function(s,o){var l=_w(o,{separator:"-"}),g="".concat(t,"-").concat(l);return _f.has(g)||_f.set(g,Mw({tag:l,render:n})),_f.get(g)}})}var Nw=Fw();function Oo(i){"@babel/helpers - typeof";return Oo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Oo(i)}function Do(i,t){if(!(i instanceof t))throw new TypeError("Cannot call a class as a function")}function Bw(i,t){if(Oo(i)!="object"||!i)return i;var n=i[Symbol.toPrimitive];if(n!==void 0){var s=n.call(i,t||"default");if(Oo(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(i)}function rg(i){var t=Bw(i,"string");return Oo(t)=="symbol"?t:String(t)}function Mh(i,t){for(var n=0;n<t.length;n++){var s=t[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,rg(s.key),s)}}function Ao(i,t,n){return t&&Mh(i.prototype,t),n&&Mh(i,n),Object.defineProperty(i,"prototype",{writable:!1}),i}function Fs(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function Dc(i,t){return Dc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,o){return s.__proto__=o,s},Dc(i,t)}function Uc(i,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&Dc(i,t)}function sc(i,t){if(t&&(Oo(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Fs(i)}function Xa(i){return Xa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Xa(i)}function Ka(i,t,n){return t=rg(t),t in i?Object.defineProperty(i,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):i[t]=n,i}function ig(i){if(Array.isArray(i))return i}function jw(i){if(typeof Symbol<"u"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}function Fh(i,t){(t==null||t>i.length)&&(t=i.length);for(var n=0,s=new Array(t);n<t;n++)s[n]=i[n];return s}function og(i,t){if(i){if(typeof i=="string")return Fh(i,t);var n=Object.prototype.toString.call(i).slice(8,-1);if(n==="Object"&&i.constructor&&(n=i.constructor.name),n==="Map"||n==="Set")return Array.from(i);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fh(i,t)}}function ag(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
126
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hw(i){return ig(i)||jw(i)||og(i)||ag()}function Nh(i,t){var n=Object.keys(i);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(i);t&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(i,o).enumerable})),n.push.apply(n,s)}return n}function Bh(i){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Nh(Object(n),!0).forEach(function(s){Ka(i,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(n)):Nh(Object(n)).forEach(function(s){Object.defineProperty(i,s,Object.getOwnPropertyDescriptor(n,s))})}return i}var Uw={type:"logger",log:function(t){this.output("log",t)},warn:function(t){this.output("warn",t)},error:function(t){this.output("error",t)},output:function(t,n){console&&console[t]&&console[t].apply(console,n)}},Ww=function(){function i(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Do(this,i),this.init(t,n)}return Ao(i,[{key:"init",value:function(n){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=s.prefix||"i18next:",this.logger=n||Uw,this.options=s,this.debug=s.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,s=new Array(n),o=0;o<n;o++)s[o]=arguments[o];return this.forward(s,"log","",!0)}},{key:"warn",value:function(){for(var n=arguments.length,s=new Array(n),o=0;o<n;o++)s[o]=arguments[o];return this.forward(s,"warn","",!0)}},{key:"error",value:function(){for(var n=arguments.length,s=new Array(n),o=0;o<n;o++)s[o]=arguments[o];return this.forward(s,"error","")}},{key:"deprecate",value:function(){for(var n=arguments.length,s=new Array(n),o=0;o<n;o++)s[o]=arguments[o];return this.forward(s,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(n,s,o,l){return l&&!this.debug?null:(typeof n[0]=="string"&&(n[0]="".concat(o).concat(this.prefix," ").concat(n[0])),this.logger[s](n))}},{key:"create",value:function(n){return new i(this.logger,Bh(Bh({},{prefix:"".concat(this.prefix,":").concat(n,":")}),this.options))}},{key:"clone",value:function(n){return n=n||this.options,n.prefix=n.prefix||this.prefix,new i(this.logger,n)}}]),i}(),qa=new Ww,gu=function(){function i(){Do(this,i),this.observers={}}return Ao(i,[{key:"on",value:function(n,s){var o=this;return n.split(" ").forEach(function(l){o.observers[l]=o.observers[l]||[],o.observers[l].push(s)}),this}},{key:"off",value:function(n,s){if(this.observers[n]){if(!s){delete this.observers[n];return}this.observers[n]=this.observers[n].filter(function(o){return o!==s})}}},{key:"emit",value:function(n){for(var s=arguments.length,o=new Array(s>1?s-1:0),l=1;l<s;l++)o[l-1]=arguments[l];if(this.observers[n]){var g=[].concat(this.observers[n]);g.forEach(function(C){C.apply(void 0,o)})}if(this.observers["*"]){var k=[].concat(this.observers["*"]);k.forEach(function(C){C.apply(C,[n].concat(o))})}}}]),i}();function Kl(){var i,t,n=new Promise(function(s,o){i=s,t=o});return n.resolve=i,n.reject=t,n}function jh(i){return i==null?"":""+i}function $w(i,t,n){i.forEach(function(s){t[s]&&(n[s]=t[s])})}function fd(i,t,n){function s(k){return k&&k.indexOf("###")>-1?k.replace(/###/g,"."):k}function o(){return!i||typeof i=="string"}for(var l=typeof t!="string"?[].concat(t):t.split(".");l.length>1;){if(o())return{};var g=s(l.shift());!i[g]&&n&&(i[g]=new n),Object.prototype.hasOwnProperty.call(i,g)?i=i[g]:i={}}return o()?{}:{obj:i,k:s(l.shift())}}function Hh(i,t,n){var s=fd(i,t,Object),o=s.obj,l=s.k;o[l]=n}function zw(i,t,n,s){var o=fd(i,t,Object),l=o.obj,g=o.k;l[g]=l[g]||[],s&&(l[g]=l[g].concat(n)),s||l[g].push(n)}function Ac(i,t){var n=fd(i,t),s=n.obj,o=n.k;if(s)return s[o]}function Yw(i,t,n){var s=Ac(i,n);return s!==void 0?s:Ac(t,n)}function sg(i,t,n){for(var s in t)s!=="__proto__"&&s!=="constructor"&&(s in i?typeof i[s]=="string"||i[s]instanceof String||typeof t[s]=="string"||t[s]instanceof String?n&&(i[s]=t[s]):sg(i[s],t[s],n):i[s]=t[s]);return i}function Pl(i){return i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Vw={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function Gw(i){return typeof i=="string"?i.replace(/[&<>"'\/]/g,function(t){return Vw[t]}):i}var Wc=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,qw=[" ",",","?","!",";"];function Xw(i,t,n){t=t||"",n=n||"";var s=qw.filter(function(k){return t.indexOf(k)<0&&n.indexOf(k)<0});if(s.length===0)return!0;var o=new RegExp("(".concat(s.map(function(k){return k==="?"?"\\?":k}).join("|"),")")),l=!o.test(i);if(!l){var g=i.indexOf(n);g>0&&!o.test(i.substring(0,g))&&(l=!0)}return l}function Pc(i,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(i){if(i[t])return i[t];for(var s=t.split(n),o=i,l=0;l<s.length;++l){if(!o||typeof o[s[l]]=="string"&&l+1<s.length)return;if(o[s[l]]===void 0){for(var g=2,k=s.slice(l,l+g).join(n),C=o[k];C===void 0&&s.length>l+g;)g++,k=s.slice(l,l+g).join(n),C=o[k];if(C===void 0)return;if(C===null)return null;if(t.endsWith(k)){if(typeof C=="string")return C;if(k&&typeof C[k]=="string")return C[k]}var A=s.slice(l+g).join(n);return A?Pc(C,A,n):void 0}o=o[s[l]]}return o}}function Uh(i,t){var n=Object.keys(i);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(i);t&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(i,o).enumerable})),n.push.apply(n,s)}return n}function Ec(i){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Uh(Object(n),!0).forEach(function(s){Ka(i,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(n)):Uh(Object(n)).forEach(function(s){Object.defineProperty(i,s,Object.getOwnPropertyDescriptor(n,s))})}return i}function Kw(i){var t=Jw();return function(){var s=Xa(i),o;if(t){var l=Xa(this).constructor;o=Reflect.construct(s,arguments,l)}else o=s.apply(this,arguments);return sc(this,o)}}function Jw(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var Zw=function(i){Uc(n,i);var t=Kw(n);function n(s){var o,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return Do(this,n),o=t.call(this),Wc&&gu.call(Fs(o)),o.data=s||{},o.options=l,o.options.keySeparator===void 0&&(o.options.keySeparator="."),o.options.ignoreJSONStructure===void 0&&(o.options.ignoreJSONStructure=!0),o}return Ao(n,[{key:"addNamespaces",value:function(o){this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}},{key:"removeNamespaces",value:function(o){var l=this.options.ns.indexOf(o);l>-1&&this.options.ns.splice(l,1)}},{key:"getResource",value:function(o,l,g){var k=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},C=k.keySeparator!==void 0?k.keySeparator:this.options.keySeparator,A=k.ignoreJSONStructure!==void 0?k.ignoreJSONStructure:this.options.ignoreJSONStructure,U=[o,l];g&&typeof g!="string"&&(U=U.concat(g)),g&&typeof g=="string"&&(U=U.concat(C?g.split(C):g)),o.indexOf(".")>-1&&(U=o.split("."));var L=Ac(this.data,U);return L||!A||typeof g!="string"?L:Pc(this.data&&this.data[o]&&this.data[o][l],g,C)}},{key:"addResource",value:function(o,l,g,k){var C=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},A=C.keySeparator!==void 0?C.keySeparator:this.options.keySeparator,U=[o,l];g&&(U=U.concat(A?g.split(A):g)),o.indexOf(".")>-1&&(U=o.split("."),k=l,l=U[1]),this.addNamespaces(l),Hh(this.data,U,k),C.silent||this.emit("added",o,l,g,k)}},{key:"addResources",value:function(o,l,g){var k=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var C in g)(typeof g[C]=="string"||Object.prototype.toString.apply(g[C])==="[object Array]")&&this.addResource(o,l,C,g[C],{silent:!0});k.silent||this.emit("added",o,l,g)}},{key:"addResourceBundle",value:function(o,l,g,k,C){var A=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},U=[o,l];o.indexOf(".")>-1&&(U=o.split("."),k=g,g=l,l=U[1]),this.addNamespaces(l);var L=Ac(this.data,U)||{};k?sg(L,g,C):L=Ec(Ec({},L),g),Hh(this.data,U,L),A.silent||this.emit("added",o,l,g)}},{key:"removeResourceBundle",value:function(o,l){this.hasResourceBundle(o,l)&&delete this.data[o][l],this.removeNamespaces(l),this.emit("removed",o,l)}},{key:"hasResourceBundle",value:function(o,l){return this.getResource(o,l)!==void 0}},{key:"getResourceBundle",value:function(o,l){return l||(l=this.options.defaultNS),this.options.compatibilityAPI==="v1"?Ec(Ec({},{}),this.getResource(o,l)):this.getResource(o,l)}},{key:"getDataByLanguage",value:function(o){return this.data[o]}},{key:"hasLanguageSomeTranslations",value:function(o){var l=this.getDataByLanguage(o),g=l&&Object.keys(l)||[];return!!g.find(function(k){return l[k]&&Object.keys(l[k]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),n}(gu),ug={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,n,s,o,l){var g=this;return t.forEach(function(k){g.processors[k]&&(n=g.processors[k].process(n,s,o,l))}),n}};function Wh(i,t){var n=Object.keys(i);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(i);t&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(i,o).enumerable})),n.push.apply(n,s)}return n}function wi(i){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Wh(Object(n),!0).forEach(function(s){Ka(i,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(n)):Wh(Object(n)).forEach(function(s){Object.defineProperty(i,s,Object.getOwnPropertyDescriptor(n,s))})}return i}function Qw(i){var t=eS();return function(){var s=Xa(i),o;if(t){var l=Xa(this).constructor;o=Reflect.construct(s,arguments,l)}else o=s.apply(this,arguments);return sc(this,o)}}function eS(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var $h={},zh=function(i){Uc(n,i);var t=Qw(n);function n(s){var o,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Do(this,n),o=t.call(this),Wc&&gu.call(Fs(o)),$w(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],s,Fs(o)),o.options=l,o.options.keySeparator===void 0&&(o.options.keySeparator="."),o.logger=qa.create("translator"),o}return Ao(n,[{key:"changeLanguage",value:function(o){o&&(this.language=o)}},{key:"exists",value:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(o==null)return!1;var g=this.resolve(o,l);return g&&g.res!==void 0}},{key:"extractFromKey",value:function(o,l){var g=l.nsSeparator!==void 0?l.nsSeparator:this.options.nsSeparator;g===void 0&&(g=":");var k=l.keySeparator!==void 0?l.keySeparator:this.options.keySeparator,C=l.ns||this.options.defaultNS||[],A=g&&o.indexOf(g)>-1,U=!this.options.userDefinedKeySeparator&&!l.keySeparator&&!this.options.userDefinedNsSeparator&&!l.nsSeparator&&!Xw(o,g,k);if(A&&!U){var L=o.match(this.interpolator.nestingRegexp);if(L&&L.length>0)return{key:o,namespaces:C};var q=o.split(g);(g!==k||g===k&&this.options.ns.indexOf(q[0])>-1)&&(C=q.shift()),o=q.join(k)}return typeof C=="string"&&(C=[C]),{key:o,namespaces:C}}},{key:"translate",value:function(o,l,g){var k=this;if(Oo(l)!=="object"&&this.options.overloadTranslationOptionHandler&&(l=this.options.overloadTranslationOptionHandler(arguments)),Oo(l)==="object"&&(l=wi({},l)),l||(l={}),o==null)return"";Array.isArray(o)||(o=[String(o)]);var C=l.returnDetails!==void 0?l.returnDetails:this.options.returnDetails,A=l.keySeparator!==void 0?l.keySeparator:this.options.keySeparator,U=this.extractFromKey(o[o.length-1],l),L=U.key,q=U.namespaces,Q=q[q.length-1],re=l.lng||this.language,ne=l.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(re&&re.toLowerCase()==="cimode"){if(ne){var J=l.nsSeparator||this.options.nsSeparator;return C?{res:"".concat(Q).concat(J).concat(L),usedKey:L,exactUsedKey:L,usedLng:re,usedNS:Q}:"".concat(Q).concat(J).concat(L)}return C?{res:L,usedKey:L,exactUsedKey:L,usedLng:re,usedNS:Q}:L}var F=this.resolve(o,l),he=F&&F.res,ye=F&&F.usedKey||L,Ie=F&&F.exactUsedKey||L,de=Object.prototype.toString.apply(he),je=["[object Number]","[object Function]","[object RegExp]"],m=l.joinArrays!==void 0?l.joinArrays:this.options.joinArrays,Ue=!this.i18nFormat||this.i18nFormat.handleAsObject,ke=typeof he!="string"&&typeof he!="boolean"&&typeof he!="number";if(Ue&&he&&ke&&je.indexOf(de)<0&&!(typeof m=="string"&&de==="[object Array]")){if(!l.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var ht=this.options.returnedObjectHandler?this.options.returnedObjectHandler(ye,he,wi(wi({},l),{},{ns:q})):"key '".concat(L," (").concat(this.language,")' returned an object instead of string.");return C?(F.res=ht,F):ht}if(A){var Et=de==="[object Array]",vt=Et?[]:{},dt=Et?Ie:ye;for(var Ct in he)if(Object.prototype.hasOwnProperty.call(he,Ct)){var me="".concat(dt).concat(A).concat(Ct);vt[Ct]=this.translate(me,wi(wi({},l),{joinArrays:!1,ns:q})),vt[Ct]===me&&(vt[Ct]=he[Ct])}he=vt}}else if(Ue&&typeof m=="string"&&de==="[object Array]")he=he.join(m),he&&(he=this.extendTranslation(he,o,l,g));else{var Le=!1,Ve=!1,qe=l.count!==void 0&&typeof l.count!="string",lt=n.hasDefaultValue(l),Ce=qe?this.pluralResolver.getSuffix(re,l.count,l):"",Pe=l["defaultValue".concat(Ce)]||l.defaultValue;!this.isValidLookup(he)&&lt&&(Le=!0,he=Pe),this.isValidLookup(he)||(Ve=!0,he=L);var Ye=l.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,Xe=Ye&&Ve?void 0:he,Qe=lt&&Pe!==he&&this.options.updateMissing;if(Ve||Le||Qe){if(this.logger.log(Qe?"updateKey":"missingKey",re,Q,L,Qe?Pe:he),A){var Ze=this.resolve(L,wi(wi({},l),{},{keySeparator:!1}));Ze&&Ze.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var Ke=[],ct=this.languageUtils.getFallbackCodes(this.options.fallbackLng,l.lng||this.language);if(this.options.saveMissingTo==="fallback"&&ct&&ct[0])for(var mt=0;mt<ct.length;mt++)Ke.push(ct[mt]);else this.options.saveMissingTo==="all"?Ke=this.languageUtils.toResolveHierarchy(l.lng||this.language):Ke.push(l.lng||this.language);var wt=function(Tt,Ge,Ft){var Bt=lt&&Ft!==he?Ft:Xe;k.options.missingKeyHandler?k.options.missingKeyHandler(Tt,Q,Ge,Bt,Qe,l):k.backendConnector&&k.backendConnector.saveMissing&&k.backendConnector.saveMissing(Tt,Q,Ge,Bt,Qe,l),k.emit("missingKey",Tt,Q,Ge,he)};this.options.saveMissing&&(this.options.saveMissingPlurals&&qe?Ke.forEach(function(gt){k.pluralResolver.getSuffixes(gt,l).forEach(function(Tt){wt([gt],L+Tt,l["defaultValue".concat(Tt)]||Pe)})}):wt(Ke,L,Pe))}he=this.extendTranslation(he,o,l,F,g),Ve&&he===L&&this.options.appendNamespaceToMissingKey&&(he="".concat(Q,":").concat(L)),(Ve||Le)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?he=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(Q,":").concat(L):L,Le?he:void 0):he=this.options.parseMissingKeyHandler(he))}return C?(F.res=he,F):he}},{key:"extendTranslation",value:function(o,l,g,k,C){var A=this;if(this.i18nFormat&&this.i18nFormat.parse)o=this.i18nFormat.parse(o,wi(wi({},this.options.interpolation.defaultVariables),g),k.usedLng,k.usedNS,k.usedKey,{resolved:k});else if(!g.skipInterpolation){g.interpolation&&this.interpolator.init(wi(wi({},g),{interpolation:wi(wi({},this.options.interpolation),g.interpolation)}));var U=typeof o=="string"&&(g&&g.interpolation&&g.interpolation.skipOnVariables!==void 0?g.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),L;if(U){var q=o.match(this.interpolator.nestingRegexp);L=q&&q.length}var Q=g.replace&&typeof g.replace!="string"?g.replace:g;if(this.options.interpolation.defaultVariables&&(Q=wi(wi({},this.options.interpolation.defaultVariables),Q)),o=this.interpolator.interpolate(o,Q,g.lng||this.language,g),U){var re=o.match(this.interpolator.nestingRegexp),ne=re&&re.length;L<ne&&(g.nest=!1)}!g.lng&&this.options.compatibilityAPI!=="v1"&&k&&k.res&&(g.lng=k.usedLng),g.nest!==!1&&(o=this.interpolator.nest(o,function(){for(var he=arguments.length,ye=new Array(he),Ie=0;Ie<he;Ie++)ye[Ie]=arguments[Ie];return C&&C[0]===ye[0]&&!g.context?(A.logger.warn("It seems you are nesting recursively key: ".concat(ye[0]," in key: ").concat(l[0])),null):A.translate.apply(A,ye.concat([l]))},g)),g.interpolation&&this.interpolator.reset()}var J=g.postProcess||this.options.postProcess,F=typeof J=="string"?[J]:J;return o!=null&&F&&F.length&&g.applyPostProcessor!==!1&&(o=ug.handle(F,o,l,this.options&&this.options.postProcessPassResolved?wi({i18nResolved:k},g):g,this)),o}},{key:"resolve",value:function(o){var l=this,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},k,C,A,U,L;return typeof o=="string"&&(o=[o]),o.forEach(function(q){if(!l.isValidLookup(k)){var Q=l.extractFromKey(q,g),re=Q.key;C=re;var ne=Q.namespaces;l.options.fallbackNS&&(ne=ne.concat(l.options.fallbackNS));var J=g.count!==void 0&&typeof g.count!="string",F=J&&!g.ordinal&&g.count===0&&l.pluralResolver.shouldUseIntlApi(),he=g.context!==void 0&&(typeof g.context=="string"||typeof g.context=="number")&&g.context!=="",ye=g.lngs?g.lngs:l.languageUtils.toResolveHierarchy(g.lng||l.language,g.fallbackLng);ne.forEach(function(Ie){l.isValidLookup(k)||(L=Ie,!$h["".concat(ye[0],"-").concat(Ie)]&&l.utils&&l.utils.hasLoadedNamespace&&!l.utils.hasLoadedNamespace(L)&&($h["".concat(ye[0],"-").concat(Ie)]=!0,l.logger.warn('key "'.concat(C,'" for languages "').concat(ye.join(", "),`" won't get resolved as namespace "`).concat(L,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),ye.forEach(function(de){if(!l.isValidLookup(k)){U=de;var je=[re];if(l.i18nFormat&&l.i18nFormat.addLookupKeys)l.i18nFormat.addLookupKeys(je,re,de,Ie,g);else{var m;J&&(m=l.pluralResolver.getSuffix(de,g.count,g));var Ue="".concat(l.options.pluralSeparator,"zero");if(J&&(je.push(re+m),F&&je.push(re+Ue)),he){var ke="".concat(re).concat(l.options.contextSeparator).concat(g.context);je.push(ke),J&&(je.push(ke+m),F&&je.push(ke+Ue))}}for(var ht;ht=je.pop();)l.isValidLookup(k)||(A=ht,k=l.getResource(de,Ie,ht,g))}}))})}}),{res:k,usedKey:C,exactUsedKey:A,usedLng:U,usedNS:L}}},{key:"isValidLookup",value:function(o){return o!==void 0&&!(!this.options.returnNull&&o===null)&&!(!this.options.returnEmptyString&&o==="")}},{key:"getResource",value:function(o,l,g){var k=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(o,l,g,k):this.resourceStore.getResource(o,l,g,k)}}],[{key:"hasDefaultValue",value:function(o){var l="defaultValue";for(var g in o)if(Object.prototype.hasOwnProperty.call(o,g)&&l===g.substring(0,l.length)&&o[g]!==void 0)return!0;return!1}}]),n}(gu);function Rf(i){return i.charAt(0).toUpperCase()+i.slice(1)}var Yh=function(){function i(t){Do(this,i),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=qa.create("languageUtils")}return Ao(i,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var s=n.split("-");return s.length===2||(s.pop(),s[s.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(s.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var s=n.split("-");return this.formatLanguageCode(s[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var s=["hans","hant","latn","cyrl","cans","mong","arab"],o=n.split("-");return this.options.lowerCaseLng?o=o.map(function(l){return l.toLowerCase()}):o.length===2?(o[0]=o[0].toLowerCase(),o[1]=o[1].toUpperCase(),s.indexOf(o[1].toLowerCase())>-1&&(o[1]=Rf(o[1].toLowerCase()))):o.length===3&&(o[0]=o[0].toLowerCase(),o[1].length===2&&(o[1]=o[1].toUpperCase()),o[0]!=="sgn"&&o[2].length===2&&(o[2]=o[2].toUpperCase()),s.indexOf(o[1].toLowerCase())>-1&&(o[1]=Rf(o[1].toLowerCase())),s.indexOf(o[2].toLowerCase())>-1&&(o[2]=Rf(o[2].toLowerCase()))),o.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}},{key:"isSupportedCode",value:function(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}},{key:"getBestMatchFromCodes",value:function(n){var s=this;if(!n)return null;var o;return n.forEach(function(l){if(!o){var g=s.formatLanguageCode(l);(!s.options.supportedLngs||s.isSupportedCode(g))&&(o=g)}}),!o&&this.options.supportedLngs&&n.forEach(function(l){if(!o){var g=s.getLanguagePartFromCode(l);if(s.isSupportedCode(g))return o=g;o=s.options.supportedLngs.find(function(k){if(k===g)return k;if(!(k.indexOf("-")<0&&g.indexOf("-")<0)&&k.indexOf(g)===0)return k})}}),o||(o=this.getFallbackCodes(this.options.fallbackLng)[0]),o}},{key:"getFallbackCodes",value:function(n,s){if(!n)return[];if(typeof n=="function"&&(n=n(s)),typeof n=="string"&&(n=[n]),Object.prototype.toString.apply(n)==="[object Array]")return n;if(!s)return n.default||[];var o=n[s];return o||(o=n[this.getScriptPartFromCode(s)]),o||(o=n[this.formatLanguageCode(s)]),o||(o=n[this.getLanguagePartFromCode(s)]),o||(o=n.default),o||[]}},{key:"toResolveHierarchy",value:function(n,s){var o=this,l=this.getFallbackCodes(s||this.options.fallbackLng||[],n),g=[],k=function(A){A&&(o.isSupportedCode(A)?g.push(A):o.logger.warn("rejecting language code not found in supportedLngs: ".concat(A)))};return typeof n=="string"&&n.indexOf("-")>-1?(this.options.load!=="languageOnly"&&k(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&k(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&k(this.getLanguagePartFromCode(n))):typeof n=="string"&&k(this.formatLanguageCode(n)),l.forEach(function(C){g.indexOf(C)<0&&k(o.formatLanguageCode(C))}),g}}]),i}(),tS=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],nS={1:function(t){return+(t>1)},2:function(t){return+(t!=1)},3:function(t){return 0},4:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},5:function(t){return t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},6:function(t){return t==1?0:t>=2&&t<=4?1:2},7:function(t){return t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},8:function(t){return t==1?0:t==2?1:t!=8&&t!=11?2:3},9:function(t){return+(t>=2)},10:function(t){return t==1?0:t==2?1:t<7?2:t<11?3:4},11:function(t){return t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3},12:function(t){return+(t%10!=1||t%100==11)},13:function(t){return+(t!==0)},14:function(t){return t==1?0:t==2?1:t==3?2:3},15:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2},16:function(t){return t%10==1&&t%100!=11?0:t!==0?1:2},17:function(t){return t==1||t%10==1&&t%100!=11?0:1},18:function(t){return t==0?0:t==1?1:2},19:function(t){return t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3},20:function(t){return t==1?0:t==0||t%100>0&&t%100<20?1:2},21:function(t){return t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0},22:function(t){return t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3}},rS=["v1","v2","v3"],Vh={zero:0,one:1,two:2,few:3,many:4,other:5};function iS(){var i={};return tS.forEach(function(t){t.lngs.forEach(function(n){i[n]={numbers:t.nr,plurals:nS[t.fc]}})}),i}var oS=function(){function i(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Do(this,i),this.languageUtils=t,this.options=n,this.logger=qa.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=iS()}return Ao(i,[{key:"addRule",value:function(n,s){this.rules[n]=s}},{key:"getRule",value:function(n){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(n,{type:s.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this.getRule(n,s);return this.shouldUseIntlApi()?o&&o.resolvedOptions().pluralCategories.length>1:o&&o.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(n,s){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(n,o).map(function(l){return"".concat(s).concat(l)})}},{key:"getSuffixes",value:function(n){var s=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=this.getRule(n,o);return l?this.shouldUseIntlApi()?l.resolvedOptions().pluralCategories.sort(function(g,k){return Vh[g]-Vh[k]}).map(function(g){return"".concat(s.options.prepend).concat(g)}):l.numbers.map(function(g){return s.getSuffix(n,g,o)}):[]}},{key:"getSuffix",value:function(n,s){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=this.getRule(n,o);return l?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(l.select(s)):this.getSuffixRetroCompatible(l,s):(this.logger.warn("no plural rule found for: ".concat(n)),"")}},{key:"getSuffixRetroCompatible",value:function(n,s){var o=this,l=n.noAbs?n.plurals(s):n.plurals(Math.abs(s)),g=n.numbers[l];this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1&&(g===2?g="plural":g===1&&(g=""));var k=function(){return o.options.prepend&&g.toString()?o.options.prepend+g.toString():g.toString()};return this.options.compatibilityJSON==="v1"?g===1?"":typeof g=="number"?"_plural_".concat(g.toString()):k():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1?k():this.options.prepend&&l.toString()?this.options.prepend+l.toString():l.toString()}},{key:"shouldUseIntlApi",value:function(){return!rS.includes(this.options.compatibilityJSON)}}]),i}();function Gh(i,t){var n=Object.keys(i);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(i);t&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(i,o).enumerable})),n.push.apply(n,s)}return n}function Sa(i){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Gh(Object(n),!0).forEach(function(s){Ka(i,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(n)):Gh(Object(n)).forEach(function(s){Object.defineProperty(i,s,Object.getOwnPropertyDescriptor(n,s))})}return i}function qh(i,t,n){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,l=Yw(i,t,n);return!l&&o&&typeof n=="string"&&(l=Pc(i,n,s),l===void 0&&(l=Pc(t,n,s))),l}var aS=function(){function i(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Do(this,i),this.logger=qa.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return Ao(i,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var s=n.interpolation;this.escape=s.escape!==void 0?s.escape:Gw,this.escapeValue=s.escapeValue!==void 0?s.escapeValue:!0,this.useRawValueToEscape=s.useRawValueToEscape!==void 0?s.useRawValueToEscape:!1,this.prefix=s.prefix?Pl(s.prefix):s.prefixEscaped||"{{",this.suffix=s.suffix?Pl(s.suffix):s.suffixEscaped||"}}",this.formatSeparator=s.formatSeparator?s.formatSeparator:s.formatSeparator||",",this.unescapePrefix=s.unescapeSuffix?"":s.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":s.unescapeSuffix||"",this.nestingPrefix=s.nestingPrefix?Pl(s.nestingPrefix):s.nestingPrefixEscaped||Pl("$t("),this.nestingSuffix=s.nestingSuffix?Pl(s.nestingSuffix):s.nestingSuffixEscaped||Pl(")"),this.nestingOptionsSeparator=s.nestingOptionsSeparator?s.nestingOptionsSeparator:s.nestingOptionsSeparator||",",this.maxReplaces=s.maxReplaces?s.maxReplaces:1e3,this.alwaysFormat=s.alwaysFormat!==void 0?s.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var n="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(n,"g");var s="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(s,"g");var o="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(o,"g")}},{key:"interpolate",value:function(n,s,o,l){var g=this,k,C,A,U=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function L(J){return J.replace(/\$/g,"$$$$")}var q=function(F){if(F.indexOf(g.formatSeparator)<0){var he=qh(s,U,F,g.options.keySeparator,g.options.ignoreJSONStructure);return g.alwaysFormat?g.format(he,void 0,o,Sa(Sa(Sa({},l),s),{},{interpolationkey:F})):he}var ye=F.split(g.formatSeparator),Ie=ye.shift().trim(),de=ye.join(g.formatSeparator).trim();return g.format(qh(s,U,Ie,g.options.keySeparator,g.options.ignoreJSONStructure),de,o,Sa(Sa(Sa({},l),s),{},{interpolationkey:Ie}))};this.resetRegExp();var Q=l&&l.missingInterpolationHandler||this.options.missingInterpolationHandler,re=l&&l.interpolation&&l.interpolation.skipOnVariables!==void 0?l.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,ne=[{regex:this.regexpUnescape,safeValue:function(F){return L(F)}},{regex:this.regexp,safeValue:function(F){return g.escapeValue?L(g.escape(F)):L(F)}}];return ne.forEach(function(J){for(A=0;k=J.regex.exec(n);){var F=k[1].trim();if(C=q(F),C===void 0)if(typeof Q=="function"){var he=Q(n,k,l);C=typeof he=="string"?he:""}else if(l&&Object.prototype.hasOwnProperty.call(l,F))C="";else if(re){C=k[0];continue}else g.logger.warn("missed to pass in variable ".concat(F," for interpolating ").concat(n)),C="";else typeof C!="string"&&!g.useRawValueToEscape&&(C=jh(C));var ye=J.safeValue(C);if(n=n.replace(k[0],ye),re?(J.regex.lastIndex+=C.length,J.regex.lastIndex-=k[0].length):J.regex.lastIndex=0,A++,A>=g.maxReplaces)break}}),n}},{key:"nest",value:function(n,s){var o=this,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},g,k,C;function A(Q,re){var ne=this.nestingOptionsSeparator;if(Q.indexOf(ne)<0)return Q;var J=Q.split(new RegExp("".concat(ne,"[ ]*{"))),F="{".concat(J[1]);Q=J[0],F=this.interpolate(F,C);var he=F.match(/'/g),ye=F.match(/"/g);(he&&he.length%2===0&&!ye||ye.length%2!==0)&&(F=F.replace(/'/g,'"'));try{C=JSON.parse(F),re&&(C=Sa(Sa({},re),C))}catch(Ie){return this.logger.warn("failed parsing options string in nesting for key ".concat(Q),Ie),"".concat(Q).concat(ne).concat(F)}return delete C.defaultValue,Q}for(;g=this.nestingRegexp.exec(n);){var U=[];C=Sa({},l),C=C.replace&&typeof C.replace!="string"?C.replace:C,C.applyPostProcessor=!1,delete C.defaultValue;var L=!1;if(g[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(g[1])){var q=g[1].split(this.formatSeparator).map(function(Q){return Q.trim()});g[1]=q.shift(),U=q,L=!0}if(k=s(A.call(this,g[1].trim(),C),C),k&&g[0]===n&&typeof k!="string")return k;typeof k!="string"&&(k=jh(k)),k||(this.logger.warn("missed to resolve ".concat(g[1]," for nesting ").concat(n)),k=""),L&&(k=U.reduce(function(Q,re){return o.format(Q,re,l.lng,Sa(Sa({},l),{},{interpolationkey:g[1].trim()}))},k.trim())),n=n.replace(g[0],k),this.regexp.lastIndex=0}return n}}]),i}();function Xh(i,t){var n=Object.keys(i);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(i);t&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(i,o).enumerable})),n.push.apply(n,s)}return n}function As(i){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Xh(Object(n),!0).forEach(function(s){Ka(i,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(n)):Xh(Object(n)).forEach(function(s){Object.defineProperty(i,s,Object.getOwnPropertyDescriptor(n,s))})}return i}function sS(i){var t=i.toLowerCase().trim(),n={};if(i.indexOf("(")>-1){var s=i.split("(");t=s[0].toLowerCase().trim();var o=s[1].substring(0,s[1].length-1);if(t==="currency"&&o.indexOf(":")<0)n.currency||(n.currency=o.trim());else if(t==="relativetime"&&o.indexOf(":")<0)n.range||(n.range=o.trim());else{var l=o.split(";");l.forEach(function(g){if(g){var k=g.split(":"),C=Hw(k),A=C[0],U=C.slice(1),L=U.join(":").trim().replace(/^'+|'+$/g,"");n[A.trim()]||(n[A.trim()]=L),L==="false"&&(n[A.trim()]=!1),L==="true"&&(n[A.trim()]=!0),isNaN(L)||(n[A.trim()]=parseInt(L,10))}})}}return{formatName:t,formatOptions:n}}function Ll(i){var t={};return function(s,o,l){var g=o+JSON.stringify(l),k=t[g];return k||(k=i(o,l),t[g]=k),k(s)}}var uS=function(){function i(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Do(this,i),this.logger=qa.create("formatter"),this.options=t,this.formats={number:Ll(function(n,s){var o=new Intl.NumberFormat(n,As({},s));return function(l){return o.format(l)}}),currency:Ll(function(n,s){var o=new Intl.NumberFormat(n,As(As({},s),{},{style:"currency"}));return function(l){return o.format(l)}}),datetime:Ll(function(n,s){var o=new Intl.DateTimeFormat(n,As({},s));return function(l){return o.format(l)}}),relativetime:Ll(function(n,s){var o=new Intl.RelativeTimeFormat(n,As({},s));return function(l){return o.format(l,s.range||"day")}}),list:Ll(function(n,s){var o=new Intl.ListFormat(n,As({},s));return function(l){return o.format(l)}})},this.init(t)}return Ao(i,[{key:"init",value:function(n){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},o=s.interpolation;this.formatSeparator=o.formatSeparator?o.formatSeparator:o.formatSeparator||","}},{key:"add",value:function(n,s){this.formats[n.toLowerCase().trim()]=s}},{key:"addCached",value:function(n,s){this.formats[n.toLowerCase().trim()]=Ll(s)}},{key:"format",value:function(n,s,o){var l=this,g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},k=s.split(this.formatSeparator),C=k.reduce(function(A,U){var L=sS(U),q=L.formatName,Q=L.formatOptions;if(l.formats[q]){var re=A;try{var ne=g&&g.formatParams&&g.formatParams[g.interpolationkey]||{},J=ne.locale||ne.lng||g.locale||g.lng||o;re=l.formats[q](A,J,As(As(As({},Q),g),ne))}catch(F){l.logger.warn(F)}return re}else l.logger.warn("there was no format function for ".concat(q));return A},n);return C}}]),i}();function Kh(i,t){var n=Object.keys(i);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(i);t&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(i,o).enumerable})),n.push.apply(n,s)}return n}function Jh(i){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Kh(Object(n),!0).forEach(function(s){Ka(i,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(n)):Kh(Object(n)).forEach(function(s){Object.defineProperty(i,s,Object.getOwnPropertyDescriptor(n,s))})}return i}function lS(i){var t=cS();return function(){var s=Xa(i),o;if(t){var l=Xa(this).constructor;o=Reflect.construct(s,arguments,l)}else o=s.apply(this,arguments);return sc(this,o)}}function cS(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function fS(i,t){i.pending[t]!==void 0&&(delete i.pending[t],i.pendingCount--)}var dS=function(i){Uc(n,i);var t=lS(n);function n(s,o,l){var g,k=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return Do(this,n),g=t.call(this),Wc&&gu.call(Fs(g)),g.backend=s,g.store=o,g.services=l,g.languageUtils=l.languageUtils,g.options=k,g.logger=qa.create("backendConnector"),g.waitingReads=[],g.maxParallelReads=k.maxParallelReads||10,g.readingCalls=0,g.maxRetries=k.maxRetries>=0?k.maxRetries:5,g.retryTimeout=k.retryTimeout>=1?k.retryTimeout:350,g.state={},g.queue=[],g.backend&&g.backend.init&&g.backend.init(l,k.backend,k),g}return Ao(n,[{key:"queueLoad",value:function(o,l,g,k){var C=this,A={},U={},L={},q={};return o.forEach(function(Q){var re=!0;l.forEach(function(ne){var J="".concat(Q,"|").concat(ne);!g.reload&&C.store.hasResourceBundle(Q,ne)?C.state[J]=2:C.state[J]<0||(C.state[J]===1?U[J]===void 0&&(U[J]=!0):(C.state[J]=1,re=!1,U[J]===void 0&&(U[J]=!0),A[J]===void 0&&(A[J]=!0),q[ne]===void 0&&(q[ne]=!0)))}),re||(L[Q]=!0)}),(Object.keys(A).length||Object.keys(U).length)&&this.queue.push({pending:U,pendingCount:Object.keys(U).length,loaded:{},errors:[],callback:k}),{toLoad:Object.keys(A),pending:Object.keys(U),toLoadLanguages:Object.keys(L),toLoadNamespaces:Object.keys(q)}}},{key:"loaded",value:function(o,l,g){var k=o.split("|"),C=k[0],A=k[1];l&&this.emit("failedLoading",C,A,l),g&&this.store.addResourceBundle(C,A,g),this.state[o]=l?-1:2;var U={};this.queue.forEach(function(L){zw(L.loaded,[C],A),fS(L,o),l&&L.errors.push(l),L.pendingCount===0&&!L.done&&(Object.keys(L.loaded).forEach(function(q){U[q]||(U[q]={});var Q=L.loaded[q];Q.length&&Q.forEach(function(re){U[q][re]===void 0&&(U[q][re]=!0)})}),L.done=!0,L.errors.length?L.callback(L.errors):L.callback())}),this.emit("loaded",U),this.queue=this.queue.filter(function(L){return!L.done})}},{key:"read",value:function(o,l,g){var k=this,C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,A=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,U=arguments.length>5?arguments[5]:void 0;if(!o.length)return U(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:o,ns:l,fcName:g,tried:C,wait:A,callback:U});return}this.readingCalls++;var L=function(ne,J){if(k.readingCalls--,k.waitingReads.length>0){var F=k.waitingReads.shift();k.read(F.lng,F.ns,F.fcName,F.tried,F.wait,F.callback)}if(ne&&J&&C<k.maxRetries){setTimeout(function(){k.read.call(k,o,l,g,C+1,A*2,U)},A);return}U(ne,J)},q=this.backend[g].bind(this.backend);if(q.length===2){try{var Q=q(o,l);Q&&typeof Q.then=="function"?Q.then(function(re){return L(null,re)}).catch(L):L(null,Q)}catch(re){L(re)}return}return q(o,l,L)}},{key:"prepareLoading",value:function(o,l){var g=this,k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},C=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),C&&C();typeof o=="string"&&(o=this.languageUtils.toResolveHierarchy(o)),typeof l=="string"&&(l=[l]);var A=this.queueLoad(o,l,k,C);if(!A.toLoad.length)return A.pending.length||C(),null;A.toLoad.forEach(function(U){g.loadOne(U)})}},{key:"load",value:function(o,l,g){this.prepareLoading(o,l,{},g)}},{key:"reload",value:function(o,l,g){this.prepareLoading(o,l,{reload:!0},g)}},{key:"loadOne",value:function(o){var l=this,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",k=o.split("|"),C=k[0],A=k[1];this.read(C,A,"read",void 0,void 0,function(U,L){U&&l.logger.warn("".concat(g,"loading namespace ").concat(A," for language ").concat(C," failed"),U),!U&&L&&l.logger.log("".concat(g,"loaded namespace ").concat(A," for language ").concat(C),L),l.loaded(o,U,L)})}},{key:"saveMissing",value:function(o,l,g,k,C){var A=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},U=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(l)){this.logger.warn('did not save key "'.concat(g,'" as the namespace "').concat(l,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(g==null||g==="")){if(this.backend&&this.backend.create){var L=Jh(Jh({},A),{},{isUpdate:C}),q=this.backend.create.bind(this.backend);if(q.length<6)try{var Q;q.length===5?Q=q(o,l,g,k,L):Q=q(o,l,g,k),Q&&typeof Q.then=="function"?Q.then(function(re){return U(null,re)}).catch(U):U(null,Q)}catch(re){U(re)}else q(o,l,g,k,U,L)}!o||!o[0]||this.store.addResource(o[0],l,g,k)}}}]),n}(gu);function Zh(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var n={};if(Oo(t[1])==="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),Oo(t[2])==="object"||Oo(t[3])==="object"){var s=t[3]||t[2];Object.keys(s).forEach(function(o){n[o]=s[o]})}return n},interpolation:{escapeValue:!0,format:function(t,n,s,o){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Qh(i){return typeof i.ns=="string"&&(i.ns=[i.ns]),typeof i.fallbackLng=="string"&&(i.fallbackLng=[i.fallbackLng]),typeof i.fallbackNS=="string"&&(i.fallbackNS=[i.fallbackNS]),i.supportedLngs&&i.supportedLngs.indexOf("cimode")<0&&(i.supportedLngs=i.supportedLngs.concat(["cimode"])),i}function ep(i,t){var n=Object.keys(i);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(i);t&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(i,o).enumerable})),n.push.apply(n,s)}return n}function Va(i){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ep(Object(n),!0).forEach(function(s){Ka(i,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(n)):ep(Object(n)).forEach(function(s){Object.defineProperty(i,s,Object.getOwnPropertyDescriptor(n,s))})}return i}function hS(i){var t=pS();return function(){var s=Xa(i),o;if(t){var l=Xa(this).constructor;o=Reflect.construct(s,arguments,l)}else o=s.apply(this,arguments);return sc(this,o)}}function pS(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function kc(){}function gS(i){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(i));t.forEach(function(n){typeof i[n]=="function"&&(i[n]=i[n].bind(i))})}var Lc=function(i){Uc(n,i);var t=hS(n);function n(){var s,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0;if(Do(this,n),s=t.call(this),Wc&&gu.call(Fs(s)),s.options=Qh(o),s.services={},s.logger=qa,s.modules={external:[]},gS(Fs(s)),l&&!s.isInitialized&&!o.isClone){if(!s.options.initImmediate)return s.init(o,l),sc(s,Fs(s));setTimeout(function(){s.init(o,l)},0)}return s}return Ao(n,[{key:"init",value:function(){var o=this,l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g=arguments.length>1?arguments[1]:void 0;typeof l=="function"&&(g=l,l={}),!l.defaultNS&&l.defaultNS!==!1&&l.ns&&(typeof l.ns=="string"?l.defaultNS=l.ns:l.ns.indexOf("translation")<0&&(l.defaultNS=l.ns[0]));var k=Zh();this.options=Va(Va(Va({},k),this.options),Qh(l)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=Va(Va({},k.interpolation),this.options.interpolation)),l.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=l.keySeparator),l.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=l.nsSeparator);function C(F){return F?typeof F=="function"?new F:F:null}if(!this.options.isClone){this.modules.logger?qa.init(C(this.modules.logger),this.options):qa.init(null,this.options);var A;this.modules.formatter?A=this.modules.formatter:typeof Intl<"u"&&(A=uS);var U=new Yh(this.options);this.store=new Zw(this.options.resources,this.options);var L=this.services;L.logger=qa,L.resourceStore=this.store,L.languageUtils=U,L.pluralResolver=new oS(U,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),A&&(!this.options.interpolation.format||this.options.interpolation.format===k.interpolation.format)&&(L.formatter=C(A),L.formatter.init(L,this.options),this.options.interpolation.format=L.formatter.format.bind(L.formatter)),L.interpolator=new aS(this.options),L.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},L.backendConnector=new dS(C(this.modules.backend),L.resourceStore,L,this.options),L.backendConnector.on("*",function(F){for(var he=arguments.length,ye=new Array(he>1?he-1:0),Ie=1;Ie<he;Ie++)ye[Ie-1]=arguments[Ie];o.emit.apply(o,[F].concat(ye))}),this.modules.languageDetector&&(L.languageDetector=C(this.modules.languageDetector),L.languageDetector.init&&L.languageDetector.init(L,this.options.detection,this.options)),this.modules.i18nFormat&&(L.i18nFormat=C(this.modules.i18nFormat),L.i18nFormat.init&&L.i18nFormat.init(this)),this.translator=new zh(this.services,this.options),this.translator.on("*",function(F){for(var he=arguments.length,ye=new Array(he>1?he-1:0),Ie=1;Ie<he;Ie++)ye[Ie-1]=arguments[Ie];o.emit.apply(o,[F].concat(ye))}),this.modules.external.forEach(function(F){F.init&&F.init(o)})}if(this.format=this.options.interpolation.format,g||(g=kc),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var q=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);q.length>0&&q[0]!=="dev"&&(this.options.lng=q[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var Q=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];Q.forEach(function(F){o[F]=function(){var he;return(he=o.store)[F].apply(he,arguments)}});var re=["addResource","addResources","addResourceBundle","removeResourceBundle"];re.forEach(function(F){o[F]=function(){var he;return(he=o.store)[F].apply(he,arguments),o}});var ne=Kl(),J=function(){var he=function(Ie,de){o.isInitialized&&!o.initializedStoreOnce&&o.logger.warn("init: i18next is already initialized. You should call init just once!"),o.isInitialized=!0,o.options.isClone||o.logger.log("initialized",o.options),o.emit("initialized",o.options),ne.resolve(de),g(Ie,de)};if(o.languages&&o.options.compatibilityAPI!=="v1"&&!o.isInitialized)return he(null,o.t.bind(o));o.changeLanguage(o.options.lng,he)};return this.options.resources||!this.options.initImmediate?J():setTimeout(J,0),ne}},{key:"loadResources",value:function(o){var l=this,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:kc,k=g,C=typeof o=="string"?o:this.language;if(typeof o=="function"&&(k=o),!this.options.resources||this.options.partialBundledLanguages){if(C&&C.toLowerCase()==="cimode")return k();var A=[],U=function(Q){if(Q){var re=l.services.languageUtils.toResolveHierarchy(Q);re.forEach(function(ne){A.indexOf(ne)<0&&A.push(ne)})}};if(C)U(C);else{var L=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);L.forEach(function(q){return U(q)})}this.options.preload&&this.options.preload.forEach(function(q){return U(q)}),this.services.backendConnector.load(A,this.options.ns,function(q){!q&&!l.resolvedLanguage&&l.language&&l.setResolvedLanguage(l.language),k(q)})}else k(null)}},{key:"reloadResources",value:function(o,l,g){var k=Kl();return o||(o=this.languages),l||(l=this.options.ns),g||(g=kc),this.services.backendConnector.reload(o,l,function(C){k.resolve(),g(C)}),k}},{key:"use",value:function(o){if(!o)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!o.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return o.type==="backend"&&(this.modules.backend=o),(o.type==="logger"||o.log&&o.warn&&o.error)&&(this.modules.logger=o),o.type==="languageDetector"&&(this.modules.languageDetector=o),o.type==="i18nFormat"&&(this.modules.i18nFormat=o),o.type==="postProcessor"&&ug.addPostProcessor(o),o.type==="formatter"&&(this.modules.formatter=o),o.type==="3rdParty"&&this.modules.external.push(o),this}},{key:"setResolvedLanguage",value:function(o){if(!(!o||!this.languages)&&!(["cimode","dev"].indexOf(o)>-1))for(var l=0;l<this.languages.length;l++){var g=this.languages[l];if(!(["cimode","dev"].indexOf(g)>-1)&&this.store.hasLanguageSomeTranslations(g)){this.resolvedLanguage=g;break}}}},{key:"changeLanguage",value:function(o,l){var g=this;this.isLanguageChangingTo=o;var k=Kl();this.emit("languageChanging",o);var C=function(q){g.language=q,g.languages=g.services.languageUtils.toResolveHierarchy(q),g.resolvedLanguage=void 0,g.setResolvedLanguage(q)},A=function(q,Q){Q?(C(Q),g.translator.changeLanguage(Q),g.isLanguageChangingTo=void 0,g.emit("languageChanged",Q),g.logger.log("languageChanged",Q)):g.isLanguageChangingTo=void 0,k.resolve(function(){return g.t.apply(g,arguments)}),l&&l(q,function(){return g.t.apply(g,arguments)})},U=function(q){!o&&!q&&g.services.languageDetector&&(q=[]);var Q=typeof q=="string"?q:g.services.languageUtils.getBestMatchFromCodes(q);Q&&(g.language||C(Q),g.translator.language||g.translator.changeLanguage(Q),g.services.languageDetector&&g.services.languageDetector.cacheUserLanguage&&g.services.languageDetector.cacheUserLanguage(Q)),g.loadResources(Q,function(re){A(re,Q)})};return!o&&this.services.languageDetector&&!this.services.languageDetector.async?U(this.services.languageDetector.detect()):!o&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(U):this.services.languageDetector.detect(U):U(o),k}},{key:"getFixedT",value:function(o,l,g){var k=this,C=function A(U,L){var q;if(Oo(L)!=="object"){for(var Q=arguments.length,re=new Array(Q>2?Q-2:0),ne=2;ne<Q;ne++)re[ne-2]=arguments[ne];q=k.options.overloadTranslationOptionHandler([U,L].concat(re))}else q=Va({},L);q.lng=q.lng||A.lng,q.lngs=q.lngs||A.lngs,q.ns=q.ns||A.ns,q.keyPrefix=q.keyPrefix||g||A.keyPrefix;var J=k.options.keySeparator||".",F;return q.keyPrefix&&Array.isArray(U)?F=U.map(function(he){return"".concat(q.keyPrefix).concat(J).concat(he)}):F=q.keyPrefix?"".concat(q.keyPrefix).concat(J).concat(U):U,k.t(F,q)};return typeof o=="string"?C.lng=o:C.lngs=o,C.ns=l,C.keyPrefix=g,C}},{key:"t",value:function(){var o;return this.translator&&(o=this.translator).translate.apply(o,arguments)}},{key:"exists",value:function(){var o;return this.translator&&(o=this.translator).exists.apply(o,arguments)}},{key:"setDefaultNamespace",value:function(o){this.options.defaultNS=o}},{key:"hasLoadedNamespace",value:function(o){var l=this,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var k=g.lng||this.resolvedLanguage||this.languages[0],C=this.options?this.options.fallbackLng:!1,A=this.languages[this.languages.length-1];if(k.toLowerCase()==="cimode")return!0;var U=function(Q,re){var ne=l.services.backendConnector.state["".concat(Q,"|").concat(re)];return ne===-1||ne===2};if(g.precheck){var L=g.precheck(this,U);if(L!==void 0)return L}return!!(this.hasResourceBundle(k,o)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||U(k,o)&&(!C||U(A,o)))}},{key:"loadNamespaces",value:function(o,l){var g=this,k=Kl();return this.options.ns?(typeof o=="string"&&(o=[o]),o.forEach(function(C){g.options.ns.indexOf(C)<0&&g.options.ns.push(C)}),this.loadResources(function(C){k.resolve(),l&&l(C)}),k):(l&&l(),Promise.resolve())}},{key:"loadLanguages",value:function(o,l){var g=Kl();typeof o=="string"&&(o=[o]);var k=this.options.preload||[],C=o.filter(function(A){return k.indexOf(A)<0});return C.length?(this.options.preload=k.concat(C),this.loadResources(function(A){g.resolve(),l&&l(A)}),g):(l&&l(),Promise.resolve())}},{key:"dir",value:function(o){if(o||(o=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!o)return"rtl";var l=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],g=this.services&&this.services.languageUtils||new Yh(Zh());return l.indexOf(g.getLanguagePartFromCode(o))>-1||o.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var o=this,l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:kc,k=Va(Va(Va({},this.options),l),{isClone:!0}),C=new n(k);(l.debug!==void 0||l.prefix!==void 0)&&(C.logger=C.logger.clone(l));var A=["store","services","language"];return A.forEach(function(U){C[U]=o[U]}),C.services=Va({},this.services),C.services.utils={hasLoadedNamespace:C.hasLoadedNamespace.bind(C)},C.translator=new zh(C.services,C.options),C.translator.on("*",function(U){for(var L=arguments.length,q=new Array(L>1?L-1:0),Q=1;Q<L;Q++)q[Q-1]=arguments[Q];C.emit.apply(C,[U].concat(q))}),C.init(k,g),C.translator.options=C.options,C.translator.backendConnector.services.utils={hasLoadedNamespace:C.hasLoadedNamespace.bind(C)},C}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(gu);Ka(Lc,"createInstance",function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new Lc(i,t)});var Mr=Lc.createInstance();Mr.createInstance=Lc.createInstance;Mr.createInstance;Mr.dir;Mr.init;Mr.loadResources;Mr.reloadResources;Mr.use;Mr.changeLanguage;Mr.getFixedT;var lg=Mr.t;Mr.exists;Mr.setDefaultNamespace;Mr.hasLoadedNamespace;Mr.loadNamespaces;Mr.loadLanguages;var cg=[],vS=cg.forEach,mS=cg.slice;function yS(i){return vS.call(mS.call(arguments,1),function(t){if(t)for(var n in t)i[n]===void 0&&(i[n]=t[n])}),i}var tp=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,bS=function(t,n,s){var o=s||{};o.path=o.path||"/";var l=encodeURIComponent(n),g="".concat(t,"=").concat(l);if(o.maxAge>0){var k=o.maxAge-0;if(Number.isNaN(k))throw new Error("maxAge should be a Number");g+="; Max-Age=".concat(Math.floor(k))}if(o.domain){if(!tp.test(o.domain))throw new TypeError("option domain is invalid");g+="; Domain=".concat(o.domain)}if(o.path){if(!tp.test(o.path))throw new TypeError("option path is invalid");g+="; Path=".concat(o.path)}if(o.expires){if(typeof o.expires.toUTCString!="function")throw new TypeError("option expires is invalid");g+="; Expires=".concat(o.expires.toUTCString())}if(o.httpOnly&&(g+="; HttpOnly"),o.secure&&(g+="; Secure"),o.sameSite){var C=typeof o.sameSite=="string"?o.sameSite.toLowerCase():o.sameSite;switch(C){case!0:g+="; SameSite=Strict";break;case"lax":g+="; SameSite=Lax";break;case"strict":g+="; SameSite=Strict";break;case"none":g+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return g},np={create:function(t,n,s,o){var l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};s&&(l.expires=new Date,l.expires.setTime(l.expires.getTime()+s*60*1e3)),o&&(l.domain=o),document.cookie=bS(t,encodeURIComponent(n),l)},read:function(t){for(var n="".concat(t,"="),s=document.cookie.split(";"),o=0;o<s.length;o++){for(var l=s[o];l.charAt(0)===" ";)l=l.substring(1,l.length);if(l.indexOf(n)===0)return l.substring(n.length,l.length)}return null},remove:function(t){this.create(t,"",-1)}},wS={name:"cookie",lookup:function(t){var n;if(t.lookupCookie&&typeof document<"u"){var s=np.read(t.lookupCookie);s&&(n=s)}return n},cacheUserLanguage:function(t,n){n.lookupCookie&&typeof document<"u"&&np.create(n.lookupCookie,t,n.cookieMinutes,n.cookieDomain,n.cookieOptions)}},SS={name:"querystring",lookup:function(t){var n;if(typeof window<"u"){var s=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(s=window.location.hash.substring(window.location.hash.indexOf("?")));for(var o=s.substring(1),l=o.split("&"),g=0;g<l.length;g++){var k=l[g].indexOf("=");if(k>0){var C=l[g].substring(0,k);C===t.lookupQuerystring&&(n=l[g].substring(k+1))}}}return n}},Jl=null,rp=function(){if(Jl!==null)return Jl;try{Jl=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{Jl=!1}return Jl},xS={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&rp()){var s=window.localStorage.getItem(t.lookupLocalStorage);s&&(n=s)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&rp()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},Zl=null,ip=function(){if(Zl!==null)return Zl;try{Zl=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{Zl=!1}return Zl},CS={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&ip()){var s=window.sessionStorage.getItem(t.lookupSessionStorage);s&&(n=s)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&ip()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},ES={name:"navigator",lookup:function(t){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var s=0;s<navigator.languages.length;s++)n.push(navigator.languages[s]);navigator.userLanguage&&n.push(navigator.userLanguage),navigator.language&&n.push(navigator.language)}return n.length>0?n:void 0}},kS={name:"htmlTag",lookup:function(t){var n,s=t.htmlTag||(typeof document<"u"?document.documentElement:null);return s&&typeof s.getAttribute=="function"&&(n=s.getAttribute("lang")),n}},TS={name:"path",lookup:function(t){var n;if(typeof window<"u"){var s=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(s instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof s[t.lookupFromPathIndex]!="string")return;n=s[t.lookupFromPathIndex].replace("/","")}else n=s[0].replace("/","")}return n}},_S={name:"subdomain",lookup:function(t){var n=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,s=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(s)return s[n]}};function RS(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(t){return t}}}var fg=function(){function i(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Do(this,i),this.type="languageDetector",this.detectors={},this.init(t,n)}return Ao(i,[{key:"init",value:function(n){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n||{languageUtils:{}},this.options=yS(s,this.options||{},RS()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(l){return l.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=o,this.addDetector(wS),this.addDetector(SS),this.addDetector(xS),this.addDetector(CS),this.addDetector(ES),this.addDetector(kS),this.addDetector(TS),this.addDetector(_S)}},{key:"addDetector",value:function(n){this.detectors[n.name]=n}},{key:"detect",value:function(n){var s=this;n||(n=this.options.order);var o=[];return n.forEach(function(l){if(s.detectors[l]){var g=s.detectors[l].lookup(s.options);g&&typeof g=="string"&&(g=[g]),g&&(o=o.concat(g))}}),o=o.map(function(l){return s.options.convertDetectedLanguage(l)}),this.services.languageUtils.getBestMatchFromCodes?o:o.length>0?o[0]:null}},{key:"cacheUserLanguage",value:function(n,s){var o=this;s||(s=this.options.caches),s&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||s.forEach(function(l){o.detectors[l]&&o.detectors[l].cacheUserLanguage(n,o.options)}))}}]),i}();fg.type="languageDetector";function dd(i,t){if(i==null)return{};var n={},s=Object.keys(i),o,l;for(l=0;l<s.length;l++)o=s[l],!(t.indexOf(o)>=0)&&(n[o]=i[o]);return n}const IS=Object.freeze(Object.defineProperty({__proto__:null,default:dd},Symbol.toStringTag,{value:"Module"}));function OS(){if(console&&console.warn){for(var i,t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];typeof n[0]=="string"&&(n[0]="react-i18next:: ".concat(n[0])),(i=console).warn.apply(i,n)}}var op={};function Kf(){for(var i=arguments.length,t=new Array(i),n=0;n<i;n++)t[n]=arguments[n];typeof t[0]=="string"&&op[t[0]]||(typeof t[0]=="string"&&(op[t[0]]=new Date),OS.apply(void 0,t))}var dg=function(t,n){return function(){if(t.isInitialized)n();else{var s=function o(){setTimeout(function(){t.off("initialized",o)},0),n()};t.on("initialized",s)}}};function ap(i,t,n){i.loadNamespaces(t,dg(i,n))}function sp(i,t,n,s){typeof n=="string"&&(n=[n]),n.forEach(function(o){i.options.ns.indexOf(o)<0&&i.options.ns.push(o)}),i.loadLanguages(t,dg(i,s))}function DS(i,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=t.languages[0],o=t.options?t.options.fallbackLng:!1,l=t.languages[t.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var g=function(C,A){var U=t.services.backendConnector.state["".concat(C,"|").concat(A)];return U===-1||U===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!g(t.isLanguageChangingTo,i)?!1:!!(t.hasResourceBundle(s,i)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||g(s,i)&&(!o||g(l,i)))}function AS(i,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t.languages||!t.languages.length)return Kf("i18n.languages were undefined or empty",t.languages),!0;var s=t.options.ignoreJSONStructure!==void 0;return s?t.hasLoadedNamespace(i,{lng:n.lng,precheck:function(l,g){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&l.services.backendConnector.backend&&l.isLanguageChangingTo&&!g(l.isLanguageChangingTo,i))return!1}}):DS(i,t,n)}var PS=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,LS={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},MS=function(t){return LS[t]},FS=function(t){return t.replace(PS,MS)};function up(i,t){var n=Object.keys(i);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(i);t&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(i,o).enumerable})),n.push.apply(n,s)}return n}function lp(i){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?up(Object(n),!0).forEach(function(s){Ka(i,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(n)):up(Object(n)).forEach(function(s){Object.defineProperty(i,s,Object.getOwnPropertyDescriptor(n,s))})}return i}var Jf={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:FS};function NS(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Jf=lp(lp({},Jf),i)}function BS(){return Jf}var hg;function jS(i){hg=i}function HS(){return hg}var US={type:"3rdParty",init:function(t){NS(t.options.react),jS(t)}},pg=Je.createContext(),WS=function(){function i(){Do(this,i),this.usedNamespaces={}}return Ao(i,[{key:"addUsedNamespaces",value:function(n){var s=this;n.forEach(function(o){s.usedNamespaces[o]||(s.usedNamespaces[o]=!0)})}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),i}();function $S(i,t){var n=i==null?null:typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(n!=null){var s,o,l,g,k=[],C=!0,A=!1;try{if(l=(n=n.call(i)).next,t===0){if(Object(n)!==n)return;C=!1}else for(;!(C=(s=l.call(n)).done)&&(k.push(s.value),k.length!==t);C=!0);}catch(U){A=!0,o=U}finally{try{if(!C&&n.return!=null&&(g=n.return(),Object(g)!==g))return}finally{if(A)throw o}}return k}}function zS(i,t){return ig(i)||$S(i,t)||og(i,t)||ag()}function cp(i,t){var n=Object.keys(i);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(i);t&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(i,o).enumerable})),n.push.apply(n,s)}return n}function If(i){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?cp(Object(n),!0).forEach(function(s){Ka(i,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(n)):cp(Object(n)).forEach(function(s){Object.defineProperty(i,s,Object.getOwnPropertyDescriptor(n,s))})}return i}var YS=function(t,n){var s=Je.useRef();return Je.useEffect(function(){s.current=n?s.current:t},[t,n]),s.current};function gg(i){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.i18n,s=Je.useContext(pg)||{},o=s.i18n,l=s.defaultNS,g=n||o||HS();if(g&&!g.reportNamespaces&&(g.reportNamespaces=new WS),!g){Kf("You will need to pass in an i18next instance by using initReactI18next");var k=function(ke,ht){return typeof ht=="string"?ht:ht&&Oo(ht)==="object"&&typeof ht.defaultValue=="string"?ht.defaultValue:Array.isArray(ke)?ke[ke.length-1]:ke},C=[k,{},!1];return C.t=k,C.i18n={},C.ready=!1,C}g.options.react&&g.options.react.wait!==void 0&&Kf("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var A=If(If(If({},BS()),g.options.react),t),U=A.useSuspense,L=A.keyPrefix,q=i||l||g.options&&g.options.defaultNS;q=typeof q=="string"?[q]:q||["translation"],g.reportNamespaces.addUsedNamespaces&&g.reportNamespaces.addUsedNamespaces(q);var Q=(g.isInitialized||g.initializedStoreOnce)&&q.every(function(Ue){return AS(Ue,g,A)});function re(){return g.getFixedT(t.lng||null,A.nsMode==="fallback"?q:q[0],L)}var ne=Je.useState(re),J=zS(ne,2),F=J[0],he=J[1],ye=q.join();t.lng&&(ye="".concat(t.lng).concat(ye));var Ie=YS(ye),de=Je.useRef(!0);Je.useEffect(function(){var Ue=A.bindI18n,ke=A.bindI18nStore;de.current=!0,!Q&&!U&&(t.lng?sp(g,t.lng,q,function(){de.current&&he(re)}):ap(g,q,function(){de.current&&he(re)})),Q&&Ie&&Ie!==ye&&de.current&&he(re);function ht(){de.current&&he(re)}return Ue&&g&&g.on(Ue,ht),ke&&g&&g.store.on(ke,ht),function(){de.current=!1,Ue&&g&&Ue.split(" ").forEach(function(Et){return g.off(Et,ht)}),ke&&g&&ke.split(" ").forEach(function(Et){return g.store.off(Et,ht)})}},[g,ye]);var je=Je.useRef(!0);Je.useEffect(function(){de.current&&!je.current&&he(re),je.current=!1},[g,L]);var m=[F,g,Q];if(m.t=F,m.i18n=g,m.ready=Q,Q||!Q&&!U)return m;throw new Promise(function(Ue){t.lng?sp(g,t.lng,q,function(){return Ue()}):ap(g,q,function(){return Ue()})})}function VS(i){var t=i.i18n,n=i.defaultNS,s=i.children,o=Je.useMemo(function(){return{i18n:t,defaultNS:n}},[t,n]);return Je.createElement(pg.Provider,{value:o},s)}var vg=[],GS=vg.forEach,qS=vg.slice;function XS(i){return GS.call(qS.call(arguments,1),function(t){if(t)for(var n in t)i[n]===void 0&&(i[n]=t[n])}),i}function KS(i){return i?typeof i=="function"?new i:i:null}function JS(){return{handleEmptyResourcesAsFailed:!0,cacheHitMode:"none"}}function fp(i,t,n,s){var o=i.read.bind(i);if(o.length===2){try{var l=o(t,n);l&&typeof l.then=="function"?l.then(function(g){return s(null,g)}).catch(s):s(null,l)}catch(g){s(g)}return}o(t,n,s)}var mg=function(){function i(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Do(this,i),this.backends=[],this.type="backend",this.allOptions=s,this.init(t,n)}return Ao(i,[{key:"init",value:function(n){var s=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=XS(o,this.options||{},JS()),this.allOptions=l,this.options.backends&&this.options.backends.forEach(function(g,k){s.backends[k]=s.backends[k]||KS(g),s.backends[k].init(n,s.options.backendOptions&&s.options.backendOptions[k]||{},l)}),this.services&&this.options.reloadInterval&&setInterval(function(){return s.reload()},this.options.reloadInterval)}},{key:"read",value:function(n,s,o){var l=this,g=this.backends.length,k=function A(U){if(U>=g)return o(new Error("non of the backend loaded data",!0));var L=U===g-1,q=l.options.handleEmptyResourcesAsFailed&&!L?0:-1,Q=l.backends[U];Q.read?fp(Q,n,s,function(re,ne,J){if(!re&&ne&&Object.keys(ne).length>q){if(o(null,ne,U),C(U-1,ne),Q.save&&l.options.cacheHitMode&&["refresh","refreshAndUpdateStore"].indexOf(l.options.cacheHitMode)>-1){if(J&&l.options.refreshExpirationTime&&J+l.options.refreshExpirationTime>Date.now())return;var F=l.backends[U+1];F&&F.read&&fp(F,n,s,function(he,ye){he||ye&&(Object.keys(ye).length<=q||(C(U,ye),l.options.cacheHitMode==="refreshAndUpdateStore"&&l.services&&l.services.resourceStore&&l.services.resourceStore.addResourceBundle(n,s,ye)))})}}else A(U+1)}):A(U+1)},C=function A(U,L){if(!(U<0)){var q=l.backends[U];q.save&&q.save(n,s,L),A(U-1,L)}};k(0)}},{key:"create",value:function(n,s,o,l){var g=arguments.length>4&&arguments[4]!==void 0?arguments[4]:function(){},k=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};this.backends.forEach(function(C){if(C.create){var A=C.create.bind(C);if(A.length<6){try{var U;A.length===5?U=A(n,s,o,l,k):U=A(n,s,o,l),U&&typeof U.then=="function"?U.then(function(L){return g(null,L)}).catch(g):g(null,U)}catch(L){g(L)}return}A(n,s,o,l,g,k)}})}},{key:"reload",value:function(){var n=this,s=this.services,o=s.backendConnector,l=s.languageUtils,g=s.logger,k=o.language;if(!(k&&k.toLowerCase()==="cimode")){var C=[],A=function(L){var q=l.toResolveHierarchy(L);q.forEach(function(Q){C.indexOf(Q)<0&&C.push(Q)})};A(k),this.allOptions.preload&&this.allOptions.preload.forEach(function(U){return A(U)}),C.forEach(function(U){n.allOptions.ns.forEach(function(L){o.read(U,L,"read",null,null,function(q,Q){q&&g.warn("loading namespace ".concat(L," for language ").concat(U," failed"),q),!q&&Q&&g.log("loaded namespace ".concat(L," for language ").concat(U),Q),o.loaded("".concat(U,"|").concat(L),q,Q)})})})}}}]),i}();mg.type="backend";function Zf(i){"@babel/helpers - typeof";return Zf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zf(i)}function yg(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":Zf(XMLHttpRequest))==="object"}function ZS(i){return!!i&&typeof i.then=="function"}function QS(i){return ZS(i)?i:Promise.resolve(i)}function e1(i){throw new Error('Could not dynamically require "'+i+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Qf={exports:{}},Tc={exports:{}},dp;function t1(){return dp||(dp=1,function(i,t){var n=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof Ro<"u"&&Ro,s=function(){function l(){this.fetch=!1,this.DOMException=n.DOMException}return l.prototype=n,new l}();(function(l){(function(g){var k=typeof l<"u"&&l||typeof self<"u"&&self||typeof k<"u"&&k,C={searchParams:"URLSearchParams"in k,iterable:"Symbol"in k&&"iterator"in Symbol,blob:"FileReader"in k&&"Blob"in k&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in k,arrayBuffer:"ArrayBuffer"in k};function A(me){return me&&DataView.prototype.isPrototypeOf(me)}if(C.arrayBuffer)var U=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],L=ArrayBuffer.isView||function(me){return me&&U.indexOf(Object.prototype.toString.call(me))>-1};function q(me){if(typeof me!="string"&&(me=String(me)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(me)||me==="")throw new TypeError('Invalid character in header field name: "'+me+'"');return me.toLowerCase()}function Q(me){return typeof me!="string"&&(me=String(me)),me}function re(me){var Le={next:function(){var Ve=me.shift();return{done:Ve===void 0,value:Ve}}};return C.iterable&&(Le[Symbol.iterator]=function(){return Le}),Le}function ne(me){this.map={},me instanceof ne?me.forEach(function(Le,Ve){this.append(Ve,Le)},this):Array.isArray(me)?me.forEach(function(Le){this.append(Le[0],Le[1])},this):me&&Object.getOwnPropertyNames(me).forEach(function(Le){this.append(Le,me[Le])},this)}ne.prototype.append=function(me,Le){me=q(me),Le=Q(Le);var Ve=this.map[me];this.map[me]=Ve?Ve+", "+Le:Le},ne.prototype.delete=function(me){delete this.map[q(me)]},ne.prototype.get=function(me){return me=q(me),this.has(me)?this.map[me]:null},ne.prototype.has=function(me){return this.map.hasOwnProperty(q(me))},ne.prototype.set=function(me,Le){this.map[q(me)]=Q(Le)},ne.prototype.forEach=function(me,Le){for(var Ve in this.map)this.map.hasOwnProperty(Ve)&&me.call(Le,this.map[Ve],Ve,this)},ne.prototype.keys=function(){var me=[];return this.forEach(function(Le,Ve){me.push(Ve)}),re(me)},ne.prototype.values=function(){var me=[];return this.forEach(function(Le){me.push(Le)}),re(me)},ne.prototype.entries=function(){var me=[];return this.forEach(function(Le,Ve){me.push([Ve,Le])}),re(me)},C.iterable&&(ne.prototype[Symbol.iterator]=ne.prototype.entries);function J(me){if(me.bodyUsed)return Promise.reject(new TypeError("Already read"));me.bodyUsed=!0}function F(me){return new Promise(function(Le,Ve){me.onload=function(){Le(me.result)},me.onerror=function(){Ve(me.error)}})}function he(me){var Le=new FileReader,Ve=F(Le);return Le.readAsArrayBuffer(me),Ve}function ye(me){var Le=new FileReader,Ve=F(Le);return Le.readAsText(me),Ve}function Ie(me){for(var Le=new Uint8Array(me),Ve=new Array(Le.length),qe=0;qe<Le.length;qe++)Ve[qe]=String.fromCharCode(Le[qe]);return Ve.join("")}function de(me){if(me.slice)return me.slice(0);var Le=new Uint8Array(me.byteLength);return Le.set(new Uint8Array(me)),Le.buffer}function je(){return this.bodyUsed=!1,this._initBody=function(me){this.bodyUsed=this.bodyUsed,this._bodyInit=me,me?typeof me=="string"?this._bodyText=me:C.blob&&Blob.prototype.isPrototypeOf(me)?this._bodyBlob=me:C.formData&&FormData.prototype.isPrototypeOf(me)?this._bodyFormData=me:C.searchParams&&URLSearchParams.prototype.isPrototypeOf(me)?this._bodyText=me.toString():C.arrayBuffer&&C.blob&&A(me)?(this._bodyArrayBuffer=de(me.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):C.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(me)||L(me))?this._bodyArrayBuffer=de(me):this._bodyText=me=Object.prototype.toString.call(me):this._bodyText="",this.headers.get("content-type")||(typeof me=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):C.searchParams&&URLSearchParams.prototype.isPrototypeOf(me)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},C.blob&&(this.blob=function(){var me=J(this);if(me)return me;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var me=J(this);return me||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else return this.blob().then(he)}),this.text=function(){var me=J(this);if(me)return me;if(this._bodyBlob)return ye(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(Ie(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},C.formData&&(this.formData=function(){return this.text().then(ht)}),this.json=function(){return this.text().then(JSON.parse)},this}var m=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Ue(me){var Le=me.toUpperCase();return m.indexOf(Le)>-1?Le:me}function ke(me,Le){if(!(this instanceof ke))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');Le=Le||{};var Ve=Le.body;if(me instanceof ke){if(me.bodyUsed)throw new TypeError("Already read");this.url=me.url,this.credentials=me.credentials,Le.headers||(this.headers=new ne(me.headers)),this.method=me.method,this.mode=me.mode,this.signal=me.signal,!Ve&&me._bodyInit!=null&&(Ve=me._bodyInit,me.bodyUsed=!0)}else this.url=String(me);if(this.credentials=Le.credentials||this.credentials||"same-origin",(Le.headers||!this.headers)&&(this.headers=new ne(Le.headers)),this.method=Ue(Le.method||this.method||"GET"),this.mode=Le.mode||this.mode||null,this.signal=Le.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&Ve)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(Ve),(this.method==="GET"||this.method==="HEAD")&&(Le.cache==="no-store"||Le.cache==="no-cache")){var qe=/([?&])_=[^&]*/;if(qe.test(this.url))this.url=this.url.replace(qe,"$1_="+new Date().getTime());else{var lt=/\?/;this.url+=(lt.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}ke.prototype.clone=function(){return new ke(this,{body:this._bodyInit})};function ht(me){var Le=new FormData;return me.trim().split("&").forEach(function(Ve){if(Ve){var qe=Ve.split("="),lt=qe.shift().replace(/\+/g," "),Ce=qe.join("=").replace(/\+/g," ");Le.append(decodeURIComponent(lt),decodeURIComponent(Ce))}}),Le}function Et(me){var Le=new ne,Ve=me.replace(/\r?\n[\t ]+/g," ");return Ve.split("\r").map(function(qe){return qe.indexOf(`
127
- `)===0?qe.substr(1,qe.length):qe}).forEach(function(qe){var lt=qe.split(":"),Ce=lt.shift().trim();if(Ce){var Pe=lt.join(":").trim();Le.append(Ce,Pe)}}),Le}je.call(ke.prototype);function vt(me,Le){if(!(this instanceof vt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');Le||(Le={}),this.type="default",this.status=Le.status===void 0?200:Le.status,this.ok=this.status>=200&&this.status<300,this.statusText=Le.statusText===void 0?"":""+Le.statusText,this.headers=new ne(Le.headers),this.url=Le.url||"",this._initBody(me)}je.call(vt.prototype),vt.prototype.clone=function(){return new vt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new ne(this.headers),url:this.url})},vt.error=function(){var me=new vt(null,{status:0,statusText:""});return me.type="error",me};var dt=[301,302,303,307,308];vt.redirect=function(me,Le){if(dt.indexOf(Le)===-1)throw new RangeError("Invalid status code");return new vt(null,{status:Le,headers:{location:me}})},g.DOMException=k.DOMException;try{new g.DOMException}catch{g.DOMException=function(Le,Ve){this.message=Le,this.name=Ve;var qe=Error(Le);this.stack=qe.stack},g.DOMException.prototype=Object.create(Error.prototype),g.DOMException.prototype.constructor=g.DOMException}function Ct(me,Le){return new Promise(function(Ve,qe){var lt=new ke(me,Le);if(lt.signal&&lt.signal.aborted)return qe(new g.DOMException("Aborted","AbortError"));var Ce=new XMLHttpRequest;function Pe(){Ce.abort()}Ce.onload=function(){var Xe={status:Ce.status,statusText:Ce.statusText,headers:Et(Ce.getAllResponseHeaders()||"")};Xe.url="responseURL"in Ce?Ce.responseURL:Xe.headers.get("X-Request-URL");var Qe="response"in Ce?Ce.response:Ce.responseText;setTimeout(function(){Ve(new vt(Qe,Xe))},0)},Ce.onerror=function(){setTimeout(function(){qe(new TypeError("Network request failed"))},0)},Ce.ontimeout=function(){setTimeout(function(){qe(new TypeError("Network request failed"))},0)},Ce.onabort=function(){setTimeout(function(){qe(new g.DOMException("Aborted","AbortError"))},0)};function Ye(Xe){try{return Xe===""&&k.location.href?k.location.href:Xe}catch{return Xe}}Ce.open(lt.method,Ye(lt.url),!0),lt.credentials==="include"?Ce.withCredentials=!0:lt.credentials==="omit"&&(Ce.withCredentials=!1),"responseType"in Ce&&(C.blob?Ce.responseType="blob":C.arrayBuffer&&lt.headers.get("Content-Type")&&lt.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(Ce.responseType="arraybuffer")),Le&&typeof Le.headers=="object"&&!(Le.headers instanceof ne)?Object.getOwnPropertyNames(Le.headers).forEach(function(Xe){Ce.setRequestHeader(Xe,Q(Le.headers[Xe]))}):lt.headers.forEach(function(Xe,Qe){Ce.setRequestHeader(Qe,Xe)}),lt.signal&&(lt.signal.addEventListener("abort",Pe),Ce.onreadystatechange=function(){Ce.readyState===4&&lt.signal.removeEventListener("abort",Pe)}),Ce.send(typeof lt._bodyInit>"u"?null:lt._bodyInit)})}return Ct.polyfill=!0,k.fetch||(k.fetch=Ct,k.Headers=ne,k.Request=ke,k.Response=vt),g.Headers=ne,g.Request=ke,g.Response=vt,g.fetch=Ct,g})({})})(s),s.fetch.ponyfill=!0,delete s.fetch.polyfill;var o=n.fetch?n:s;t=o.fetch,t.default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,i.exports=t}(Tc,Tc.exports)),Tc.exports}(function(i,t){var n;if(typeof fetch=="function"&&(typeof Ro<"u"&&Ro.fetch?n=Ro.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof e1<"u"&&(typeof window>"u"||typeof window.document>"u")){var s=n||t1();s.default&&(s=s.default),t.default=s,i.exports=t.default}})(Qf,Qf.exports);var bg=Qf.exports;const wg=ac(bg),hp=z0({__proto__:null,default:wg},[bg]);function pp(i,t){var n=Object.keys(i);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(i);t&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(i,o).enumerable})),n.push.apply(n,s)}return n}function gp(i){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pp(Object(n),!0).forEach(function(s){n1(i,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(n)):pp(Object(n)).forEach(function(s){Object.defineProperty(i,s,Object.getOwnPropertyDescriptor(n,s))})}return i}function n1(i,t,n){return t=r1(t),t in i?Object.defineProperty(i,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):i[t]=n,i}function r1(i){var t=i1(i,"string");return ol(t)=="symbol"?t:String(t)}function i1(i,t){if(ol(i)!="object"||!i)return i;var n=i[Symbol.toPrimitive];if(n!==void 0){var s=n.call(i,t||"default");if(ol(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(i)}function ol(i){"@babel/helpers - typeof";return ol=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ol(i)}var Ns;typeof fetch=="function"&&(typeof global<"u"&&global.fetch?Ns=global.fetch:typeof window<"u"&&window.fetch?Ns=window.fetch:Ns=fetch);var nc;yg()&&(typeof global<"u"&&global.XMLHttpRequest?nc=global.XMLHttpRequest:typeof window<"u"&&window.XMLHttpRequest&&(nc=window.XMLHttpRequest));var Mc;typeof ActiveXObject=="function"&&(typeof global<"u"&&global.ActiveXObject?Mc=global.ActiveXObject:typeof window<"u"&&window.ActiveXObject&&(Mc=window.ActiveXObject));!Ns&&hp&&!nc&&!Mc&&(Ns=wg||hp);typeof Ns!="function"&&(Ns=void 0);var ed=function(t,n){if(n&&ol(n)==="object"){var s="";for(var o in n)s+="&"+encodeURIComponent(o)+"="+encodeURIComponent(n[o]);if(!s)return t;t=t+(t.indexOf("?")!==-1?"&":"?")+s.slice(1)}return t},vp=function(t,n,s,o){var l=function(C){if(!C.ok)return s(C.statusText||"Error",{status:C.status});C.text().then(function(A){s(null,{status:C.status,data:A})}).catch(s)};if(o){var g=o(t,n);if(g instanceof Promise){g.then(l).catch(s);return}}typeof fetch=="function"?fetch(t,n).then(l).catch(s):Ns(t,n).then(l).catch(s)},mp=!1,o1=function(t,n,s,o){t.queryStringParams&&(n=ed(n,t.queryStringParams));var l=gp({},typeof t.customHeaders=="function"?t.customHeaders():t.customHeaders);typeof window>"u"&&typeof global<"u"&&typeof global.process<"u"&&global.process.versions&&global.process.versions.node&&(l["User-Agent"]="i18next-http-backend (node/".concat(global.process.version,"; ").concat(global.process.platform," ").concat(global.process.arch,")")),s&&(l["Content-Type"]="application/json");var g=typeof t.requestOptions=="function"?t.requestOptions(s):t.requestOptions,k=gp({method:s?"POST":"GET",body:s?t.stringify(s):void 0,headers:l},mp?{}:g),C=typeof t.alternateFetch=="function"&&t.alternateFetch.length>=1?t.alternateFetch:void 0;try{vp(n,k,o,C)}catch(A){if(!g||Object.keys(g).length===0||!A.message||A.message.indexOf("not implemented")<0)return o(A);try{Object.keys(g).forEach(function(U){delete k[U]}),vp(n,k,o,C),mp=!0}catch(U){o(U)}}},a1=function(t,n,s,o){s&&ol(s)==="object"&&(s=ed("",s).slice(1)),t.queryStringParams&&(n=ed(n,t.queryStringParams));try{var l;nc?l=new nc:l=new Mc("MSXML2.XMLHTTP.3.0"),l.open(s?"POST":"GET",n,1),t.crossDomain||l.setRequestHeader("X-Requested-With","XMLHttpRequest"),l.withCredentials=!!t.withCredentials,s&&l.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),l.overrideMimeType&&l.overrideMimeType("application/json");var g=t.customHeaders;if(g=typeof g=="function"?g():g,g)for(var k in g)l.setRequestHeader(k,g[k]);l.onreadystatechange=function(){l.readyState>3&&o(l.status>=400?l.statusText:null,{status:l.status,data:l.responseText})},l.send(s)}catch(C){console&&console.log(C)}},s1=function(t,n,s,o){if(typeof s=="function"&&(o=s,s=void 0),o=o||function(){},Ns&&n.indexOf("file:")!==0)return o1(t,n,s,o);if(yg()||typeof ActiveXObject=="function")return a1(t,n,s,o);o(new Error("No fetch and no xhr implementation found!"))};function rc(i){"@babel/helpers - typeof";return rc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rc(i)}function yp(i,t){var n=Object.keys(i);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(i);t&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(i,o).enumerable})),n.push.apply(n,s)}return n}function Of(i){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?yp(Object(n),!0).forEach(function(s){Sg(i,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(n)):yp(Object(n)).forEach(function(s){Object.defineProperty(i,s,Object.getOwnPropertyDescriptor(n,s))})}return i}function u1(i,t){if(!(i instanceof t))throw new TypeError("Cannot call a class as a function")}function bp(i,t){for(var n=0;n<t.length;n++){var s=t[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,xg(s.key),s)}}function l1(i,t,n){return t&&bp(i.prototype,t),n&&bp(i,n),Object.defineProperty(i,"prototype",{writable:!1}),i}function Sg(i,t,n){return t=xg(t),t in i?Object.defineProperty(i,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):i[t]=n,i}function xg(i){var t=c1(i,"string");return rc(t)=="symbol"?t:String(t)}function c1(i,t){if(rc(i)!="object"||!i)return i;var n=i[Symbol.toPrimitive];if(n!==void 0){var s=n.call(i,t||"default");if(rc(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(i)}var f1=function(){return{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",parse:function(n){return JSON.parse(n)},stringify:JSON.stringify,parsePayload:function(n,s,o){return Sg({},s,o||"")},parseLoadPayload:function(n,s){},request:s1,reloadInterval:typeof window<"u"?!1:60*60*1e3,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}}},Cg=function(){function i(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};u1(this,i),this.services=t,this.options=n,this.allOptions=s,this.type="backend",this.init(t,n,s)}return l1(i,[{key:"init",value:function(n){var s=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=Of(Of(Of({},f1()),this.options||{}),o),this.allOptions=l,this.services&&this.options.reloadInterval&&setInterval(function(){return s.reload()},this.options.reloadInterval)}},{key:"readMulti",value:function(n,s,o){this._readAny(n,n,s,s,o)}},{key:"read",value:function(n,s,o){this._readAny([n],n,[s],s,o)}},{key:"_readAny",value:function(n,s,o,l,g){var k=this,C=this.options.loadPath;typeof this.options.loadPath=="function"&&(C=this.options.loadPath(n,o)),C=QS(C),C.then(function(A){if(!A)return g(null,{});var U=k.services.interpolator.interpolate(A,{lng:n.join("+"),ns:o.join("+")});k.loadUrl(U,g,s,l)})}},{key:"loadUrl",value:function(n,s,o,l){var g=this,k=typeof o=="string"?[o]:o,C=typeof l=="string"?[l]:l,A=this.options.parseLoadPayload(k,C);this.options.request(this.options,n,A,function(U,L){if(L&&(L.status>=500&&L.status<600||!L.status))return s("failed loading "+n+"; status code: "+L.status,!0);if(L&&L.status>=400&&L.status<500)return s("failed loading "+n+"; status code: "+L.status,!1);if(!L&&U&&U.message&&U.message.indexOf("Failed to fetch")>-1)return s("failed loading "+n+": "+U.message,!0);if(U)return s(U,!1);var q,Q;try{typeof L.data=="string"?q=g.options.parse(L.data,o,l):q=L.data}catch{Q="failed parsing "+n+" to json"}if(Q)return s(Q,!1);s(null,q)})}},{key:"create",value:function(n,s,o,l,g){var k=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var C=this.options.parsePayload(s,o,l),A=0,U=[],L=[];n.forEach(function(q){var Q=k.options.addPath;typeof k.options.addPath=="function"&&(Q=k.options.addPath(q,s));var re=k.services.interpolator.interpolate(Q,{lng:q,ns:s});k.options.request(k.options,re,C,function(ne,J){A+=1,U.push(ne),L.push(J),A===n.length&&typeof g=="function"&&g(U,L)})})}}},{key:"reload",value:function(){var n=this,s=this.services,o=s.backendConnector,l=s.languageUtils,g=s.logger,k=o.language;if(!(k&&k.toLowerCase()==="cimode")){var C=[],A=function(L){var q=l.toResolveHierarchy(L);q.forEach(function(Q){C.indexOf(Q)<0&&C.push(Q)})};A(k),this.allOptions.preload&&this.allOptions.preload.forEach(function(U){return A(U)}),C.forEach(function(U){n.allOptions.ns.forEach(function(L){o.read(U,L,"read",null,null,function(q,Q){q&&g.warn("loading namespace ".concat(L," for language ").concat(U," failed"),q),!q&&Q&&g.log("loaded namespace ".concat(L," for language ").concat(U),Q),o.loaded("".concat(U,"|").concat(L),q,Q)})})})}}}]),i}();Cg.type="backend";var hd=(i=>(i.en="en",i.de="de",i))(hd||{});const d1={en:"English",de:"German"};Mr.use(mg).use(US).use(fg).init({initImmediate:!0,ns:["translation"],fallbackLng:Object.keys(d1),fallbackNS:"translation",partialBundledLanguages:!0,resources:{},interpolation:{escapeValue:!1},backend:{backends:[Cg],backendOptions:[{loadPath:"https://ukpcsaprod.blob.core.windows.net/lib/translations/{{lng}}/{{ns}}.json",crossDomain:!0,cacheHitMode:"refresh"}]}});function h1(){const[i,t]=Je.useState();return Je.useEffect(()=>{const n=localStorage.getItem("language");t(n||hd.en)},[]),{language:i,setLanguage:t}}const Eg=Je.createContext({}),p1=()=>Je.useContext(Eg),g1=Mr,v1=lg,m1=()=>gg(),y1=({children:i})=>{const t=h1();return Gn.jsx(Eg.Provider,{value:t,children:Gn.jsx(VS,{i18n:Mr,children:i})})},b1={TOKEN_MALFORMED:"token_malformed",TOKEN_EXPIRED:"token_expired"},w1=i=>{window.location.href=`${i}/authentication/login?callbackUrl=${window.location.href}`},S1=i=>{window.location.href=`${i}/authentication/logout?callbackUrl=${window.location.href}`};function Fl(){return Fl=Object.assign?Object.assign.bind():function(i){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])}return i},Fl.apply(this,arguments)}const x1=Object.freeze(Object.defineProperty({__proto__:null,default:Fl},Symbol.toStringTag,{value:"Module"}));function kg(i,t){i.prototype=Object.create(t.prototype),i.prototype.constructor=i,Dc(i,t)}function Df(i,t,n){if(n||arguments.length===2)for(var s=0,o=t.length,l;s<o;s++)(l||!(s in t))&&(l||(l=Array.prototype.slice.call(t,0,s)),l[s]=t[s]);return i.concat(l||Array.prototype.slice.call(t))}/*!
128
- * content-type
129
- * Copyright(c) 2015 Douglas Christopher Wilson
130
- * MIT Licensed
131
- */var wp=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,C1=/\\([\u000b\u0020-\u00ff])/g,E1=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,k1=T1;function T1(i){if(!i)throw new TypeError("argument string is required");var t=typeof i=="object"?_1(i):i;if(typeof t!="string")throw new TypeError("argument string is required to be a string");var n=t.indexOf(";"),s=n!==-1?t.slice(0,n).trim():t.trim();if(!E1.test(s))throw new TypeError("invalid media type");var o=new R1(s.toLowerCase());if(n!==-1){var l,g,k;for(wp.lastIndex=n;g=wp.exec(t);){if(g.index!==n)throw new TypeError("invalid parameter format");n+=g[0].length,l=g[1].toLowerCase(),k=g[2],k.charCodeAt(0)===34&&(k=k.slice(1,-1),k.indexOf("\\")!==-1&&(k=k.replace(C1,"$1"))),o.parameters[l]=k}if(n!==t.length)throw new TypeError("invalid parameter format")}return o}function _1(i){var t;if(typeof i.getHeader=="function"?t=i.getHeader("content-type"):typeof i.headers=="object"&&(t=i.headers&&i.headers["content-type"]),typeof t!="string")throw new TypeError("content-type header is missing from object");return t}function R1(i){this.parameters=Object.create(null),this.type=i}var Ml=new Map,Tg=function(t){return t.cloneNode(!0)},Sp=function(){return window.location.protocol==="file:"},_g=function(t,n,s){var o=new XMLHttpRequest;o.onreadystatechange=function(){try{if(!/\.svg/i.test(t)&&o.readyState===2){var l=o.getResponseHeader("Content-Type");if(!l)throw new Error("Content type not found");var g=k1(l).type;if(!(g==="image/svg+xml"||g==="text/plain"))throw new Error("Invalid content type: ".concat(g))}if(o.readyState===4){if(o.status===404||o.responseXML===null)throw new Error(Sp()?"Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver.":"Unable to load SVG file: "+t);if(o.status===200||Sp()&&o.status===0)s(null,o);else throw new Error("There was a problem injecting the SVG: "+o.status+" "+o.statusText)}}catch(k){if(o.abort(),k instanceof Error)s(k,o);else throw k}},o.open("GET",t),o.withCredentials=n,o.overrideMimeType&&o.overrideMimeType("text/xml"),o.send()},du={},xp=function(t,n){du[t]=du[t]||[],du[t].push(n)},I1=function(t){for(var n=function(g,k){setTimeout(function(){if(Array.isArray(du[t])){var C=Ml.get(t),A=du[t][g];C instanceof SVGSVGElement&&A(null,Tg(C)),C instanceof Error&&A(C),g===du[t].length-1&&delete du[t]}},0)},s=0,o=du[t].length;s<o;s++)n(s)},O1=function(t,n,s){if(Ml.has(t)){var o=Ml.get(t);if(o===void 0){xp(t,s);return}if(o instanceof SVGSVGElement){s(null,Tg(o));return}}Ml.set(t,void 0),xp(t,s),_g(t,n,function(l,g){var k;l?Ml.set(t,l):((k=g.responseXML)===null||k===void 0?void 0:k.documentElement)instanceof SVGSVGElement&&Ml.set(t,g.responseXML.documentElement),I1(t)})},D1=function(t,n,s){_g(t,n,function(o,l){var g;o?s(o):((g=l.responseXML)===null||g===void 0?void 0:g.documentElement)instanceof SVGSVGElement&&s(null,l.responseXML.documentElement)})},A1=0,P1=function(){return++A1},Ga=[],Cp={},L1="http://www.w3.org/2000/svg",Af="http://www.w3.org/1999/xlink",Ep=function(t,n,s,o,l,g,k){var C=t.getAttribute("data-src")||t.getAttribute("src");if(!C){k(new Error("Invalid data-src or src attribute"));return}if(Ga.indexOf(t)!==-1){Ga.splice(Ga.indexOf(t),1),t=null;return}Ga.push(t),t.setAttribute("src","");var A=o?O1:D1;A(C,l,function(U,L){if(!L){Ga.splice(Ga.indexOf(t),1),t=null,k(U);return}var q=t.getAttribute("id");q&&L.setAttribute("id",q);var Q=t.getAttribute("title");Q&&L.setAttribute("title",Q);var re=t.getAttribute("width");re&&L.setAttribute("width",re);var ne=t.getAttribute("height");ne&&L.setAttribute("height",ne);var J=Array.from(new Set(Df(Df(Df([],(L.getAttribute("class")||"").split(" "),!0),["injected-svg"],!1),(t.getAttribute("class")||"").split(" "),!0))).join(" ").trim();L.setAttribute("class",J);var F=t.getAttribute("style");F&&L.setAttribute("style",F),L.setAttribute("data-src",C);var he=[].filter.call(t.attributes,function(qe){return/^data-\w[\w-]*$/.test(qe.name)});if(Array.prototype.forEach.call(he,function(qe){qe.name&&qe.value&&L.setAttribute(qe.name,qe.value)}),s){var ye={clipPath:["clip-path"],"color-profile":["color-profile"],cursor:["cursor"],filter:["filter"],linearGradient:["fill","stroke"],marker:["marker","marker-start","marker-mid","marker-end"],mask:["mask"],path:[],pattern:["fill","stroke"],radialGradient:["fill","stroke"]},Ie,de,je,m,Ue;Object.keys(ye).forEach(function(qe){Ie=qe,je=ye[qe],de=L.querySelectorAll(Ie+"[id]");for(var lt=function(Xe,Qe){m=de[Xe].id,Ue=m+"-"+P1();var Ze;Array.prototype.forEach.call(je,function(Ft){Ze=L.querySelectorAll("["+Ft+'*="'+m+'"]');for(var Bt=0,Hn=Ze.length;Bt<Hn;Bt++){var ur=Ze[Bt].getAttribute(Ft);ur&&!ur.match(new RegExp('url\\("?#'+m+'"?\\)'))||Ze[Bt].setAttribute(Ft,"url(#"+Ue+")")}});for(var Ke=L.querySelectorAll("[*|href]"),ct=[],mt=0,wt=Ke.length;mt<wt;mt++){var gt=Ke[mt].getAttributeNS(Af,"href");gt&&gt.toString()==="#"+de[Xe].id&&ct.push(Ke[mt])}for(var Tt=0,Ge=ct.length;Tt<Ge;Tt++)ct[Tt].setAttributeNS(Af,"href","#"+Ue);de[Xe].id=Ue},Ce=0,Pe=de.length;Ce<Pe;Ce++)lt(Ce)})}L.removeAttribute("xmlns:a");for(var ke=L.querySelectorAll("script"),ht=[],Et,vt,dt=0,Ct=ke.length;dt<Ct;dt++)vt=ke[dt].getAttribute("type"),(!vt||vt==="application/ecmascript"||vt==="application/javascript"||vt==="text/javascript")&&(Et=ke[dt].innerText||ke[dt].textContent,Et&&ht.push(Et),L.removeChild(ke[dt]));if(ht.length>0&&(n==="always"||n==="once"&&!Cp[C])){for(var me=0,Le=ht.length;me<Le;me++)new Function(ht[me])(window);Cp[C]=!0}var Ve=L.querySelectorAll("style");if(Array.prototype.forEach.call(Ve,function(qe){qe.textContent+=""}),L.setAttribute("xmlns",L1),L.setAttribute("xmlns:xlink",Af),g(L),!t.parentNode){Ga.splice(Ga.indexOf(t),1),t=null,k(new Error("Parent node is null"));return}t.parentNode.replaceChild(L,t),Ga.splice(Ga.indexOf(t),1),t=null,k(null,L)})},M1=function(t,n){var s=n===void 0?{}:n,o=s.afterAll,l=o===void 0?function(){}:o,g=s.afterEach,k=g===void 0?function(){}:g,C=s.beforeEach,A=C===void 0?function(){}:C,U=s.cacheRequests,L=U===void 0?!0:U,q=s.evalScripts,Q=q===void 0?"never":q,re=s.httpRequestWithCredentials,ne=re===void 0?!1:re,J=s.renumerateIRIElements,F=J===void 0?!0:J;if(t&&"length"in t)for(var he=0,ye=0,Ie=t.length;ye<Ie;ye++)Ep(t[ye],Q,F,L,ne,A,function(de,je){k(de,je),t&&"length"in t&&t.length===++he&&l(he)});else t?Ep(t,Q,F,L,ne,A,function(de,je){k(de,je),l(1),t=null}):l(0)},F1=function(t){var n=(t==null?void 0:t.ownerDocument)||document;return n.defaultView||window},N1=function(t,n){for(var s in t)if(!(s in n))return!0;for(var o in n)if(t[o]!==n[o])return!0;return!1},B1=["afterInjection","beforeInjection","desc","evalScripts","fallback","httpRequestWithCredentials","loading","renumerateIRIElements","src","title","useRequestCache","wrapper"],_c="http://www.w3.org/2000/svg",kp="http://www.w3.org/1999/xlink",pd=function(i){kg(t,i);function t(){for(var s,o=arguments.length,l=new Array(o),g=0;g<o;g++)l[g]=arguments[g];return s=i.call.apply(i,[this].concat(l))||this,s.initialState={hasError:!1,isLoading:!0},s.state=s.initialState,s._isMounted=!1,s.reactWrapper=void 0,s.nonReactWrapper=void 0,s.refCallback=function(k){s.reactWrapper=k},s}var n=t.prototype;return n.renderSVG=function(){var o=this;if(this.reactWrapper instanceof F1(this.reactWrapper).Node){var l=this.props,g=l.desc,k=l.evalScripts,C=l.httpRequestWithCredentials,A=l.renumerateIRIElements,U=l.src,L=l.title,q=l.useRequestCache,Q=this.props.onError,re=this.props.beforeInjection,ne=this.props.afterInjection,J=this.props.wrapper,F,he;J==="svg"?(F=document.createElementNS(_c,J),F.setAttribute("xmlns",_c),F.setAttribute("xmlns:xlink",kp),he=document.createElementNS(_c,J)):(F=document.createElement(J),he=document.createElement(J)),F.appendChild(he),he.dataset.src=U,this.nonReactWrapper=this.reactWrapper.appendChild(F);var ye=function(m){if(o.removeSVG(),!o._isMounted){Q(m);return}o.setState(function(){return{hasError:!0,isLoading:!1}},function(){Q(m)})},Ie=function(m,Ue){if(m){ye(m);return}o._isMounted&&o.setState(function(){return{isLoading:!1}},function(){try{ne(Ue)}catch(ke){ye(ke)}})},de=function(m){if(m.setAttribute("role","img"),g){var Ue=m.querySelector(":scope > desc");Ue&&m.removeChild(Ue);var ke=document.createElement("desc");ke.innerHTML=g,m.prepend(ke)}if(L){var ht=m.querySelector(":scope > title");ht&&m.removeChild(ht);var Et=document.createElement("title");Et.innerHTML=L,m.prepend(Et)}try{re(m)}catch(vt){ye(vt)}};M1(he,{afterEach:Ie,beforeEach:de,cacheRequests:q,evalScripts:k,httpRequestWithCredentials:C,renumerateIRIElements:A})}},n.removeSVG=function(){var o;(o=this.nonReactWrapper)!=null&&o.parentNode&&(this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper),this.nonReactWrapper=null)},n.componentDidMount=function(){this._isMounted=!0,this.renderSVG()},n.componentDidUpdate=function(o){var l=this;N1(Fl({},o),this.props)&&this.setState(function(){return l.initialState},function(){l.removeSVG(),l.renderSVG()})},n.componentWillUnmount=function(){this._isMounted=!1,this.removeSVG()},n.render=function(){var o=this.props;o.afterInjection,o.beforeInjection,o.desc,o.evalScripts;var l=o.fallback;o.httpRequestWithCredentials;var g=o.loading;o.renumerateIRIElements,o.src,o.title,o.useRequestCache;var k=o.wrapper,C=dd(o,B1),A=k;return tl.createElement(A,Fl({},C,{ref:this.refCallback},k==="svg"?{xmlns:_c,xmlnsXlink:kp}:{}),this.state.isLoading&&g&&tl.createElement(g,null),this.state.hasError&&l&&tl.createElement(l,null))},t}(tl.Component);pd.defaultProps={afterInjection:function(){},beforeInjection:function(){},desc:"",evalScripts:"never",fallback:null,httpRequestWithCredentials:!1,loading:null,onError:function(){},renumerateIRIElements:!0,title:"",useRequestCache:!0,wrapper:"div"};pd.propTypes={afterInjection:vr.func,beforeInjection:vr.func,desc:vr.string,evalScripts:vr.oneOf(["always","once","never"]),fallback:vr.oneOfType([vr.func,vr.object,vr.string]),httpRequestWithCredentials:vr.bool,loading:vr.oneOfType([vr.func,vr.object,vr.string]),onError:vr.func,renumerateIRIElements:vr.bool,src:vr.string.isRequired,title:vr.string,useRequestCache:vr.bool,wrapper:vr.oneOf(["div","span","svg"])};const j1={"page-container":"_page-container_6iqty_1","page-main-content":"_page-main-content_6iqty_8","page-title":"_page-title_6iqty_19","text-base":"_text-base_6iqty_25","mt-4":"_mt-4_6iqty_32"};var Fc={exports:{}};/**
132
- * @license
133
- * Lodash <https://lodash.com/>
134
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
135
- * Released under MIT license <https://lodash.com/license>
136
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
137
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
138
- */Fc.exports;(function(i,t){(function(){var n,s="4.17.21",o=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",g="Expected a function",k="Invalid `variable` option passed into `_.template`",C="__lodash_hash_undefined__",A=500,U="__lodash_placeholder__",L=1,q=2,Q=4,re=1,ne=2,J=1,F=2,he=4,ye=8,Ie=16,de=32,je=64,m=128,Ue=256,ke=512,ht=30,Et="...",vt=800,dt=16,Ct=1,me=2,Le=3,Ve=1/0,qe=9007199254740991,lt=17976931348623157e292,Ce=0/0,Pe=4294967295,Ye=Pe-1,Xe=Pe>>>1,Qe=[["ary",m],["bind",J],["bindKey",F],["curry",ye],["curryRight",Ie],["flip",ke],["partial",de],["partialRight",je],["rearg",Ue]],Ze="[object Arguments]",Ke="[object Array]",ct="[object AsyncFunction]",mt="[object Boolean]",wt="[object Date]",gt="[object DOMException]",Tt="[object Error]",Ge="[object Function]",Ft="[object GeneratorFunction]",Bt="[object Map]",Hn="[object Number]",ur="[object Null]",Un="[object Object]",bn="[object Promise]",xi="[object Proxy]",mr="[object RegExp]",qn="[object Set]",rn="[object String]",sn="[object Symbol]",un="[object Undefined]",at="[object WeakMap]",En="[object WeakSet]",Jr="[object ArrayBuffer]",nn="[object DataView]",Ci="[object Float32Array]",Ei="[object Float64Array]",ki="[object Int8Array]",yr="[object Int16Array]",Ln="[object Int32Array]",br="[object Uint8Array]",lr="[object Uint8ClampedArray]",Fr="[object Uint16Array]",Nr="[object Uint32Array]",so=/\b__p \+= '';/g,Wn=/\b(__p \+=) '' \+/g,Br=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Xn=/&(?:amp|lt|gt|quot|#39);/g,Vt=/[&<>"']/g,Zr=RegExp(Xn.source),Ti=RegExp(Vt.source),kn=/<%-([\s\S]+?)%>/g,ln=/<%([\s\S]+?)%>/g,Qr=/<%=([\s\S]+?)%>/g,ei=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,fn=/^\w*$/,$i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,cr=/[\\^$.*+?()[\]{}|]/g,ti=RegExp(cr.source),on=/^\s+/,li=/\s/,Zo=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Qo=/\{\n\/\* \[wrapped with (.+)\] \*/,jr=/,? & /,zi=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Yi=/[()=,{}\[\]\/\s]/,uo=/\\(\\)?/g,ci=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ni=/\w*$/,fi=/^[-+]0x[0-9a-f]+$/i,Vi=/^0b[01]+$/i,di=/^\[object .+?Constructor\]$/,Hr=/^0o[0-7]+$/i,fr=/^(?:0|[1-9]\d*)$/,wr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ur=/($^)/,Sr=/['\n\r\u2028\u2029\\]/g,Mn="\\ud800-\\udfff",cn="\\u0300-\\u036f",xr="\\ufe20-\\ufe2f",dr="\\u20d0-\\u20ff",Tn=cn+xr+dr,ri="\\u2700-\\u27bf",Cr="a-z\\xdf-\\xf6\\xf8-\\xff",Wr="\\xac\\xb1\\xd7\\xf7",$n="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",$r="\\u2000-\\u206f",zr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",_i="A-Z\\xc0-\\xd6\\xd8-\\xde",Cn="\\ufe0e\\ufe0f",hr=Wr+$n+$r+zr,er="['’]",lo="["+Mn+"]",Ri="["+hr+"]",Er="["+Tn+"]",y="\\d+",I="["+ri+"]",H="["+Cr+"]",G="[^"+Mn+hr+y+ri+Cr+_i+"]",Se="\\ud83c[\\udffb-\\udfff]",ce="(?:"+Er+"|"+Se+")",_e="[^"+Mn+"]",$e="(?:\\ud83c[\\udde6-\\uddff]){2}",st="[\\ud800-\\udbff][\\udc00-\\udfff]",yt="["+_i+"]",ut="\\u200d",jt="(?:"+H+"|"+G+")",zn="(?:"+yt+"|"+G+")",Fn="(?:"+er+"(?:d|ll|m|re|s|t|ve))?",wn="(?:"+er+"(?:D|LL|M|RE|S|T|VE))?",kr=ce+"?",Kn="["+Cn+"]?",Ii="(?:"+ut+"(?:"+[_e,$e,st].join("|")+")"+Kn+kr+")*",ii="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Oi="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Tr=Kn+kr+Ii,co="(?:"+[I,$e,st].join("|")+")"+Tr,Ja="(?:"+[_e+Er+"?",Er,$e,st,lo].join("|")+")",ea=RegExp(er,"g"),ta=RegExp(Er,"g"),na=RegExp(Se+"(?="+Se+")|"+Ja+Tr,"g"),ra=RegExp([yt+"?"+H+"+"+Fn+"(?="+[Ri,yt,"$"].join("|")+")",zn+"+"+wn+"(?="+[Ri,yt+jt,"$"].join("|")+")",yt+"?"+jt+"+"+Fn,yt+"+"+wn,Oi,ii,y,co].join("|"),"g"),oi=RegExp("["+ut+Mn+Tn+Cn+"]"),fo=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Po=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],en=-1,Gt={};Gt[Ci]=Gt[Ei]=Gt[ki]=Gt[yr]=Gt[Ln]=Gt[br]=Gt[lr]=Gt[Fr]=Gt[Nr]=!0,Gt[Ze]=Gt[Ke]=Gt[Jr]=Gt[mt]=Gt[nn]=Gt[wt]=Gt[Tt]=Gt[Ge]=Gt[Bt]=Gt[Hn]=Gt[Un]=Gt[mr]=Gt[qn]=Gt[rn]=Gt[at]=!1;var Nt={};Nt[Ze]=Nt[Ke]=Nt[Jr]=Nt[nn]=Nt[mt]=Nt[wt]=Nt[Ci]=Nt[Ei]=Nt[ki]=Nt[yr]=Nt[Ln]=Nt[Bt]=Nt[Hn]=Nt[Un]=Nt[mr]=Nt[qn]=Nt[rn]=Nt[sn]=Nt[br]=Nt[lr]=Nt[Fr]=Nt[Nr]=!0,Nt[Tt]=Nt[Ge]=Nt[at]=!1;var hi={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Yr={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},ho={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},ai={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},tr=parseFloat,ia=parseInt,Lo=typeof Ro=="object"&&Ro&&Ro.Object===Object&&Ro,xa=typeof self=="object"&&self&&self.Object===Object&&self,dn=Lo||xa||Function("return this")(),po=t&&!t.nodeType&&t,si=po&&!0&&i&&!i.nodeType&&i,Ca=si&&si.exports===po,Gi=Ca&&Lo.process,Yn=function(){try{var z=si&&si.require&&si.require("util").types;return z||Gi&&Gi.binding&&Gi.binding("util")}catch{}}(),a=Yn&&Yn.isArrayBuffer,f=Yn&&Yn.isDate,v=Yn&&Yn.isMap,w=Yn&&Yn.isRegExp,R=Yn&&Yn.isSet,O=Yn&&Yn.isTypedArray;function M(z,ae,oe){switch(oe.length){case 0:return z.call(ae);case 1:return z.call(ae,oe[0]);case 2:return z.call(ae,oe[0],oe[1]);case 3:return z.call(ae,oe[0],oe[1],oe[2])}return z.apply(ae,oe)}function te(z,ae,oe,Ae){for(var Me=-1,nt=z==null?0:z.length;++Me<nt;){var rt=z[Me];ae(Ae,rt,oe(rt),z)}return Ae}function K(z,ae){for(var oe=-1,Ae=z==null?0:z.length;++oe<Ae&&ae(z[oe],oe,z)!==!1;);return z}function fe(z,ae){for(var oe=z==null?0:z.length;oe--&&ae(z[oe],oe,z)!==!1;);return z}function Re(z,ae){for(var oe=-1,Ae=z==null?0:z.length;++oe<Ae;)if(!ae(z[oe],oe,z))return!1;return!0}function Oe(z,ae){for(var oe=-1,Ae=z==null?0:z.length,Me=0,nt=[];++oe<Ae;){var rt=z[oe];ae(rt,oe,z)&&(nt[Me++]=rt)}return nt}function be(z,ae){var oe=z==null?0:z.length;return!!oe&&Zt(z,ae,0)>-1}function Fe(z,ae,oe){for(var Ae=-1,Me=z==null?0:z.length;++Ae<Me;)if(oe(ae,z[Ae]))return!0;return!1}function tt(z,ae){for(var oe=-1,Ae=z==null?0:z.length,Me=Array(Ae);++oe<Ae;)Me[oe]=ae(z[oe],oe,z);return Me}function _t(z,ae){for(var oe=-1,Ae=ae.length,Me=z.length;++oe<Ae;)z[Me+oe]=ae[oe];return z}function Ot(z,ae,oe,Ae){var Me=-1,nt=z==null?0:z.length;for(Ae&&nt&&(oe=z[++Me]);++Me<nt;)oe=ae(oe,z[Me],Me,z);return oe}function _n(z,ae,oe,Ae){var Me=z==null?0:z.length;for(Ae&&Me&&(oe=z[--Me]);Me--;)oe=ae(oe,z[Me],Me,z);return oe}function an(z,ae){for(var oe=-1,Ae=z==null?0:z.length;++oe<Ae;)if(ae(z[oe],oe,z))return!0;return!1}var _r=b("length");function Rr(z){return z.split("")}function Ht(z){return z.match(zi)||[]}function Ir(z,ae,oe){var Ae;return oe(z,function(Me,nt,rt){if(ae(Me,nt,rt))return Ae=nt,!1}),Ae}function Ut(z,ae,oe,Ae){for(var Me=z.length,nt=oe+(Ae?1:-1);Ae?nt--:++nt<Me;)if(ae(z[nt],nt,z))return nt;return-1}function Zt(z,ae,oe){return ae===ae?mu(z,ae,oe):Ut(z,Xi,oe)}function qi(z,ae,oe,Ae){for(var Me=oe-1,nt=z.length;++Me<nt;)if(Ae(z[Me],ae))return Me;return-1}function Xi(z){return z!==z}function pr(z,ae){var oe=z==null?0:z.length;return oe?ge(z,ae)/oe:Ce}function b(z){return function(ae){return ae==null?n:ae[z]}}function _(z){return function(ae){return z==null?n:z[ae]}}function N(z,ae,oe,Ae,Me){return Me(z,function(nt,rt,et){oe=Ae?(Ae=!1,nt):ae(oe,nt,rt,et)}),oe}function V(z,ae){var oe=z.length;for(z.sort(ae);oe--;)z[oe]=z[oe].value;return z}function ge(z,ae){for(var oe,Ae=-1,Me=z.length;++Ae<Me;){var nt=ae(z[Ae]);nt!==n&&(oe=oe===n?nt:oe+nt)}return oe}function ve(z,ae){for(var oe=-1,Ae=Array(z);++oe<z;)Ae[oe]=ae(oe);return Ae}function De(z,ae){return tt(ae,function(oe){return[oe,z[oe]]})}function We(z){return z&&z.slice(0,es(z)+1).replace(on,"")}function ft(z){return function(ae){return z(ae)}}function Mt(z,ae){return tt(ae,function(oe){return z[oe]})}function kt(z,ae){return z.has(ae)}function bt(z,ae){for(var oe=-1,Ae=z.length;++oe<Ae&&Zt(ae,z[oe],0)>-1;);return oe}function Dn(z,ae){for(var oe=z.length;oe--&&Zt(ae,z[oe],0)>-1;);return oe}function vn(z,ae){for(var oe=z.length,Ae=0;oe--;)z[oe]===ae&&++Ae;return Ae}var Nn=_(hi),Mo=_(Yr);function Ea(z){return"\\"+ai[z]}function Fo(z,ae){return z==null?n:z[ae]}function Vr(z){return oi.test(z)}function Za(z){return fo.test(z)}function Ki(z){for(var ae,oe=[];!(ae=z.next()).done;)oe.push(ae.value);return oe}function ka(z){var ae=-1,oe=Array(z.size);return z.forEach(function(Ae,Me){oe[++ae]=[Me,Ae]}),oe}function No(z,ae){return function(oe){return z(ae(oe))}}function ui(z,ae){for(var oe=-1,Ae=z.length,Me=0,nt=[];++oe<Ae;){var rt=z[oe];(rt===ae||rt===U)&&(z[oe]=U,nt[Me++]=oe)}return nt}function Di(z){var ae=-1,oe=Array(z.size);return z.forEach(function(Ae){oe[++ae]=Ae}),oe}function Qa(z){var ae=-1,oe=Array(z.size);return z.forEach(function(Ae){oe[++ae]=[Ae,Ae]}),oe}function mu(z,ae,oe){for(var Ae=oe-1,Me=z.length;++Ae<Me;)if(z[Ae]===ae)return Ae;return-1}function Bo(z,ae,oe){for(var Ae=oe+1;Ae--;)if(z[Ae]===ae)return Ae;return Ae}function Ji(z){return Vr(z)?_a(z):_r(z)}function nr(z){return Vr(z)?Y(z):Rr(z)}function es(z){for(var ae=z.length;ae--&&li.test(z.charAt(ae)););return ae}var Ta=_(ho);function _a(z){for(var ae=na.lastIndex=0;na.test(z);)++ae;return ae}function Y(z){return z.match(na)||[]}function le(z){return z.match(ra)||[]}var xe=function z(ae){ae=ae==null?dn:we.defaults(dn.Object(),ae,we.pick(dn,Po));var oe=ae.Array,Ae=ae.Date,Me=ae.Error,nt=ae.Function,rt=ae.Math,et=ae.Object,Dt=ae.RegExp,St=ae.String,Wt=ae.TypeError,Rn=oe.prototype,Jn=nt.prototype,Bn=et.prototype,Or=ae["__core-js_shared__"],Ai=Jn.toString,At=Bn.hasOwnProperty,fl=0,Sn=function(){var e=/[^.]+$/.exec(Or&&Or.keys&&Or.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),jo=Bn.toString,yu=Ai.call(et),xn=dn._,Ra=Dt("^"+Ai.call(At).replace(cr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ia=Ca?ae.Buffer:n,Zi=ae.Symbol,Oa=ae.Uint8Array,js=Ia?Ia.allocUnsafe:n,Da=No(et.getPrototypeOf,et),bu=et.create,wu=Bn.propertyIsEnumerable,oa=Rn.splice,Hs=Zi?Zi.isConcatSpreadable:n,go=Zi?Zi.iterator:n,Pi=Zi?Zi.toStringTag:n,vo=function(){try{var e=Xu(et,"defineProperty");return e({},"",{}),e}catch{}}(),ts=ae.clearTimeout!==dn.clearTimeout&&ae.clearTimeout,ns=Ae&&Ae.now!==dn.Date.now&&Ae.now,Us=ae.setTimeout!==dn.setTimeout&&ae.setTimeout,rs=rt.ceil,Aa=rt.floor,is=et.getOwnPropertySymbols,Su=Ia?Ia.isBuffer:n,xu=ae.isFinite,Pa=Rn.join,Cu=No(et.keys,et),In=rt.max,On=rt.min,Eu=Ae.now,ku=ae.parseInt,mo=rt.random,dl=Rn.reverse,yo=Xu(ae,"DataView"),Li=Xu(ae,"Map"),os=Xu(ae,"Promise"),Dr=Xu(ae,"Set"),Ho=Xu(ae,"WeakMap"),Uo=Xu(et,"create"),Wo=Ho&&new Ho,$o={},as=Ku(yo),hl=Ku(Li),pl=Ku(os),Ws=Ku(Dr),ss=Ku(Ho),La=Zi?Zi.prototype:n,us=La?La.valueOf:n,aa=La?La.toString:n;function j(e){if(Qn(e)&&!Yt(e)&&!(e instanceof zt)){if(e instanceof Ar)return e;if(At.call(e,"__wrapped__"))return Bd(e)}return new Ar(e)}var zo=function(){function e(){}return function(r){if(!Vn(r))return{};if(bu)return bu(r);e.prototype=r;var d=new e;return e.prototype=n,d}}();function sa(){}function Ar(e,r){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=n}j.templateSettings={escape:kn,evaluate:ln,interpolate:Qr,variable:"",imports:{_:j}},j.prototype=sa.prototype,j.prototype.constructor=j,Ar.prototype=zo(sa.prototype),Ar.prototype.constructor=Ar;function zt(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Pe,this.__views__=[]}function $s(){var e=new zt(this.__wrapped__);return e.__actions__=or(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=or(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=or(this.__views__),e}function Ma(){if(this.__filtered__){var e=new zt(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function ls(){var e=this.__wrapped__.value(),r=this.__dir__,d=Yt(e),x=r<0,P=d?e.length:0,W=pv(0,P,this.__views__),ee=W.start,ue=W.end,pe=ue-ee,Ne=x?ue:ee-1,Be=this.__iteratees__,ze=Be.length,ot=0,xt=On(pe,this.__takeCount__);if(!d||!x&&P==pe&&xt==pe)return Xr(e,this.__actions__);var Pt=[];e:for(;pe--&&ot<xt;){Ne+=r;for(var Xt=-1,Lt=e[Ne];++Xt<ze;){var Jt=Be[Xt],Qt=Jt.iteratee,To=Jt.type,Ui=Qt(Lt);if(To==me)Lt=Ui;else if(!Ui){if(To==Ct)continue e;break e}}Pt[ot++]=Lt}return Pt}zt.prototype=zo(sa.prototype),zt.prototype.constructor=zt;function Qi(e){var r=-1,d=e==null?0:e.length;for(this.clear();++r<d;){var x=e[r];this.set(x[0],x[1])}}function Fa(){this.__data__=Uo?Uo(null):{},this.size=0}function zs(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}function Ys(e){var r=this.__data__;if(Uo){var d=r[e];return d===C?n:d}return At.call(r,e)?r[e]:n}function Vs(e){var r=this.__data__;return Uo?r[e]!==n:At.call(r,e)}function gl(e,r){var d=this.__data__;return this.size+=this.has(e)?0:1,d[e]=Uo&&r===n?C:r,this}Qi.prototype.clear=Fa,Qi.prototype.delete=zs,Qi.prototype.get=Ys,Qi.prototype.has=Vs,Qi.prototype.set=gl;function eo(e){var r=-1,d=e==null?0:e.length;for(this.clear();++r<d;){var x=e[r];this.set(x[0],x[1])}}function vl(){this.__data__=[],this.size=0}function Bl(e){var r=this.__data__,d=gi(r,e);if(d<0)return!1;var x=r.length-1;return d==x?r.pop():oa.call(r,d,1),--this.size,!0}function jl(e){var r=this.__data__,d=gi(r,e);return d<0?n:r[d][1]}function ml(e){return gi(this.__data__,e)>-1}function Hl(e,r){var d=this.__data__,x=gi(d,e);return x<0?(++this.size,d.push([e,r])):d[x][1]=r,this}eo.prototype.clear=vl,eo.prototype.delete=Bl,eo.prototype.get=jl,eo.prototype.has=ml,eo.prototype.set=Hl;function bo(e){var r=-1,d=e==null?0:e.length;for(this.clear();++r<d;){var x=e[r];this.set(x[0],x[1])}}function Gs(){this.size=0,this.__data__={hash:new Qi,map:new(Li||eo),string:new Qi}}function qs(e){var r=lc(this,e).delete(e);return this.size-=r?1:0,r}function Ul(e){return lc(this,e).get(e)}function Tu(e){return lc(this,e).has(e)}function Xs(e,r){var d=lc(this,e),x=d.size;return d.set(e,r),this.size+=d.size==x?0:1,this}bo.prototype.clear=Gs,bo.prototype.delete=qs,bo.prototype.get=Ul,bo.prototype.has=Tu,bo.prototype.set=Xs;function ua(e){var r=-1,d=e==null?0:e.length;for(this.__data__=new bo;++r<d;)this.add(e[r])}function Wl(e){return this.__data__.set(e,C),this}function $l(e){return this.__data__.has(e)}ua.prototype.add=ua.prototype.push=Wl,ua.prototype.has=$l;function Mi(e){var r=this.__data__=new eo(e);this.size=r.size}function wo(){this.__data__=new eo,this.size=0}function _u(e){var r=this.__data__,d=r.delete(e);return this.size=r.size,d}function Ks(e){return this.__data__.get(e)}function Kt(e){return this.__data__.has(e)}function la(e,r){var d=this.__data__;if(d instanceof eo){var x=d.__data__;if(!Li||x.length<o-1)return x.push([e,r]),this.size=++d.size,this;d=this.__data__=new bo(x)}return d.set(e,r),this.size=d.size,this}Mi.prototype.clear=wo,Mi.prototype.delete=_u,Mi.prototype.get=Ks,Mi.prototype.has=Kt,Mi.prototype.set=la;function Yo(e,r){var d=Yt(e),x=!d&&Ju(e),P=!d&&!x&&fu(e),W=!d&&!x&&!P&&Dl(e),ee=d||x||P||W,ue=ee?ve(e.length,St):[],pe=ue.length;for(var Ne in e)(r||At.call(e,Ne))&&!(ee&&(Ne=="length"||P&&(Ne=="offset"||Ne=="parent")||W&&(Ne=="buffer"||Ne=="byteLength"||Ne=="byteOffset")||Rs(Ne,pe)))&&ue.push(Ne);return ue}function tn(e){var r=e.length;return r?e[ru(0,r-1)]:n}function pi(e,r){return cc(or(e),Vo(r,0,e.length))}function ca(e){return cc(or(e))}function Na(e,r,d){(d!==n&&!ba(e[r],d)||d===n&&!(r in e))&&rr(e,r,d)}function An(e,r,d){var x=e[r];(!(At.call(e,r)&&ba(x,d))||d===n&&!(r in e))&&rr(e,r,d)}function gi(e,r){for(var d=e.length;d--;)if(ba(e[d][0],r))return d;return-1}function fa(e,r,d,x){return Go(e,function(P,W,ee){r(x,P,d(P),ee)}),x}function Fi(e,r){return e&&ro(r,Kr(r),e)}function da(e,r){return e&&ro(r,oo(r),e)}function rr(e,r,d){r=="__proto__"&&vo?vo(e,r,{configurable:!0,enumerable:!0,value:d,writable:!0}):e[r]=d}function Ru(e,r){for(var d=-1,x=r.length,P=oe(x),W=e==null;++d<x;)P[d]=W?n:ff(e,r[d]);return P}function Vo(e,r,d){return e===e&&(d!==n&&(e=e<=d?e:d),r!==n&&(e=e>=r?e:r)),e}function Pr(e,r,d,x,P,W){var ee,ue=r&L,pe=r&q,Ne=r&Q;if(d&&(ee=P?d(e,x,P,W):d(e)),ee!==n)return ee;if(!Vn(e))return e;var Be=Yt(e);if(Be){if(ee=vv(e),!ue)return or(e,ee)}else{var ze=bi(e),ot=ze==Ge||ze==Ft;if(fu(e))return Yu(e,ue);if(ze==Un||ze==Ze||ot&&!P){if(ee=pe||ot?{}:Id(e),!ue)return pe?lu(e,da(ee,e)):Rl(e,Fi(ee,e))}else{if(!Nt[ze])return P?e:{};ee=mv(e,ze,ue)}}W||(W=new Mi);var xt=W.get(e);if(xt)return xt;W.set(e,ee),ih(e)?e.forEach(function(Lt){ee.add(Pr(Lt,r,d,Lt,e,W))}):nh(e)&&e.forEach(function(Lt,Jt){ee.set(Jt,Pr(Lt,r,d,Jt,e,W))});var Pt=Ne?pe?Kc:Xc:pe?oo:Kr,Xt=Be?n:Pt(e);return K(Xt||e,function(Lt,Jt){Xt&&(Jt=Lt,Lt=e[Jt]),An(ee,Jt,Pr(Lt,r,d,Jt,e,W))}),ee}function Iu(e){var r=Kr(e);return function(d){return yl(d,e,r)}}function yl(e,r,d){var x=d.length;if(e==null)return!x;for(e=et(e);x--;){var P=d[x],W=r[P],ee=e[P];if(ee===n&&!(P in e)||!W(ee))return!1}return!0}function Ou(e,r,d){if(typeof e!="function")throw new Wt(g);return ql(function(){e.apply(n,d)},r)}function So(e,r,d,x){var P=-1,W=be,ee=!0,ue=e.length,pe=[],Ne=r.length;if(!ue)return pe;d&&(r=tt(r,ft(d))),x?(W=Fe,ee=!1):r.length>=o&&(W=kt,ee=!1,r=new ua(r));e:for(;++P<ue;){var Be=e[P],ze=d==null?Be:d(Be);if(Be=x||Be!==0?Be:0,ee&&ze===ze){for(var ot=Ne;ot--;)if(r[ot]===ze)continue e;pe.push(Be)}else W(r,ze,x)||pe.push(Be)}return pe}var Go=p(to),Du=p(Lu,!0);function Js(e,r){var d=!0;return Go(e,function(x,P,W){return d=!!r(x,P,W),d}),d}function Zs(e,r,d){for(var x=-1,P=e.length;++x<P;){var W=e[x],ee=r(W);if(ee!=null&&(ue===n?ee===ee&&!ko(ee):d(ee,ue)))var ue=ee,pe=W}return pe}function bl(e,r,d,x){var P=e.length;for(d=qt(d),d<0&&(d=-d>P?0:P+d),x=x===n||x>P?P:qt(x),x<0&&(x+=P),x=d>x?0:ah(x);d<x;)e[d++]=r;return e}function Au(e,r){var d=[];return Go(e,function(x,P,W){r(x,P,W)&&d.push(x)}),d}function ir(e,r,d,x,P){var W=-1,ee=e.length;for(d||(d=bv),P||(P=[]);++W<ee;){var ue=e[W];r>0&&d(ue)?r>1?ir(ue,r-1,d,x,P):_t(P,ue):x||(P[P.length]=ue)}return P}var Pu=E(),wl=E(!0);function to(e,r){return e&&Pu(e,r,Kr)}function Lu(e,r){return e&&wl(e,r,Kr)}function Qs(e,r){return Oe(r,function(d){return Is(e[d])})}function ha(e,r){r=Eo(r,e);for(var d=0,x=r.length;e!=null&&d<x;)e=e[Ya(r[d++])];return d&&d==x?e:n}function cs(e,r,d){var x=r(e);return Yt(e)?x:_t(x,d(e))}function gr(e){return e==null?e===n?un:ur:Pi&&Pi in et(e)?hv(e):Tv(e)}function fs(e,r){return e>r}function ds(e,r){return e!=null&&At.call(e,r)}function Sl(e,r){return e!=null&&r in et(e)}function hs(e,r,d){return e>=On(r,d)&&e<In(r,d)}function Ba(e,r,d){for(var x=d?Fe:be,P=e[0].length,W=e.length,ee=W,ue=oe(W),pe=1/0,Ne=[];ee--;){var Be=e[ee];ee&&r&&(Be=tt(Be,ft(r))),pe=On(Be.length,pe),ue[ee]=!d&&(r||P>=120&&Be.length>=120)?new ua(ee&&Be):n}Be=e[0];var ze=-1,ot=ue[0];e:for(;++ze<P&&Ne.length<pe;){var xt=Be[ze],Pt=r?r(xt):xt;if(xt=d||xt!==0?xt:0,!(ot?kt(ot,Pt):x(Ne,Pt,d))){for(ee=W;--ee;){var Xt=ue[ee];if(!(Xt?kt(Xt,Pt):x(e[ee],Pt,d)))continue e}ot&&ot.push(Pt),Ne.push(xt)}}return Ne}function Mu(e,r,d,x){return to(e,function(P,W,ee){r(x,d(P),W,ee)}),x}function vi(e,r,d){r=Eo(r,e),e=Pd(e,r);var x=e==null?e:e[Ya(Xo(r))];return x==null?n:M(x,e,d)}function ps(e){return Qn(e)&&gr(e)==Ze}function eu(e){return Qn(e)&&gr(e)==Jr}function pa(e){return Qn(e)&&gr(e)==wt}function ja(e,r,d,x,P){return e===r?!0:e==null||r==null||!Qn(e)&&!Qn(r)?e!==e&&r!==r:Fu(e,r,d,x,ja,P)}function Fu(e,r,d,x,P,W){var ee=Yt(e),ue=Yt(r),pe=ee?Ke:bi(e),Ne=ue?Ke:bi(r);pe=pe==Ze?Un:pe,Ne=Ne==Ze?Un:Ne;var Be=pe==Un,ze=Ne==Un,ot=pe==Ne;if(ot&&fu(e)){if(!fu(r))return!1;ee=!0,Be=!1}if(ot&&!Be)return W||(W=new Mi),ee||Dl(e)?Ts(e,r,d,x,P,W):Gc(e,r,pe,d,x,P,W);if(!(d&re)){var xt=Be&&At.call(e,"__wrapped__"),Pt=ze&&At.call(r,"__wrapped__");if(xt||Pt){var Xt=xt?e.value():e,Lt=Pt?r.value():r;return W||(W=new Mi),P(Xt,Lt,d,x,W)}}return ot?(W||(W=new Mi),qc(e,r,d,x,P,W)):!1}function ga(e){return Qn(e)&&bi(e)==Bt}function Nu(e,r,d,x){var P=d.length,W=P,ee=!x;if(e==null)return!W;for(e=et(e);P--;){var ue=d[P];if(ee&&ue[2]?ue[1]!==e[ue[0]]:!(ue[0]in e))return!1}for(;++P<W;){ue=d[P];var pe=ue[0],Ne=e[pe],Be=ue[1];if(ee&&ue[2]){if(Ne===n&&!(pe in e))return!1}else{var ze=new Mi;if(x)var ot=x(Ne,Be,pe,e,r,ze);if(!(ot===n?ja(Be,Ne,re|ne,x,ze):ot))return!1}}return!0}function Bu(e){if(!Vn(e)||Sv(e))return!1;var r=Is(e)?Ra:di;return r.test(Ku(e))}function no(e){return Qn(e)&&gr(e)==mr}function zl(e){return Qn(e)&&bi(e)==qn}function Yl(e){return Qn(e)&&vc(e.length)&&!!Gt[gr(e)]}function Ha(e){return typeof e=="function"?e:e==null?ao:typeof e=="object"?Yt(e)?Bi(e[0],e[1]):xo(e):mh(e)}function gs(e){if(!Gl(e))return Cu(e);var r=[];for(var d in et(e))At.call(e,d)&&d!="constructor"&&r.push(d);return r}function tu(e){if(!Vn(e))return kv(e);var r=Gl(e),d=[];for(var x in e)x=="constructor"&&(r||!At.call(e,x))||d.push(x);return d}function Ni(e,r){return e<r}function Ua(e,r){var d=-1,x=io(e)?oe(e.length):[];return Go(e,function(P,W,ee){x[++d]=r(P,W,ee)}),x}function xo(e){var r=Zc(e);return r.length==1&&r[0][2]?Dd(r[0][0],r[0][1]):function(d){return d===e||Nu(d,e,r)}}function Bi(e,r){return ef(e)&&Od(r)?Dd(Ya(e),r):function(d){var x=ff(d,e);return x===n&&x===r?df(d,e):ja(r,x,re|ne)}}function Wa(e,r,d,x,P){e!==r&&Pu(r,function(W,ee){if(P||(P=new Mi),Vn(W))mi(e,r,ee,d,Wa,x,P);else{var ue=x?x(nf(e,ee),W,ee+"",e,r,P):n;ue===n&&(ue=W),Na(e,ee,ue)}},oo)}function mi(e,r,d,x,P,W,ee){var ue=nf(e,d),pe=nf(r,d),Ne=ee.get(pe);if(Ne){Na(e,d,Ne);return}var Be=W?W(ue,pe,d+"",e,r,ee):n,ze=Be===n;if(ze){var ot=Yt(pe),xt=!ot&&fu(pe),Pt=!ot&&!xt&&Dl(pe);Be=pe,ot||xt||Pt?Yt(ue)?Be=ue:ar(ue)?Be=or(ue):xt?(ze=!1,Be=Yu(pe,!0)):Pt?(ze=!1,Be=Vu(pe,!0)):Be=[]:Xl(pe)||Ju(pe)?(Be=ue,Ju(ue)?Be=sh(ue):(!Vn(ue)||Is(ue))&&(Be=Id(pe))):ze=!1}ze&&(ee.set(pe,Be),P(Be,pe,x,W,ee),ee.delete(pe)),Na(e,d,Be)}function va(e,r){var d=e.length;if(d)return r+=r<0?d:0,Rs(r,d)?e[r]:n}function nu(e,r,d){r.length?r=tt(r,function(W){return Yt(W)?function(ee){return ha(ee,W.length===1?W[0]:W)}:W}):r=[ao];var x=-1;r=tt(r,ft(It()));var P=Ua(e,function(W,ee,ue){var pe=tt(r,function(Ne){return Ne(W)});return{criteria:pe,index:++x,value:W}});return V(P,function(W,ee){return ks(W,ee,d)})}function yi(e,r){return Co(e,r,function(d,x){return df(e,x)})}function Co(e,r,d){for(var x=-1,P=r.length,W={};++x<P;){var ee=r[x],ue=ha(e,ee);d(ue,ee)&&ya(W,Eo(ee,e),ue)}return W}function ju(e){return function(r){return ha(r,e)}}function ma(e,r,d,x){var P=x?qi:Zt,W=-1,ee=r.length,ue=e;for(e===r&&(r=or(r)),d&&(ue=tt(e,ft(d)));++W<ee;)for(var pe=0,Ne=r[W],Be=d?d(Ne):Ne;(pe=P(ue,Be,pe,x))>-1;)ue!==e&&oa.call(ue,pe,1),oa.call(e,pe,1);return e}function vs(e,r){for(var d=e?r.length:0,x=d-1;d--;){var P=r[d];if(d==x||P!==W){var W=P;Rs(P)?oa.call(e,P,1):$u(e,P)}}return e}function ru(e,r){return e+Aa(mo()*(r-e+1))}function xl(e,r,d,x){for(var P=-1,W=In(rs((r-e)/(d||1)),0),ee=oe(W);W--;)ee[x?W:++P]=e,e+=d;return ee}function Hu(e,r){var d="";if(!e||r<1||r>qe)return d;do r%2&&(d+=e),r=Aa(r/2),r&&(e+=e);while(r);return d}function $t(e,r){return rf(Ad(e,r,ao),e+"")}function ms(e){return tn(Al(e))}function Cl(e,r){var d=Al(e);return cc(d,Vo(r,0,d.length))}function ya(e,r,d,x){if(!Vn(e))return e;r=Eo(r,e);for(var P=-1,W=r.length,ee=W-1,ue=e;ue!=null&&++P<W;){var pe=Ya(r[P]),Ne=d;if(pe==="__proto__"||pe==="constructor"||pe==="prototype")return e;if(P!=ee){var Be=ue[pe];Ne=x?x(Be,pe,ue):n,Ne===n&&(Ne=Vn(Be)?Be:Rs(r[P+1])?[]:{})}An(ue,pe,Ne),ue=ue[pe]}return e}var $a=Wo?function(e,r){return Wo.set(e,r),e}:ao,Uu=vo?function(e,r){return vo(e,"toString",{configurable:!0,enumerable:!1,value:pf(r),writable:!0})}:ao;function Wu(e){return cc(Al(e))}function Gr(e,r,d){var x=-1,P=e.length;r<0&&(r=-r>P?0:P+r),d=d>P?P:d,d<0&&(d+=P),P=r>d?0:d-r>>>0,r>>>=0;for(var W=oe(P);++x<P;)W[x]=e[x+r];return W}function El(e,r){var d;return Go(e,function(x,P,W){return d=r(x,P,W),!d}),!!d}function ys(e,r,d){var x=0,P=e==null?x:e.length;if(typeof r=="number"&&r===r&&P<=Xe){for(;x<P;){var W=x+P>>>1,ee=e[W];ee!==null&&!ko(ee)&&(d?ee<=r:ee<r)?x=W+1:P=W}return P}return bs(e,r,ao,d)}function bs(e,r,d,x){var P=0,W=e==null?0:e.length;if(W===0)return 0;r=d(r);for(var ee=r!==r,ue=r===null,pe=ko(r),Ne=r===n;P<W;){var Be=Aa((P+W)/2),ze=d(e[Be]),ot=ze!==n,xt=ze===null,Pt=ze===ze,Xt=ko(ze);if(ee)var Lt=x||Pt;else Ne?Lt=Pt&&(x||ot):ue?Lt=Pt&&ot&&(x||!xt):pe?Lt=Pt&&ot&&!xt&&(x||!Xt):xt||Xt?Lt=!1:Lt=x?ze<=r:ze<r;Lt?P=Be+1:W=Be}return On(W,Ye)}function kl(e,r){for(var d=-1,x=e.length,P=0,W=[];++d<x;){var ee=e[d],ue=r?r(ee):ee;if(!d||!ba(ue,pe)){var pe=ue;W[P++]=ee===0?0:ee}}return W}function Tl(e){return typeof e=="number"?e:ko(e)?Ce:+e}function qr(e){if(typeof e=="string")return e;if(Yt(e))return tt(e,qr)+"";if(ko(e))return aa?aa.call(e):"";var r=e+"";return r=="0"&&1/e==-Ve?"-0":r}function qo(e,r,d){var x=-1,P=be,W=e.length,ee=!0,ue=[],pe=ue;if(d)ee=!1,P=Fe;else if(W>=o){var Ne=r?null:mn(e);if(Ne)return Di(Ne);ee=!1,P=kt,pe=new ua}else pe=r?[]:ue;e:for(;++x<W;){var Be=e[x],ze=r?r(Be):Be;if(Be=d||Be!==0?Be:0,ee&&ze===ze){for(var ot=pe.length;ot--;)if(pe[ot]===ze)continue e;r&&pe.push(ze),ue.push(Be)}else P(pe,ze,d)||(pe!==ue&&pe.push(ze),ue.push(Be))}return ue}function $u(e,r){return r=Eo(r,e),e=Pd(e,r),e==null||delete e[Ya(Xo(r))]}function iu(e,r,d,x){return ya(e,r,d(ha(e,r)),x)}function ou(e,r,d,x){for(var P=e.length,W=x?P:-1;(x?W--:++W<P)&&r(e[W],W,e););return d?Gr(e,x?0:W,x?W+1:P):Gr(e,x?W+1:0,x?P:W)}function Xr(e,r){var d=e;return d instanceof zt&&(d=d.value()),Ot(r,function(x,P){return P.func.apply(P.thisArg,_t([x],P.args))},d)}function ws(e,r,d){var x=e.length;if(x<2)return x?qo(e[0]):[];for(var P=-1,W=oe(x);++P<x;)for(var ee=e[P],ue=-1;++ue<x;)ue!=P&&(W[P]=So(W[P]||ee,e[ue],r,d));return qo(ir(W,1),r,d)}function zu(e,r,d){for(var x=-1,P=e.length,W=r.length,ee={};++x<P;){var ue=x<W?r[x]:n;d(ee,e[x],ue)}return ee}function Lr(e){return ar(e)?e:[]}function Ss(e){return typeof e=="function"?e:ao}function Eo(e,r){return Yt(e)?e:ef(e,r)?[e]:Nd(hn(e))}var Vl=$t;function ji(e,r,d){var x=e.length;return d=d===n?x:d,!r&&d>=x?e:Gr(e,r,d)}var xs=ts||function(e){return dn.clearTimeout(e)};function Yu(e,r){if(r)return e.slice();var d=e.length,x=js?js(d):new e.constructor(d);return e.copy(x),x}function au(e){var r=new e.constructor(e.byteLength);return new Oa(r).set(new Oa(e)),r}function Cs(e,r){var d=r?au(e.buffer):e.buffer;return new e.constructor(d,e.byteOffset,e.byteLength)}function Es(e){var r=new e.constructor(e.source,ni.exec(e));return r.lastIndex=e.lastIndex,r}function su(e){return us?et(us.call(e)):{}}function Vu(e,r){var d=r?au(e.buffer):e.buffer;return new e.constructor(d,e.byteOffset,e.length)}function za(e,r){if(e!==r){var d=e!==n,x=e===null,P=e===e,W=ko(e),ee=r!==n,ue=r===null,pe=r===r,Ne=ko(r);if(!ue&&!Ne&&!W&&e>r||W&&ee&&pe&&!ue&&!Ne||x&&ee&&pe||!d&&pe||!P)return 1;if(!x&&!W&&!Ne&&e<r||Ne&&d&&P&&!x&&!W||ue&&d&&P||!ee&&P||!pe)return-1}return 0}function ks(e,r,d){for(var x=-1,P=e.criteria,W=r.criteria,ee=P.length,ue=d.length;++x<ee;){var pe=za(P[x],W[x]);if(pe){if(x>=ue)return pe;var Ne=d[x];return pe*(Ne=="desc"?-1:1)}}return e.index-r.index}function _l(e,r,d,x){for(var P=-1,W=e.length,ee=d.length,ue=-1,pe=r.length,Ne=In(W-ee,0),Be=oe(pe+Ne),ze=!x;++ue<pe;)Be[ue]=r[ue];for(;++P<ee;)(ze||P<W)&&(Be[d[P]]=e[P]);for(;Ne--;)Be[ue++]=e[P++];return Be}function uu(e,r,d,x){for(var P=-1,W=e.length,ee=-1,ue=d.length,pe=-1,Ne=r.length,Be=In(W-ue,0),ze=oe(Be+Ne),ot=!x;++P<Be;)ze[P]=e[P];for(var xt=P;++pe<Ne;)ze[xt+pe]=r[pe];for(;++ee<ue;)(ot||P<W)&&(ze[xt+d[ee]]=e[P++]);return ze}function or(e,r){var d=-1,x=e.length;for(r||(r=oe(x));++d<x;)r[d]=e[d];return r}function ro(e,r,d,x){var P=!d;d||(d={});for(var W=-1,ee=r.length;++W<ee;){var ue=r[W],pe=x?x(d[ue],e[ue],ue,d,e):n;pe===n&&(pe=e[ue]),P?rr(d,ue,pe):An(d,ue,pe)}return d}function Rl(e,r){return ro(e,Qc(e),r)}function lu(e,r){return ro(e,_d(e),r)}function cu(e,r){return function(d,x){var P=Yt(d)?te:fa,W=r?r():{};return P(d,e,It(x,2),W)}}function c(e){return $t(function(r,d){var x=-1,P=d.length,W=P>1?d[P-1]:n,ee=P>2?d[2]:n;for(W=e.length>3&&typeof W=="function"?(P--,W):n,ee&&Hi(d[0],d[1],ee)&&(W=P<3?n:W,P=1),r=et(r);++x<P;){var ue=d[x];ue&&e(r,ue,x,W)}return r})}function p(e,r){return function(d,x){if(d==null)return d;if(!io(d))return e(d,x);for(var P=d.length,W=r?P:-1,ee=et(d);(r?W--:++W<P)&&x(ee[W],W,ee)!==!1;);return d}}function E(e){return function(r,d,x){for(var P=-1,W=et(r),ee=x(r),ue=ee.length;ue--;){var pe=ee[e?ue:++P];if(d(W[pe],pe,W)===!1)break}return r}}function D(e,r,d){var x=r&J,P=se(e);function W(){var ee=this&&this!==dn&&this instanceof W?P:e;return ee.apply(x?d:this,arguments)}return W}function $(e){return function(r){r=hn(r);var d=Vr(r)?nr(r):n,x=d?d[0]:r.charAt(0),P=d?ji(d,1).join(""):r.slice(1);return x[e]()+P}}function Z(e){return function(r){return Ot(gh(ph(r).replace(ea,"")),e,"")}}function se(e){return function(){var r=arguments;switch(r.length){case 0:return new e;case 1:return new e(r[0]);case 2:return new e(r[0],r[1]);case 3:return new e(r[0],r[1],r[2]);case 4:return new e(r[0],r[1],r[2],r[3]);case 5:return new e(r[0],r[1],r[2],r[3],r[4]);case 6:return new e(r[0],r[1],r[2],r[3],r[4],r[5]);case 7:return new e(r[0],r[1],r[2],r[3],r[4],r[5],r[6])}var d=zo(e.prototype),x=e.apply(d,r);return Vn(x)?x:d}}function Te(e,r,d){var x=se(e);function P(){for(var W=arguments.length,ee=oe(W),ue=W,pe=Ol(P);ue--;)ee[ue]=arguments[ue];var Ne=W<3&&ee[0]!==pe&&ee[W-1]!==pe?[]:ui(ee,pe);if(W-=Ne.length,W<d)return pt(e,r,S,P.placeholder,n,ee,Ne,n,n,d-W);var Be=this&&this!==dn&&this instanceof P?x:e;return M(Be,this,ee)}return P}function u(e){return function(r,d,x){var P=et(r);if(!io(r)){var W=It(d,3);r=Kr(r),d=function(ue){return W(P[ue],ue,P)}}var ee=e(r,d,x);return ee>-1?P[W?r[ee]:ee]:n}}function h(e){return _s(function(r){var d=r.length,x=d,P=Ar.prototype.thru;for(e&&r.reverse();x--;){var W=r[x];if(typeof W!="function")throw new Wt(g);if(P&&!ee&&uc(W)=="wrapper")var ee=new Ar([],!0)}for(x=ee?x:d;++x<d;){W=r[x];var ue=uc(W),pe=ue=="wrapper"?Jc(W):n;pe&&tf(pe[0])&&pe[1]==(m|ye|de|Ue)&&!pe[4].length&&pe[9]==1?ee=ee[uc(pe[0])].apply(ee,pe[3]):ee=W.length==1&&tf(W)?ee[ue]():ee.thru(W)}return function(){var Ne=arguments,Be=Ne[0];if(ee&&Ne.length==1&&Yt(Be))return ee.plant(Be).value();for(var ze=0,ot=d?r[ze].apply(this,Ne):Be;++ze<d;)ot=r[ze].call(this,ot);return ot}})}function S(e,r,d,x,P,W,ee,ue,pe,Ne){var Be=r&m,ze=r&J,ot=r&F,xt=r&(ye|Ie),Pt=r&ke,Xt=ot?n:se(e);function Lt(){for(var Jt=arguments.length,Qt=oe(Jt),To=Jt;To--;)Qt[To]=arguments[To];if(xt)var Ui=Ol(Lt),_o=vn(Qt,Ui);if(x&&(Qt=_l(Qt,x,P,xt)),W&&(Qt=uu(Qt,W,ee,xt)),Jt-=_o,xt&&Jt<Ne){var sr=ui(Qt,Ui);return pt(e,r,S,Lt.placeholder,d,Qt,sr,ue,pe,Ne-Jt)}var wa=ze?d:this,Ds=ot?wa[e]:e;return Jt=Qt.length,ue?Qt=_v(Qt,ue):Pt&&Jt>1&&Qt.reverse(),Be&&pe<Jt&&(Qt.length=pe),this&&this!==dn&&this instanceof Lt&&(Ds=Xt||se(Ds)),Ds.apply(wa,Qt)}return Lt}function T(e,r){return function(d,x){return Mu(d,e,r(x),{})}}function B(e,r){return function(d,x){var P;if(d===n&&x===n)return r;if(d!==n&&(P=d),x!==n){if(P===n)return x;typeof d=="string"||typeof x=="string"?(d=qr(d),x=qr(x)):(d=Tl(d),x=Tl(x)),P=e(d,x)}return P}}function X(e){return _s(function(r){return r=tt(r,ft(It())),$t(function(d){var x=this;return e(r,function(P){return M(P,x,d)})})})}function ie(e,r){r=r===n?" ":qr(r);var d=r.length;if(d<2)return d?Hu(r,e):r;var x=Hu(r,rs(e/Ji(r)));return Vr(r)?ji(nr(x),0,e).join(""):x.slice(0,e)}function Ee(e,r,d,x){var P=r&J,W=se(e);function ee(){for(var ue=-1,pe=arguments.length,Ne=-1,Be=x.length,ze=oe(Be+pe),ot=this&&this!==dn&&this instanceof ee?W:e;++Ne<Be;)ze[Ne]=x[Ne];for(;pe--;)ze[Ne++]=arguments[++ue];return M(ot,P?d:this,ze)}return ee}function He(e){return function(r,d,x){return x&&typeof x!="number"&&Hi(r,d,x)&&(d=x=n),r=Os(r),d===n?(d=r,r=0):d=Os(d),x=x===n?r<d?1:-1:Os(x),xl(r,d,x,e)}}function it(e){return function(r,d){return typeof r=="string"&&typeof d=="string"||(r=Ko(r),d=Ko(d)),e(r,d)}}function pt(e,r,d,x,P,W,ee,ue,pe,Ne){var Be=r&ye,ze=Be?ee:n,ot=Be?n:ee,xt=Be?W:n,Pt=Be?n:W;r|=Be?de:je,r&=~(Be?je:de),r&he||(r&=~(J|F));var Xt=[e,r,P,xt,ze,Pt,ot,ue,pe,Ne],Lt=d.apply(n,Xt);return tf(e)&&Ld(Lt,Xt),Lt.placeholder=x,Md(Lt,e,r)}function Rt(e){var r=rt[e];return function(d,x){if(d=Ko(d),x=x==null?0:On(qt(x),292),x&&xu(d)){var P=(hn(d)+"e").split("e"),W=r(P[0]+"e"+(+P[1]+x));return P=(hn(W)+"e").split("e"),+(P[0]+"e"+(+P[1]-x))}return r(d)}}var mn=Dr&&1/Di(new Dr([,-0]))[1]==Ve?function(e){return new Dr(e)}:mf;function Zn(e){return function(r){var d=bi(r);return d==Bt?ka(r):d==qn?Qa(r):De(r,e(r))}}function jn(e,r,d,x,P,W,ee,ue){var pe=r&F;if(!pe&&typeof e!="function")throw new Wt(g);var Ne=x?x.length:0;if(Ne||(r&=~(de|je),x=P=n),ee=ee===n?ee:In(qt(ee),0),ue=ue===n?ue:qt(ue),Ne-=P?P.length:0,r&je){var Be=x,ze=P;x=P=n}var ot=pe?n:Jc(e),xt=[e,r,d,x,P,Be,ze,W,ee,ue];if(ot&&Ev(xt,ot),e=xt[0],r=xt[1],d=xt[2],x=xt[3],P=xt[4],ue=xt[9]=xt[9]===n?pe?0:e.length:In(xt[9]-Ne,0),!ue&&r&(ye|Ie)&&(r&=~(ye|Ie)),!r||r==J)var Pt=D(e,r,d);else r==ye||r==Ie?Pt=Te(e,r,ue):(r==de||r==(J|de))&&!P.length?Pt=Ee(e,r,d,x):Pt=S.apply(n,xt);var Xt=ot?$a:Ld;return Md(Xt(Pt,xt),e,r)}function Gu(e,r,d,x){return e===n||ba(e,Bn[d])&&!At.call(x,d)?r:e}function qu(e,r,d,x,P,W){return Vn(e)&&Vn(r)&&(W.set(r,e),Wa(e,r,n,qu,W),W.delete(r)),e}function Il(e){return Xl(e)?n:e}function Ts(e,r,d,x,P,W){var ee=d&re,ue=e.length,pe=r.length;if(ue!=pe&&!(ee&&pe>ue))return!1;var Ne=W.get(e),Be=W.get(r);if(Ne&&Be)return Ne==r&&Be==e;var ze=-1,ot=!0,xt=d&ne?new ua:n;for(W.set(e,r),W.set(r,e);++ze<ue;){var Pt=e[ze],Xt=r[ze];if(x)var Lt=ee?x(Xt,Pt,ze,r,e,W):x(Pt,Xt,ze,e,r,W);if(Lt!==n){if(Lt)continue;ot=!1;break}if(xt){if(!an(r,function(Jt,Qt){if(!kt(xt,Qt)&&(Pt===Jt||P(Pt,Jt,d,x,W)))return xt.push(Qt)})){ot=!1;break}}else if(!(Pt===Xt||P(Pt,Xt,d,x,W))){ot=!1;break}}return W.delete(e),W.delete(r),ot}function Gc(e,r,d,x,P,W,ee){switch(d){case nn:if(e.byteLength!=r.byteLength||e.byteOffset!=r.byteOffset)return!1;e=e.buffer,r=r.buffer;case Jr:return!(e.byteLength!=r.byteLength||!W(new Oa(e),new Oa(r)));case mt:case wt:case Hn:return ba(+e,+r);case Tt:return e.name==r.name&&e.message==r.message;case mr:case rn:return e==r+"";case Bt:var ue=ka;case qn:var pe=x&re;if(ue||(ue=Di),e.size!=r.size&&!pe)return!1;var Ne=ee.get(e);if(Ne)return Ne==r;x|=ne,ee.set(e,r);var Be=Ts(ue(e),ue(r),x,P,W,ee);return ee.delete(e),Be;case sn:if(us)return us.call(e)==us.call(r)}return!1}function qc(e,r,d,x,P,W){var ee=d&re,ue=Xc(e),pe=ue.length,Ne=Xc(r),Be=Ne.length;if(pe!=Be&&!ee)return!1;for(var ze=pe;ze--;){var ot=ue[ze];if(!(ee?ot in r:At.call(r,ot)))return!1}var xt=W.get(e),Pt=W.get(r);if(xt&&Pt)return xt==r&&Pt==e;var Xt=!0;W.set(e,r),W.set(r,e);for(var Lt=ee;++ze<pe;){ot=ue[ze];var Jt=e[ot],Qt=r[ot];if(x)var To=ee?x(Qt,Jt,ot,r,e,W):x(Jt,Qt,ot,e,r,W);if(!(To===n?Jt===Qt||P(Jt,Qt,d,x,W):To)){Xt=!1;break}Lt||(Lt=ot=="constructor")}if(Xt&&!Lt){var Ui=e.constructor,_o=r.constructor;Ui!=_o&&"constructor"in e&&"constructor"in r&&!(typeof Ui=="function"&&Ui instanceof Ui&&typeof _o=="function"&&_o instanceof _o)&&(Xt=!1)}return W.delete(e),W.delete(r),Xt}function _s(e){return rf(Ad(e,n,Ud),e+"")}function Xc(e){return cs(e,Kr,Qc)}function Kc(e){return cs(e,oo,_d)}var Jc=Wo?function(e){return Wo.get(e)}:mf;function uc(e){for(var r=e.name+"",d=$o[r],x=At.call($o,r)?d.length:0;x--;){var P=d[x],W=P.func;if(W==null||W==e)return P.name}return r}function Ol(e){var r=At.call(j,"placeholder")?j:e;return r.placeholder}function It(){var e=j.iteratee||gf;return e=e===gf?Ha:e,arguments.length?e(arguments[0],arguments[1]):e}function lc(e,r){var d=e.__data__;return wv(r)?d[typeof r=="string"?"string":"hash"]:d.map}function Zc(e){for(var r=Kr(e),d=r.length;d--;){var x=r[d],P=e[x];r[d]=[x,P,Od(P)]}return r}function Xu(e,r){var d=Fo(e,r);return Bu(d)?d:n}function hv(e){var r=At.call(e,Pi),d=e[Pi];try{e[Pi]=n;var x=!0}catch{}var P=jo.call(e);return x&&(r?e[Pi]=d:delete e[Pi]),P}var Qc=is?function(e){return e==null?[]:(e=et(e),Oe(is(e),function(r){return wu.call(e,r)}))}:yf,_d=is?function(e){for(var r=[];e;)_t(r,Qc(e)),e=Da(e);return r}:yf,bi=gr;(yo&&bi(new yo(new ArrayBuffer(1)))!=nn||Li&&bi(new Li)!=Bt||os&&bi(os.resolve())!=bn||Dr&&bi(new Dr)!=qn||Ho&&bi(new Ho)!=at)&&(bi=function(e){var r=gr(e),d=r==Un?e.constructor:n,x=d?Ku(d):"";if(x)switch(x){case as:return nn;case hl:return Bt;case pl:return bn;case Ws:return qn;case ss:return at}return r});function pv(e,r,d){for(var x=-1,P=d.length;++x<P;){var W=d[x],ee=W.size;switch(W.type){case"drop":e+=ee;break;case"dropRight":r-=ee;break;case"take":r=On(r,e+ee);break;case"takeRight":e=In(e,r-ee);break}}return{start:e,end:r}}function gv(e){var r=e.match(Qo);return r?r[1].split(jr):[]}function Rd(e,r,d){r=Eo(r,e);for(var x=-1,P=r.length,W=!1;++x<P;){var ee=Ya(r[x]);if(!(W=e!=null&&d(e,ee)))break;e=e[ee]}return W||++x!=P?W:(P=e==null?0:e.length,!!P&&vc(P)&&Rs(ee,P)&&(Yt(e)||Ju(e)))}function vv(e){var r=e.length,d=new e.constructor(r);return r&&typeof e[0]=="string"&&At.call(e,"index")&&(d.index=e.index,d.input=e.input),d}function Id(e){return typeof e.constructor=="function"&&!Gl(e)?zo(Da(e)):{}}function mv(e,r,d){var x=e.constructor;switch(r){case Jr:return au(e);case mt:case wt:return new x(+e);case nn:return Cs(e,d);case Ci:case Ei:case ki:case yr:case Ln:case br:case lr:case Fr:case Nr:return Vu(e,d);case Bt:return new x;case Hn:case rn:return new x(e);case mr:return Es(e);case qn:return new x;case sn:return su(e)}}function yv(e,r){var d=r.length;if(!d)return e;var x=d-1;return r[x]=(d>1?"& ":"")+r[x],r=r.join(d>2?", ":" "),e.replace(Zo,`{
139
- /* [wrapped with `+r+`] */
140
- `)}function bv(e){return Yt(e)||Ju(e)||!!(Hs&&e&&e[Hs])}function Rs(e,r){var d=typeof e;return r=r??qe,!!r&&(d=="number"||d!="symbol"&&fr.test(e))&&e>-1&&e%1==0&&e<r}function Hi(e,r,d){if(!Vn(d))return!1;var x=typeof r;return(x=="number"?io(d)&&Rs(r,d.length):x=="string"&&r in d)?ba(d[r],e):!1}function ef(e,r){if(Yt(e))return!1;var d=typeof e;return d=="number"||d=="symbol"||d=="boolean"||e==null||ko(e)?!0:fn.test(e)||!ei.test(e)||r!=null&&e in et(r)}function wv(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}function tf(e){var r=uc(e),d=j[r];if(typeof d!="function"||!(r in zt.prototype))return!1;if(e===d)return!0;var x=Jc(d);return!!x&&e===x[0]}function Sv(e){return!!Sn&&Sn in e}var xv=Or?Is:bf;function Gl(e){var r=e&&e.constructor,d=typeof r=="function"&&r.prototype||Bn;return e===d}function Od(e){return e===e&&!Vn(e)}function Dd(e,r){return function(d){return d==null?!1:d[e]===r&&(r!==n||e in et(d))}}function Cv(e){var r=pc(e,function(x){return d.size===A&&d.clear(),x}),d=r.cache;return r}function Ev(e,r){var d=e[1],x=r[1],P=d|x,W=P<(J|F|m),ee=x==m&&d==ye||x==m&&d==Ue&&e[7].length<=r[8]||x==(m|Ue)&&r[7].length<=r[8]&&d==ye;if(!(W||ee))return e;x&J&&(e[2]=r[2],P|=d&J?0:he);var ue=r[3];if(ue){var pe=e[3];e[3]=pe?_l(pe,ue,r[4]):ue,e[4]=pe?ui(e[3],U):r[4]}return ue=r[5],ue&&(pe=e[5],e[5]=pe?uu(pe,ue,r[6]):ue,e[6]=pe?ui(e[5],U):r[6]),ue=r[7],ue&&(e[7]=ue),x&m&&(e[8]=e[8]==null?r[8]:On(e[8],r[8])),e[9]==null&&(e[9]=r[9]),e[0]=r[0],e[1]=P,e}function kv(e){var r=[];if(e!=null)for(var d in et(e))r.push(d);return r}function Tv(e){return jo.call(e)}function Ad(e,r,d){return r=In(r===n?e.length-1:r,0),function(){for(var x=arguments,P=-1,W=In(x.length-r,0),ee=oe(W);++P<W;)ee[P]=x[r+P];P=-1;for(var ue=oe(r+1);++P<r;)ue[P]=x[P];return ue[r]=d(ee),M(e,this,ue)}}function Pd(e,r){return r.length<2?e:ha(e,Gr(r,0,-1))}function _v(e,r){for(var d=e.length,x=On(r.length,d),P=or(e);x--;){var W=r[x];e[x]=Rs(W,d)?P[W]:n}return e}function nf(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}var Ld=Fd($a),ql=Us||function(e,r){return dn.setTimeout(e,r)},rf=Fd(Uu);function Md(e,r,d){var x=r+"";return rf(e,yv(x,Rv(gv(x),d)))}function Fd(e){var r=0,d=0;return function(){var x=Eu(),P=dt-(x-d);if(d=x,P>0){if(++r>=vt)return arguments[0]}else r=0;return e.apply(n,arguments)}}function cc(e,r){var d=-1,x=e.length,P=x-1;for(r=r===n?x:r;++d<r;){var W=ru(d,P),ee=e[W];e[W]=e[d],e[d]=ee}return e.length=r,e}var Nd=Cv(function(e){var r=[];return e.charCodeAt(0)===46&&r.push(""),e.replace($i,function(d,x,P,W){r.push(P?W.replace(uo,"$1"):x||d)}),r});function Ya(e){if(typeof e=="string"||ko(e))return e;var r=e+"";return r=="0"&&1/e==-Ve?"-0":r}function Ku(e){if(e!=null){try{return Ai.call(e)}catch{}try{return e+""}catch{}}return""}function Rv(e,r){return K(Qe,function(d){var x="_."+d[0];r&d[1]&&!be(e,x)&&e.push(x)}),e.sort()}function Bd(e){if(e instanceof zt)return e.clone();var r=new Ar(e.__wrapped__,e.__chain__);return r.__actions__=or(e.__actions__),r.__index__=e.__index__,r.__values__=e.__values__,r}function Iv(e,r,d){(d?Hi(e,r,d):r===n)?r=1:r=In(qt(r),0);var x=e==null?0:e.length;if(!x||r<1)return[];for(var P=0,W=0,ee=oe(rs(x/r));P<x;)ee[W++]=Gr(e,P,P+=r);return ee}function Ov(e){for(var r=-1,d=e==null?0:e.length,x=0,P=[];++r<d;){var W=e[r];W&&(P[x++]=W)}return P}function Dv(){var e=arguments.length;if(!e)return[];for(var r=oe(e-1),d=arguments[0],x=e;x--;)r[x-1]=arguments[x];return _t(Yt(d)?or(d):[d],ir(r,1))}var Av=$t(function(e,r){return ar(e)?So(e,ir(r,1,ar,!0)):[]}),Pv=$t(function(e,r){var d=Xo(r);return ar(d)&&(d=n),ar(e)?So(e,ir(r,1,ar,!0),It(d,2)):[]}),Lv=$t(function(e,r){var d=Xo(r);return ar(d)&&(d=n),ar(e)?So(e,ir(r,1,ar,!0),n,d):[]});function Mv(e,r,d){var x=e==null?0:e.length;return x?(r=d||r===n?1:qt(r),Gr(e,r<0?0:r,x)):[]}function Fv(e,r,d){var x=e==null?0:e.length;return x?(r=d||r===n?1:qt(r),r=x-r,Gr(e,0,r<0?0:r)):[]}function Nv(e,r){return e&&e.length?ou(e,It(r,3),!0,!0):[]}function Bv(e,r){return e&&e.length?ou(e,It(r,3),!0):[]}function jv(e,r,d,x){var P=e==null?0:e.length;return P?(d&&typeof d!="number"&&Hi(e,r,d)&&(d=0,x=P),bl(e,r,d,x)):[]}function jd(e,r,d){var x=e==null?0:e.length;if(!x)return-1;var P=d==null?0:qt(d);return P<0&&(P=In(x+P,0)),Ut(e,It(r,3),P)}function Hd(e,r,d){var x=e==null?0:e.length;if(!x)return-1;var P=x-1;return d!==n&&(P=qt(d),P=d<0?In(x+P,0):On(P,x-1)),Ut(e,It(r,3),P,!0)}function Ud(e){var r=e==null?0:e.length;return r?ir(e,1):[]}function Hv(e){var r=e==null?0:e.length;return r?ir(e,Ve):[]}function Uv(e,r){var d=e==null?0:e.length;return d?(r=r===n?1:qt(r),ir(e,r)):[]}function Wv(e){for(var r=-1,d=e==null?0:e.length,x={};++r<d;){var P=e[r];x[P[0]]=P[1]}return x}function Wd(e){return e&&e.length?e[0]:n}function $v(e,r,d){var x=e==null?0:e.length;if(!x)return-1;var P=d==null?0:qt(d);return P<0&&(P=In(x+P,0)),Zt(e,r,P)}function zv(e){var r=e==null?0:e.length;return r?Gr(e,0,-1):[]}var Yv=$t(function(e){var r=tt(e,Lr);return r.length&&r[0]===e[0]?Ba(r):[]}),Vv=$t(function(e){var r=Xo(e),d=tt(e,Lr);return r===Xo(d)?r=n:d.pop(),d.length&&d[0]===e[0]?Ba(d,It(r,2)):[]}),Gv=$t(function(e){var r=Xo(e),d=tt(e,Lr);return r=typeof r=="function"?r:n,r&&d.pop(),d.length&&d[0]===e[0]?Ba(d,n,r):[]});function qv(e,r){return e==null?"":Pa.call(e,r)}function Xo(e){var r=e==null?0:e.length;return r?e[r-1]:n}function Xv(e,r,d){var x=e==null?0:e.length;if(!x)return-1;var P=x;return d!==n&&(P=qt(d),P=P<0?In(x+P,0):On(P,x-1)),r===r?Bo(e,r,P):Ut(e,Xi,P,!0)}function Kv(e,r){return e&&e.length?va(e,qt(r)):n}var Jv=$t($d);function $d(e,r){return e&&e.length&&r&&r.length?ma(e,r):e}function Zv(e,r,d){return e&&e.length&&r&&r.length?ma(e,r,It(d,2)):e}function Qv(e,r,d){return e&&e.length&&r&&r.length?ma(e,r,n,d):e}var em=_s(function(e,r){var d=e==null?0:e.length,x=Ru(e,r);return vs(e,tt(r,function(P){return Rs(P,d)?+P:P}).sort(za)),x});function tm(e,r){var d=[];if(!(e&&e.length))return d;var x=-1,P=[],W=e.length;for(r=It(r,3);++x<W;){var ee=e[x];r(ee,x,e)&&(d.push(ee),P.push(x))}return vs(e,P),d}function of(e){return e==null?e:dl.call(e)}function nm(e,r,d){var x=e==null?0:e.length;return x?(d&&typeof d!="number"&&Hi(e,r,d)?(r=0,d=x):(r=r==null?0:qt(r),d=d===n?x:qt(d)),Gr(e,r,d)):[]}function rm(e,r){return ys(e,r)}function im(e,r,d){return bs(e,r,It(d,2))}function om(e,r){var d=e==null?0:e.length;if(d){var x=ys(e,r);if(x<d&&ba(e[x],r))return x}return-1}function am(e,r){return ys(e,r,!0)}function sm(e,r,d){return bs(e,r,It(d,2),!0)}function um(e,r){var d=e==null?0:e.length;if(d){var x=ys(e,r,!0)-1;if(ba(e[x],r))return x}return-1}function lm(e){return e&&e.length?kl(e):[]}function cm(e,r){return e&&e.length?kl(e,It(r,2)):[]}function fm(e){var r=e==null?0:e.length;return r?Gr(e,1,r):[]}function dm(e,r,d){return e&&e.length?(r=d||r===n?1:qt(r),Gr(e,0,r<0?0:r)):[]}function hm(e,r,d){var x=e==null?0:e.length;return x?(r=d||r===n?1:qt(r),r=x-r,Gr(e,r<0?0:r,x)):[]}function pm(e,r){return e&&e.length?ou(e,It(r,3),!1,!0):[]}function gm(e,r){return e&&e.length?ou(e,It(r,3)):[]}var vm=$t(function(e){return qo(ir(e,1,ar,!0))}),mm=$t(function(e){var r=Xo(e);return ar(r)&&(r=n),qo(ir(e,1,ar,!0),It(r,2))}),ym=$t(function(e){var r=Xo(e);return r=typeof r=="function"?r:n,qo(ir(e,1,ar,!0),n,r)});function bm(e){return e&&e.length?qo(e):[]}function wm(e,r){return e&&e.length?qo(e,It(r,2)):[]}function Sm(e,r){return r=typeof r=="function"?r:n,e&&e.length?qo(e,n,r):[]}function af(e){if(!(e&&e.length))return[];var r=0;return e=Oe(e,function(d){if(ar(d))return r=In(d.length,r),!0}),ve(r,function(d){return tt(e,b(d))})}function zd(e,r){if(!(e&&e.length))return[];var d=af(e);return r==null?d:tt(d,function(x){return M(r,n,x)})}var xm=$t(function(e,r){return ar(e)?So(e,r):[]}),Cm=$t(function(e){return ws(Oe(e,ar))}),Em=$t(function(e){var r=Xo(e);return ar(r)&&(r=n),ws(Oe(e,ar),It(r,2))}),km=$t(function(e){var r=Xo(e);return r=typeof r=="function"?r:n,ws(Oe(e,ar),n,r)}),Tm=$t(af);function _m(e,r){return zu(e||[],r||[],An)}function Rm(e,r){return zu(e||[],r||[],ya)}var Im=$t(function(e){var r=e.length,d=r>1?e[r-1]:n;return d=typeof d=="function"?(e.pop(),d):n,zd(e,d)});function Yd(e){var r=j(e);return r.__chain__=!0,r}function Om(e,r){return r(e),e}function fc(e,r){return r(e)}var Dm=_s(function(e){var r=e.length,d=r?e[0]:0,x=this.__wrapped__,P=function(W){return Ru(W,e)};return r>1||this.__actions__.length||!(x instanceof zt)||!Rs(d)?this.thru(P):(x=x.slice(d,+d+(r?1:0)),x.__actions__.push({func:fc,args:[P],thisArg:n}),new Ar(x,this.__chain__).thru(function(W){return r&&!W.length&&W.push(n),W}))});function Am(){return Yd(this)}function Pm(){return new Ar(this.value(),this.__chain__)}function Lm(){this.__values__===n&&(this.__values__=oh(this.value()));var e=this.__index__>=this.__values__.length,r=e?n:this.__values__[this.__index__++];return{done:e,value:r}}function Mm(){return this}function Fm(e){for(var r,d=this;d instanceof sa;){var x=Bd(d);x.__index__=0,x.__values__=n,r?P.__wrapped__=x:r=x;var P=x;d=d.__wrapped__}return P.__wrapped__=e,r}function Nm(){var e=this.__wrapped__;if(e instanceof zt){var r=e;return this.__actions__.length&&(r=new zt(this)),r=r.reverse(),r.__actions__.push({func:fc,args:[of],thisArg:n}),new Ar(r,this.__chain__)}return this.thru(of)}function Bm(){return Xr(this.__wrapped__,this.__actions__)}var jm=cu(function(e,r,d){At.call(e,d)?++e[d]:rr(e,d,1)});function Hm(e,r,d){var x=Yt(e)?Re:Js;return d&&Hi(e,r,d)&&(r=n),x(e,It(r,3))}function Um(e,r){var d=Yt(e)?Oe:Au;return d(e,It(r,3))}var Wm=u(jd),$m=u(Hd);function zm(e,r){return ir(dc(e,r),1)}function Ym(e,r){return ir(dc(e,r),Ve)}function Vm(e,r,d){return d=d===n?1:qt(d),ir(dc(e,r),d)}function Vd(e,r){var d=Yt(e)?K:Go;return d(e,It(r,3))}function Gd(e,r){var d=Yt(e)?fe:Du;return d(e,It(r,3))}var Gm=cu(function(e,r,d){At.call(e,d)?e[d].push(r):rr(e,d,[r])});function qm(e,r,d,x){e=io(e)?e:Al(e),d=d&&!x?qt(d):0;var P=e.length;return d<0&&(d=In(P+d,0)),mc(e)?d<=P&&e.indexOf(r,d)>-1:!!P&&Zt(e,r,d)>-1}var Xm=$t(function(e,r,d){var x=-1,P=typeof r=="function",W=io(e)?oe(e.length):[];return Go(e,function(ee){W[++x]=P?M(r,ee,d):vi(ee,r,d)}),W}),Km=cu(function(e,r,d){rr(e,d,r)});function dc(e,r){var d=Yt(e)?tt:Ua;return d(e,It(r,3))}function Jm(e,r,d,x){return e==null?[]:(Yt(r)||(r=r==null?[]:[r]),d=x?n:d,Yt(d)||(d=d==null?[]:[d]),nu(e,r,d))}var Zm=cu(function(e,r,d){e[d?0:1].push(r)},function(){return[[],[]]});function Qm(e,r,d){var x=Yt(e)?Ot:N,P=arguments.length<3;return x(e,It(r,4),d,P,Go)}function ey(e,r,d){var x=Yt(e)?_n:N,P=arguments.length<3;return x(e,It(r,4),d,P,Du)}function ty(e,r){var d=Yt(e)?Oe:Au;return d(e,gc(It(r,3)))}function ny(e){var r=Yt(e)?tn:ms;return r(e)}function ry(e,r,d){(d?Hi(e,r,d):r===n)?r=1:r=qt(r);var x=Yt(e)?pi:Cl;return x(e,r)}function iy(e){var r=Yt(e)?ca:Wu;return r(e)}function oy(e){if(e==null)return 0;if(io(e))return mc(e)?Ji(e):e.length;var r=bi(e);return r==Bt||r==qn?e.size:gs(e).length}function ay(e,r,d){var x=Yt(e)?an:El;return d&&Hi(e,r,d)&&(r=n),x(e,It(r,3))}var sy=$t(function(e,r){if(e==null)return[];var d=r.length;return d>1&&Hi(e,r[0],r[1])?r=[]:d>2&&Hi(r[0],r[1],r[2])&&(r=[r[0]]),nu(e,ir(r,1),[])}),hc=ns||function(){return dn.Date.now()};function uy(e,r){if(typeof r!="function")throw new Wt(g);return e=qt(e),function(){if(--e<1)return r.apply(this,arguments)}}function qd(e,r,d){return r=d?n:r,r=e&&r==null?e.length:r,jn(e,m,n,n,n,n,r)}function Xd(e,r){var d;if(typeof r!="function")throw new Wt(g);return e=qt(e),function(){return--e>0&&(d=r.apply(this,arguments)),e<=1&&(r=n),d}}var sf=$t(function(e,r,d){var x=J;if(d.length){var P=ui(d,Ol(sf));x|=de}return jn(e,x,r,d,P)}),Kd=$t(function(e,r,d){var x=J|F;if(d.length){var P=ui(d,Ol(Kd));x|=de}return jn(r,x,e,d,P)});function Jd(e,r,d){r=d?n:r;var x=jn(e,ye,n,n,n,n,n,r);return x.placeholder=Jd.placeholder,x}function Zd(e,r,d){r=d?n:r;var x=jn(e,Ie,n,n,n,n,n,r);return x.placeholder=Zd.placeholder,x}function Qd(e,r,d){var x,P,W,ee,ue,pe,Ne=0,Be=!1,ze=!1,ot=!0;if(typeof e!="function")throw new Wt(g);r=Ko(r)||0,Vn(d)&&(Be=!!d.leading,ze="maxWait"in d,W=ze?In(Ko(d.maxWait)||0,r):W,ot="trailing"in d?!!d.trailing:ot);function xt(sr){var wa=x,Ds=P;return x=P=n,Ne=sr,ee=e.apply(Ds,wa),ee}function Pt(sr){return Ne=sr,ue=ql(Jt,r),Be?xt(sr):ee}function Xt(sr){var wa=sr-pe,Ds=sr-Ne,yh=r-wa;return ze?On(yh,W-Ds):yh}function Lt(sr){var wa=sr-pe,Ds=sr-Ne;return pe===n||wa>=r||wa<0||ze&&Ds>=W}function Jt(){var sr=hc();if(Lt(sr))return Qt(sr);ue=ql(Jt,Xt(sr))}function Qt(sr){return ue=n,ot&&x?xt(sr):(x=P=n,ee)}function To(){ue!==n&&xs(ue),Ne=0,x=pe=P=ue=n}function Ui(){return ue===n?ee:Qt(hc())}function _o(){var sr=hc(),wa=Lt(sr);if(x=arguments,P=this,pe=sr,wa){if(ue===n)return Pt(pe);if(ze)return xs(ue),ue=ql(Jt,r),xt(pe)}return ue===n&&(ue=ql(Jt,r)),ee}return _o.cancel=To,_o.flush=Ui,_o}var ly=$t(function(e,r){return Ou(e,1,r)}),cy=$t(function(e,r,d){return Ou(e,Ko(r)||0,d)});function fy(e){return jn(e,ke)}function pc(e,r){if(typeof e!="function"||r!=null&&typeof r!="function")throw new Wt(g);var d=function(){var x=arguments,P=r?r.apply(this,x):x[0],W=d.cache;if(W.has(P))return W.get(P);var ee=e.apply(this,x);return d.cache=W.set(P,ee)||W,ee};return d.cache=new(pc.Cache||bo),d}pc.Cache=bo;function gc(e){if(typeof e!="function")throw new Wt(g);return function(){var r=arguments;switch(r.length){case 0:return!e.call(this);case 1:return!e.call(this,r[0]);case 2:return!e.call(this,r[0],r[1]);case 3:return!e.call(this,r[0],r[1],r[2])}return!e.apply(this,r)}}function dy(e){return Xd(2,e)}var hy=Vl(function(e,r){r=r.length==1&&Yt(r[0])?tt(r[0],ft(It())):tt(ir(r,1),ft(It()));var d=r.length;return $t(function(x){for(var P=-1,W=On(x.length,d);++P<W;)x[P]=r[P].call(this,x[P]);return M(e,this,x)})}),uf=$t(function(e,r){var d=ui(r,Ol(uf));return jn(e,de,n,r,d)}),eh=$t(function(e,r){var d=ui(r,Ol(eh));return jn(e,je,n,r,d)}),py=_s(function(e,r){return jn(e,Ue,n,n,n,r)});function gy(e,r){if(typeof e!="function")throw new Wt(g);return r=r===n?r:qt(r),$t(e,r)}function vy(e,r){if(typeof e!="function")throw new Wt(g);return r=r==null?0:In(qt(r),0),$t(function(d){var x=d[r],P=ji(d,0,r);return x&&_t(P,x),M(e,this,P)})}function my(e,r,d){var x=!0,P=!0;if(typeof e!="function")throw new Wt(g);return Vn(d)&&(x="leading"in d?!!d.leading:x,P="trailing"in d?!!d.trailing:P),Qd(e,r,{leading:x,maxWait:r,trailing:P})}function yy(e){return qd(e,1)}function by(e,r){return uf(Ss(r),e)}function wy(){if(!arguments.length)return[];var e=arguments[0];return Yt(e)?e:[e]}function Sy(e){return Pr(e,Q)}function xy(e,r){return r=typeof r=="function"?r:n,Pr(e,Q,r)}function Cy(e){return Pr(e,L|Q)}function Ey(e,r){return r=typeof r=="function"?r:n,Pr(e,L|Q,r)}function ky(e,r){return r==null||yl(e,r,Kr(r))}function ba(e,r){return e===r||e!==e&&r!==r}var Ty=it(fs),_y=it(function(e,r){return e>=r}),Ju=ps(function(){return arguments}())?ps:function(e){return Qn(e)&&At.call(e,"callee")&&!wu.call(e,"callee")},Yt=oe.isArray,Ry=a?ft(a):eu;function io(e){return e!=null&&vc(e.length)&&!Is(e)}function ar(e){return Qn(e)&&io(e)}function Iy(e){return e===!0||e===!1||Qn(e)&&gr(e)==mt}var fu=Su||bf,Oy=f?ft(f):pa;function Dy(e){return Qn(e)&&e.nodeType===1&&!Xl(e)}function Ay(e){if(e==null)return!0;if(io(e)&&(Yt(e)||typeof e=="string"||typeof e.splice=="function"||fu(e)||Dl(e)||Ju(e)))return!e.length;var r=bi(e);if(r==Bt||r==qn)return!e.size;if(Gl(e))return!gs(e).length;for(var d in e)if(At.call(e,d))return!1;return!0}function Py(e,r){return ja(e,r)}function Ly(e,r,d){d=typeof d=="function"?d:n;var x=d?d(e,r):n;return x===n?ja(e,r,n,d):!!x}function lf(e){if(!Qn(e))return!1;var r=gr(e);return r==Tt||r==gt||typeof e.message=="string"&&typeof e.name=="string"&&!Xl(e)}function My(e){return typeof e=="number"&&xu(e)}function Is(e){if(!Vn(e))return!1;var r=gr(e);return r==Ge||r==Ft||r==ct||r==xi}function th(e){return typeof e=="number"&&e==qt(e)}function vc(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=qe}function Vn(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}function Qn(e){return e!=null&&typeof e=="object"}var nh=v?ft(v):ga;function Fy(e,r){return e===r||Nu(e,r,Zc(r))}function Ny(e,r,d){return d=typeof d=="function"?d:n,Nu(e,r,Zc(r),d)}function By(e){return rh(e)&&e!=+e}function jy(e){if(xv(e))throw new Me(l);return Bu(e)}function Hy(e){return e===null}function Uy(e){return e==null}function rh(e){return typeof e=="number"||Qn(e)&&gr(e)==Hn}function Xl(e){if(!Qn(e)||gr(e)!=Un)return!1;var r=Da(e);if(r===null)return!0;var d=At.call(r,"constructor")&&r.constructor;return typeof d=="function"&&d instanceof d&&Ai.call(d)==yu}var cf=w?ft(w):no;function Wy(e){return th(e)&&e>=-qe&&e<=qe}var ih=R?ft(R):zl;function mc(e){return typeof e=="string"||!Yt(e)&&Qn(e)&&gr(e)==rn}function ko(e){return typeof e=="symbol"||Qn(e)&&gr(e)==sn}var Dl=O?ft(O):Yl;function $y(e){return e===n}function zy(e){return Qn(e)&&bi(e)==at}function Yy(e){return Qn(e)&&gr(e)==En}var Vy=it(Ni),Gy=it(function(e,r){return e<=r});function oh(e){if(!e)return[];if(io(e))return mc(e)?nr(e):or(e);if(go&&e[go])return Ki(e[go]());var r=bi(e),d=r==Bt?ka:r==qn?Di:Al;return d(e)}function Os(e){if(!e)return e===0?e:0;if(e=Ko(e),e===Ve||e===-Ve){var r=e<0?-1:1;return r*lt}return e===e?e:0}function qt(e){var r=Os(e),d=r%1;return r===r?d?r-d:r:0}function ah(e){return e?Vo(qt(e),0,Pe):0}function Ko(e){if(typeof e=="number")return e;if(ko(e))return Ce;if(Vn(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=Vn(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=We(e);var d=Vi.test(e);return d||Hr.test(e)?ia(e.slice(2),d?2:8):fi.test(e)?Ce:+e}function sh(e){return ro(e,oo(e))}function qy(e){return e?Vo(qt(e),-qe,qe):e===0?e:0}function hn(e){return e==null?"":qr(e)}var Xy=c(function(e,r){if(Gl(r)||io(r)){ro(r,Kr(r),e);return}for(var d in r)At.call(r,d)&&An(e,d,r[d])}),uh=c(function(e,r){ro(r,oo(r),e)}),yc=c(function(e,r,d,x){ro(r,oo(r),e,x)}),Ky=c(function(e,r,d,x){ro(r,Kr(r),e,x)}),Jy=_s(Ru);function Zy(e,r){var d=zo(e);return r==null?d:Fi(d,r)}var Qy=$t(function(e,r){e=et(e);var d=-1,x=r.length,P=x>2?r[2]:n;for(P&&Hi(r[0],r[1],P)&&(x=1);++d<x;)for(var W=r[d],ee=oo(W),ue=-1,pe=ee.length;++ue<pe;){var Ne=ee[ue],Be=e[Ne];(Be===n||ba(Be,Bn[Ne])&&!At.call(e,Ne))&&(e[Ne]=W[Ne])}return e}),eb=$t(function(e){return e.push(n,qu),M(lh,n,e)});function tb(e,r){return Ir(e,It(r,3),to)}function nb(e,r){return Ir(e,It(r,3),Lu)}function rb(e,r){return e==null?e:Pu(e,It(r,3),oo)}function ib(e,r){return e==null?e:wl(e,It(r,3),oo)}function ob(e,r){return e&&to(e,It(r,3))}function ab(e,r){return e&&Lu(e,It(r,3))}function sb(e){return e==null?[]:Qs(e,Kr(e))}function ub(e){return e==null?[]:Qs(e,oo(e))}function ff(e,r,d){var x=e==null?n:ha(e,r);return x===n?d:x}function lb(e,r){return e!=null&&Rd(e,r,ds)}function df(e,r){return e!=null&&Rd(e,r,Sl)}var cb=T(function(e,r,d){r!=null&&typeof r.toString!="function"&&(r=jo.call(r)),e[r]=d},pf(ao)),fb=T(function(e,r,d){r!=null&&typeof r.toString!="function"&&(r=jo.call(r)),At.call(e,r)?e[r].push(d):e[r]=[d]},It),db=$t(vi);function Kr(e){return io(e)?Yo(e):gs(e)}function oo(e){return io(e)?Yo(e,!0):tu(e)}function hb(e,r){var d={};return r=It(r,3),to(e,function(x,P,W){rr(d,r(x,P,W),x)}),d}function pb(e,r){var d={};return r=It(r,3),to(e,function(x,P,W){rr(d,P,r(x,P,W))}),d}var gb=c(function(e,r,d){Wa(e,r,d)}),lh=c(function(e,r,d,x){Wa(e,r,d,x)}),vb=_s(function(e,r){var d={};if(e==null)return d;var x=!1;r=tt(r,function(W){return W=Eo(W,e),x||(x=W.length>1),W}),ro(e,Kc(e),d),x&&(d=Pr(d,L|q|Q,Il));for(var P=r.length;P--;)$u(d,r[P]);return d});function mb(e,r){return ch(e,gc(It(r)))}var yb=_s(function(e,r){return e==null?{}:yi(e,r)});function ch(e,r){if(e==null)return{};var d=tt(Kc(e),function(x){return[x]});return r=It(r),Co(e,d,function(x,P){return r(x,P[0])})}function bb(e,r,d){r=Eo(r,e);var x=-1,P=r.length;for(P||(P=1,e=n);++x<P;){var W=e==null?n:e[Ya(r[x])];W===n&&(x=P,W=d),e=Is(W)?W.call(e):W}return e}function wb(e,r,d){return e==null?e:ya(e,r,d)}function Sb(e,r,d,x){return x=typeof x=="function"?x:n,e==null?e:ya(e,r,d,x)}var fh=Zn(Kr),dh=Zn(oo);function xb(e,r,d){var x=Yt(e),P=x||fu(e)||Dl(e);if(r=It(r,4),d==null){var W=e&&e.constructor;P?d=x?new W:[]:Vn(e)?d=Is(W)?zo(Da(e)):{}:d={}}return(P?K:to)(e,function(ee,ue,pe){return r(d,ee,ue,pe)}),d}function Cb(e,r){return e==null?!0:$u(e,r)}function Eb(e,r,d){return e==null?e:iu(e,r,Ss(d))}function kb(e,r,d,x){return x=typeof x=="function"?x:n,e==null?e:iu(e,r,Ss(d),x)}function Al(e){return e==null?[]:Mt(e,Kr(e))}function Tb(e){return e==null?[]:Mt(e,oo(e))}function _b(e,r,d){return d===n&&(d=r,r=n),d!==n&&(d=Ko(d),d=d===d?d:0),r!==n&&(r=Ko(r),r=r===r?r:0),Vo(Ko(e),r,d)}function Rb(e,r,d){return r=Os(r),d===n?(d=r,r=0):d=Os(d),e=Ko(e),hs(e,r,d)}function Ib(e,r,d){if(d&&typeof d!="boolean"&&Hi(e,r,d)&&(r=d=n),d===n&&(typeof r=="boolean"?(d=r,r=n):typeof e=="boolean"&&(d=e,e=n)),e===n&&r===n?(e=0,r=1):(e=Os(e),r===n?(r=e,e=0):r=Os(r)),e>r){var x=e;e=r,r=x}if(d||e%1||r%1){var P=mo();return On(e+P*(r-e+tr("1e-"+((P+"").length-1))),r)}return ru(e,r)}var Ob=Z(function(e,r,d){return r=r.toLowerCase(),e+(d?hh(r):r)});function hh(e){return hf(hn(e).toLowerCase())}function ph(e){return e=hn(e),e&&e.replace(wr,Nn).replace(ta,"")}function Db(e,r,d){e=hn(e),r=qr(r);var x=e.length;d=d===n?x:Vo(qt(d),0,x);var P=d;return d-=r.length,d>=0&&e.slice(d,P)==r}function Ab(e){return e=hn(e),e&&Ti.test(e)?e.replace(Vt,Mo):e}function Pb(e){return e=hn(e),e&&ti.test(e)?e.replace(cr,"\\$&"):e}var Lb=Z(function(e,r,d){return e+(d?"-":"")+r.toLowerCase()}),Mb=Z(function(e,r,d){return e+(d?" ":"")+r.toLowerCase()}),Fb=$("toLowerCase");function Nb(e,r,d){e=hn(e),r=qt(r);var x=r?Ji(e):0;if(!r||x>=r)return e;var P=(r-x)/2;return ie(Aa(P),d)+e+ie(rs(P),d)}function Bb(e,r,d){e=hn(e),r=qt(r);var x=r?Ji(e):0;return r&&x<r?e+ie(r-x,d):e}function jb(e,r,d){e=hn(e),r=qt(r);var x=r?Ji(e):0;return r&&x<r?ie(r-x,d)+e:e}function Hb(e,r,d){return d||r==null?r=0:r&&(r=+r),ku(hn(e).replace(on,""),r||0)}function Ub(e,r,d){return(d?Hi(e,r,d):r===n)?r=1:r=qt(r),Hu(hn(e),r)}function Wb(){var e=arguments,r=hn(e[0]);return e.length<3?r:r.replace(e[1],e[2])}var $b=Z(function(e,r,d){return e+(d?"_":"")+r.toLowerCase()});function zb(e,r,d){return d&&typeof d!="number"&&Hi(e,r,d)&&(r=d=n),d=d===n?Pe:d>>>0,d?(e=hn(e),e&&(typeof r=="string"||r!=null&&!cf(r))&&(r=qr(r),!r&&Vr(e))?ji(nr(e),0,d):e.split(r,d)):[]}var Yb=Z(function(e,r,d){return e+(d?" ":"")+hf(r)});function Vb(e,r,d){return e=hn(e),d=d==null?0:Vo(qt(d),0,e.length),r=qr(r),e.slice(d,d+r.length)==r}function Gb(e,r,d){var x=j.templateSettings;d&&Hi(e,r,d)&&(r=n),e=hn(e),r=yc({},r,x,Gu);var P=yc({},r.imports,x.imports,Gu),W=Kr(P),ee=Mt(P,W),ue,pe,Ne=0,Be=r.interpolate||Ur,ze="__p += '",ot=Dt((r.escape||Ur).source+"|"+Be.source+"|"+(Be===Qr?ci:Ur).source+"|"+(r.evaluate||Ur).source+"|$","g"),xt="//# sourceURL="+(At.call(r,"sourceURL")?(r.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++en+"]")+`
141
- `;e.replace(ot,function(Lt,Jt,Qt,To,Ui,_o){return Qt||(Qt=To),ze+=e.slice(Ne,_o).replace(Sr,Ea),Jt&&(ue=!0,ze+=`' +
142
- __e(`+Jt+`) +
143
- '`),Ui&&(pe=!0,ze+=`';
144
- `+Ui+`;
145
- __p += '`),Qt&&(ze+=`' +
146
- ((__t = (`+Qt+`)) == null ? '' : __t) +
147
- '`),Ne=_o+Lt.length,Lt}),ze+=`';
148
- `;var Pt=At.call(r,"variable")&&r.variable;if(!Pt)ze=`with (obj) {
149
- `+ze+`
150
- }
151
- `;else if(Yi.test(Pt))throw new Me(k);ze=(pe?ze.replace(so,""):ze).replace(Wn,"$1").replace(Br,"$1;"),ze="function("+(Pt||"obj")+`) {
152
- `+(Pt?"":`obj || (obj = {});
153
- `)+"var __t, __p = ''"+(ue?", __e = _.escape":"")+(pe?`, __j = Array.prototype.join;
154
- function print() { __p += __j.call(arguments, '') }
155
- `:`;
156
- `)+ze+`return __p
157
- }`;var Xt=vh(function(){return nt(W,xt+"return "+ze).apply(n,ee)});if(Xt.source=ze,lf(Xt))throw Xt;return Xt}function qb(e){return hn(e).toLowerCase()}function Xb(e){return hn(e).toUpperCase()}function Kb(e,r,d){if(e=hn(e),e&&(d||r===n))return We(e);if(!e||!(r=qr(r)))return e;var x=nr(e),P=nr(r),W=bt(x,P),ee=Dn(x,P)+1;return ji(x,W,ee).join("")}function Jb(e,r,d){if(e=hn(e),e&&(d||r===n))return e.slice(0,es(e)+1);if(!e||!(r=qr(r)))return e;var x=nr(e),P=Dn(x,nr(r))+1;return ji(x,0,P).join("")}function Zb(e,r,d){if(e=hn(e),e&&(d||r===n))return e.replace(on,"");if(!e||!(r=qr(r)))return e;var x=nr(e),P=bt(x,nr(r));return ji(x,P).join("")}function Qb(e,r){var d=ht,x=Et;if(Vn(r)){var P="separator"in r?r.separator:P;d="length"in r?qt(r.length):d,x="omission"in r?qr(r.omission):x}e=hn(e);var W=e.length;if(Vr(e)){var ee=nr(e);W=ee.length}if(d>=W)return e;var ue=d-Ji(x);if(ue<1)return x;var pe=ee?ji(ee,0,ue).join(""):e.slice(0,ue);if(P===n)return pe+x;if(ee&&(ue+=pe.length-ue),cf(P)){if(e.slice(ue).search(P)){var Ne,Be=pe;for(P.global||(P=Dt(P.source,hn(ni.exec(P))+"g")),P.lastIndex=0;Ne=P.exec(Be);)var ze=Ne.index;pe=pe.slice(0,ze===n?ue:ze)}}else if(e.indexOf(qr(P),ue)!=ue){var ot=pe.lastIndexOf(P);ot>-1&&(pe=pe.slice(0,ot))}return pe+x}function e0(e){return e=hn(e),e&&Zr.test(e)?e.replace(Xn,Ta):e}var t0=Z(function(e,r,d){return e+(d?" ":"")+r.toUpperCase()}),hf=$("toUpperCase");function gh(e,r,d){return e=hn(e),r=d?n:r,r===n?Za(e)?le(e):Ht(e):e.match(r)||[]}var vh=$t(function(e,r){try{return M(e,n,r)}catch(d){return lf(d)?d:new Me(d)}}),n0=_s(function(e,r){return K(r,function(d){d=Ya(d),rr(e,d,sf(e[d],e))}),e});function r0(e){var r=e==null?0:e.length,d=It();return e=r?tt(e,function(x){if(typeof x[1]!="function")throw new Wt(g);return[d(x[0]),x[1]]}):[],$t(function(x){for(var P=-1;++P<r;){var W=e[P];if(M(W[0],this,x))return M(W[1],this,x)}})}function i0(e){return Iu(Pr(e,L))}function pf(e){return function(){return e}}function o0(e,r){return e==null||e!==e?r:e}var a0=h(),s0=h(!0);function ao(e){return e}function gf(e){return Ha(typeof e=="function"?e:Pr(e,L))}function u0(e){return xo(Pr(e,L))}function l0(e,r){return Bi(e,Pr(r,L))}var c0=$t(function(e,r){return function(d){return vi(d,e,r)}}),f0=$t(function(e,r){return function(d){return vi(e,d,r)}});function vf(e,r,d){var x=Kr(r),P=Qs(r,x);d==null&&!(Vn(r)&&(P.length||!x.length))&&(d=r,r=e,e=this,P=Qs(r,Kr(r)));var W=!(Vn(d)&&"chain"in d)||!!d.chain,ee=Is(e);return K(P,function(ue){var pe=r[ue];e[ue]=pe,ee&&(e.prototype[ue]=function(){var Ne=this.__chain__;if(W||Ne){var Be=e(this.__wrapped__),ze=Be.__actions__=or(this.__actions__);return ze.push({func:pe,args:arguments,thisArg:e}),Be.__chain__=Ne,Be}return pe.apply(e,_t([this.value()],arguments))})}),e}function d0(){return dn._===this&&(dn._=xn),this}function mf(){}function h0(e){return e=qt(e),$t(function(r){return va(r,e)})}var p0=X(tt),g0=X(Re),v0=X(an);function mh(e){return ef(e)?b(Ya(e)):ju(e)}function m0(e){return function(r){return e==null?n:ha(e,r)}}var y0=He(),b0=He(!0);function yf(){return[]}function bf(){return!1}function w0(){return{}}function S0(){return""}function x0(){return!0}function C0(e,r){if(e=qt(e),e<1||e>qe)return[];var d=Pe,x=On(e,Pe);r=It(r),e-=Pe;for(var P=ve(x,r);++d<e;)r(d);return P}function E0(e){return Yt(e)?tt(e,Ya):ko(e)?[e]:or(Nd(hn(e)))}function k0(e){var r=++fl;return hn(e)+r}var T0=B(function(e,r){return e+r},0),_0=Rt("ceil"),R0=B(function(e,r){return e/r},1),I0=Rt("floor");function O0(e){return e&&e.length?Zs(e,ao,fs):n}function D0(e,r){return e&&e.length?Zs(e,It(r,2),fs):n}function A0(e){return pr(e,ao)}function P0(e,r){return pr(e,It(r,2))}function L0(e){return e&&e.length?Zs(e,ao,Ni):n}function M0(e,r){return e&&e.length?Zs(e,It(r,2),Ni):n}var F0=B(function(e,r){return e*r},1),N0=Rt("round"),B0=B(function(e,r){return e-r},0);function j0(e){return e&&e.length?ge(e,ao):0}function H0(e,r){return e&&e.length?ge(e,It(r,2)):0}return j.after=uy,j.ary=qd,j.assign=Xy,j.assignIn=uh,j.assignInWith=yc,j.assignWith=Ky,j.at=Jy,j.before=Xd,j.bind=sf,j.bindAll=n0,j.bindKey=Kd,j.castArray=wy,j.chain=Yd,j.chunk=Iv,j.compact=Ov,j.concat=Dv,j.cond=r0,j.conforms=i0,j.constant=pf,j.countBy=jm,j.create=Zy,j.curry=Jd,j.curryRight=Zd,j.debounce=Qd,j.defaults=Qy,j.defaultsDeep=eb,j.defer=ly,j.delay=cy,j.difference=Av,j.differenceBy=Pv,j.differenceWith=Lv,j.drop=Mv,j.dropRight=Fv,j.dropRightWhile=Nv,j.dropWhile=Bv,j.fill=jv,j.filter=Um,j.flatMap=zm,j.flatMapDeep=Ym,j.flatMapDepth=Vm,j.flatten=Ud,j.flattenDeep=Hv,j.flattenDepth=Uv,j.flip=fy,j.flow=a0,j.flowRight=s0,j.fromPairs=Wv,j.functions=sb,j.functionsIn=ub,j.groupBy=Gm,j.initial=zv,j.intersection=Yv,j.intersectionBy=Vv,j.intersectionWith=Gv,j.invert=cb,j.invertBy=fb,j.invokeMap=Xm,j.iteratee=gf,j.keyBy=Km,j.keys=Kr,j.keysIn=oo,j.map=dc,j.mapKeys=hb,j.mapValues=pb,j.matches=u0,j.matchesProperty=l0,j.memoize=pc,j.merge=gb,j.mergeWith=lh,j.method=c0,j.methodOf=f0,j.mixin=vf,j.negate=gc,j.nthArg=h0,j.omit=vb,j.omitBy=mb,j.once=dy,j.orderBy=Jm,j.over=p0,j.overArgs=hy,j.overEvery=g0,j.overSome=v0,j.partial=uf,j.partialRight=eh,j.partition=Zm,j.pick=yb,j.pickBy=ch,j.property=mh,j.propertyOf=m0,j.pull=Jv,j.pullAll=$d,j.pullAllBy=Zv,j.pullAllWith=Qv,j.pullAt=em,j.range=y0,j.rangeRight=b0,j.rearg=py,j.reject=ty,j.remove=tm,j.rest=gy,j.reverse=of,j.sampleSize=ry,j.set=wb,j.setWith=Sb,j.shuffle=iy,j.slice=nm,j.sortBy=sy,j.sortedUniq=lm,j.sortedUniqBy=cm,j.split=zb,j.spread=vy,j.tail=fm,j.take=dm,j.takeRight=hm,j.takeRightWhile=pm,j.takeWhile=gm,j.tap=Om,j.throttle=my,j.thru=fc,j.toArray=oh,j.toPairs=fh,j.toPairsIn=dh,j.toPath=E0,j.toPlainObject=sh,j.transform=xb,j.unary=yy,j.union=vm,j.unionBy=mm,j.unionWith=ym,j.uniq=bm,j.uniqBy=wm,j.uniqWith=Sm,j.unset=Cb,j.unzip=af,j.unzipWith=zd,j.update=Eb,j.updateWith=kb,j.values=Al,j.valuesIn=Tb,j.without=xm,j.words=gh,j.wrap=by,j.xor=Cm,j.xorBy=Em,j.xorWith=km,j.zip=Tm,j.zipObject=_m,j.zipObjectDeep=Rm,j.zipWith=Im,j.entries=fh,j.entriesIn=dh,j.extend=uh,j.extendWith=yc,vf(j,j),j.add=T0,j.attempt=vh,j.camelCase=Ob,j.capitalize=hh,j.ceil=_0,j.clamp=_b,j.clone=Sy,j.cloneDeep=Cy,j.cloneDeepWith=Ey,j.cloneWith=xy,j.conformsTo=ky,j.deburr=ph,j.defaultTo=o0,j.divide=R0,j.endsWith=Db,j.eq=ba,j.escape=Ab,j.escapeRegExp=Pb,j.every=Hm,j.find=Wm,j.findIndex=jd,j.findKey=tb,j.findLast=$m,j.findLastIndex=Hd,j.findLastKey=nb,j.floor=I0,j.forEach=Vd,j.forEachRight=Gd,j.forIn=rb,j.forInRight=ib,j.forOwn=ob,j.forOwnRight=ab,j.get=ff,j.gt=Ty,j.gte=_y,j.has=lb,j.hasIn=df,j.head=Wd,j.identity=ao,j.includes=qm,j.indexOf=$v,j.inRange=Rb,j.invoke=db,j.isArguments=Ju,j.isArray=Yt,j.isArrayBuffer=Ry,j.isArrayLike=io,j.isArrayLikeObject=ar,j.isBoolean=Iy,j.isBuffer=fu,j.isDate=Oy,j.isElement=Dy,j.isEmpty=Ay,j.isEqual=Py,j.isEqualWith=Ly,j.isError=lf,j.isFinite=My,j.isFunction=Is,j.isInteger=th,j.isLength=vc,j.isMap=nh,j.isMatch=Fy,j.isMatchWith=Ny,j.isNaN=By,j.isNative=jy,j.isNil=Uy,j.isNull=Hy,j.isNumber=rh,j.isObject=Vn,j.isObjectLike=Qn,j.isPlainObject=Xl,j.isRegExp=cf,j.isSafeInteger=Wy,j.isSet=ih,j.isString=mc,j.isSymbol=ko,j.isTypedArray=Dl,j.isUndefined=$y,j.isWeakMap=zy,j.isWeakSet=Yy,j.join=qv,j.kebabCase=Lb,j.last=Xo,j.lastIndexOf=Xv,j.lowerCase=Mb,j.lowerFirst=Fb,j.lt=Vy,j.lte=Gy,j.max=O0,j.maxBy=D0,j.mean=A0,j.meanBy=P0,j.min=L0,j.minBy=M0,j.stubArray=yf,j.stubFalse=bf,j.stubObject=w0,j.stubString=S0,j.stubTrue=x0,j.multiply=F0,j.nth=Kv,j.noConflict=d0,j.noop=mf,j.now=hc,j.pad=Nb,j.padEnd=Bb,j.padStart=jb,j.parseInt=Hb,j.random=Ib,j.reduce=Qm,j.reduceRight=ey,j.repeat=Ub,j.replace=Wb,j.result=bb,j.round=N0,j.runInContext=z,j.sample=ny,j.size=oy,j.snakeCase=$b,j.some=ay,j.sortedIndex=rm,j.sortedIndexBy=im,j.sortedIndexOf=om,j.sortedLastIndex=am,j.sortedLastIndexBy=sm,j.sortedLastIndexOf=um,j.startCase=Yb,j.startsWith=Vb,j.subtract=B0,j.sum=j0,j.sumBy=H0,j.template=Gb,j.times=C0,j.toFinite=Os,j.toInteger=qt,j.toLength=ah,j.toLower=qb,j.toNumber=Ko,j.toSafeInteger=qy,j.toString=hn,j.toUpper=Xb,j.trim=Kb,j.trimEnd=Jb,j.trimStart=Zb,j.truncate=Qb,j.unescape=e0,j.uniqueId=k0,j.upperCase=t0,j.upperFirst=hf,j.each=Vd,j.eachRight=Gd,j.first=Wd,vf(j,function(){var e={};return to(j,function(r,d){At.call(j.prototype,d)||(e[d]=r)}),e}(),{chain:!1}),j.VERSION=s,K(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){j[e].placeholder=j}),K(["drop","take"],function(e,r){zt.prototype[e]=function(d){d=d===n?1:In(qt(d),0);var x=this.__filtered__&&!r?new zt(this):this.clone();return x.__filtered__?x.__takeCount__=On(d,x.__takeCount__):x.__views__.push({size:On(d,Pe),type:e+(x.__dir__<0?"Right":"")}),x},zt.prototype[e+"Right"]=function(d){return this.reverse()[e](d).reverse()}}),K(["filter","map","takeWhile"],function(e,r){var d=r+1,x=d==Ct||d==Le;zt.prototype[e]=function(P){var W=this.clone();return W.__iteratees__.push({iteratee:It(P,3),type:d}),W.__filtered__=W.__filtered__||x,W}}),K(["head","last"],function(e,r){var d="take"+(r?"Right":"");zt.prototype[e]=function(){return this[d](1).value()[0]}}),K(["initial","tail"],function(e,r){var d="drop"+(r?"":"Right");zt.prototype[e]=function(){return this.__filtered__?new zt(this):this[d](1)}}),zt.prototype.compact=function(){return this.filter(ao)},zt.prototype.find=function(e){return this.filter(e).head()},zt.prototype.findLast=function(e){return this.reverse().find(e)},zt.prototype.invokeMap=$t(function(e,r){return typeof e=="function"?new zt(this):this.map(function(d){return vi(d,e,r)})}),zt.prototype.reject=function(e){return this.filter(gc(It(e)))},zt.prototype.slice=function(e,r){e=qt(e);var d=this;return d.__filtered__&&(e>0||r<0)?new zt(d):(e<0?d=d.takeRight(-e):e&&(d=d.drop(e)),r!==n&&(r=qt(r),d=r<0?d.dropRight(-r):d.take(r-e)),d)},zt.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},zt.prototype.toArray=function(){return this.take(Pe)},to(zt.prototype,function(e,r){var d=/^(?:filter|find|map|reject)|While$/.test(r),x=/^(?:head|last)$/.test(r),P=j[x?"take"+(r=="last"?"Right":""):r],W=x||/^find/.test(r);P&&(j.prototype[r]=function(){var ee=this.__wrapped__,ue=x?[1]:arguments,pe=ee instanceof zt,Ne=ue[0],Be=pe||Yt(ee),ze=function(Jt){var Qt=P.apply(j,_t([Jt],ue));return x&&ot?Qt[0]:Qt};Be&&d&&typeof Ne=="function"&&Ne.length!=1&&(pe=Be=!1);var ot=this.__chain__,xt=!!this.__actions__.length,Pt=W&&!ot,Xt=pe&&!xt;if(!W&&Be){ee=Xt?ee:new zt(this);var Lt=e.apply(ee,ue);return Lt.__actions__.push({func:fc,args:[ze],thisArg:n}),new Ar(Lt,ot)}return Pt&&Xt?e.apply(this,ue):(Lt=this.thru(ze),Pt?x?Lt.value()[0]:Lt.value():Lt)})}),K(["pop","push","shift","sort","splice","unshift"],function(e){var r=Rn[e],d=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",x=/^(?:pop|shift)$/.test(e);j.prototype[e]=function(){var P=arguments;if(x&&!this.__chain__){var W=this.value();return r.apply(Yt(W)?W:[],P)}return this[d](function(ee){return r.apply(Yt(ee)?ee:[],P)})}}),to(zt.prototype,function(e,r){var d=j[r];if(d){var x=d.name+"";At.call($o,x)||($o[x]=[]),$o[x].push({name:r,func:d})}}),$o[S(n,F).name]=[{name:"wrapper",func:n}],zt.prototype.clone=$s,zt.prototype.reverse=Ma,zt.prototype.value=ls,j.prototype.at=Dm,j.prototype.chain=Am,j.prototype.commit=Pm,j.prototype.next=Lm,j.prototype.plant=Fm,j.prototype.reverse=Nm,j.prototype.toJSON=j.prototype.valueOf=j.prototype.value=Bm,j.prototype.first=j.prototype.head,go&&(j.prototype[go]=Mm),j},we=xe();si?((si.exports=we)._=we,po._=we):dn._=we}).call(Ro)})(Fc,Fc.exports);var Rg=Fc.exports;const H1=ac(Rg);function Tp(i){return typeof i=="number"&&isFinite(i)&&Math.floor(i)===i}function U1(i){var t=i.lastRenderedStartIndex,n=i.lastRenderedStopIndex,s=i.startIndex,o=i.stopIndex;return!(s>n||o<t)}function W1(i){for(var t=i.isItemLoaded,n=i.itemCount,s=i.minimumBatchSize,o=i.startIndex,l=i.stopIndex,g=[],k=null,C=null,A=o;A<=l;A++){var U=t(A);U?C!==null&&(g.push(k,C),k=C=null):(C=A,k===null&&(k=A))}if(C!==null){for(var L=Math.min(Math.max(C,k+s-1),n-1),q=C+1;q<=L&&!t(q);q++)C=q;g.push(k,C)}if(g.length)for(;g[1]-g[0]+1<s&&g[0]>0;){var Q=g[0]-1;if(!t(Q))g[0]=Q;else break}return g}var $1=function(i,t){if(!(i instanceof t))throw new TypeError("Cannot call a class as a function")},z1=function(){function i(t,n){for(var s=0;s<n.length;s++){var o=n[s];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,s){return n&&i(t.prototype,n),s&&i(t,s),t}}(),Y1=function(i,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(i,t):i.__proto__=t)},_p=function(i,t){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:i},V1=function(i){Y1(t,i);function t(){var n,s,o,l;$1(this,t);for(var g=arguments.length,k=Array(g),C=0;C<g;C++)k[C]=arguments[C];return l=(s=(o=_p(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this].concat(k))),o),o._lastRenderedStartIndex=-1,o._lastRenderedStopIndex=-1,o._memoizedUnloadedRanges=[],o._onItemsRendered=function(A){var U=A.visibleStartIndex,L=A.visibleStopIndex;process.env.NODE_ENV!=="production"&&((!Tp(U)||!Tp(L))&&console.warn("Invalid onItemsRendered signature; please refer to InfiniteLoader documentation."),typeof o.props.loadMoreRows=="function"&&console.warn('InfiniteLoader "loadMoreRows" prop has been renamed to "loadMoreItems".')),o._lastRenderedStartIndex=U,o._lastRenderedStopIndex=L,o._ensureRowsLoaded(U,L)},o._setRef=function(A){o._listRef=A},s),_p(o,l)}return z1(t,[{key:"resetloadMoreItemsCache",value:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this._memoizedUnloadedRanges=[],s&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){process.env.NODE_ENV!=="production"&&this._listRef==null&&console.warn("Invalid list ref; please refer to InfiniteLoader documentation.")}},{key:"render",value:function(){var s=this.props.children;return s({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(s,o){var l=this.props,g=l.isItemLoaded,k=l.itemCount,C=l.minimumBatchSize,A=C===void 0?10:C,U=l.threshold,L=U===void 0?15:U,q=W1({isItemLoaded:g,itemCount:k,minimumBatchSize:A,startIndex:Math.max(0,s-L),stopIndex:Math.min(k-1,o+L)});(this._memoizedUnloadedRanges.length!==q.length||this._memoizedUnloadedRanges.some(function(Q,re){return q[re]!==Q}))&&(this._memoizedUnloadedRanges=q,this._loadUnloadedRanges(q))}},{key:"_loadUnloadedRanges",value:function(s){for(var o=this,l=this.props.loadMoreItems||this.props.loadMoreRows,g=function(A){var U=s[A],L=s[A+1],q=l(U,L);q!=null&&q.then(function(){if(U1({lastRenderedStartIndex:o._lastRenderedStartIndex,lastRenderedStopIndex:o._lastRenderedStopIndex,startIndex:U,stopIndex:L})){if(o._listRef==null)return;typeof o._listRef.resetAfterIndex=="function"?o._listRef.resetAfterIndex(U,!0):(typeof o._listRef._getItemStyleCache=="function"&&o._listRef._getItemStyleCache(-1),o._listRef.forceUpdate())}})},k=0;k<s.length;k+=2)g(k)}}]),t}(Je.PureComponent);const Rp=window.location.href,Ig=Je.createContext({}),G1=({children:i,baseUrl:t,userData:n})=>{const s=()=>{window.location.href=`${t}/authentication/login?callbackUrl=${Rp}`},o=()=>{window.location.href=`${t}/authentication/logout?callbackUrl=${Rp}`};return n!=null&&n.isFetching?Gn.jsx(Ic.Grid,{container:!0,justifyContent:"center",alignItems:"center",sx:{minHeight:"100vh"},children:Gn.jsx(Ic.CircularProgress,{})}):Gn.jsx(Ig.Provider,{value:{user:n==null?void 0:n.data,login:s,logout:o},children:i})},q1=()=>{const{login:i,logout:t,user:n}=Je.useContext(Ig);return{login:i,logout:t,user:n}};function X1(i,t,n){return n.some(s=>{const o=i[s];return String(o).toLowerCase().includes(t.toLowerCase())})}var Pf={exports:{}};/*!
158
- * jQuery JavaScript Library v3.7.1
159
- * https://jquery.com/
160
- *
161
- * Copyright OpenJS Foundation and other contributors
162
- * Released under the MIT license
163
- * https://jquery.org/license
164
- *
165
- * Date: 2023-08-28T13:37Z
166
- */var Ip;function Og(){return Ip||(Ip=1,function(i){(function(t,n){i.exports=t.document?n(t,!0):function(s){if(!s.document)throw new Error("jQuery requires a window with a document");return n(s)}})(typeof window<"u"?window:Ro,function(t,n){var s=[],o=Object.getPrototypeOf,l=s.slice,g=s.flat?function(a){return s.flat.call(a)}:function(a){return s.concat.apply([],a)},k=s.push,C=s.indexOf,A={},U=A.toString,L=A.hasOwnProperty,q=L.toString,Q=q.call(Object),re={},ne=function(f){return typeof f=="function"&&typeof f.nodeType!="number"&&typeof f.item!="function"},J=function(f){return f!=null&&f===f.window},F=t.document,he={type:!0,src:!0,nonce:!0,noModule:!0};function ye(a,f,v){v=v||F;var w,R,O=v.createElement("script");if(O.text=a,f)for(w in he)R=f[w]||f.getAttribute&&f.getAttribute(w),R&&O.setAttribute(w,R);v.head.appendChild(O).parentNode.removeChild(O)}function Ie(a){return a==null?a+"":typeof a=="object"||typeof a=="function"?A[U.call(a)]||"object":typeof a}var de="3.7.1",je=/HTML$/i,m=function(a,f){return new m.fn.init(a,f)};m.fn=m.prototype={jquery:de,constructor:m,length:0,toArray:function(){return l.call(this)},get:function(a){return a==null?l.call(this):a<0?this[a+this.length]:this[a]},pushStack:function(a){var f=m.merge(this.constructor(),a);return f.prevObject=this,f},each:function(a){return m.each(this,a)},map:function(a){return this.pushStack(m.map(this,function(f,v){return a.call(f,v,f)}))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(m.grep(this,function(a,f){return(f+1)%2}))},odd:function(){return this.pushStack(m.grep(this,function(a,f){return f%2}))},eq:function(a){var f=this.length,v=+a+(a<0?f:0);return this.pushStack(v>=0&&v<f?[this[v]]:[])},end:function(){return this.prevObject||this.constructor()},push:k,sort:s.sort,splice:s.splice},m.extend=m.fn.extend=function(){var a,f,v,w,R,O,M=arguments[0]||{},te=1,K=arguments.length,fe=!1;for(typeof M=="boolean"&&(fe=M,M=arguments[te]||{},te++),typeof M!="object"&&!ne(M)&&(M={}),te===K&&(M=this,te--);te<K;te++)if((a=arguments[te])!=null)for(f in a)w=a[f],!(f==="__proto__"||M===w)&&(fe&&w&&(m.isPlainObject(w)||(R=Array.isArray(w)))?(v=M[f],R&&!Array.isArray(v)?O=[]:!R&&!m.isPlainObject(v)?O={}:O=v,R=!1,M[f]=m.extend(fe,O,w)):w!==void 0&&(M[f]=w));return M},m.extend({expando:"jQuery"+(de+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isPlainObject:function(a){var f,v;return!a||U.call(a)!=="[object Object]"?!1:(f=o(a),f?(v=L.call(f,"constructor")&&f.constructor,typeof v=="function"&&q.call(v)===Q):!0)},isEmptyObject:function(a){var f;for(f in a)return!1;return!0},globalEval:function(a,f,v){ye(a,{nonce:f&&f.nonce},v)},each:function(a,f){var v,w=0;if(Ue(a))for(v=a.length;w<v&&f.call(a[w],w,a[w])!==!1;w++);else for(w in a)if(f.call(a[w],w,a[w])===!1)break;return a},text:function(a){var f,v="",w=0,R=a.nodeType;if(!R)for(;f=a[w++];)v+=m.text(f);return R===1||R===11?a.textContent:R===9?a.documentElement.textContent:R===3||R===4?a.nodeValue:v},makeArray:function(a,f){var v=f||[];return a!=null&&(Ue(Object(a))?m.merge(v,typeof a=="string"?[a]:a):k.call(v,a)),v},inArray:function(a,f,v){return f==null?-1:C.call(f,a,v)},isXMLDoc:function(a){var f=a&&a.namespaceURI,v=a&&(a.ownerDocument||a).documentElement;return!je.test(f||v&&v.nodeName||"HTML")},merge:function(a,f){for(var v=+f.length,w=0,R=a.length;w<v;w++)a[R++]=f[w];return a.length=R,a},grep:function(a,f,v){for(var w,R=[],O=0,M=a.length,te=!v;O<M;O++)w=!f(a[O],O),w!==te&&R.push(a[O]);return R},map:function(a,f,v){var w,R,O=0,M=[];if(Ue(a))for(w=a.length;O<w;O++)R=f(a[O],O,v),R!=null&&M.push(R);else for(O in a)R=f(a[O],O,v),R!=null&&M.push(R);return g(M)},guid:1,support:re}),typeof Symbol=="function"&&(m.fn[Symbol.iterator]=s[Symbol.iterator]),m.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,f){A["[object "+f+"]"]=f.toLowerCase()});function Ue(a){var f=!!a&&"length"in a&&a.length,v=Ie(a);return ne(a)||J(a)?!1:v==="array"||f===0||typeof f=="number"&&f>0&&f-1 in a}function ke(a,f){return a.nodeName&&a.nodeName.toLowerCase()===f.toLowerCase()}var ht=s.pop,Et=s.sort,vt=s.splice,dt="[\\x20\\t\\r\\n\\f]",Ct=new RegExp("^"+dt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+dt+"+$","g");m.contains=function(a,f){var v=f&&f.parentNode;return a===v||!!(v&&v.nodeType===1&&(a.contains?a.contains(v):a.compareDocumentPosition&&a.compareDocumentPosition(v)&16))};var me=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Le(a,f){return f?a==="\0"?"�":a.slice(0,-1)+"\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\"+a}m.escapeSelector=function(a){return(a+"").replace(me,Le)};var Ve=F,qe=k;(function(){var a,f,v,w,R,O=qe,M,te,K,fe,Re,Oe=m.expando,be=0,Fe=0,tt=Dn(),_t=Dn(),Ot=Dn(),_n=Dn(),an=function(Y,le){return Y===le&&(R=!0),0},_r="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Rr="(?:\\\\[\\da-fA-F]{1,6}"+dt+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Ht="\\["+dt+"*("+Rr+")(?:"+dt+"*([*^$|!~]?=)"+dt+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Rr+"))|)"+dt+"*\\]",Ir=":("+Rr+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Ht+")*)|.*)\\)|)",Ut=new RegExp(dt+"+","g"),Zt=new RegExp("^"+dt+"*,"+dt+"*"),qi=new RegExp("^"+dt+"*([>+~]|"+dt+")"+dt+"*"),Xi=new RegExp(dt+"|>"),pr=new RegExp(Ir),b=new RegExp("^"+Rr+"$"),_={ID:new RegExp("^#("+Rr+")"),CLASS:new RegExp("^\\.("+Rr+")"),TAG:new RegExp("^("+Rr+"|[*])"),ATTR:new RegExp("^"+Ht),PSEUDO:new RegExp("^"+Ir),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+dt+"*(even|odd|(([+-]|)(\\d*)n|)"+dt+"*(?:([+-]|)"+dt+"*(\\d+)|))"+dt+"*\\)|)","i"),bool:new RegExp("^(?:"+_r+")$","i"),needsContext:new RegExp("^"+dt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+dt+"*((?:-\\d)?\\d*)"+dt+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,V=/^h\d$/i,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ve=/[+~]/,De=new RegExp("\\\\[\\da-fA-F]{1,6}"+dt+"?|\\\\([^\\r\\n\\f])","g"),We=function(Y,le){var xe="0x"+Y.slice(1)-65536;return le||(xe<0?String.fromCharCode(xe+65536):String.fromCharCode(xe>>10|55296,xe&1023|56320))},ft=function(){Ki()},Mt=Di(function(Y){return Y.disabled===!0&&ke(Y,"fieldset")},{dir:"parentNode",next:"legend"});function kt(){try{return M.activeElement}catch{}}try{O.apply(s=l.call(Ve.childNodes),Ve.childNodes),s[Ve.childNodes.length].nodeType}catch{O={apply:function(le,xe){qe.apply(le,l.call(xe))},call:function(le){qe.apply(le,l.call(arguments,1))}}}function bt(Y,le,xe,we){var z,ae,oe,Ae,Me,nt,rt,et=le&&le.ownerDocument,Dt=le?le.nodeType:9;if(xe=xe||[],typeof Y!="string"||!Y||Dt!==1&&Dt!==9&&Dt!==11)return xe;if(!we&&(Ki(le),le=le||M,K)){if(Dt!==11&&(Me=ge.exec(Y)))if(z=Me[1]){if(Dt===9)if(oe=le.getElementById(z)){if(oe.id===z)return O.call(xe,oe),xe}else return xe;else if(et&&(oe=et.getElementById(z))&&bt.contains(le,oe)&&oe.id===z)return O.call(xe,oe),xe}else{if(Me[2])return O.apply(xe,le.getElementsByTagName(Y)),xe;if((z=Me[3])&&le.getElementsByClassName)return O.apply(xe,le.getElementsByClassName(z)),xe}if(!_n[Y+" "]&&(!fe||!fe.test(Y))){if(rt=Y,et=le,Dt===1&&(Xi.test(Y)||qi.test(Y))){for(et=ve.test(Y)&&Za(le.parentNode)||le,(et!=le||!re.scope)&&((Ae=le.getAttribute("id"))?Ae=m.escapeSelector(Ae):le.setAttribute("id",Ae=Oe)),nt=No(Y),ae=nt.length;ae--;)nt[ae]=(Ae?"#"+Ae:":scope")+" "+ui(nt[ae]);rt=nt.join(",")}try{return O.apply(xe,et.querySelectorAll(rt)),xe}catch{_n(Y,!0)}finally{Ae===Oe&&le.removeAttribute("id")}}}return _a(Y.replace(Ct,"$1"),le,xe,we)}function Dn(){var Y=[];function le(xe,we){return Y.push(xe+" ")>f.cacheLength&&delete le[Y.shift()],le[xe+" "]=we}return le}function vn(Y){return Y[Oe]=!0,Y}function Nn(Y){var le=M.createElement("fieldset");try{return!!Y(le)}catch{return!1}finally{le.parentNode&&le.parentNode.removeChild(le),le=null}}function Mo(Y){return function(le){return ke(le,"input")&&le.type===Y}}function Ea(Y){return function(le){return(ke(le,"input")||ke(le,"button"))&&le.type===Y}}function Fo(Y){return function(le){return"form"in le?le.parentNode&&le.disabled===!1?"label"in le?"label"in le.parentNode?le.parentNode.disabled===Y:le.disabled===Y:le.isDisabled===Y||le.isDisabled!==!Y&&Mt(le)===Y:le.disabled===Y:"label"in le?le.disabled===Y:!1}}function Vr(Y){return vn(function(le){return le=+le,vn(function(xe,we){for(var z,ae=Y([],xe.length,le),oe=ae.length;oe--;)xe[z=ae[oe]]&&(xe[z]=!(we[z]=xe[z]))})})}function Za(Y){return Y&&typeof Y.getElementsByTagName<"u"&&Y}function Ki(Y){var le,xe=Y?Y.ownerDocument||Y:Ve;return xe==M||xe.nodeType!==9||!xe.documentElement||(M=xe,te=M.documentElement,K=!m.isXMLDoc(M),Re=te.matches||te.webkitMatchesSelector||te.msMatchesSelector,te.msMatchesSelector&&Ve!=M&&(le=M.defaultView)&&le.top!==le&&le.addEventListener("unload",ft),re.getById=Nn(function(we){return te.appendChild(we).id=m.expando,!M.getElementsByName||!M.getElementsByName(m.expando).length}),re.disconnectedMatch=Nn(function(we){return Re.call(we,"*")}),re.scope=Nn(function(){return M.querySelectorAll(":scope")}),re.cssHas=Nn(function(){try{return M.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),re.getById?(f.filter.ID=function(we){var z=we.replace(De,We);return function(ae){return ae.getAttribute("id")===z}},f.find.ID=function(we,z){if(typeof z.getElementById<"u"&&K){var ae=z.getElementById(we);return ae?[ae]:[]}}):(f.filter.ID=function(we){var z=we.replace(De,We);return function(ae){var oe=typeof ae.getAttributeNode<"u"&&ae.getAttributeNode("id");return oe&&oe.value===z}},f.find.ID=function(we,z){if(typeof z.getElementById<"u"&&K){var ae,oe,Ae,Me=z.getElementById(we);if(Me){if(ae=Me.getAttributeNode("id"),ae&&ae.value===we)return[Me];for(Ae=z.getElementsByName(we),oe=0;Me=Ae[oe++];)if(ae=Me.getAttributeNode("id"),ae&&ae.value===we)return[Me]}return[]}}),f.find.TAG=function(we,z){return typeof z.getElementsByTagName<"u"?z.getElementsByTagName(we):z.querySelectorAll(we)},f.find.CLASS=function(we,z){if(typeof z.getElementsByClassName<"u"&&K)return z.getElementsByClassName(we)},fe=[],Nn(function(we){var z;te.appendChild(we).innerHTML="<a id='"+Oe+"' href='' disabled='disabled'></a><select id='"+Oe+"-\r\\' disabled='disabled'><option selected=''></option></select>",we.querySelectorAll("[selected]").length||fe.push("\\["+dt+"*(?:value|"+_r+")"),we.querySelectorAll("[id~="+Oe+"-]").length||fe.push("~="),we.querySelectorAll("a#"+Oe+"+*").length||fe.push(".#.+[+~]"),we.querySelectorAll(":checked").length||fe.push(":checked"),z=M.createElement("input"),z.setAttribute("type","hidden"),we.appendChild(z).setAttribute("name","D"),te.appendChild(we).disabled=!0,we.querySelectorAll(":disabled").length!==2&&fe.push(":enabled",":disabled"),z=M.createElement("input"),z.setAttribute("name",""),we.appendChild(z),we.querySelectorAll("[name='']").length||fe.push("\\["+dt+"*name"+dt+"*="+dt+`*(?:''|"")`)}),re.cssHas||fe.push(":has"),fe=fe.length&&new RegExp(fe.join("|")),an=function(we,z){if(we===z)return R=!0,0;var ae=!we.compareDocumentPosition-!z.compareDocumentPosition;return ae||(ae=(we.ownerDocument||we)==(z.ownerDocument||z)?we.compareDocumentPosition(z):1,ae&1||!re.sortDetached&&z.compareDocumentPosition(we)===ae?we===M||we.ownerDocument==Ve&&bt.contains(Ve,we)?-1:z===M||z.ownerDocument==Ve&&bt.contains(Ve,z)?1:w?C.call(w,we)-C.call(w,z):0:ae&4?-1:1)}),M}bt.matches=function(Y,le){return bt(Y,null,null,le)},bt.matchesSelector=function(Y,le){if(Ki(Y),K&&!_n[le+" "]&&(!fe||!fe.test(le)))try{var xe=Re.call(Y,le);if(xe||re.disconnectedMatch||Y.document&&Y.document.nodeType!==11)return xe}catch{_n(le,!0)}return bt(le,M,null,[Y]).length>0},bt.contains=function(Y,le){return(Y.ownerDocument||Y)!=M&&Ki(Y),m.contains(Y,le)},bt.attr=function(Y,le){(Y.ownerDocument||Y)!=M&&Ki(Y);var xe=f.attrHandle[le.toLowerCase()],we=xe&&L.call(f.attrHandle,le.toLowerCase())?xe(Y,le,!K):void 0;return we!==void 0?we:Y.getAttribute(le)},bt.error=function(Y){throw new Error("Syntax error, unrecognized expression: "+Y)},m.uniqueSort=function(Y){var le,xe=[],we=0,z=0;if(R=!re.sortStable,w=!re.sortStable&&l.call(Y,0),Et.call(Y,an),R){for(;le=Y[z++];)le===Y[z]&&(we=xe.push(z));for(;we--;)vt.call(Y,xe[we],1)}return w=null,Y},m.fn.uniqueSort=function(){return this.pushStack(m.uniqueSort(l.apply(this)))},f=m.expr={cacheLength:50,createPseudo:vn,match:_,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(Y){return Y[1]=Y[1].replace(De,We),Y[3]=(Y[3]||Y[4]||Y[5]||"").replace(De,We),Y[2]==="~="&&(Y[3]=" "+Y[3]+" "),Y.slice(0,4)},CHILD:function(Y){return Y[1]=Y[1].toLowerCase(),Y[1].slice(0,3)==="nth"?(Y[3]||bt.error(Y[0]),Y[4]=+(Y[4]?Y[5]+(Y[6]||1):2*(Y[3]==="even"||Y[3]==="odd")),Y[5]=+(Y[7]+Y[8]||Y[3]==="odd")):Y[3]&&bt.error(Y[0]),Y},PSEUDO:function(Y){var le,xe=!Y[6]&&Y[2];return _.CHILD.test(Y[0])?null:(Y[3]?Y[2]=Y[4]||Y[5]||"":xe&&pr.test(xe)&&(le=No(xe,!0))&&(le=xe.indexOf(")",xe.length-le)-xe.length)&&(Y[0]=Y[0].slice(0,le),Y[2]=xe.slice(0,le)),Y.slice(0,3))}},filter:{TAG:function(Y){var le=Y.replace(De,We).toLowerCase();return Y==="*"?function(){return!0}:function(xe){return ke(xe,le)}},CLASS:function(Y){var le=tt[Y+" "];return le||(le=new RegExp("(^|"+dt+")"+Y+"("+dt+"|$)"))&&tt(Y,function(xe){return le.test(typeof xe.className=="string"&&xe.className||typeof xe.getAttribute<"u"&&xe.getAttribute("class")||"")})},ATTR:function(Y,le,xe){return function(we){var z=bt.attr(we,Y);return z==null?le==="!=":le?(z+="",le==="="?z===xe:le==="!="?z!==xe:le==="^="?xe&&z.indexOf(xe)===0:le==="*="?xe&&z.indexOf(xe)>-1:le==="$="?xe&&z.slice(-xe.length)===xe:le==="~="?(" "+z.replace(Ut," ")+" ").indexOf(xe)>-1:le==="|="?z===xe||z.slice(0,xe.length+1)===xe+"-":!1):!0}},CHILD:function(Y,le,xe,we,z){var ae=Y.slice(0,3)!=="nth",oe=Y.slice(-4)!=="last",Ae=le==="of-type";return we===1&&z===0?function(Me){return!!Me.parentNode}:function(Me,nt,rt){var et,Dt,St,Wt,Rn,Jn=ae!==oe?"nextSibling":"previousSibling",Bn=Me.parentNode,Or=Ae&&Me.nodeName.toLowerCase(),Ai=!rt&&!Ae,At=!1;if(Bn){if(ae){for(;Jn;){for(St=Me;St=St[Jn];)if(Ae?ke(St,Or):St.nodeType===1)return!1;Rn=Jn=Y==="only"&&!Rn&&"nextSibling"}return!0}if(Rn=[oe?Bn.firstChild:Bn.lastChild],oe&&Ai){for(Dt=Bn[Oe]||(Bn[Oe]={}),et=Dt[Y]||[],Wt=et[0]===be&&et[1],At=Wt&&et[2],St=Wt&&Bn.childNodes[Wt];St=++Wt&&St&&St[Jn]||(At=Wt=0)||Rn.pop();)if(St.nodeType===1&&++At&&St===Me){Dt[Y]=[be,Wt,At];break}}else if(Ai&&(Dt=Me[Oe]||(Me[Oe]={}),et=Dt[Y]||[],Wt=et[0]===be&&et[1],At=Wt),At===!1)for(;(St=++Wt&&St&&St[Jn]||(At=Wt=0)||Rn.pop())&&!((Ae?ke(St,Or):St.nodeType===1)&&++At&&(Ai&&(Dt=St[Oe]||(St[Oe]={}),Dt[Y]=[be,At]),St===Me)););return At-=z,At===we||At%we===0&&At/we>=0}}},PSEUDO:function(Y,le){var xe,we=f.pseudos[Y]||f.setFilters[Y.toLowerCase()]||bt.error("unsupported pseudo: "+Y);return we[Oe]?we(le):we.length>1?(xe=[Y,Y,"",le],f.setFilters.hasOwnProperty(Y.toLowerCase())?vn(function(z,ae){for(var oe,Ae=we(z,le),Me=Ae.length;Me--;)oe=C.call(z,Ae[Me]),z[oe]=!(ae[oe]=Ae[Me])}):function(z){return we(z,0,xe)}):we}},pseudos:{not:vn(function(Y){var le=[],xe=[],we=Ta(Y.replace(Ct,"$1"));return we[Oe]?vn(function(z,ae,oe,Ae){for(var Me,nt=we(z,null,Ae,[]),rt=z.length;rt--;)(Me=nt[rt])&&(z[rt]=!(ae[rt]=Me))}):function(z,ae,oe){return le[0]=z,we(le,null,oe,xe),le[0]=null,!xe.pop()}}),has:vn(function(Y){return function(le){return bt(Y,le).length>0}}),contains:vn(function(Y){return Y=Y.replace(De,We),function(le){return(le.textContent||m.text(le)).indexOf(Y)>-1}}),lang:vn(function(Y){return b.test(Y||"")||bt.error("unsupported lang: "+Y),Y=Y.replace(De,We).toLowerCase(),function(le){var xe;do if(xe=K?le.lang:le.getAttribute("xml:lang")||le.getAttribute("lang"))return xe=xe.toLowerCase(),xe===Y||xe.indexOf(Y+"-")===0;while((le=le.parentNode)&&le.nodeType===1);return!1}}),target:function(Y){var le=t.location&&t.location.hash;return le&&le.slice(1)===Y.id},root:function(Y){return Y===te},focus:function(Y){return Y===kt()&&M.hasFocus()&&!!(Y.type||Y.href||~Y.tabIndex)},enabled:Fo(!1),disabled:Fo(!0),checked:function(Y){return ke(Y,"input")&&!!Y.checked||ke(Y,"option")&&!!Y.selected},selected:function(Y){return Y.parentNode&&Y.parentNode.selectedIndex,Y.selected===!0},empty:function(Y){for(Y=Y.firstChild;Y;Y=Y.nextSibling)if(Y.nodeType<6)return!1;return!0},parent:function(Y){return!f.pseudos.empty(Y)},header:function(Y){return V.test(Y.nodeName)},input:function(Y){return N.test(Y.nodeName)},button:function(Y){return ke(Y,"input")&&Y.type==="button"||ke(Y,"button")},text:function(Y){var le;return ke(Y,"input")&&Y.type==="text"&&((le=Y.getAttribute("type"))==null||le.toLowerCase()==="text")},first:Vr(function(){return[0]}),last:Vr(function(Y,le){return[le-1]}),eq:Vr(function(Y,le,xe){return[xe<0?xe+le:xe]}),even:Vr(function(Y,le){for(var xe=0;xe<le;xe+=2)Y.push(xe);return Y}),odd:Vr(function(Y,le){for(var xe=1;xe<le;xe+=2)Y.push(xe);return Y}),lt:Vr(function(Y,le,xe){var we;for(xe<0?we=xe+le:xe>le?we=le:we=xe;--we>=0;)Y.push(we);return Y}),gt:Vr(function(Y,le,xe){for(var we=xe<0?xe+le:xe;++we<le;)Y.push(we);return Y})}},f.pseudos.nth=f.pseudos.eq;for(a in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})f.pseudos[a]=Mo(a);for(a in{submit:!0,reset:!0})f.pseudos[a]=Ea(a);function ka(){}ka.prototype=f.filters=f.pseudos,f.setFilters=new ka;function No(Y,le){var xe,we,z,ae,oe,Ae,Me,nt=_t[Y+" "];if(nt)return le?0:nt.slice(0);for(oe=Y,Ae=[],Me=f.preFilter;oe;){(!xe||(we=Zt.exec(oe)))&&(we&&(oe=oe.slice(we[0].length)||oe),Ae.push(z=[])),xe=!1,(we=qi.exec(oe))&&(xe=we.shift(),z.push({value:xe,type:we[0].replace(Ct," ")}),oe=oe.slice(xe.length));for(ae in f.filter)(we=_[ae].exec(oe))&&(!Me[ae]||(we=Me[ae](we)))&&(xe=we.shift(),z.push({value:xe,type:ae,matches:we}),oe=oe.slice(xe.length));if(!xe)break}return le?oe.length:oe?bt.error(Y):_t(Y,Ae).slice(0)}function ui(Y){for(var le=0,xe=Y.length,we="";le<xe;le++)we+=Y[le].value;return we}function Di(Y,le,xe){var we=le.dir,z=le.next,ae=z||we,oe=xe&&ae==="parentNode",Ae=Fe++;return le.first?function(Me,nt,rt){for(;Me=Me[we];)if(Me.nodeType===1||oe)return Y(Me,nt,rt);return!1}:function(Me,nt,rt){var et,Dt,St=[be,Ae];if(rt){for(;Me=Me[we];)if((Me.nodeType===1||oe)&&Y(Me,nt,rt))return!0}else for(;Me=Me[we];)if(Me.nodeType===1||oe)if(Dt=Me[Oe]||(Me[Oe]={}),z&&ke(Me,z))Me=Me[we]||Me;else{if((et=Dt[ae])&&et[0]===be&&et[1]===Ae)return St[2]=et[2];if(Dt[ae]=St,St[2]=Y(Me,nt,rt))return!0}return!1}}function Qa(Y){return Y.length>1?function(le,xe,we){for(var z=Y.length;z--;)if(!Y[z](le,xe,we))return!1;return!0}:Y[0]}function mu(Y,le,xe){for(var we=0,z=le.length;we<z;we++)bt(Y,le[we],xe);return xe}function Bo(Y,le,xe,we,z){for(var ae,oe=[],Ae=0,Me=Y.length,nt=le!=null;Ae<Me;Ae++)(ae=Y[Ae])&&(!xe||xe(ae,we,z))&&(oe.push(ae),nt&&le.push(Ae));return oe}function Ji(Y,le,xe,we,z,ae){return we&&!we[Oe]&&(we=Ji(we)),z&&!z[Oe]&&(z=Ji(z,ae)),vn(function(oe,Ae,Me,nt){var rt,et,Dt,St,Wt=[],Rn=[],Jn=Ae.length,Bn=oe||mu(le||"*",Me.nodeType?[Me]:Me,[]),Or=Y&&(oe||!le)?Bo(Bn,Wt,Y,Me,nt):Bn;if(xe?(St=z||(oe?Y:Jn||we)?[]:Ae,xe(Or,St,Me,nt)):St=Or,we)for(rt=Bo(St,Rn),we(rt,[],Me,nt),et=rt.length;et--;)(Dt=rt[et])&&(St[Rn[et]]=!(Or[Rn[et]]=Dt));if(oe){if(z||Y){if(z){for(rt=[],et=St.length;et--;)(Dt=St[et])&&rt.push(Or[et]=Dt);z(null,St=[],rt,nt)}for(et=St.length;et--;)(Dt=St[et])&&(rt=z?C.call(oe,Dt):Wt[et])>-1&&(oe[rt]=!(Ae[rt]=Dt))}}else St=Bo(St===Ae?St.splice(Jn,St.length):St),z?z(null,Ae,St,nt):O.apply(Ae,St)})}function nr(Y){for(var le,xe,we,z=Y.length,ae=f.relative[Y[0].type],oe=ae||f.relative[" "],Ae=ae?1:0,Me=Di(function(et){return et===le},oe,!0),nt=Di(function(et){return C.call(le,et)>-1},oe,!0),rt=[function(et,Dt,St){var Wt=!ae&&(St||Dt!=v)||((le=Dt).nodeType?Me(et,Dt,St):nt(et,Dt,St));return le=null,Wt}];Ae<z;Ae++)if(xe=f.relative[Y[Ae].type])rt=[Di(Qa(rt),xe)];else{if(xe=f.filter[Y[Ae].type].apply(null,Y[Ae].matches),xe[Oe]){for(we=++Ae;we<z&&!f.relative[Y[we].type];we++);return Ji(Ae>1&&Qa(rt),Ae>1&&ui(Y.slice(0,Ae-1).concat({value:Y[Ae-2].type===" "?"*":""})).replace(Ct,"$1"),xe,Ae<we&&nr(Y.slice(Ae,we)),we<z&&nr(Y=Y.slice(we)),we<z&&ui(Y))}rt.push(xe)}return Qa(rt)}function es(Y,le){var xe=le.length>0,we=Y.length>0,z=function(ae,oe,Ae,Me,nt){var rt,et,Dt,St=0,Wt="0",Rn=ae&&[],Jn=[],Bn=v,Or=ae||we&&f.find.TAG("*",nt),Ai=be+=Bn==null?1:Math.random()||.1,At=Or.length;for(nt&&(v=oe==M||oe||nt);Wt!==At&&(rt=Or[Wt])!=null;Wt++){if(we&&rt){for(et=0,!oe&&rt.ownerDocument!=M&&(Ki(rt),Ae=!K);Dt=Y[et++];)if(Dt(rt,oe||M,Ae)){O.call(Me,rt);break}nt&&(be=Ai)}xe&&((rt=!Dt&&rt)&&St--,ae&&Rn.push(rt))}if(St+=Wt,xe&&Wt!==St){for(et=0;Dt=le[et++];)Dt(Rn,Jn,oe,Ae);if(ae){if(St>0)for(;Wt--;)Rn[Wt]||Jn[Wt]||(Jn[Wt]=ht.call(Me));Jn=Bo(Jn)}O.apply(Me,Jn),nt&&!ae&&Jn.length>0&&St+le.length>1&&m.uniqueSort(Me)}return nt&&(be=Ai,v=Bn),Rn};return xe?vn(z):z}function Ta(Y,le){var xe,we=[],z=[],ae=Ot[Y+" "];if(!ae){for(le||(le=No(Y)),xe=le.length;xe--;)ae=nr(le[xe]),ae[Oe]?we.push(ae):z.push(ae);ae=Ot(Y,es(z,we)),ae.selector=Y}return ae}function _a(Y,le,xe,we){var z,ae,oe,Ae,Me,nt=typeof Y=="function"&&Y,rt=!we&&No(Y=nt.selector||Y);if(xe=xe||[],rt.length===1){if(ae=rt[0]=rt[0].slice(0),ae.length>2&&(oe=ae[0]).type==="ID"&&le.nodeType===9&&K&&f.relative[ae[1].type]){if(le=(f.find.ID(oe.matches[0].replace(De,We),le)||[])[0],le)nt&&(le=le.parentNode);else return xe;Y=Y.slice(ae.shift().value.length)}for(z=_.needsContext.test(Y)?0:ae.length;z--&&(oe=ae[z],!f.relative[Ae=oe.type]);)if((Me=f.find[Ae])&&(we=Me(oe.matches[0].replace(De,We),ve.test(ae[0].type)&&Za(le.parentNode)||le))){if(ae.splice(z,1),Y=we.length&&ui(ae),!Y)return O.apply(xe,we),xe;break}}return(nt||Ta(Y,rt))(we,le,!K,xe,!le||ve.test(Y)&&Za(le.parentNode)||le),xe}re.sortStable=Oe.split("").sort(an).join("")===Oe,Ki(),re.sortDetached=Nn(function(Y){return Y.compareDocumentPosition(M.createElement("fieldset"))&1}),m.find=bt,m.expr[":"]=m.expr.pseudos,m.unique=m.uniqueSort,bt.compile=Ta,bt.select=_a,bt.setDocument=Ki,bt.tokenize=No,bt.escape=m.escapeSelector,bt.getText=m.text,bt.isXML=m.isXMLDoc,bt.selectors=m.expr,bt.support=m.support,bt.uniqueSort=m.uniqueSort})();var lt=function(a,f,v){for(var w=[],R=v!==void 0;(a=a[f])&&a.nodeType!==9;)if(a.nodeType===1){if(R&&m(a).is(v))break;w.push(a)}return w},Ce=function(a,f){for(var v=[];a;a=a.nextSibling)a.nodeType===1&&a!==f&&v.push(a);return v},Pe=m.expr.match.needsContext,Ye=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Xe(a,f,v){return ne(f)?m.grep(a,function(w,R){return!!f.call(w,R,w)!==v}):f.nodeType?m.grep(a,function(w){return w===f!==v}):typeof f!="string"?m.grep(a,function(w){return C.call(f,w)>-1!==v}):m.filter(f,a,v)}m.filter=function(a,f,v){var w=f[0];return v&&(a=":not("+a+")"),f.length===1&&w.nodeType===1?m.find.matchesSelector(w,a)?[w]:[]:m.find.matches(a,m.grep(f,function(R){return R.nodeType===1}))},m.fn.extend({find:function(a){var f,v,w=this.length,R=this;if(typeof a!="string")return this.pushStack(m(a).filter(function(){for(f=0;f<w;f++)if(m.contains(R[f],this))return!0}));for(v=this.pushStack([]),f=0;f<w;f++)m.find(a,R[f],v);return w>1?m.uniqueSort(v):v},filter:function(a){return this.pushStack(Xe(this,a||[],!1))},not:function(a){return this.pushStack(Xe(this,a||[],!0))},is:function(a){return!!Xe(this,typeof a=="string"&&Pe.test(a)?m(a):a||[],!1).length}});var Qe,Ze=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Ke=m.fn.init=function(a,f,v){var w,R;if(!a)return this;if(v=v||Qe,typeof a=="string")if(a[0]==="<"&&a[a.length-1]===">"&&a.length>=3?w=[null,a,null]:w=Ze.exec(a),w&&(w[1]||!f))if(w[1]){if(f=f instanceof m?f[0]:f,m.merge(this,m.parseHTML(w[1],f&&f.nodeType?f.ownerDocument||f:F,!0)),Ye.test(w[1])&&m.isPlainObject(f))for(w in f)ne(this[w])?this[w](f[w]):this.attr(w,f[w]);return this}else return R=F.getElementById(w[2]),R&&(this[0]=R,this.length=1),this;else return!f||f.jquery?(f||v).find(a):this.constructor(f).find(a);else{if(a.nodeType)return this[0]=a,this.length=1,this;if(ne(a))return v.ready!==void 0?v.ready(a):a(m)}return m.makeArray(a,this)};Ke.prototype=m.fn,Qe=m(F);var ct=/^(?:parents|prev(?:Until|All))/,mt={children:!0,contents:!0,next:!0,prev:!0};m.fn.extend({has:function(a){var f=m(a,this),v=f.length;return this.filter(function(){for(var w=0;w<v;w++)if(m.contains(this,f[w]))return!0})},closest:function(a,f){var v,w=0,R=this.length,O=[],M=typeof a!="string"&&m(a);if(!Pe.test(a)){for(;w<R;w++)for(v=this[w];v&&v!==f;v=v.parentNode)if(v.nodeType<11&&(M?M.index(v)>-1:v.nodeType===1&&m.find.matchesSelector(v,a))){O.push(v);break}}return this.pushStack(O.length>1?m.uniqueSort(O):O)},index:function(a){return a?typeof a=="string"?C.call(m(a),this[0]):C.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,f){return this.pushStack(m.uniqueSort(m.merge(this.get(),m(a,f))))},addBack:function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}});function wt(a,f){for(;(a=a[f])&&a.nodeType!==1;);return a}m.each({parent:function(a){var f=a.parentNode;return f&&f.nodeType!==11?f:null},parents:function(a){return lt(a,"parentNode")},parentsUntil:function(a,f,v){return lt(a,"parentNode",v)},next:function(a){return wt(a,"nextSibling")},prev:function(a){return wt(a,"previousSibling")},nextAll:function(a){return lt(a,"nextSibling")},prevAll:function(a){return lt(a,"previousSibling")},nextUntil:function(a,f,v){return lt(a,"nextSibling",v)},prevUntil:function(a,f,v){return lt(a,"previousSibling",v)},siblings:function(a){return Ce((a.parentNode||{}).firstChild,a)},children:function(a){return Ce(a.firstChild)},contents:function(a){return a.contentDocument!=null&&o(a.contentDocument)?a.contentDocument:(ke(a,"template")&&(a=a.content||a),m.merge([],a.childNodes))}},function(a,f){m.fn[a]=function(v,w){var R=m.map(this,f,v);return a.slice(-5)!=="Until"&&(w=v),w&&typeof w=="string"&&(R=m.filter(w,R)),this.length>1&&(mt[a]||m.uniqueSort(R),ct.test(a)&&R.reverse()),this.pushStack(R)}});var gt=/[^\x20\t\r\n\f]+/g;function Tt(a){var f={};return m.each(a.match(gt)||[],function(v,w){f[w]=!0}),f}m.Callbacks=function(a){a=typeof a=="string"?Tt(a):m.extend({},a);var f,v,w,R,O=[],M=[],te=-1,K=function(){for(R=R||a.once,w=f=!0;M.length;te=-1)for(v=M.shift();++te<O.length;)O[te].apply(v[0],v[1])===!1&&a.stopOnFalse&&(te=O.length,v=!1);a.memory||(v=!1),f=!1,R&&(v?O=[]:O="")},fe={add:function(){return O&&(v&&!f&&(te=O.length-1,M.push(v)),function Re(Oe){m.each(Oe,function(be,Fe){ne(Fe)?(!a.unique||!fe.has(Fe))&&O.push(Fe):Fe&&Fe.length&&Ie(Fe)!=="string"&&Re(Fe)})}(arguments),v&&!f&&K()),this},remove:function(){return m.each(arguments,function(Re,Oe){for(var be;(be=m.inArray(Oe,O,be))>-1;)O.splice(be,1),be<=te&&te--}),this},has:function(Re){return Re?m.inArray(Re,O)>-1:O.length>0},empty:function(){return O&&(O=[]),this},disable:function(){return R=M=[],O=v="",this},disabled:function(){return!O},lock:function(){return R=M=[],!v&&!f&&(O=v=""),this},locked:function(){return!!R},fireWith:function(Re,Oe){return R||(Oe=Oe||[],Oe=[Re,Oe.slice?Oe.slice():Oe],M.push(Oe),f||K()),this},fire:function(){return fe.fireWith(this,arguments),this},fired:function(){return!!w}};return fe};function Ge(a){return a}function Ft(a){throw a}function Bt(a,f,v,w){var R;try{a&&ne(R=a.promise)?R.call(a).done(f).fail(v):a&&ne(R=a.then)?R.call(a,f,v):f.apply(void 0,[a].slice(w))}catch(O){v.apply(void 0,[O])}}m.extend({Deferred:function(a){var f=[["notify","progress",m.Callbacks("memory"),m.Callbacks("memory"),2],["resolve","done",m.Callbacks("once memory"),m.Callbacks("once memory"),0,"resolved"],["reject","fail",m.Callbacks("once memory"),m.Callbacks("once memory"),1,"rejected"]],v="pending",w={state:function(){return v},always:function(){return R.done(arguments).fail(arguments),this},catch:function(O){return w.then(null,O)},pipe:function(){var O=arguments;return m.Deferred(function(M){m.each(f,function(te,K){var fe=ne(O[K[4]])&&O[K[4]];R[K[1]](function(){var Re=fe&&fe.apply(this,arguments);Re&&ne(Re.promise)?Re.promise().progress(M.notify).done(M.resolve).fail(M.reject):M[K[0]+"With"](this,fe?[Re]:arguments)})}),O=null}).promise()},then:function(O,M,te){var K=0;function fe(Re,Oe,be,Fe){return function(){var tt=this,_t=arguments,Ot=function(){var an,_r;if(!(Re<K)){if(an=be.apply(tt,_t),an===Oe.promise())throw new TypeError("Thenable self-resolution");_r=an&&(typeof an=="object"||typeof an=="function")&&an.then,ne(_r)?Fe?_r.call(an,fe(K,Oe,Ge,Fe),fe(K,Oe,Ft,Fe)):(K++,_r.call(an,fe(K,Oe,Ge,Fe),fe(K,Oe,Ft,Fe),fe(K,Oe,Ge,Oe.notifyWith))):(be!==Ge&&(tt=void 0,_t=[an]),(Fe||Oe.resolveWith)(tt,_t))}},_n=Fe?Ot:function(){try{Ot()}catch(an){m.Deferred.exceptionHook&&m.Deferred.exceptionHook(an,_n.error),Re+1>=K&&(be!==Ft&&(tt=void 0,_t=[an]),Oe.rejectWith(tt,_t))}};Re?_n():(m.Deferred.getErrorHook?_n.error=m.Deferred.getErrorHook():m.Deferred.getStackHook&&(_n.error=m.Deferred.getStackHook()),t.setTimeout(_n))}}return m.Deferred(function(Re){f[0][3].add(fe(0,Re,ne(te)?te:Ge,Re.notifyWith)),f[1][3].add(fe(0,Re,ne(O)?O:Ge)),f[2][3].add(fe(0,Re,ne(M)?M:Ft))}).promise()},promise:function(O){return O!=null?m.extend(O,w):w}},R={};return m.each(f,function(O,M){var te=M[2],K=M[5];w[M[1]]=te.add,K&&te.add(function(){v=K},f[3-O][2].disable,f[3-O][3].disable,f[0][2].lock,f[0][3].lock),te.add(M[3].fire),R[M[0]]=function(){return R[M[0]+"With"](this===R?void 0:this,arguments),this},R[M[0]+"With"]=te.fireWith}),w.promise(R),a&&a.call(R,R),R},when:function(a){var f=arguments.length,v=f,w=Array(v),R=l.call(arguments),O=m.Deferred(),M=function(te){return function(K){w[te]=this,R[te]=arguments.length>1?l.call(arguments):K,--f||O.resolveWith(w,R)}};if(f<=1&&(Bt(a,O.done(M(v)).resolve,O.reject,!f),O.state()==="pending"||ne(R[v]&&R[v].then)))return O.then();for(;v--;)Bt(R[v],M(v),O.reject);return O.promise()}});var Hn=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;m.Deferred.exceptionHook=function(a,f){t.console&&t.console.warn&&a&&Hn.test(a.name)&&t.console.warn("jQuery.Deferred exception: "+a.message,a.stack,f)},m.readyException=function(a){t.setTimeout(function(){throw a})};var ur=m.Deferred();m.fn.ready=function(a){return ur.then(a).catch(function(f){m.readyException(f)}),this},m.extend({isReady:!1,readyWait:1,ready:function(a){(a===!0?--m.readyWait:m.isReady)||(m.isReady=!0,!(a!==!0&&--m.readyWait>0)&&ur.resolveWith(F,[m]))}}),m.ready.then=ur.then;function Un(){F.removeEventListener("DOMContentLoaded",Un),t.removeEventListener("load",Un),m.ready()}F.readyState==="complete"||F.readyState!=="loading"&&!F.documentElement.doScroll?t.setTimeout(m.ready):(F.addEventListener("DOMContentLoaded",Un),t.addEventListener("load",Un));var bn=function(a,f,v,w,R,O,M){var te=0,K=a.length,fe=v==null;if(Ie(v)==="object"){R=!0;for(te in v)bn(a,f,te,v[te],!0,O,M)}else if(w!==void 0&&(R=!0,ne(w)||(M=!0),fe&&(M?(f.call(a,w),f=null):(fe=f,f=function(Re,Oe,be){return fe.call(m(Re),be)})),f))for(;te<K;te++)f(a[te],v,M?w:w.call(a[te],te,f(a[te],v)));return R?a:fe?f.call(a):K?f(a[0],v):O},xi=/^-ms-/,mr=/-([a-z])/g;function qn(a,f){return f.toUpperCase()}function rn(a){return a.replace(xi,"ms-").replace(mr,qn)}var sn=function(a){return a.nodeType===1||a.nodeType===9||!+a.nodeType};function un(){this.expando=m.expando+un.uid++}un.uid=1,un.prototype={cache:function(a){var f=a[this.expando];return f||(f={},sn(a)&&(a.nodeType?a[this.expando]=f:Object.defineProperty(a,this.expando,{value:f,configurable:!0}))),f},set:function(a,f,v){var w,R=this.cache(a);if(typeof f=="string")R[rn(f)]=v;else for(w in f)R[rn(w)]=f[w];return R},get:function(a,f){return f===void 0?this.cache(a):a[this.expando]&&a[this.expando][rn(f)]},access:function(a,f,v){return f===void 0||f&&typeof f=="string"&&v===void 0?this.get(a,f):(this.set(a,f,v),v!==void 0?v:f)},remove:function(a,f){var v,w=a[this.expando];if(w!==void 0){if(f!==void 0)for(Array.isArray(f)?f=f.map(rn):(f=rn(f),f=f in w?[f]:f.match(gt)||[]),v=f.length;v--;)delete w[f[v]];(f===void 0||m.isEmptyObject(w))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){var f=a[this.expando];return f!==void 0&&!m.isEmptyObject(f)}};var at=new un,En=new un,Jr=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,nn=/[A-Z]/g;function Ci(a){return a==="true"?!0:a==="false"?!1:a==="null"?null:a===+a+""?+a:Jr.test(a)?JSON.parse(a):a}function Ei(a,f,v){var w;if(v===void 0&&a.nodeType===1)if(w="data-"+f.replace(nn,"-$&").toLowerCase(),v=a.getAttribute(w),typeof v=="string"){try{v=Ci(v)}catch{}En.set(a,f,v)}else v=void 0;return v}m.extend({hasData:function(a){return En.hasData(a)||at.hasData(a)},data:function(a,f,v){return En.access(a,f,v)},removeData:function(a,f){En.remove(a,f)},_data:function(a,f,v){return at.access(a,f,v)},_removeData:function(a,f){at.remove(a,f)}}),m.fn.extend({data:function(a,f){var v,w,R,O=this[0],M=O&&O.attributes;if(a===void 0){if(this.length&&(R=En.get(O),O.nodeType===1&&!at.get(O,"hasDataAttrs"))){for(v=M.length;v--;)M[v]&&(w=M[v].name,w.indexOf("data-")===0&&(w=rn(w.slice(5)),Ei(O,w,R[w])));at.set(O,"hasDataAttrs",!0)}return R}return typeof a=="object"?this.each(function(){En.set(this,a)}):bn(this,function(te){var K;if(O&&te===void 0)return K=En.get(O,a),K!==void 0||(K=Ei(O,a),K!==void 0)?K:void 0;this.each(function(){En.set(this,a,te)})},null,f,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){En.remove(this,a)})}}),m.extend({queue:function(a,f,v){var w;if(a)return f=(f||"fx")+"queue",w=at.get(a,f),v&&(!w||Array.isArray(v)?w=at.access(a,f,m.makeArray(v)):w.push(v)),w||[]},dequeue:function(a,f){f=f||"fx";var v=m.queue(a,f),w=v.length,R=v.shift(),O=m._queueHooks(a,f),M=function(){m.dequeue(a,f)};R==="inprogress"&&(R=v.shift(),w--),R&&(f==="fx"&&v.unshift("inprogress"),delete O.stop,R.call(a,M,O)),!w&&O&&O.empty.fire()},_queueHooks:function(a,f){var v=f+"queueHooks";return at.get(a,v)||at.access(a,v,{empty:m.Callbacks("once memory").add(function(){at.remove(a,[f+"queue",v])})})}}),m.fn.extend({queue:function(a,f){var v=2;return typeof a!="string"&&(f=a,a="fx",v--),arguments.length<v?m.queue(this[0],a):f===void 0?this:this.each(function(){var w=m.queue(this,a,f);m._queueHooks(this,a),a==="fx"&&w[0]!=="inprogress"&&m.dequeue(this,a)})},dequeue:function(a){return this.each(function(){m.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,f){var v,w=1,R=m.Deferred(),O=this,M=this.length,te=function(){--w||R.resolveWith(O,[O])};for(typeof a!="string"&&(f=a,a=void 0),a=a||"fx";M--;)v=at.get(O[M],a+"queueHooks"),v&&v.empty&&(w++,v.empty.add(te));return te(),R.promise(f)}});var ki=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,yr=new RegExp("^(?:([+-])=|)("+ki+")([a-z%]*)$","i"),Ln=["Top","Right","Bottom","Left"],br=F.documentElement,lr=function(a){return m.contains(a.ownerDocument,a)},Fr={composed:!0};br.getRootNode&&(lr=function(a){return m.contains(a.ownerDocument,a)||a.getRootNode(Fr)===a.ownerDocument});var Nr=function(a,f){return a=f||a,a.style.display==="none"||a.style.display===""&&lr(a)&&m.css(a,"display")==="none"};function so(a,f,v,w){var R,O,M=20,te=w?function(){return w.cur()}:function(){return m.css(a,f,"")},K=te(),fe=v&&v[3]||(m.cssNumber[f]?"":"px"),Re=a.nodeType&&(m.cssNumber[f]||fe!=="px"&&+K)&&yr.exec(m.css(a,f));if(Re&&Re[3]!==fe){for(K=K/2,fe=fe||Re[3],Re=+K||1;M--;)m.style(a,f,Re+fe),(1-O)*(1-(O=te()/K||.5))<=0&&(M=0),Re=Re/O;Re=Re*2,m.style(a,f,Re+fe),v=v||[]}return v&&(Re=+Re||+K||0,R=v[1]?Re+(v[1]+1)*v[2]:+v[2],w&&(w.unit=fe,w.start=Re,w.end=R)),R}var Wn={};function Br(a){var f,v=a.ownerDocument,w=a.nodeName,R=Wn[w];return R||(f=v.body.appendChild(v.createElement(w)),R=m.css(f,"display"),f.parentNode.removeChild(f),R==="none"&&(R="block"),Wn[w]=R,R)}function Xn(a,f){for(var v,w,R=[],O=0,M=a.length;O<M;O++)w=a[O],w.style&&(v=w.style.display,f?(v==="none"&&(R[O]=at.get(w,"display")||null,R[O]||(w.style.display="")),w.style.display===""&&Nr(w)&&(R[O]=Br(w))):v!=="none"&&(R[O]="none",at.set(w,"display",v)));for(O=0;O<M;O++)R[O]!=null&&(a[O].style.display=R[O]);return a}m.fn.extend({show:function(){return Xn(this,!0)},hide:function(){return Xn(this)},toggle:function(a){return typeof a=="boolean"?a?this.show():this.hide():this.each(function(){Nr(this)?m(this).show():m(this).hide()})}});var Vt=/^(?:checkbox|radio)$/i,Zr=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ti=/^$|^module$|\/(?:java|ecma)script/i;(function(){var a=F.createDocumentFragment(),f=a.appendChild(F.createElement("div")),v=F.createElement("input");v.setAttribute("type","radio"),v.setAttribute("checked","checked"),v.setAttribute("name","t"),f.appendChild(v),re.checkClone=f.cloneNode(!0).cloneNode(!0).lastChild.checked,f.innerHTML="<textarea>x</textarea>",re.noCloneChecked=!!f.cloneNode(!0).lastChild.defaultValue,f.innerHTML="<option></option>",re.option=!!f.lastChild})();var kn={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};kn.tbody=kn.tfoot=kn.colgroup=kn.caption=kn.thead,kn.th=kn.td,re.option||(kn.optgroup=kn.option=[1,"<select multiple='multiple'>","</select>"]);function ln(a,f){var v;return typeof a.getElementsByTagName<"u"?v=a.getElementsByTagName(f||"*"):typeof a.querySelectorAll<"u"?v=a.querySelectorAll(f||"*"):v=[],f===void 0||f&&ke(a,f)?m.merge([a],v):v}function Qr(a,f){for(var v=0,w=a.length;v<w;v++)at.set(a[v],"globalEval",!f||at.get(f[v],"globalEval"))}var ei=/<|&#?\w+;/;function fn(a,f,v,w,R){for(var O,M,te,K,fe,Re,Oe=f.createDocumentFragment(),be=[],Fe=0,tt=a.length;Fe<tt;Fe++)if(O=a[Fe],O||O===0)if(Ie(O)==="object")m.merge(be,O.nodeType?[O]:O);else if(!ei.test(O))be.push(f.createTextNode(O));else{for(M=M||Oe.appendChild(f.createElement("div")),te=(Zr.exec(O)||["",""])[1].toLowerCase(),K=kn[te]||kn._default,M.innerHTML=K[1]+m.htmlPrefilter(O)+K[2],Re=K[0];Re--;)M=M.lastChild;m.merge(be,M.childNodes),M=Oe.firstChild,M.textContent=""}for(Oe.textContent="",Fe=0;O=be[Fe++];){if(w&&m.inArray(O,w)>-1){R&&R.push(O);continue}if(fe=lr(O),M=ln(Oe.appendChild(O),"script"),fe&&Qr(M),v)for(Re=0;O=M[Re++];)Ti.test(O.type||"")&&v.push(O)}return Oe}var $i=/^([^.]*)(?:\.(.+)|)/;function cr(){return!0}function ti(){return!1}function on(a,f,v,w,R,O){var M,te;if(typeof f=="object"){typeof v!="string"&&(w=w||v,v=void 0);for(te in f)on(a,te,v,w,f[te],O);return a}if(w==null&&R==null?(R=v,w=v=void 0):R==null&&(typeof v=="string"?(R=w,w=void 0):(R=w,w=v,v=void 0)),R===!1)R=ti;else if(!R)return a;return O===1&&(M=R,R=function(K){return m().off(K),M.apply(this,arguments)},R.guid=M.guid||(M.guid=m.guid++)),a.each(function(){m.event.add(this,f,R,w,v)})}m.event={global:{},add:function(a,f,v,w,R){var O,M,te,K,fe,Re,Oe,be,Fe,tt,_t,Ot=at.get(a);if(sn(a))for(v.handler&&(O=v,v=O.handler,R=O.selector),R&&m.find.matchesSelector(br,R),v.guid||(v.guid=m.guid++),(K=Ot.events)||(K=Ot.events=Object.create(null)),(M=Ot.handle)||(M=Ot.handle=function(_n){return typeof m<"u"&&m.event.triggered!==_n.type?m.event.dispatch.apply(a,arguments):void 0}),f=(f||"").match(gt)||[""],fe=f.length;fe--;)te=$i.exec(f[fe])||[],Fe=_t=te[1],tt=(te[2]||"").split(".").sort(),Fe&&(Oe=m.event.special[Fe]||{},Fe=(R?Oe.delegateType:Oe.bindType)||Fe,Oe=m.event.special[Fe]||{},Re=m.extend({type:Fe,origType:_t,data:w,handler:v,guid:v.guid,selector:R,needsContext:R&&m.expr.match.needsContext.test(R),namespace:tt.join(".")},O),(be=K[Fe])||(be=K[Fe]=[],be.delegateCount=0,(!Oe.setup||Oe.setup.call(a,w,tt,M)===!1)&&a.addEventListener&&a.addEventListener(Fe,M)),Oe.add&&(Oe.add.call(a,Re),Re.handler.guid||(Re.handler.guid=v.guid)),R?be.splice(be.delegateCount++,0,Re):be.push(Re),m.event.global[Fe]=!0)},remove:function(a,f,v,w,R){var O,M,te,K,fe,Re,Oe,be,Fe,tt,_t,Ot=at.hasData(a)&&at.get(a);if(!(!Ot||!(K=Ot.events))){for(f=(f||"").match(gt)||[""],fe=f.length;fe--;){if(te=$i.exec(f[fe])||[],Fe=_t=te[1],tt=(te[2]||"").split(".").sort(),!Fe){for(Fe in K)m.event.remove(a,Fe+f[fe],v,w,!0);continue}for(Oe=m.event.special[Fe]||{},Fe=(w?Oe.delegateType:Oe.bindType)||Fe,be=K[Fe]||[],te=te[2]&&new RegExp("(^|\\.)"+tt.join("\\.(?:.*\\.|)")+"(\\.|$)"),M=O=be.length;O--;)Re=be[O],(R||_t===Re.origType)&&(!v||v.guid===Re.guid)&&(!te||te.test(Re.namespace))&&(!w||w===Re.selector||w==="**"&&Re.selector)&&(be.splice(O,1),Re.selector&&be.delegateCount--,Oe.remove&&Oe.remove.call(a,Re));M&&!be.length&&((!Oe.teardown||Oe.teardown.call(a,tt,Ot.handle)===!1)&&m.removeEvent(a,Fe,Ot.handle),delete K[Fe])}m.isEmptyObject(K)&&at.remove(a,"handle events")}},dispatch:function(a){var f,v,w,R,O,M,te=new Array(arguments.length),K=m.event.fix(a),fe=(at.get(this,"events")||Object.create(null))[K.type]||[],Re=m.event.special[K.type]||{};for(te[0]=K,f=1;f<arguments.length;f++)te[f]=arguments[f];if(K.delegateTarget=this,!(Re.preDispatch&&Re.preDispatch.call(this,K)===!1)){for(M=m.event.handlers.call(this,K,fe),f=0;(R=M[f++])&&!K.isPropagationStopped();)for(K.currentTarget=R.elem,v=0;(O=R.handlers[v++])&&!K.isImmediatePropagationStopped();)(!K.rnamespace||O.namespace===!1||K.rnamespace.test(O.namespace))&&(K.handleObj=O,K.data=O.data,w=((m.event.special[O.origType]||{}).handle||O.handler).apply(R.elem,te),w!==void 0&&(K.result=w)===!1&&(K.preventDefault(),K.stopPropagation()));return Re.postDispatch&&Re.postDispatch.call(this,K),K.result}},handlers:function(a,f){var v,w,R,O,M,te=[],K=f.delegateCount,fe=a.target;if(K&&fe.nodeType&&!(a.type==="click"&&a.button>=1)){for(;fe!==this;fe=fe.parentNode||this)if(fe.nodeType===1&&!(a.type==="click"&&fe.disabled===!0)){for(O=[],M={},v=0;v<K;v++)w=f[v],R=w.selector+" ",M[R]===void 0&&(M[R]=w.needsContext?m(R,this).index(fe)>-1:m.find(R,this,null,[fe]).length),M[R]&&O.push(w);O.length&&te.push({elem:fe,handlers:O})}}return fe=this,K<f.length&&te.push({elem:fe,handlers:f.slice(K)}),te},addProp:function(a,f){Object.defineProperty(m.Event.prototype,a,{enumerable:!0,configurable:!0,get:ne(f)?function(){if(this.originalEvent)return f(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[a]},set:function(v){Object.defineProperty(this,a,{enumerable:!0,configurable:!0,writable:!0,value:v})}})},fix:function(a){return a[m.expando]?a:new m.Event(a)},special:{load:{noBubble:!0},click:{setup:function(a){var f=this||a;return Vt.test(f.type)&&f.click&&ke(f,"input")&&li(f,"click",!0),!1},trigger:function(a){var f=this||a;return Vt.test(f.type)&&f.click&&ke(f,"input")&&li(f,"click"),!0},_default:function(a){var f=a.target;return Vt.test(f.type)&&f.click&&ke(f,"input")&&at.get(f,"click")||ke(f,"a")}},beforeunload:{postDispatch:function(a){a.result!==void 0&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}};function li(a,f,v){if(!v){at.get(a,f)===void 0&&m.event.add(a,f,cr);return}at.set(a,f,!1),m.event.add(a,f,{namespace:!1,handler:function(w){var R,O=at.get(this,f);if(w.isTrigger&1&&this[f]){if(O)(m.event.special[f]||{}).delegateType&&w.stopPropagation();else if(O=l.call(arguments),at.set(this,f,O),this[f](),R=at.get(this,f),at.set(this,f,!1),O!==R)return w.stopImmediatePropagation(),w.preventDefault(),R}else O&&(at.set(this,f,m.event.trigger(O[0],O.slice(1),this)),w.stopPropagation(),w.isImmediatePropagationStopped=cr)}})}m.removeEvent=function(a,f,v){a.removeEventListener&&a.removeEventListener(f,v)},m.Event=function(a,f){if(!(this instanceof m.Event))return new m.Event(a,f);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.defaultPrevented===void 0&&a.returnValue===!1?cr:ti,this.target=a.target&&a.target.nodeType===3?a.target.parentNode:a.target,this.currentTarget=a.currentTarget,this.relatedTarget=a.relatedTarget):this.type=a,f&&m.extend(this,f),this.timeStamp=a&&a.timeStamp||Date.now(),this[m.expando]=!0},m.Event.prototype={constructor:m.Event,isDefaultPrevented:ti,isPropagationStopped:ti,isImmediatePropagationStopped:ti,isSimulated:!1,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=cr,a&&!this.isSimulated&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=cr,a&&!this.isSimulated&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=cr,a&&!this.isSimulated&&a.stopImmediatePropagation(),this.stopPropagation()}},m.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},m.event.addProp),m.each({focus:"focusin",blur:"focusout"},function(a,f){function v(w){if(F.documentMode){var R=at.get(this,"handle"),O=m.event.fix(w);O.type=w.type==="focusin"?"focus":"blur",O.isSimulated=!0,R(w),O.target===O.currentTarget&&R(O)}else m.event.simulate(f,w.target,m.event.fix(w))}m.event.special[a]={setup:function(){var w;if(li(this,a,!0),F.documentMode)w=at.get(this,f),w||this.addEventListener(f,v),at.set(this,f,(w||0)+1);else return!1},trigger:function(){return li(this,a),!0},teardown:function(){var w;if(F.documentMode)w=at.get(this,f)-1,w?at.set(this,f,w):(this.removeEventListener(f,v),at.remove(this,f));else return!1},_default:function(w){return at.get(w.target,a)},delegateType:f},m.event.special[f]={setup:function(){var w=this.ownerDocument||this.document||this,R=F.documentMode?this:w,O=at.get(R,f);O||(F.documentMode?this.addEventListener(f,v):w.addEventListener(a,v,!0)),at.set(R,f,(O||0)+1)},teardown:function(){var w=this.ownerDocument||this.document||this,R=F.documentMode?this:w,O=at.get(R,f)-1;O?at.set(R,f,O):(F.documentMode?this.removeEventListener(f,v):w.removeEventListener(a,v,!0),at.remove(R,f))}}}),m.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,f){m.event.special[a]={delegateType:f,bindType:f,handle:function(v){var w,R=this,O=v.relatedTarget,M=v.handleObj;return(!O||O!==R&&!m.contains(R,O))&&(v.type=M.origType,w=M.handler.apply(this,arguments),v.type=f),w}}}),m.fn.extend({on:function(a,f,v,w){return on(this,a,f,v,w)},one:function(a,f,v,w){return on(this,a,f,v,w,1)},off:function(a,f,v){var w,R;if(a&&a.preventDefault&&a.handleObj)return w=a.handleObj,m(a.delegateTarget).off(w.namespace?w.origType+"."+w.namespace:w.origType,w.selector,w.handler),this;if(typeof a=="object"){for(R in a)this.off(R,f,a[R]);return this}return(f===!1||typeof f=="function")&&(v=f,f=void 0),v===!1&&(v=ti),this.each(function(){m.event.remove(this,a,v,f)})}});var Zo=/<script|<style|<link/i,Qo=/checked\s*(?:[^=]|=\s*.checked.)/i,jr=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function zi(a,f){return ke(a,"table")&&ke(f.nodeType!==11?f:f.firstChild,"tr")&&m(a).children("tbody")[0]||a}function Yi(a){return a.type=(a.getAttribute("type")!==null)+"/"+a.type,a}function uo(a){return(a.type||"").slice(0,5)==="true/"?a.type=a.type.slice(5):a.removeAttribute("type"),a}function ci(a,f){var v,w,R,O,M,te,K;if(f.nodeType===1){if(at.hasData(a)&&(O=at.get(a),K=O.events,K)){at.remove(f,"handle events");for(R in K)for(v=0,w=K[R].length;v<w;v++)m.event.add(f,R,K[R][v])}En.hasData(a)&&(M=En.access(a),te=m.extend({},M),En.set(f,te))}}function ni(a,f){var v=f.nodeName.toLowerCase();v==="input"&&Vt.test(a.type)?f.checked=a.checked:(v==="input"||v==="textarea")&&(f.defaultValue=a.defaultValue)}function fi(a,f,v,w){f=g(f);var R,O,M,te,K,fe,Re=0,Oe=a.length,be=Oe-1,Fe=f[0],tt=ne(Fe);if(tt||Oe>1&&typeof Fe=="string"&&!re.checkClone&&Qo.test(Fe))return a.each(function(_t){var Ot=a.eq(_t);tt&&(f[0]=Fe.call(this,_t,Ot.html())),fi(Ot,f,v,w)});if(Oe&&(R=fn(f,a[0].ownerDocument,!1,a,w),O=R.firstChild,R.childNodes.length===1&&(R=O),O||w)){for(M=m.map(ln(R,"script"),Yi),te=M.length;Re<Oe;Re++)K=R,Re!==be&&(K=m.clone(K,!0,!0),te&&m.merge(M,ln(K,"script"))),v.call(a[Re],K,Re);if(te)for(fe=M[M.length-1].ownerDocument,m.map(M,uo),Re=0;Re<te;Re++)K=M[Re],Ti.test(K.type||"")&&!at.access(K,"globalEval")&&m.contains(fe,K)&&(K.src&&(K.type||"").toLowerCase()!=="module"?m._evalUrl&&!K.noModule&&m._evalUrl(K.src,{nonce:K.nonce||K.getAttribute("nonce")},fe):ye(K.textContent.replace(jr,""),K,fe))}return a}function Vi(a,f,v){for(var w,R=f?m.filter(f,a):a,O=0;(w=R[O])!=null;O++)!v&&w.nodeType===1&&m.cleanData(ln(w)),w.parentNode&&(v&&lr(w)&&Qr(ln(w,"script")),w.parentNode.removeChild(w));return a}m.extend({htmlPrefilter:function(a){return a},clone:function(a,f,v){var w,R,O,M,te=a.cloneNode(!0),K=lr(a);if(!re.noCloneChecked&&(a.nodeType===1||a.nodeType===11)&&!m.isXMLDoc(a))for(M=ln(te),O=ln(a),w=0,R=O.length;w<R;w++)ni(O[w],M[w]);if(f)if(v)for(O=O||ln(a),M=M||ln(te),w=0,R=O.length;w<R;w++)ci(O[w],M[w]);else ci(a,te);return M=ln(te,"script"),M.length>0&&Qr(M,!K&&ln(a,"script")),te},cleanData:function(a){for(var f,v,w,R=m.event.special,O=0;(v=a[O])!==void 0;O++)if(sn(v)){if(f=v[at.expando]){if(f.events)for(w in f.events)R[w]?m.event.remove(v,w):m.removeEvent(v,w,f.handle);v[at.expando]=void 0}v[En.expando]&&(v[En.expando]=void 0)}}}),m.fn.extend({detach:function(a){return Vi(this,a,!0)},remove:function(a){return Vi(this,a)},text:function(a){return bn(this,function(f){return f===void 0?m.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=f)})},null,a,arguments.length)},append:function(){return fi(this,arguments,function(a){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var f=zi(this,a);f.appendChild(a)}})},prepend:function(){return fi(this,arguments,function(a){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var f=zi(this,a);f.insertBefore(a,f.firstChild)}})},before:function(){return fi(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return fi(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,f=0;(a=this[f])!=null;f++)a.nodeType===1&&(m.cleanData(ln(a,!1)),a.textContent="");return this},clone:function(a,f){return a=a??!1,f=f??a,this.map(function(){return m.clone(this,a,f)})},html:function(a){return bn(this,function(f){var v=this[0]||{},w=0,R=this.length;if(f===void 0&&v.nodeType===1)return v.innerHTML;if(typeof f=="string"&&!Zo.test(f)&&!kn[(Zr.exec(f)||["",""])[1].toLowerCase()]){f=m.htmlPrefilter(f);try{for(;w<R;w++)v=this[w]||{},v.nodeType===1&&(m.cleanData(ln(v,!1)),v.innerHTML=f);v=0}catch{}}v&&this.empty().append(f)},null,a,arguments.length)},replaceWith:function(){var a=[];return fi(this,arguments,function(f){var v=this.parentNode;m.inArray(this,a)<0&&(m.cleanData(ln(this)),v&&v.replaceChild(f,this))},a)}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,f){m.fn[a]=function(v){for(var w,R=[],O=m(v),M=O.length-1,te=0;te<=M;te++)w=te===M?this:this.clone(!0),m(O[te])[f](w),k.apply(R,w.get());return this.pushStack(R)}});var di=new RegExp("^("+ki+")(?!px)[a-z%]+$","i"),Hr=/^--/,fr=function(a){var f=a.ownerDocument.defaultView;return(!f||!f.opener)&&(f=t),f.getComputedStyle(a)},wr=function(a,f,v){var w,R,O={};for(R in f)O[R]=a.style[R],a.style[R]=f[R];w=v.call(a);for(R in f)a.style[R]=O[R];return w},Ur=new RegExp(Ln.join("|"),"i");(function(){function a(){if(fe){K.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",fe.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",br.appendChild(K).appendChild(fe);var Re=t.getComputedStyle(fe);v=Re.top!=="1%",te=f(Re.marginLeft)===12,fe.style.right="60%",O=f(Re.right)===36,w=f(Re.width)===36,fe.style.position="absolute",R=f(fe.offsetWidth/3)===12,br.removeChild(K),fe=null}}function f(Re){return Math.round(parseFloat(Re))}var v,w,R,O,M,te,K=F.createElement("div"),fe=F.createElement("div");fe.style&&(fe.style.backgroundClip="content-box",fe.cloneNode(!0).style.backgroundClip="",re.clearCloneStyle=fe.style.backgroundClip==="content-box",m.extend(re,{boxSizingReliable:function(){return a(),w},pixelBoxStyles:function(){return a(),O},pixelPosition:function(){return a(),v},reliableMarginLeft:function(){return a(),te},scrollboxSize:function(){return a(),R},reliableTrDimensions:function(){var Re,Oe,be,Fe;return M==null&&(Re=F.createElement("table"),Oe=F.createElement("tr"),be=F.createElement("div"),Re.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Oe.style.cssText="box-sizing:content-box;border:1px solid",Oe.style.height="1px",be.style.height="9px",be.style.display="block",br.appendChild(Re).appendChild(Oe).appendChild(be),Fe=t.getComputedStyle(Oe),M=parseInt(Fe.height,10)+parseInt(Fe.borderTopWidth,10)+parseInt(Fe.borderBottomWidth,10)===Oe.offsetHeight,br.removeChild(Re)),M}}))})();function Sr(a,f,v){var w,R,O,M,te=Hr.test(f),K=a.style;return v=v||fr(a),v&&(M=v.getPropertyValue(f)||v[f],te&&M&&(M=M.replace(Ct,"$1")||void 0),M===""&&!lr(a)&&(M=m.style(a,f)),!re.pixelBoxStyles()&&di.test(M)&&Ur.test(f)&&(w=K.width,R=K.minWidth,O=K.maxWidth,K.minWidth=K.maxWidth=K.width=M,M=v.width,K.width=w,K.minWidth=R,K.maxWidth=O)),M!==void 0?M+"":M}function Mn(a,f){return{get:function(){if(a()){delete this.get;return}return(this.get=f).apply(this,arguments)}}}var cn=["Webkit","Moz","ms"],xr=F.createElement("div").style,dr={};function Tn(a){for(var f=a[0].toUpperCase()+a.slice(1),v=cn.length;v--;)if(a=cn[v]+f,a in xr)return a}function ri(a){var f=m.cssProps[a]||dr[a];return f||(a in xr?a:dr[a]=Tn(a)||a)}var Cr=/^(none|table(?!-c[ea]).+)/,Wr={position:"absolute",visibility:"hidden",display:"block"},$n={letterSpacing:"0",fontWeight:"400"};function $r(a,f,v){var w=yr.exec(f);return w?Math.max(0,w[2]-(v||0))+(w[3]||"px"):f}function zr(a,f,v,w,R,O){var M=f==="width"?1:0,te=0,K=0,fe=0;if(v===(w?"border":"content"))return 0;for(;M<4;M+=2)v==="margin"&&(fe+=m.css(a,v+Ln[M],!0,R)),w?(v==="content"&&(K-=m.css(a,"padding"+Ln[M],!0,R)),v!=="margin"&&(K-=m.css(a,"border"+Ln[M]+"Width",!0,R))):(K+=m.css(a,"padding"+Ln[M],!0,R),v!=="padding"?K+=m.css(a,"border"+Ln[M]+"Width",!0,R):te+=m.css(a,"border"+Ln[M]+"Width",!0,R));return!w&&O>=0&&(K+=Math.max(0,Math.ceil(a["offset"+f[0].toUpperCase()+f.slice(1)]-O-K-te-.5))||0),K+fe}function _i(a,f,v){var w=fr(a),R=!re.boxSizingReliable()||v,O=R&&m.css(a,"boxSizing",!1,w)==="border-box",M=O,te=Sr(a,f,w),K="offset"+f[0].toUpperCase()+f.slice(1);if(di.test(te)){if(!v)return te;te="auto"}return(!re.boxSizingReliable()&&O||!re.reliableTrDimensions()&&ke(a,"tr")||te==="auto"||!parseFloat(te)&&m.css(a,"display",!1,w)==="inline")&&a.getClientRects().length&&(O=m.css(a,"boxSizing",!1,w)==="border-box",M=K in a,M&&(te=a[K])),te=parseFloat(te)||0,te+zr(a,f,v||(O?"border":"content"),M,w,te)+"px"}m.extend({cssHooks:{opacity:{get:function(a,f){if(f){var v=Sr(a,"opacity");return v===""?"1":v}}}},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(a,f,v,w){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var R,O,M,te=rn(f),K=Hr.test(f),fe=a.style;if(K||(f=ri(te)),M=m.cssHooks[f]||m.cssHooks[te],v!==void 0){if(O=typeof v,O==="string"&&(R=yr.exec(v))&&R[1]&&(v=so(a,f,R),O="number"),v==null||v!==v)return;O==="number"&&!K&&(v+=R&&R[3]||(m.cssNumber[te]?"":"px")),!re.clearCloneStyle&&v===""&&f.indexOf("background")===0&&(fe[f]="inherit"),(!M||!("set"in M)||(v=M.set(a,v,w))!==void 0)&&(K?fe.setProperty(f,v):fe[f]=v)}else return M&&"get"in M&&(R=M.get(a,!1,w))!==void 0?R:fe[f]}},css:function(a,f,v,w){var R,O,M,te=rn(f),K=Hr.test(f);return K||(f=ri(te)),M=m.cssHooks[f]||m.cssHooks[te],M&&"get"in M&&(R=M.get(a,!0,v)),R===void 0&&(R=Sr(a,f,w)),R==="normal"&&f in $n&&(R=$n[f]),v===""||v?(O=parseFloat(R),v===!0||isFinite(O)?O||0:R):R}}),m.each(["height","width"],function(a,f){m.cssHooks[f]={get:function(v,w,R){if(w)return Cr.test(m.css(v,"display"))&&(!v.getClientRects().length||!v.getBoundingClientRect().width)?wr(v,Wr,function(){return _i(v,f,R)}):_i(v,f,R)},set:function(v,w,R){var O,M=fr(v),te=!re.scrollboxSize()&&M.position==="absolute",K=te||R,fe=K&&m.css(v,"boxSizing",!1,M)==="border-box",Re=R?zr(v,f,R,fe,M):0;return fe&&te&&(Re-=Math.ceil(v["offset"+f[0].toUpperCase()+f.slice(1)]-parseFloat(M[f])-zr(v,f,"border",!1,M)-.5)),Re&&(O=yr.exec(w))&&(O[3]||"px")!=="px"&&(v.style[f]=w,w=m.css(v,f)),$r(v,w,Re)}}}),m.cssHooks.marginLeft=Mn(re.reliableMarginLeft,function(a,f){if(f)return(parseFloat(Sr(a,"marginLeft"))||a.getBoundingClientRect().left-wr(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px"}),m.each({margin:"",padding:"",border:"Width"},function(a,f){m.cssHooks[a+f]={expand:function(v){for(var w=0,R={},O=typeof v=="string"?v.split(" "):[v];w<4;w++)R[a+Ln[w]+f]=O[w]||O[w-2]||O[0];return R}},a!=="margin"&&(m.cssHooks[a+f].set=$r)}),m.fn.extend({css:function(a,f){return bn(this,function(v,w,R){var O,M,te={},K=0;if(Array.isArray(w)){for(O=fr(v),M=w.length;K<M;K++)te[w[K]]=m.css(v,w[K],!1,O);return te}return R!==void 0?m.style(v,w,R):m.css(v,w)},a,f,arguments.length>1)}});function Cn(a,f,v,w,R){return new Cn.prototype.init(a,f,v,w,R)}m.Tween=Cn,Cn.prototype={constructor:Cn,init:function(a,f,v,w,R,O){this.elem=a,this.prop=v,this.easing=R||m.easing._default,this.options=f,this.start=this.now=this.cur(),this.end=w,this.unit=O||(m.cssNumber[v]?"":"px")},cur:function(){var a=Cn.propHooks[this.prop];return a&&a.get?a.get(this):Cn.propHooks._default.get(this)},run:function(a){var f,v=Cn.propHooks[this.prop];return this.options.duration?this.pos=f=m.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=f=a,this.now=(this.end-this.start)*f+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),v&&v.set?v.set(this):Cn.propHooks._default.set(this),this}},Cn.prototype.init.prototype=Cn.prototype,Cn.propHooks={_default:{get:function(a){var f;return a.elem.nodeType!==1||a.elem[a.prop]!=null&&a.elem.style[a.prop]==null?a.elem[a.prop]:(f=m.css(a.elem,a.prop,""),!f||f==="auto"?0:f)},set:function(a){m.fx.step[a.prop]?m.fx.step[a.prop](a):a.elem.nodeType===1&&(m.cssHooks[a.prop]||a.elem.style[ri(a.prop)]!=null)?m.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Cn.propHooks.scrollTop=Cn.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},m.easing={linear:function(a){return a},swing:function(a){return .5-Math.cos(a*Math.PI)/2},_default:"swing"},m.fx=Cn.prototype.init,m.fx.step={};var hr,er,lo=/^(?:toggle|show|hide)$/,Ri=/queueHooks$/;function Er(){er&&(F.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(Er):t.setTimeout(Er,m.fx.interval),m.fx.tick())}function y(){return t.setTimeout(function(){hr=void 0}),hr=Date.now()}function I(a,f){var v,w=0,R={height:a};for(f=f?1:0;w<4;w+=2-f)v=Ln[w],R["margin"+v]=R["padding"+v]=a;return f&&(R.opacity=R.width=a),R}function H(a,f,v){for(var w,R=(ce.tweeners[f]||[]).concat(ce.tweeners["*"]),O=0,M=R.length;O<M;O++)if(w=R[O].call(v,f,a))return w}function G(a,f,v){var w,R,O,M,te,K,fe,Re,Oe="width"in f||"height"in f,be=this,Fe={},tt=a.style,_t=a.nodeType&&Nr(a),Ot=at.get(a,"fxshow");v.queue||(M=m._queueHooks(a,"fx"),M.unqueued==null&&(M.unqueued=0,te=M.empty.fire,M.empty.fire=function(){M.unqueued||te()}),M.unqueued++,be.always(function(){be.always(function(){M.unqueued--,m.queue(a,"fx").length||M.empty.fire()})}));for(w in f)if(R=f[w],lo.test(R)){if(delete f[w],O=O||R==="toggle",R===(_t?"hide":"show"))if(R==="show"&&Ot&&Ot[w]!==void 0)_t=!0;else continue;Fe[w]=Ot&&Ot[w]||m.style(a,w)}if(K=!m.isEmptyObject(f),!(!K&&m.isEmptyObject(Fe))){Oe&&a.nodeType===1&&(v.overflow=[tt.overflow,tt.overflowX,tt.overflowY],fe=Ot&&Ot.display,fe==null&&(fe=at.get(a,"display")),Re=m.css(a,"display"),Re==="none"&&(fe?Re=fe:(Xn([a],!0),fe=a.style.display||fe,Re=m.css(a,"display"),Xn([a]))),(Re==="inline"||Re==="inline-block"&&fe!=null)&&m.css(a,"float")==="none"&&(K||(be.done(function(){tt.display=fe}),fe==null&&(Re=tt.display,fe=Re==="none"?"":Re)),tt.display="inline-block")),v.overflow&&(tt.overflow="hidden",be.always(function(){tt.overflow=v.overflow[0],tt.overflowX=v.overflow[1],tt.overflowY=v.overflow[2]})),K=!1;for(w in Fe)K||(Ot?"hidden"in Ot&&(_t=Ot.hidden):Ot=at.access(a,"fxshow",{display:fe}),O&&(Ot.hidden=!_t),_t&&Xn([a],!0),be.done(function(){_t||Xn([a]),at.remove(a,"fxshow");for(w in Fe)m.style(a,w,Fe[w])})),K=H(_t?Ot[w]:0,w,be),w in Ot||(Ot[w]=K.start,_t&&(K.end=K.start,K.start=0))}}function Se(a,f){var v,w,R,O,M;for(v in a)if(w=rn(v),R=f[w],O=a[v],Array.isArray(O)&&(R=O[1],O=a[v]=O[0]),v!==w&&(a[w]=O,delete a[v]),M=m.cssHooks[w],M&&"expand"in M){O=M.expand(O),delete a[w];for(v in O)v in a||(a[v]=O[v],f[v]=R)}else f[w]=R}function ce(a,f,v){var w,R,O=0,M=ce.prefilters.length,te=m.Deferred().always(function(){delete K.elem}),K=function(){if(R)return!1;for(var Oe=hr||y(),be=Math.max(0,fe.startTime+fe.duration-Oe),Fe=be/fe.duration||0,tt=1-Fe,_t=0,Ot=fe.tweens.length;_t<Ot;_t++)fe.tweens[_t].run(tt);return te.notifyWith(a,[fe,tt,be]),tt<1&&Ot?be:(Ot||te.notifyWith(a,[fe,1,0]),te.resolveWith(a,[fe]),!1)},fe=te.promise({elem:a,props:m.extend({},f),opts:m.extend(!0,{specialEasing:{},easing:m.easing._default},v),originalProperties:f,originalOptions:v,startTime:hr||y(),duration:v.duration,tweens:[],createTween:function(Oe,be){var Fe=m.Tween(a,fe.opts,Oe,be,fe.opts.specialEasing[Oe]||fe.opts.easing);return fe.tweens.push(Fe),Fe},stop:function(Oe){var be=0,Fe=Oe?fe.tweens.length:0;if(R)return this;for(R=!0;be<Fe;be++)fe.tweens[be].run(1);return Oe?(te.notifyWith(a,[fe,1,0]),te.resolveWith(a,[fe,Oe])):te.rejectWith(a,[fe,Oe]),this}}),Re=fe.props;for(Se(Re,fe.opts.specialEasing);O<M;O++)if(w=ce.prefilters[O].call(fe,a,Re,fe.opts),w)return ne(w.stop)&&(m._queueHooks(fe.elem,fe.opts.queue).stop=w.stop.bind(w)),w;return m.map(Re,H,fe),ne(fe.opts.start)&&fe.opts.start.call(a,fe),fe.progress(fe.opts.progress).done(fe.opts.done,fe.opts.complete).fail(fe.opts.fail).always(fe.opts.always),m.fx.timer(m.extend(K,{elem:a,anim:fe,queue:fe.opts.queue})),fe}m.Animation=m.extend(ce,{tweeners:{"*":[function(a,f){var v=this.createTween(a,f);return so(v.elem,a,yr.exec(f),v),v}]},tweener:function(a,f){ne(a)?(f=a,a=["*"]):a=a.match(gt);for(var v,w=0,R=a.length;w<R;w++)v=a[w],ce.tweeners[v]=ce.tweeners[v]||[],ce.tweeners[v].unshift(f)},prefilters:[G],prefilter:function(a,f){f?ce.prefilters.unshift(a):ce.prefilters.push(a)}}),m.speed=function(a,f,v){var w=a&&typeof a=="object"?m.extend({},a):{complete:v||!v&&f||ne(a)&&a,duration:a,easing:v&&f||f&&!ne(f)&&f};return m.fx.off?w.duration=0:typeof w.duration!="number"&&(w.duration in m.fx.speeds?w.duration=m.fx.speeds[w.duration]:w.duration=m.fx.speeds._default),(w.queue==null||w.queue===!0)&&(w.queue="fx"),w.old=w.complete,w.complete=function(){ne(w.old)&&w.old.call(this),w.queue&&m.dequeue(this,w.queue)},w},m.fn.extend({fadeTo:function(a,f,v,w){return this.filter(Nr).css("opacity",0).show().end().animate({opacity:f},a,v,w)},animate:function(a,f,v,w){var R=m.isEmptyObject(a),O=m.speed(f,v,w),M=function(){var te=ce(this,m.extend({},a),O);(R||at.get(this,"finish"))&&te.stop(!0)};return M.finish=M,R||O.queue===!1?this.each(M):this.queue(O.queue,M)},stop:function(a,f,v){var w=function(R){var O=R.stop;delete R.stop,O(v)};return typeof a!="string"&&(v=f,f=a,a=void 0),f&&this.queue(a||"fx",[]),this.each(function(){var R=!0,O=a!=null&&a+"queueHooks",M=m.timers,te=at.get(this);if(O)te[O]&&te[O].stop&&w(te[O]);else for(O in te)te[O]&&te[O].stop&&Ri.test(O)&&w(te[O]);for(O=M.length;O--;)M[O].elem===this&&(a==null||M[O].queue===a)&&(M[O].anim.stop(v),R=!1,M.splice(O,1));(R||!v)&&m.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var f,v=at.get(this),w=v[a+"queue"],R=v[a+"queueHooks"],O=m.timers,M=w?w.length:0;for(v.finish=!0,m.queue(this,a,[]),R&&R.stop&&R.stop.call(this,!0),f=O.length;f--;)O[f].elem===this&&O[f].queue===a&&(O[f].anim.stop(!0),O.splice(f,1));for(f=0;f<M;f++)w[f]&&w[f].finish&&w[f].finish.call(this);delete v.finish})}}),m.each(["toggle","show","hide"],function(a,f){var v=m.fn[f];m.fn[f]=function(w,R,O){return w==null||typeof w=="boolean"?v.apply(this,arguments):this.animate(I(f,!0),w,R,O)}}),m.each({slideDown:I("show"),slideUp:I("hide"),slideToggle:I("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,f){m.fn[a]=function(v,w,R){return this.animate(f,v,w,R)}}),m.timers=[],m.fx.tick=function(){var a,f=0,v=m.timers;for(hr=Date.now();f<v.length;f++)a=v[f],!a()&&v[f]===a&&v.splice(f--,1);v.length||m.fx.stop(),hr=void 0},m.fx.timer=function(a){m.timers.push(a),m.fx.start()},m.fx.interval=13,m.fx.start=function(){er||(er=!0,Er())},m.fx.stop=function(){er=null},m.fx.speeds={slow:600,fast:200,_default:400},m.fn.delay=function(a,f){return a=m.fx&&m.fx.speeds[a]||a,f=f||"fx",this.queue(f,function(v,w){var R=t.setTimeout(v,a);w.stop=function(){t.clearTimeout(R)}})},function(){var a=F.createElement("input"),f=F.createElement("select"),v=f.appendChild(F.createElement("option"));a.type="checkbox",re.checkOn=a.value!=="",re.optSelected=v.selected,a=F.createElement("input"),a.value="t",a.type="radio",re.radioValue=a.value==="t"}();var _e,$e=m.expr.attrHandle;m.fn.extend({attr:function(a,f){return bn(this,m.attr,a,f,arguments.length>1)},removeAttr:function(a){return this.each(function(){m.removeAttr(this,a)})}}),m.extend({attr:function(a,f,v){var w,R,O=a.nodeType;if(!(O===3||O===8||O===2)){if(typeof a.getAttribute>"u")return m.prop(a,f,v);if((O!==1||!m.isXMLDoc(a))&&(R=m.attrHooks[f.toLowerCase()]||(m.expr.match.bool.test(f)?_e:void 0)),v!==void 0){if(v===null){m.removeAttr(a,f);return}return R&&"set"in R&&(w=R.set(a,v,f))!==void 0?w:(a.setAttribute(f,v+""),v)}return R&&"get"in R&&(w=R.get(a,f))!==null?w:(w=m.find.attr(a,f),w??void 0)}},attrHooks:{type:{set:function(a,f){if(!re.radioValue&&f==="radio"&&ke(a,"input")){var v=a.value;return a.setAttribute("type",f),v&&(a.value=v),f}}}},removeAttr:function(a,f){var v,w=0,R=f&&f.match(gt);if(R&&a.nodeType===1)for(;v=R[w++];)a.removeAttribute(v)}}),_e={set:function(a,f,v){return f===!1?m.removeAttr(a,v):a.setAttribute(v,v),v}},m.each(m.expr.match.bool.source.match(/\w+/g),function(a,f){var v=$e[f]||m.find.attr;$e[f]=function(w,R,O){var M,te,K=R.toLowerCase();return O||(te=$e[K],$e[K]=M,M=v(w,R,O)!=null?K:null,$e[K]=te),M}});var st=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;m.fn.extend({prop:function(a,f){return bn(this,m.prop,a,f,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[m.propFix[a]||a]})}}),m.extend({prop:function(a,f,v){var w,R,O=a.nodeType;if(!(O===3||O===8||O===2))return(O!==1||!m.isXMLDoc(a))&&(f=m.propFix[f]||f,R=m.propHooks[f]),v!==void 0?R&&"set"in R&&(w=R.set(a,v,f))!==void 0?w:a[f]=v:R&&"get"in R&&(w=R.get(a,f))!==null?w:a[f]},propHooks:{tabIndex:{get:function(a){var f=m.find.attr(a,"tabindex");return f?parseInt(f,10):st.test(a.nodeName)||yt.test(a.nodeName)&&a.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),re.optSelected||(m.propHooks.selected={get:function(a){var f=a.parentNode;return f&&f.parentNode&&f.parentNode.selectedIndex,null},set:function(a){var f=a.parentNode;f&&(f.selectedIndex,f.parentNode&&f.parentNode.selectedIndex)}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this});function ut(a){var f=a.match(gt)||[];return f.join(" ")}function jt(a){return a.getAttribute&&a.getAttribute("class")||""}function zn(a){return Array.isArray(a)?a:typeof a=="string"?a.match(gt)||[]:[]}m.fn.extend({addClass:function(a){var f,v,w,R,O,M;return ne(a)?this.each(function(te){m(this).addClass(a.call(this,te,jt(this)))}):(f=zn(a),f.length?this.each(function(){if(w=jt(this),v=this.nodeType===1&&" "+ut(w)+" ",v){for(O=0;O<f.length;O++)R=f[O],v.indexOf(" "+R+" ")<0&&(v+=R+" ");M=ut(v),w!==M&&this.setAttribute("class",M)}}):this)},removeClass:function(a){var f,v,w,R,O,M;return ne(a)?this.each(function(te){m(this).removeClass(a.call(this,te,jt(this)))}):arguments.length?(f=zn(a),f.length?this.each(function(){if(w=jt(this),v=this.nodeType===1&&" "+ut(w)+" ",v){for(O=0;O<f.length;O++)for(R=f[O];v.indexOf(" "+R+" ")>-1;)v=v.replace(" "+R+" "," ");M=ut(v),w!==M&&this.setAttribute("class",M)}}):this):this.attr("class","")},toggleClass:function(a,f){var v,w,R,O,M=typeof a,te=M==="string"||Array.isArray(a);return ne(a)?this.each(function(K){m(this).toggleClass(a.call(this,K,jt(this),f),f)}):typeof f=="boolean"&&te?f?this.addClass(a):this.removeClass(a):(v=zn(a),this.each(function(){if(te)for(O=m(this),R=0;R<v.length;R++)w=v[R],O.hasClass(w)?O.removeClass(w):O.addClass(w);else(a===void 0||M==="boolean")&&(w=jt(this),w&&at.set(this,"__className__",w),this.setAttribute&&this.setAttribute("class",w||a===!1?"":at.get(this,"__className__")||""))}))},hasClass:function(a){var f,v,w=0;for(f=" "+a+" ";v=this[w++];)if(v.nodeType===1&&(" "+ut(jt(v))+" ").indexOf(f)>-1)return!0;return!1}});var Fn=/\r/g;m.fn.extend({val:function(a){var f,v,w,R=this[0];return arguments.length?(w=ne(a),this.each(function(O){var M;this.nodeType===1&&(w?M=a.call(this,O,m(this).val()):M=a,M==null?M="":typeof M=="number"?M+="":Array.isArray(M)&&(M=m.map(M,function(te){return te==null?"":te+""})),f=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()],(!f||!("set"in f)||f.set(this,M,"value")===void 0)&&(this.value=M))})):R?(f=m.valHooks[R.type]||m.valHooks[R.nodeName.toLowerCase()],f&&"get"in f&&(v=f.get(R,"value"))!==void 0?v:(v=R.value,typeof v=="string"?v.replace(Fn,""):v??"")):void 0}}),m.extend({valHooks:{option:{get:function(a){var f=m.find.attr(a,"value");return f??ut(m.text(a))}},select:{get:function(a){var f,v,w,R=a.options,O=a.selectedIndex,M=a.type==="select-one",te=M?null:[],K=M?O+1:R.length;for(O<0?w=K:w=M?O:0;w<K;w++)if(v=R[w],(v.selected||w===O)&&!v.disabled&&(!v.parentNode.disabled||!ke(v.parentNode,"optgroup"))){if(f=m(v).val(),M)return f;te.push(f)}return te},set:function(a,f){for(var v,w,R=a.options,O=m.makeArray(f),M=R.length;M--;)w=R[M],(w.selected=m.inArray(m.valHooks.option.get(w),O)>-1)&&(v=!0);return v||(a.selectedIndex=-1),O}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(a,f){if(Array.isArray(f))return a.checked=m.inArray(m(a).val(),f)>-1}},re.checkOn||(m.valHooks[this].get=function(a){return a.getAttribute("value")===null?"on":a.value})});var wn=t.location,kr={guid:Date.now()},Kn=/\?/;m.parseXML=function(a){var f,v;if(!a||typeof a!="string")return null;try{f=new t.DOMParser().parseFromString(a,"text/xml")}catch{}return v=f&&f.getElementsByTagName("parsererror")[0],(!f||v)&&m.error("Invalid XML: "+(v?m.map(v.childNodes,function(w){return w.textContent}).join(`
167
- `):a)),f};var Ii=/^(?:focusinfocus|focusoutblur)$/,ii=function(a){a.stopPropagation()};m.extend(m.event,{trigger:function(a,f,v,w){var R,O,M,te,K,fe,Re,Oe,be=[v||F],Fe=L.call(a,"type")?a.type:a,tt=L.call(a,"namespace")?a.namespace.split("."):[];if(O=Oe=M=v=v||F,!(v.nodeType===3||v.nodeType===8)&&!Ii.test(Fe+m.event.triggered)&&(Fe.indexOf(".")>-1&&(tt=Fe.split("."),Fe=tt.shift(),tt.sort()),K=Fe.indexOf(":")<0&&"on"+Fe,a=a[m.expando]?a:new m.Event(Fe,typeof a=="object"&&a),a.isTrigger=w?2:3,a.namespace=tt.join("."),a.rnamespace=a.namespace?new RegExp("(^|\\.)"+tt.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,a.result=void 0,a.target||(a.target=v),f=f==null?[a]:m.makeArray(f,[a]),Re=m.event.special[Fe]||{},!(!w&&Re.trigger&&Re.trigger.apply(v,f)===!1))){if(!w&&!Re.noBubble&&!J(v)){for(te=Re.delegateType||Fe,Ii.test(te+Fe)||(O=O.parentNode);O;O=O.parentNode)be.push(O),M=O;M===(v.ownerDocument||F)&&be.push(M.defaultView||M.parentWindow||t)}for(R=0;(O=be[R++])&&!a.isPropagationStopped();)Oe=O,a.type=R>1?te:Re.bindType||Fe,fe=(at.get(O,"events")||Object.create(null))[a.type]&&at.get(O,"handle"),fe&&fe.apply(O,f),fe=K&&O[K],fe&&fe.apply&&sn(O)&&(a.result=fe.apply(O,f),a.result===!1&&a.preventDefault());return a.type=Fe,!w&&!a.isDefaultPrevented()&&(!Re._default||Re._default.apply(be.pop(),f)===!1)&&sn(v)&&K&&ne(v[Fe])&&!J(v)&&(M=v[K],M&&(v[K]=null),m.event.triggered=Fe,a.isPropagationStopped()&&Oe.addEventListener(Fe,ii),v[Fe](),a.isPropagationStopped()&&Oe.removeEventListener(Fe,ii),m.event.triggered=void 0,M&&(v[K]=M)),a.result}},simulate:function(a,f,v){var w=m.extend(new m.Event,v,{type:a,isSimulated:!0});m.event.trigger(w,null,f)}}),m.fn.extend({trigger:function(a,f){return this.each(function(){m.event.trigger(a,f,this)})},triggerHandler:function(a,f){var v=this[0];if(v)return m.event.trigger(a,f,v,!0)}});var Oi=/\[\]$/,Tr=/\r?\n/g,co=/^(?:submit|button|image|reset|file)$/i,Ja=/^(?:input|select|textarea|keygen)/i;function ea(a,f,v,w){var R;if(Array.isArray(f))m.each(f,function(O,M){v||Oi.test(a)?w(a,M):ea(a+"["+(typeof M=="object"&&M!=null?O:"")+"]",M,v,w)});else if(!v&&Ie(f)==="object")for(R in f)ea(a+"["+R+"]",f[R],v,w);else w(a,f)}m.param=function(a,f){var v,w=[],R=function(O,M){var te=ne(M)?M():M;w[w.length]=encodeURIComponent(O)+"="+encodeURIComponent(te??"")};if(a==null)return"";if(Array.isArray(a)||a.jquery&&!m.isPlainObject(a))m.each(a,function(){R(this.name,this.value)});else for(v in a)ea(v,a[v],f,R);return w.join("&")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=m.prop(this,"elements");return a?m.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!m(this).is(":disabled")&&Ja.test(this.nodeName)&&!co.test(a)&&(this.checked||!Vt.test(a))}).map(function(a,f){var v=m(this).val();return v==null?null:Array.isArray(v)?m.map(v,function(w){return{name:f.name,value:w.replace(Tr,`\r
168
- `)}}):{name:f.name,value:v.replace(Tr,`\r
169
- `)}}).get()}});var ta=/%20/g,na=/#.*$/,ra=/([?&])_=[^&]*/,oi=/^(.*?):[ \t]*([^\r\n]*)$/mg,fo=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Po=/^(?:GET|HEAD)$/,en=/^\/\//,Gt={},Nt={},hi="*/".concat("*"),Yr=F.createElement("a");Yr.href=wn.href;function ho(a){return function(f,v){typeof f!="string"&&(v=f,f="*");var w,R=0,O=f.toLowerCase().match(gt)||[];if(ne(v))for(;w=O[R++];)w[0]==="+"?(w=w.slice(1)||"*",(a[w]=a[w]||[]).unshift(v)):(a[w]=a[w]||[]).push(v)}}function ai(a,f,v,w){var R={},O=a===Nt;function M(te){var K;return R[te]=!0,m.each(a[te]||[],function(fe,Re){var Oe=Re(f,v,w);if(typeof Oe=="string"&&!O&&!R[Oe])return f.dataTypes.unshift(Oe),M(Oe),!1;if(O)return!(K=Oe)}),K}return M(f.dataTypes[0])||!R["*"]&&M("*")}function tr(a,f){var v,w,R=m.ajaxSettings.flatOptions||{};for(v in f)f[v]!==void 0&&((R[v]?a:w||(w={}))[v]=f[v]);return w&&m.extend(!0,a,w),a}function ia(a,f,v){for(var w,R,O,M,te=a.contents,K=a.dataTypes;K[0]==="*";)K.shift(),w===void 0&&(w=a.mimeType||f.getResponseHeader("Content-Type"));if(w){for(R in te)if(te[R]&&te[R].test(w)){K.unshift(R);break}}if(K[0]in v)O=K[0];else{for(R in v){if(!K[0]||a.converters[R+" "+K[0]]){O=R;break}M||(M=R)}O=O||M}if(O)return O!==K[0]&&K.unshift(O),v[O]}function Lo(a,f,v,w){var R,O,M,te,K,fe={},Re=a.dataTypes.slice();if(Re[1])for(M in a.converters)fe[M.toLowerCase()]=a.converters[M];for(O=Re.shift();O;)if(a.responseFields[O]&&(v[a.responseFields[O]]=f),!K&&w&&a.dataFilter&&(f=a.dataFilter(f,a.dataType)),K=O,O=Re.shift(),O){if(O==="*")O=K;else if(K!=="*"&&K!==O){if(M=fe[K+" "+O]||fe["* "+O],!M){for(R in fe)if(te=R.split(" "),te[1]===O&&(M=fe[K+" "+te[0]]||fe["* "+te[0]],M)){M===!0?M=fe[R]:fe[R]!==!0&&(O=te[0],Re.unshift(te[1]));break}}if(M!==!0)if(M&&a.throws)f=M(f);else try{f=M(f)}catch(Oe){return{state:"parsererror",error:M?Oe:"No conversion from "+K+" to "+O}}}}return{state:"success",data:f}}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wn.href,type:"GET",isLocal:fo.test(wn.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":hi,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":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,f){return f?tr(tr(a,m.ajaxSettings),f):tr(m.ajaxSettings,a)},ajaxPrefilter:ho(Gt),ajaxTransport:ho(Nt),ajax:function(a,f){typeof a=="object"&&(f=a,a=void 0),f=f||{};var v,w,R,O,M,te,K,fe,Re,Oe,be=m.ajaxSetup({},f),Fe=be.context||be,tt=be.context&&(Fe.nodeType||Fe.jquery)?m(Fe):m.event,_t=m.Deferred(),Ot=m.Callbacks("once memory"),_n=be.statusCode||{},an={},_r={},Rr="canceled",Ht={readyState:0,getResponseHeader:function(Ut){var Zt;if(K){if(!O)for(O={};Zt=oi.exec(R);)O[Zt[1].toLowerCase()+" "]=(O[Zt[1].toLowerCase()+" "]||[]).concat(Zt[2]);Zt=O[Ut.toLowerCase()+" "]}return Zt==null?null:Zt.join(", ")},getAllResponseHeaders:function(){return K?R:null},setRequestHeader:function(Ut,Zt){return K==null&&(Ut=_r[Ut.toLowerCase()]=_r[Ut.toLowerCase()]||Ut,an[Ut]=Zt),this},overrideMimeType:function(Ut){return K==null&&(be.mimeType=Ut),this},statusCode:function(Ut){var Zt;if(Ut)if(K)Ht.always(Ut[Ht.status]);else for(Zt in Ut)_n[Zt]=[_n[Zt],Ut[Zt]];return this},abort:function(Ut){var Zt=Ut||Rr;return v&&v.abort(Zt),Ir(0,Zt),this}};if(_t.promise(Ht),be.url=((a||be.url||wn.href)+"").replace(en,wn.protocol+"//"),be.type=f.method||f.type||be.method||be.type,be.dataTypes=(be.dataType||"*").toLowerCase().match(gt)||[""],be.crossDomain==null){te=F.createElement("a");try{te.href=be.url,te.href=te.href,be.crossDomain=Yr.protocol+"//"+Yr.host!=te.protocol+"//"+te.host}catch{be.crossDomain=!0}}if(be.data&&be.processData&&typeof be.data!="string"&&(be.data=m.param(be.data,be.traditional)),ai(Gt,be,f,Ht),K)return Ht;fe=m.event&&be.global,fe&&m.active++===0&&m.event.trigger("ajaxStart"),be.type=be.type.toUpperCase(),be.hasContent=!Po.test(be.type),w=be.url.replace(na,""),be.hasContent?be.data&&be.processData&&(be.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(be.data=be.data.replace(ta,"+")):(Oe=be.url.slice(w.length),be.data&&(be.processData||typeof be.data=="string")&&(w+=(Kn.test(w)?"&":"?")+be.data,delete be.data),be.cache===!1&&(w=w.replace(ra,"$1"),Oe=(Kn.test(w)?"&":"?")+"_="+kr.guid+++Oe),be.url=w+Oe),be.ifModified&&(m.lastModified[w]&&Ht.setRequestHeader("If-Modified-Since",m.lastModified[w]),m.etag[w]&&Ht.setRequestHeader("If-None-Match",m.etag[w])),(be.data&&be.hasContent&&be.contentType!==!1||f.contentType)&&Ht.setRequestHeader("Content-Type",be.contentType),Ht.setRequestHeader("Accept",be.dataTypes[0]&&be.accepts[be.dataTypes[0]]?be.accepts[be.dataTypes[0]]+(be.dataTypes[0]!=="*"?", "+hi+"; q=0.01":""):be.accepts["*"]);for(Re in be.headers)Ht.setRequestHeader(Re,be.headers[Re]);if(be.beforeSend&&(be.beforeSend.call(Fe,Ht,be)===!1||K))return Ht.abort();if(Rr="abort",Ot.add(be.complete),Ht.done(be.success),Ht.fail(be.error),v=ai(Nt,be,f,Ht),!v)Ir(-1,"No Transport");else{if(Ht.readyState=1,fe&&tt.trigger("ajaxSend",[Ht,be]),K)return Ht;be.async&&be.timeout>0&&(M=t.setTimeout(function(){Ht.abort("timeout")},be.timeout));try{K=!1,v.send(an,Ir)}catch(Ut){if(K)throw Ut;Ir(-1,Ut)}}function Ir(Ut,Zt,qi,Xi){var pr,b,_,N,V,ge=Zt;K||(K=!0,M&&t.clearTimeout(M),v=void 0,R=Xi||"",Ht.readyState=Ut>0?4:0,pr=Ut>=200&&Ut<300||Ut===304,qi&&(N=ia(be,Ht,qi)),!pr&&m.inArray("script",be.dataTypes)>-1&&m.inArray("json",be.dataTypes)<0&&(be.converters["text script"]=function(){}),N=Lo(be,N,Ht,pr),pr?(be.ifModified&&(V=Ht.getResponseHeader("Last-Modified"),V&&(m.lastModified[w]=V),V=Ht.getResponseHeader("etag"),V&&(m.etag[w]=V)),Ut===204||be.type==="HEAD"?ge="nocontent":Ut===304?ge="notmodified":(ge=N.state,b=N.data,_=N.error,pr=!_)):(_=ge,(Ut||!ge)&&(ge="error",Ut<0&&(Ut=0))),Ht.status=Ut,Ht.statusText=(Zt||ge)+"",pr?_t.resolveWith(Fe,[b,ge,Ht]):_t.rejectWith(Fe,[Ht,ge,_]),Ht.statusCode(_n),_n=void 0,fe&&tt.trigger(pr?"ajaxSuccess":"ajaxError",[Ht,be,pr?b:_]),Ot.fireWith(Fe,[Ht,ge]),fe&&(tt.trigger("ajaxComplete",[Ht,be]),--m.active||m.event.trigger("ajaxStop")))}return Ht},getJSON:function(a,f,v){return m.get(a,f,v,"json")},getScript:function(a,f){return m.get(a,void 0,f,"script")}}),m.each(["get","post"],function(a,f){m[f]=function(v,w,R,O){return ne(w)&&(O=O||R,R=w,w=void 0),m.ajax(m.extend({url:v,type:f,dataType:O,data:w,success:R},m.isPlainObject(v)&&v))}}),m.ajaxPrefilter(function(a){var f;for(f in a.headers)f.toLowerCase()==="content-type"&&(a.contentType=a.headers[f]||"")}),m._evalUrl=function(a,f,v){return m.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(w){m.globalEval(w,f,v)}})},m.fn.extend({wrapAll:function(a){var f;return this[0]&&(ne(a)&&(a=a.call(this[0])),f=m(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&f.insertBefore(this[0]),f.map(function(){for(var v=this;v.firstElementChild;)v=v.firstElementChild;return v}).append(this)),this},wrapInner:function(a){return ne(a)?this.each(function(f){m(this).wrapInner(a.call(this,f))}):this.each(function(){var f=m(this),v=f.contents();v.length?v.wrapAll(a):f.append(a)})},wrap:function(a){var f=ne(a);return this.each(function(v){m(this).wrapAll(f?a.call(this,v):a)})},unwrap:function(a){return this.parent(a).not("body").each(function(){m(this).replaceWith(this.childNodes)}),this}}),m.expr.pseudos.hidden=function(a){return!m.expr.pseudos.visible(a)},m.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},m.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var xa={0:200,1223:204},dn=m.ajaxSettings.xhr();re.cors=!!dn&&"withCredentials"in dn,re.ajax=dn=!!dn,m.ajaxTransport(function(a){var f,v;if(re.cors||dn&&!a.crossDomain)return{send:function(w,R){var O,M=a.xhr();if(M.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(O in a.xhrFields)M[O]=a.xhrFields[O];a.mimeType&&M.overrideMimeType&&M.overrideMimeType(a.mimeType),!a.crossDomain&&!w["X-Requested-With"]&&(w["X-Requested-With"]="XMLHttpRequest");for(O in w)M.setRequestHeader(O,w[O]);f=function(te){return function(){f&&(f=v=M.onload=M.onerror=M.onabort=M.ontimeout=M.onreadystatechange=null,te==="abort"?M.abort():te==="error"?typeof M.status!="number"?R(0,"error"):R(M.status,M.statusText):R(xa[M.status]||M.status,M.statusText,(M.responseType||"text")!=="text"||typeof M.responseText!="string"?{binary:M.response}:{text:M.responseText},M.getAllResponseHeaders()))}},M.onload=f(),v=M.onerror=M.ontimeout=f("error"),M.onabort!==void 0?M.onabort=v:M.onreadystatechange=function(){M.readyState===4&&t.setTimeout(function(){f&&v()})},f=f("abort");try{M.send(a.hasContent&&a.data||null)}catch(te){if(f)throw te}},abort:function(){f&&f()}}}),m.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return m.globalEval(a),a}}}),m.ajaxPrefilter("script",function(a){a.cache===void 0&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),m.ajaxTransport("script",function(a){if(a.crossDomain||a.scriptAttrs){var f,v;return{send:function(w,R){f=m("<script>").attr(a.scriptAttrs||{}).prop({charset:a.scriptCharset,src:a.url}).on("load error",v=function(O){f.remove(),v=null,O&&R(O.type==="error"?404:200,O.type)}),F.head.appendChild(f[0])},abort:function(){v&&v()}}}});var po=[],si=/(=)\?(?=&|$)|\?\?/;m.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=po.pop()||m.expando+"_"+kr.guid++;return this[a]=!0,a}}),m.ajaxPrefilter("json jsonp",function(a,f,v){var w,R,O,M=a.jsonp!==!1&&(si.test(a.url)?"url":typeof a.data=="string"&&(a.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&si.test(a.data)&&"data");if(M||a.dataTypes[0]==="jsonp")return w=a.jsonpCallback=ne(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,M?a[M]=a[M].replace(si,"$1"+w):a.jsonp!==!1&&(a.url+=(Kn.test(a.url)?"&":"?")+a.jsonp+"="+w),a.converters["script json"]=function(){return O||m.error(w+" was not called"),O[0]},a.dataTypes[0]="json",R=t[w],t[w]=function(){O=arguments},v.always(function(){R===void 0?m(t).removeProp(w):t[w]=R,a[w]&&(a.jsonpCallback=f.jsonpCallback,po.push(w)),O&&ne(R)&&R(O[0]),O=R=void 0}),"script"}),re.createHTMLDocument=function(){var a=F.implementation.createHTMLDocument("").body;return a.innerHTML="<form></form><form></form>",a.childNodes.length===2}(),m.parseHTML=function(a,f,v){if(typeof a!="string")return[];typeof f=="boolean"&&(v=f,f=!1);var w,R,O;return f||(re.createHTMLDocument?(f=F.implementation.createHTMLDocument(""),w=f.createElement("base"),w.href=F.location.href,f.head.appendChild(w)):f=F),R=Ye.exec(a),O=!v&&[],R?[f.createElement(R[1])]:(R=fn([a],f,O),O&&O.length&&m(O).remove(),m.merge([],R.childNodes))},m.fn.load=function(a,f,v){var w,R,O,M=this,te=a.indexOf(" ");return te>-1&&(w=ut(a.slice(te)),a=a.slice(0,te)),ne(f)?(v=f,f=void 0):f&&typeof f=="object"&&(R="POST"),M.length>0&&m.ajax({url:a,type:R||"GET",dataType:"html",data:f}).done(function(K){O=arguments,M.html(w?m("<div>").append(m.parseHTML(K)).find(w):K)}).always(v&&function(K,fe){M.each(function(){v.apply(this,O||[K.responseText,fe,K])})}),this},m.expr.pseudos.animated=function(a){return m.grep(m.timers,function(f){return a===f.elem}).length},m.offset={setOffset:function(a,f,v){var w,R,O,M,te,K,fe,Re=m.css(a,"position"),Oe=m(a),be={};Re==="static"&&(a.style.position="relative"),te=Oe.offset(),O=m.css(a,"top"),K=m.css(a,"left"),fe=(Re==="absolute"||Re==="fixed")&&(O+K).indexOf("auto")>-1,fe?(w=Oe.position(),M=w.top,R=w.left):(M=parseFloat(O)||0,R=parseFloat(K)||0),ne(f)&&(f=f.call(a,v,m.extend({},te))),f.top!=null&&(be.top=f.top-te.top+M),f.left!=null&&(be.left=f.left-te.left+R),"using"in f?f.using.call(a,be):Oe.css(be)}},m.fn.extend({offset:function(a){if(arguments.length)return a===void 0?this:this.each(function(R){m.offset.setOffset(this,a,R)});var f,v,w=this[0];if(w)return w.getClientRects().length?(f=w.getBoundingClientRect(),v=w.ownerDocument.defaultView,{top:f.top+v.pageYOffset,left:f.left+v.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var a,f,v,w=this[0],R={top:0,left:0};if(m.css(w,"position")==="fixed")f=w.getBoundingClientRect();else{for(f=this.offset(),v=w.ownerDocument,a=w.offsetParent||v.documentElement;a&&(a===v.body||a===v.documentElement)&&m.css(a,"position")==="static";)a=a.parentNode;a&&a!==w&&a.nodeType===1&&(R=m(a).offset(),R.top+=m.css(a,"borderTopWidth",!0),R.left+=m.css(a,"borderLeftWidth",!0))}return{top:f.top-R.top-m.css(w,"marginTop",!0),left:f.left-R.left-m.css(w,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent;a&&m.css(a,"position")==="static";)a=a.offsetParent;return a||br})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,f){var v=f==="pageYOffset";m.fn[a]=function(w){return bn(this,function(R,O,M){var te;if(J(R)?te=R:R.nodeType===9&&(te=R.defaultView),M===void 0)return te?te[f]:R[O];te?te.scrollTo(v?te.pageXOffset:M,v?M:te.pageYOffset):R[O]=M},a,w,arguments.length)}}),m.each(["top","left"],function(a,f){m.cssHooks[f]=Mn(re.pixelPosition,function(v,w){if(w)return w=Sr(v,f),di.test(w)?m(v).position()[f]+"px":w})}),m.each({Height:"height",Width:"width"},function(a,f){m.each({padding:"inner"+a,content:f,"":"outer"+a},function(v,w){m.fn[w]=function(R,O){var M=arguments.length&&(v||typeof R!="boolean"),te=v||(R===!0||O===!0?"margin":"border");return bn(this,function(K,fe,Re){var Oe;return J(K)?w.indexOf("outer")===0?K["inner"+a]:K.document.documentElement["client"+a]:K.nodeType===9?(Oe=K.documentElement,Math.max(K.body["scroll"+a],Oe["scroll"+a],K.body["offset"+a],Oe["offset"+a],Oe["client"+a])):Re===void 0?m.css(K,fe,te):m.style(K,fe,Re,te)},f,M?R:void 0,M)}})}),m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,f){m.fn[f]=function(v){return this.on(f,v)}}),m.fn.extend({bind:function(a,f,v){return this.on(a,null,f,v)},unbind:function(a,f){return this.off(a,null,f)},delegate:function(a,f,v,w){return this.on(f,a,v,w)},undelegate:function(a,f,v){return arguments.length===1?this.off(a,"**"):this.off(f,a||"**",v)},hover:function(a,f){return this.on("mouseenter",a).on("mouseleave",f||a)}}),m.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(a,f){m.fn[f]=function(v,w){return arguments.length>0?this.on(f,null,v,w):this.trigger(f)}});var Ca=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;m.proxy=function(a,f){var v,w,R;if(typeof f=="string"&&(v=a[f],f=a,a=v),!!ne(a))return w=l.call(arguments,2),R=function(){return a.apply(f||this,w.concat(l.call(arguments)))},R.guid=a.guid=a.guid||m.guid++,R},m.holdReady=function(a){a?m.readyWait++:m.ready(!0)},m.isArray=Array.isArray,m.parseJSON=JSON.parse,m.nodeName=ke,m.isFunction=ne,m.isWindow=J,m.camelCase=rn,m.type=Ie,m.now=Date.now,m.isNumeric=function(a){var f=m.type(a);return(f==="number"||f==="string")&&!isNaN(a-parseFloat(a))},m.trim=function(a){return a==null?"":(a+"").replace(Ca,"$1")};var Gi=t.jQuery,Yn=t.$;return m.noConflict=function(a){return t.$===m&&(t.$=Yn),a&&t.jQuery===m&&(t.jQuery=Gi),m},typeof n>"u"&&(t.jQuery=t.$=m),m})}(Pf)),Pf.exports}var K1=Og();const J1=ac(K1);var Z1={exports:{}};/**
170
- * @version: 3.1
171
- * @author: Dan Grossman http://www.dangrossman.info/
172
- * @copyright: Copyright (c) 2012-2019 Dan Grossman. All rights reserved.
173
- * @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
174
- * @website: http://www.daterangepicker.com/
175
- */(function(i){(function(t,n){if(i.exports){var s=typeof window<"u"?window.jQuery:void 0;s||(s=Og(),s.fn||(s.fn={}));var o=typeof window<"u"&&typeof window.moment<"u"?window.moment:W0;i.exports=n(o,s)}else t.daterangepicker=n(t.moment,t.jQuery)})(Ro,function(t,n){var s=function(o,l,g){if(this.parentEl="body",this.element=n(o),this.startDate=t().startOf("day"),this.endDate=t().endOf("day"),this.minDate=!1,this.maxDate=!1,this.maxSpan=!1,this.autoApply=!1,this.singleDatePicker=!1,this.showDropdowns=!1,this.minYear=t().subtract(100,"year").format("YYYY"),this.maxYear=t().add(100,"year").format("YYYY"),this.showWeekNumbers=!1,this.showISOWeekNumbers=!1,this.showCustomRangeLabel=!0,this.timePicker=!1,this.timePicker24Hour=!1,this.timePickerIncrement=1,this.timePickerSeconds=!1,this.linkedCalendars=!0,this.autoUpdateInput=!0,this.alwaysShowCalendars=!1,this.ranges={},this.opens="right",this.element.hasClass("pull-right")&&(this.opens="left"),this.drops="down",this.element.hasClass("dropup")&&(this.drops="up"),this.buttonClasses="btn btn-sm",this.applyButtonClasses="btn-primary",this.cancelButtonClasses="btn-default",this.locale={direction:"ltr",format:t.localeData().longDateFormat("L"),separator:" - ",applyLabel:"Apply",cancelLabel:"Cancel",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:t.weekdaysMin(),monthNames:t.monthsShort(),firstDay:t.localeData().firstDayOfWeek()},this.callback=function(){},this.isShowing=!1,this.leftCalendar={},this.rightCalendar={},(typeof l!="object"||l===null)&&(l={}),l=n.extend(this.element.data(),l),typeof l.template!="string"&&!(l.template instanceof n)&&(l.template='<div class="daterangepicker"><div class="ranges"></div><div class="drp-calendar left"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-calendar right"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-buttons"><span class="drp-selected"></span><button class="cancelBtn" type="button"></button><button class="applyBtn" disabled="disabled" type="button"></button> </div></div>'),this.parentEl=l.parentEl&&n(l.parentEl).length?n(l.parentEl):n(this.parentEl),this.container=n(l.template).appendTo(this.parentEl),typeof l.locale=="object"&&(typeof l.locale.direction=="string"&&(this.locale.direction=l.locale.direction),typeof l.locale.format=="string"&&(this.locale.format=l.locale.format),typeof l.locale.separator=="string"&&(this.locale.separator=l.locale.separator),typeof l.locale.daysOfWeek=="object"&&(this.locale.daysOfWeek=l.locale.daysOfWeek.slice()),typeof l.locale.monthNames=="object"&&(this.locale.monthNames=l.locale.monthNames.slice()),typeof l.locale.firstDay=="number"&&(this.locale.firstDay=l.locale.firstDay),typeof l.locale.applyLabel=="string"&&(this.locale.applyLabel=l.locale.applyLabel),typeof l.locale.cancelLabel=="string"&&(this.locale.cancelLabel=l.locale.cancelLabel),typeof l.locale.weekLabel=="string"&&(this.locale.weekLabel=l.locale.weekLabel),typeof l.locale.customRangeLabel=="string")){var k=document.createElement("textarea");k.innerHTML=l.locale.customRangeLabel;var C=k.value;this.locale.customRangeLabel=C}if(this.container.addClass(this.locale.direction),typeof l.startDate=="string"&&(this.startDate=t(l.startDate,this.locale.format)),typeof l.endDate=="string"&&(this.endDate=t(l.endDate,this.locale.format)),typeof l.minDate=="string"&&(this.minDate=t(l.minDate,this.locale.format)),typeof l.maxDate=="string"&&(this.maxDate=t(l.maxDate,this.locale.format)),typeof l.startDate=="object"&&(this.startDate=t(l.startDate)),typeof l.endDate=="object"&&(this.endDate=t(l.endDate)),typeof l.minDate=="object"&&(this.minDate=t(l.minDate)),typeof l.maxDate=="object"&&(this.maxDate=t(l.maxDate)),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),typeof l.applyButtonClasses=="string"&&(this.applyButtonClasses=l.applyButtonClasses),typeof l.applyClass=="string"&&(this.applyButtonClasses=l.applyClass),typeof l.cancelButtonClasses=="string"&&(this.cancelButtonClasses=l.cancelButtonClasses),typeof l.cancelClass=="string"&&(this.cancelButtonClasses=l.cancelClass),typeof l.maxSpan=="object"&&(this.maxSpan=l.maxSpan),typeof l.dateLimit=="object"&&(this.maxSpan=l.dateLimit),typeof l.opens=="string"&&(this.opens=l.opens),typeof l.drops=="string"&&(this.drops=l.drops),typeof l.showWeekNumbers=="boolean"&&(this.showWeekNumbers=l.showWeekNumbers),typeof l.showISOWeekNumbers=="boolean"&&(this.showISOWeekNumbers=l.showISOWeekNumbers),typeof l.buttonClasses=="string"&&(this.buttonClasses=l.buttonClasses),typeof l.buttonClasses=="object"&&(this.buttonClasses=l.buttonClasses.join(" ")),typeof l.showDropdowns=="boolean"&&(this.showDropdowns=l.showDropdowns),typeof l.minYear=="number"&&(this.minYear=l.minYear),typeof l.maxYear=="number"&&(this.maxYear=l.maxYear),typeof l.showCustomRangeLabel=="boolean"&&(this.showCustomRangeLabel=l.showCustomRangeLabel),typeof l.singleDatePicker=="boolean"&&(this.singleDatePicker=l.singleDatePicker,this.singleDatePicker&&(this.endDate=this.startDate.clone())),typeof l.timePicker=="boolean"&&(this.timePicker=l.timePicker),typeof l.timePickerSeconds=="boolean"&&(this.timePickerSeconds=l.timePickerSeconds),typeof l.timePickerIncrement=="number"&&(this.timePickerIncrement=l.timePickerIncrement),typeof l.timePicker24Hour=="boolean"&&(this.timePicker24Hour=l.timePicker24Hour),typeof l.autoApply=="boolean"&&(this.autoApply=l.autoApply),typeof l.autoUpdateInput=="boolean"&&(this.autoUpdateInput=l.autoUpdateInput),typeof l.linkedCalendars=="boolean"&&(this.linkedCalendars=l.linkedCalendars),typeof l.isInvalidDate=="function"&&(this.isInvalidDate=l.isInvalidDate),typeof l.isCustomDate=="function"&&(this.isCustomDate=l.isCustomDate),typeof l.alwaysShowCalendars=="boolean"&&(this.alwaysShowCalendars=l.alwaysShowCalendars),this.locale.firstDay!=0)for(var A=this.locale.firstDay;A>0;)this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()),A--;var U,L,q;if(typeof l.startDate>"u"&&typeof l.endDate>"u"&&n(this.element).is(":text")){var Q=n(this.element).val(),re=Q.split(this.locale.separator);U=L=null,re.length==2?(U=t(re[0],this.locale.format),L=t(re[1],this.locale.format)):this.singleDatePicker&&Q!==""&&(U=t(Q,this.locale.format),L=t(Q,this.locale.format)),U!==null&&L!==null&&(this.setStartDate(U),this.setEndDate(L))}if(typeof l.ranges=="object"){for(q in l.ranges){typeof l.ranges[q][0]=="string"?U=t(l.ranges[q][0],this.locale.format):U=t(l.ranges[q][0]),typeof l.ranges[q][1]=="string"?L=t(l.ranges[q][1],this.locale.format):L=t(l.ranges[q][1]),this.minDate&&U.isBefore(this.minDate)&&(U=this.minDate.clone());var ne=this.maxDate;if(this.maxSpan&&ne&&U.clone().add(this.maxSpan).isAfter(ne)&&(ne=U.clone().add(this.maxSpan)),ne&&L.isAfter(ne)&&(L=ne.clone()),!(this.minDate&&L.isBefore(this.minDate,this.timepicker?"minute":"day")||ne&&U.isAfter(ne,this.timepicker?"minute":"day"))){var k=document.createElement("textarea");k.innerHTML=q;var C=k.value;this.ranges[C]=[U,L]}}var J="<ul>";for(q in this.ranges)J+='<li data-range-key="'+q+'">'+q+"</li>";this.showCustomRangeLabel&&(J+='<li data-range-key="'+this.locale.customRangeLabel+'">'+this.locale.customRangeLabel+"</li>"),J+="</ul>",this.container.find(".ranges").prepend(J)}typeof g=="function"&&(this.callback=g),this.timePicker||(this.startDate=this.startDate.startOf("day"),this.endDate=this.endDate.endOf("day"),this.container.find(".calendar-time").hide()),this.timePicker&&this.autoApply&&(this.autoApply=!1),this.autoApply&&this.container.addClass("auto-apply"),typeof l.ranges=="object"&&this.container.addClass("show-ranges"),this.singleDatePicker&&(this.container.addClass("single"),this.container.find(".drp-calendar.left").addClass("single"),this.container.find(".drp-calendar.left").show(),this.container.find(".drp-calendar.right").hide(),!this.timePicker&&this.autoApply&&this.container.addClass("auto-apply")),(typeof l.ranges>"u"&&!this.singleDatePicker||this.alwaysShowCalendars)&&this.container.addClass("show-calendar"),this.container.addClass("opens"+this.opens),this.container.find(".applyBtn, .cancelBtn").addClass(this.buttonClasses),this.applyButtonClasses.length&&this.container.find(".applyBtn").addClass(this.applyButtonClasses),this.cancelButtonClasses.length&&this.container.find(".cancelBtn").addClass(this.cancelButtonClasses),this.container.find(".applyBtn").html(this.locale.applyLabel),this.container.find(".cancelBtn").html(this.locale.cancelLabel),this.container.find(".drp-calendar").on("click.daterangepicker",".prev",n.proxy(this.clickPrev,this)).on("click.daterangepicker",".next",n.proxy(this.clickNext,this)).on("mousedown.daterangepicker","td.available",n.proxy(this.clickDate,this)).on("mouseenter.daterangepicker","td.available",n.proxy(this.hoverDate,this)).on("change.daterangepicker","select.yearselect",n.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.monthselect",n.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.hourselect,select.minuteselect,select.secondselect,select.ampmselect",n.proxy(this.timeChanged,this)),this.container.find(".ranges").on("click.daterangepicker","li",n.proxy(this.clickRange,this)),this.container.find(".drp-buttons").on("click.daterangepicker","button.applyBtn",n.proxy(this.clickApply,this)).on("click.daterangepicker","button.cancelBtn",n.proxy(this.clickCancel,this)),this.element.is("input")||this.element.is("button")?this.element.on({"click.daterangepicker":n.proxy(this.show,this),"focus.daterangepicker":n.proxy(this.show,this),"keyup.daterangepicker":n.proxy(this.elementChanged,this),"keydown.daterangepicker":n.proxy(this.keydown,this)}):(this.element.on("click.daterangepicker",n.proxy(this.toggle,this)),this.element.on("keydown.daterangepicker",n.proxy(this.toggle,this))),this.updateElement()};return s.prototype={constructor:s,setStartDate:function(o){typeof o=="string"&&(this.startDate=t(o,this.locale.format)),typeof o=="object"&&(this.startDate=t(o)),this.timePicker||(this.startDate=this.startDate.startOf("day")),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.maxDate&&this.startDate.isAfter(this.maxDate)&&(this.startDate=this.maxDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.floor(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.isShowing||this.updateElement(),this.updateMonthsInView()},setEndDate:function(o){typeof o=="string"&&(this.endDate=t(o,this.locale.format)),typeof o=="object"&&(this.endDate=t(o)),this.timePicker||(this.endDate=this.endDate.endOf("day")),this.timePicker&&this.timePickerIncrement&&this.endDate.minute(Math.round(this.endDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.endDate.isBefore(this.startDate)&&(this.endDate=this.startDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),this.maxSpan&&this.startDate.clone().add(this.maxSpan).isBefore(this.endDate)&&(this.endDate=this.startDate.clone().add(this.maxSpan)),this.previousRightTime=this.endDate.clone(),this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.isShowing||this.updateElement(),this.updateMonthsInView()},isInvalidDate:function(){return!1},isCustomDate:function(){return!1},updateView:function(){this.timePicker&&(this.renderTimePicker("left"),this.renderTimePicker("right"),this.endDate?this.container.find(".right .calendar-time select").prop("disabled",!1).removeClass("disabled"):this.container.find(".right .calendar-time select").prop("disabled",!0).addClass("disabled")),this.endDate&&this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.updateMonthsInView(),this.updateCalendars(),this.updateFormInputs()},updateMonthsInView:function(){if(this.endDate){if(!this.singleDatePicker&&this.leftCalendar.month&&this.rightCalendar.month&&(this.startDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.startDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM"))&&(this.endDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.endDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM")))return;this.leftCalendar.month=this.startDate.clone().date(2),!this.linkedCalendars&&(this.endDate.month()!=this.startDate.month()||this.endDate.year()!=this.startDate.year())?this.rightCalendar.month=this.endDate.clone().date(2):this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month")}else this.leftCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&this.rightCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&(this.leftCalendar.month=this.startDate.clone().date(2),this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"));this.maxDate&&this.linkedCalendars&&!this.singleDatePicker&&this.rightCalendar.month>this.maxDate&&(this.rightCalendar.month=this.maxDate.clone().date(2),this.leftCalendar.month=this.maxDate.clone().date(2).subtract(1,"month"))},updateCalendars:function(){if(this.timePicker){var o,l,g;if(this.endDate){if(o=parseInt(this.container.find(".left .hourselect").val(),10),l=parseInt(this.container.find(".left .minuteselect").val(),10),isNaN(l)&&(l=parseInt(this.container.find(".left .minuteselect option:last").val(),10)),g=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0,!this.timePicker24Hour){var k=this.container.find(".left .ampmselect").val();k==="PM"&&o<12&&(o+=12),k==="AM"&&o===12&&(o=0)}}else if(o=parseInt(this.container.find(".right .hourselect").val(),10),l=parseInt(this.container.find(".right .minuteselect").val(),10),isNaN(l)&&(l=parseInt(this.container.find(".right .minuteselect option:last").val(),10)),g=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,!this.timePicker24Hour){var k=this.container.find(".right .ampmselect").val();k==="PM"&&o<12&&(o+=12),k==="AM"&&o===12&&(o=0)}this.leftCalendar.month.hour(o).minute(l).second(g),this.rightCalendar.month.hour(o).minute(l).second(g)}this.renderCalendar("left"),this.renderCalendar("right"),this.container.find(".ranges li").removeClass("active"),this.endDate!=null&&this.calculateChosenLabel()},renderCalendar:function(o){var F=o=="left"?this.leftCalendar:this.rightCalendar,l=F.month.month(),g=F.month.year(),k=F.month.hour(),C=F.month.minute(),A=F.month.second(),U=t([g,l]).daysInMonth(),L=t([g,l,1]),q=t([g,l,U]),Q=t(L).subtract(1,"month").month(),re=t(L).subtract(1,"month").year(),ne=t([re,Q]).daysInMonth(),J=L.day(),F=[];F.firstDay=L,F.lastDay=q;for(var he=0;he<6;he++)F[he]=[];var ye=ne-J+this.locale.firstDay+1;ye>ne&&(ye-=7),J==this.locale.firstDay&&(ye=ne-6);for(var Ie=t([re,Q,ye,12,C,A]),de,je,he=0,de=0,je=0;he<42;he++,de++,Ie=t(Ie).add(24,"hour"))he>0&&de%7===0&&(de=0,je++),F[je][de]=Ie.clone().hour(k).minute(C).second(A),Ie.hour(12),this.minDate&&F[je][de].format("YYYY-MM-DD")==this.minDate.format("YYYY-MM-DD")&&F[je][de].isBefore(this.minDate)&&o=="left"&&(F[je][de]=this.minDate.clone()),this.maxDate&&F[je][de].format("YYYY-MM-DD")==this.maxDate.format("YYYY-MM-DD")&&F[je][de].isAfter(this.maxDate)&&o=="right"&&(F[je][de]=this.maxDate.clone());o=="left"?this.leftCalendar.calendar=F:this.rightCalendar.calendar=F;var m=o=="left"?this.minDate:this.startDate,Ue=this.maxDate;o=="left"?this.startDate:this.endDate,this.locale.direction=="ltr";var ke='<table class="table-condensed">';ke+="<thead>",ke+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(ke+="<th></th>"),(!m||m.isBefore(F.firstDay))&&(!this.linkedCalendars||o=="left")?ke+='<th class="prev available"><span></span></th>':ke+="<th></th>";var ht=this.locale.monthNames[F[1][1].month()]+F[1][1].format(" YYYY");if(this.showDropdowns){for(var Et=F[1][1].month(),vt=F[1][1].year(),dt=Ue&&Ue.year()||this.maxYear,Ct=m&&m.year()||this.minYear,me=vt==Ct,Le=vt==dt,Ve='<select class="monthselect">',qe=0;qe<12;qe++)(!me||m&&qe>=m.month())&&(!Le||Ue&&qe<=Ue.month())?Ve+="<option value='"+qe+"'"+(qe===Et?" selected='selected'":"")+">"+this.locale.monthNames[qe]+"</option>":Ve+="<option value='"+qe+"'"+(qe===Et?" selected='selected'":"")+" disabled='disabled'>"+this.locale.monthNames[qe]+"</option>";Ve+="</select>";for(var lt='<select class="yearselect">',Ce=Ct;Ce<=dt;Ce++)lt+='<option value="'+Ce+'"'+(Ce===vt?' selected="selected"':"")+">"+Ce+"</option>";lt+="</select>",ht=Ve+lt}if(ke+='<th colspan="5" class="month">'+ht+"</th>",(!Ue||Ue.isAfter(F.lastDay))&&(!this.linkedCalendars||o=="right"||this.singleDatePicker)?ke+='<th class="next available"><span></span></th>':ke+="<th></th>",ke+="</tr>",ke+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(ke+='<th class="week">'+this.locale.weekLabel+"</th>"),n.each(this.locale.daysOfWeek,function(Ke,ct){ke+="<th>"+ct+"</th>"}),ke+="</tr>",ke+="</thead>",ke+="<tbody>",this.endDate==null&&this.maxSpan){var Pe=this.startDate.clone().add(this.maxSpan).endOf("day");(!Ue||Pe.isBefore(Ue))&&(Ue=Pe)}for(var je=0;je<6;je++){ke+="<tr>",this.showWeekNumbers?ke+='<td class="week">'+F[je][0].week()+"</td>":this.showISOWeekNumbers&&(ke+='<td class="week">'+F[je][0].isoWeek()+"</td>");for(var de=0;de<7;de++){var Ye=[];F[je][de].isSame(new Date,"day")&&Ye.push("today"),F[je][de].isoWeekday()>5&&Ye.push("weekend"),F[je][de].month()!=F[1][1].month()&&Ye.push("off","ends"),this.minDate&&F[je][de].isBefore(this.minDate,"day")&&Ye.push("off","disabled"),Ue&&F[je][de].isAfter(Ue,"day")&&Ye.push("off","disabled"),this.isInvalidDate(F[je][de])&&Ye.push("off","disabled"),F[je][de].format("YYYY-MM-DD")==this.startDate.format("YYYY-MM-DD")&&Ye.push("active","start-date"),this.endDate!=null&&F[je][de].format("YYYY-MM-DD")==this.endDate.format("YYYY-MM-DD")&&Ye.push("active","end-date"),this.endDate!=null&&F[je][de]>this.startDate&&F[je][de]<this.endDate&&Ye.push("in-range");var Xe=this.isCustomDate(F[je][de]);Xe!==!1&&(typeof Xe=="string"?Ye.push(Xe):Array.prototype.push.apply(Ye,Xe));for(var Qe="",Ze=!1,he=0;he<Ye.length;he++)Qe+=Ye[he]+" ",Ye[he]=="disabled"&&(Ze=!0);Ze||(Qe+="available"),ke+='<td class="'+Qe.replace(/^\s+|\s+$/g,"")+'" data-title="r'+je+"c"+de+'">'+F[je][de].date()+"</td>"}ke+="</tr>"}ke+="</tbody>",ke+="</table>",this.container.find(".drp-calendar."+o+" .calendar-table").html(ke)},renderTimePicker:function(o){if(!(o=="right"&&!this.endDate)){var l,g,k,C=this.maxDate;if(this.maxSpan&&(!this.maxDate||this.startDate.clone().add(this.maxSpan).isBefore(this.maxDate))&&(C=this.startDate.clone().add(this.maxSpan)),o=="left")g=this.startDate.clone(),k=this.minDate;else if(o=="right"){g=this.endDate.clone(),k=this.startDate;var A=this.container.find(".drp-calendar.right .calendar-time");if(A.html()!=""&&(g.hour(isNaN(g.hour())?A.find(".hourselect option:selected").val():g.hour()),g.minute(isNaN(g.minute())?A.find(".minuteselect option:selected").val():g.minute()),g.second(isNaN(g.second())?A.find(".secondselect option:selected").val():g.second()),!this.timePicker24Hour)){var U=A.find(".ampmselect option:selected").val();U==="PM"&&g.hour()<12&&g.hour(g.hour()+12),U==="AM"&&g.hour()===12&&g.hour(0)}g.isBefore(this.startDate)&&(g=this.startDate.clone()),C&&g.isAfter(C)&&(g=C.clone())}l='<select class="hourselect">';for(var L=this.timePicker24Hour?0:1,q=this.timePicker24Hour?23:12,Q=L;Q<=q;Q++){var re=Q;this.timePicker24Hour||(re=g.hour()>=12?Q==12?12:Q+12:Q==12?0:Q);var ne=g.clone().hour(re),J=!1;k&&ne.minute(59).isBefore(k)&&(J=!0),C&&ne.minute(0).isAfter(C)&&(J=!0),re==g.hour()&&!J?l+='<option value="'+Q+'" selected="selected">'+Q+"</option>":J?l+='<option value="'+Q+'" disabled="disabled" class="disabled">'+Q+"</option>":l+='<option value="'+Q+'">'+Q+"</option>"}l+="</select> ",l+=': <select class="minuteselect">';for(var Q=0;Q<60;Q+=this.timePickerIncrement){var F=Q<10?"0"+Q:Q,ne=g.clone().minute(Q),J=!1;k&&ne.second(59).isBefore(k)&&(J=!0),C&&ne.second(0).isAfter(C)&&(J=!0),g.minute()==Q&&!J?l+='<option value="'+Q+'" selected="selected">'+F+"</option>":J?l+='<option value="'+Q+'" disabled="disabled" class="disabled">'+F+"</option>":l+='<option value="'+Q+'">'+F+"</option>"}if(l+="</select> ",this.timePickerSeconds){l+=': <select class="secondselect">';for(var Q=0;Q<60;Q++){var F=Q<10?"0"+Q:Q,ne=g.clone().second(Q),J=!1;k&&ne.isBefore(k)&&(J=!0),C&&ne.isAfter(C)&&(J=!0),g.second()==Q&&!J?l+='<option value="'+Q+'" selected="selected">'+F+"</option>":J?l+='<option value="'+Q+'" disabled="disabled" class="disabled">'+F+"</option>":l+='<option value="'+Q+'">'+F+"</option>"}l+="</select> "}if(!this.timePicker24Hour){l+='<select class="ampmselect">';var he="",ye="";k&&g.clone().hour(12).minute(0).second(0).isBefore(k)&&(he=' disabled="disabled" class="disabled"'),C&&g.clone().hour(0).minute(0).second(0).isAfter(C)&&(ye=' disabled="disabled" class="disabled"'),g.hour()>=12?l+='<option value="AM"'+he+'>AM</option><option value="PM" selected="selected"'+ye+">PM</option>":l+='<option value="AM" selected="selected"'+he+'>AM</option><option value="PM"'+ye+">PM</option>",l+="</select>"}this.container.find(".drp-calendar."+o+" .calendar-time").html(l)}},updateFormInputs:function(){this.singleDatePicker||this.endDate&&(this.startDate.isBefore(this.endDate)||this.startDate.isSame(this.endDate))?this.container.find("button.applyBtn").prop("disabled",!1):this.container.find("button.applyBtn").prop("disabled",!0)},move:function(){var o={top:0,left:0},l,g=this.drops,k=n(window).width();switch(this.parentEl.is("body")||(o={top:this.parentEl.offset().top-this.parentEl.scrollTop(),left:this.parentEl.offset().left-this.parentEl.scrollLeft()},k=this.parentEl[0].clientWidth+this.parentEl.offset().left),g){case"auto":l=this.element.offset().top+this.element.outerHeight()-o.top,l+this.container.outerHeight()>=this.parentEl[0].scrollHeight&&(l=this.element.offset().top-this.container.outerHeight()-o.top,g="up");break;case"up":l=this.element.offset().top-this.container.outerHeight()-o.top;break;default:l=this.element.offset().top+this.element.outerHeight()-o.top;break}this.container.css({top:0,left:0,right:"auto"});var C=this.container.outerWidth();if(this.container.toggleClass("drop-up",g=="up"),this.opens=="left"){var A=k-this.element.offset().left-this.element.outerWidth();C+A>n(window).width()?this.container.css({top:l,right:"auto",left:9}):this.container.css({top:l,right:A,left:"auto"})}else if(this.opens=="center"){var U=this.element.offset().left-o.left+this.element.outerWidth()/2-C/2;U<0?this.container.css({top:l,right:"auto",left:9}):U+C>n(window).width()?this.container.css({top:l,left:"auto",right:0}):this.container.css({top:l,left:U,right:"auto"})}else{var U=this.element.offset().left-o.left;U+C>n(window).width()?this.container.css({top:l,left:"auto",right:0}):this.container.css({top:l,left:U,right:"auto"})}},show:function(o){this.isShowing||(this._outsideClickProxy=n.proxy(function(l){this.outsideClick(l)},this),n(document).on("mousedown.daterangepicker",this._outsideClickProxy).on("touchend.daterangepicker",this._outsideClickProxy).on("click.daterangepicker","[data-toggle=dropdown]",this._outsideClickProxy).on("focusin.daterangepicker",this._outsideClickProxy),n(window).on("resize.daterangepicker",n.proxy(function(l){this.move(l)},this)),this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.previousRightTime=this.endDate.clone(),this.updateView(),this.container.show(),this.move(),this.element.trigger("show.daterangepicker",this),this.isShowing=!0)},hide:function(o){this.isShowing&&(this.endDate||(this.startDate=this.oldStartDate.clone(),this.endDate=this.oldEndDate.clone()),(!this.startDate.isSame(this.oldStartDate)||!this.endDate.isSame(this.oldEndDate))&&this.callback(this.startDate.clone(),this.endDate.clone(),this.chosenLabel),this.updateElement(),n(document).off(".daterangepicker"),n(window).off(".daterangepicker"),this.container.hide(),this.element.trigger("hide.daterangepicker",this),this.isShowing=!1)},toggle:function(o){this.isShowing?this.hide():this.show()},outsideClick:function(o){var l=n(o.target);o.type=="focusin"||l.closest(this.element).length||l.closest(this.container).length||l.closest(".calendar-table").length||(this.hide(),this.element.trigger("outsideClick.daterangepicker",this))},showCalendars:function(){this.container.addClass("show-calendar"),this.move(),this.element.trigger("showCalendar.daterangepicker",this)},hideCalendars:function(){this.container.removeClass("show-calendar"),this.element.trigger("hideCalendar.daterangepicker",this)},clickRange:function(o){var l=o.target.getAttribute("data-range-key");if(this.chosenLabel=l,l==this.locale.customRangeLabel)this.showCalendars();else{var g=this.ranges[l];this.startDate=g[0],this.endDate=g[1],this.timePicker||(this.startDate.startOf("day"),this.endDate.endOf("day")),this.alwaysShowCalendars||this.hideCalendars(),this.clickApply()}},clickPrev:function(o){var l=n(o.target).parents(".drp-calendar");l.hasClass("left")?(this.leftCalendar.month.subtract(1,"month"),this.linkedCalendars&&this.rightCalendar.month.subtract(1,"month")):this.rightCalendar.month.subtract(1,"month"),this.updateCalendars()},clickNext:function(o){var l=n(o.target).parents(".drp-calendar");l.hasClass("left")?this.leftCalendar.month.add(1,"month"):(this.rightCalendar.month.add(1,"month"),this.linkedCalendars&&this.leftCalendar.month.add(1,"month")),this.updateCalendars()},hoverDate:function(o){if(n(o.target).hasClass("available")){var l=n(o.target).attr("data-title"),g=l.substr(1,1),k=l.substr(3,1),C=n(o.target).parents(".drp-calendar"),A=C.hasClass("left")?this.leftCalendar.calendar[g][k]:this.rightCalendar.calendar[g][k],U=this.leftCalendar,L=this.rightCalendar,q=this.startDate;this.endDate||this.container.find(".drp-calendar tbody td").each(function(Q,re){if(!n(re).hasClass("week")){var ne=n(re).attr("data-title"),J=ne.substr(1,1),F=ne.substr(3,1),he=n(re).parents(".drp-calendar"),ye=he.hasClass("left")?U.calendar[J][F]:L.calendar[J][F];ye.isAfter(q)&&ye.isBefore(A)||ye.isSame(A,"day")?n(re).addClass("in-range"):n(re).removeClass("in-range")}})}},clickDate:function(o){if(n(o.target).hasClass("available")){var l=n(o.target).attr("data-title"),g=l.substr(1,1),k=l.substr(3,1),C=n(o.target).parents(".drp-calendar"),A=C.hasClass("left")?this.leftCalendar.calendar[g][k]:this.rightCalendar.calendar[g][k];if(this.endDate||A.isBefore(this.startDate,"day")){if(this.timePicker){var U=parseInt(this.container.find(".left .hourselect").val(),10);if(!this.timePicker24Hour){var L=this.container.find(".left .ampmselect").val();L==="PM"&&U<12&&(U+=12),L==="AM"&&U===12&&(U=0)}var q=parseInt(this.container.find(".left .minuteselect").val(),10);isNaN(q)&&(q=parseInt(this.container.find(".left .minuteselect option:last").val(),10));var Q=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0;A=A.clone().hour(U).minute(q).second(Q)}this.endDate=null,this.setStartDate(A.clone())}else if(!this.endDate&&A.isBefore(this.startDate))this.setEndDate(this.startDate.clone());else{if(this.timePicker){var U=parseInt(this.container.find(".right .hourselect").val(),10);if(!this.timePicker24Hour){var L=this.container.find(".right .ampmselect").val();L==="PM"&&U<12&&(U+=12),L==="AM"&&U===12&&(U=0)}var q=parseInt(this.container.find(".right .minuteselect").val(),10);isNaN(q)&&(q=parseInt(this.container.find(".right .minuteselect option:last").val(),10));var Q=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0;A=A.clone().hour(U).minute(q).second(Q)}this.setEndDate(A.clone()),this.autoApply&&(this.calculateChosenLabel(),this.clickApply())}this.singleDatePicker&&(this.setEndDate(this.startDate),!this.timePicker&&this.autoApply&&this.clickApply()),this.updateView(),o.stopPropagation()}},calculateChosenLabel:function(){var o=!0,l=0;for(var g in this.ranges){if(this.timePicker){var k=this.timePickerSeconds?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD HH:mm";if(this.startDate.format(k)==this.ranges[g][0].format(k)&&this.endDate.format(k)==this.ranges[g][1].format(k)){o=!1,this.chosenLabel=this.container.find(".ranges li:eq("+l+")").addClass("active").attr("data-range-key");break}}else if(this.startDate.format("YYYY-MM-DD")==this.ranges[g][0].format("YYYY-MM-DD")&&this.endDate.format("YYYY-MM-DD")==this.ranges[g][1].format("YYYY-MM-DD")){o=!1,this.chosenLabel=this.container.find(".ranges li:eq("+l+")").addClass("active").attr("data-range-key");break}l++}o&&(this.showCustomRangeLabel?this.chosenLabel=this.container.find(".ranges li:last").addClass("active").attr("data-range-key"):this.chosenLabel=null,this.showCalendars())},clickApply:function(o){this.hide(),this.element.trigger("apply.daterangepicker",this)},clickCancel:function(o){this.startDate=this.oldStartDate,this.endDate=this.oldEndDate,this.hide(),this.element.trigger("cancel.daterangepicker",this)},monthOrYearChanged:function(o){var l=n(o.target).closest(".drp-calendar").hasClass("left"),g=l?"left":"right",k=this.container.find(".drp-calendar."+g),C=parseInt(k.find(".monthselect").val(),10),A=k.find(".yearselect").val();l||(A<this.startDate.year()||A==this.startDate.year()&&C<this.startDate.month())&&(C=this.startDate.month(),A=this.startDate.year()),this.minDate&&(A<this.minDate.year()||A==this.minDate.year()&&C<this.minDate.month())&&(C=this.minDate.month(),A=this.minDate.year()),this.maxDate&&(A>this.maxDate.year()||A==this.maxDate.year()&&C>this.maxDate.month())&&(C=this.maxDate.month(),A=this.maxDate.year()),l?(this.leftCalendar.month.month(C).year(A),this.linkedCalendars&&(this.rightCalendar.month=this.leftCalendar.month.clone().add(1,"month"))):(this.rightCalendar.month.month(C).year(A),this.linkedCalendars&&(this.leftCalendar.month=this.rightCalendar.month.clone().subtract(1,"month"))),this.updateCalendars()},timeChanged:function(o){var l=n(o.target).closest(".drp-calendar"),g=l.hasClass("left"),k=parseInt(l.find(".hourselect").val(),10),C=parseInt(l.find(".minuteselect").val(),10);isNaN(C)&&(C=parseInt(l.find(".minuteselect option:last").val(),10));var A=this.timePickerSeconds?parseInt(l.find(".secondselect").val(),10):0;if(!this.timePicker24Hour){var U=l.find(".ampmselect").val();U==="PM"&&k<12&&(k+=12),U==="AM"&&k===12&&(k=0)}if(g){var L=this.startDate.clone();L.hour(k),L.minute(C),L.second(A),this.setStartDate(L),this.singleDatePicker?this.endDate=this.startDate.clone():this.endDate&&this.endDate.format("YYYY-MM-DD")==L.format("YYYY-MM-DD")&&this.endDate.isBefore(L)&&this.setEndDate(L.clone())}else if(this.endDate){var q=this.endDate.clone();q.hour(k),q.minute(C),q.second(A),this.setEndDate(q)}this.updateCalendars(),this.updateFormInputs(),this.renderTimePicker("left"),this.renderTimePicker("right")},elementChanged:function(){if(this.element.is("input")&&this.element.val().length){var o=this.element.val().split(this.locale.separator),l=null,g=null;o.length===2&&(l=t(o[0],this.locale.format),g=t(o[1],this.locale.format)),(this.singleDatePicker||l===null||g===null)&&(l=t(this.element.val(),this.locale.format),g=l),!(!l.isValid()||!g.isValid())&&(this.setStartDate(l),this.setEndDate(g),this.updateView())}},keydown:function(o){(o.keyCode===9||o.keyCode===13)&&this.hide(),o.keyCode===27&&(o.preventDefault(),o.stopPropagation(),this.hide())},updateElement:function(){if(this.element.is("input")&&this.autoUpdateInput){var o=this.startDate.format(this.locale.format);this.singleDatePicker||(o+=this.locale.separator+this.endDate.format(this.locale.format)),o!==this.element.val()&&this.element.val(o).trigger("change")}},remove:function(){this.container.remove(),this.element.off(".daterangepicker"),this.element.removeData()}},n.fn.daterangepicker=function(o,l){var g=n.extend(!0,{},n.fn.daterangepicker.defaultOptions,o);return this.each(function(){var k=n(this);k.data("daterangepicker")&&k.data("daterangepicker").remove(),k.data("daterangepicker",new s(k,g,l))}),this},s})})(Z1);var td=function(i,t){return td=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,s){n.__proto__=s}||function(n,s){for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(n[o]=s[o])},td(i,t)};function Q1(i,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");td(i,t);function n(){this.constructor=i}i.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var ex=function(i){Q1(t,i);function t(n){var s=i.call(this,n)||this;return s.ref=null,s.$picker=null,s}return t.prototype.componentDidMount=function(){var n=this;this.$picker=J1(this.ref),this.$picker.daterangepicker(this.props.initialSettings,this.handleCallback.bind(this)),["Show","Hide","ShowCalendar","HideCalendar","Apply","Cancel"].forEach(function(s){var o,l=s.charAt(0).toLowerCase()+s.slice(1);(o=n.$picker)===null||o===void 0||o.on(l+".daterangepicker",n.makeEventHandler("on"+s))})},t.prototype.componentWillUnmount=function(){var n,s;(s=(n=this.$picker)===null||n===void 0?void 0:n.data("daterangepicker"))===null||s===void 0||s.remove()},t.prototype.handleCallback=function(){for(var n,s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];typeof this.props.onCallback=="function"&&(n=this.props).onCallback.apply(n,s)},t.prototype.makeEventHandler=function(n){var s=this,o=this.props.onEvent;return function(l,g){typeof o=="function"&&o(l,g),typeof s.props[n]=="function"&&s.props[n](l,g)}},t.prototype.setStartDate=function(n){var s,o;(o=(s=this.$picker)===null||s===void 0?void 0:s.data("daterangepicker"))===null||o===void 0||o.setStartDate(n)},t.prototype.setEndDate=function(n){var s,o;(o=(s=this.$picker)===null||s===void 0?void 0:s.data("daterangepicker"))===null||o===void 0||o.setEndDate(n)},t.prototype.render=function(){var n=this,s=tl.Children.only(this.props.children);return tl.cloneElement(s,{ref:function(o){return n.ref=o}})},t}(tl.Component);Ic.styled(i=>Gn.jsx(Ic.Switch,{focusVisibleClassName:".Mui-focusVisible",disableRipple:!0,...i}))(({theme:i})=>({width:42,height:26,padding:0,"&.MuiSwitch-root":{margin:0,marginRight:8},"& .MuiSwitch-switchBase":{padding:0,margin:2,transitionDuration:"300ms","&.Mui-checked":{transform:"translateX(16px)",color:"#fff","& + .MuiSwitch-track":{backgroundColor:Ms.color.primary300,opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:"#33cf4d",border:"6px solid #fff"},"&.Mui-disabled .MuiSwitch-thumb":{color:i.palette.grey[100]},"&.Mui-disabled + .MuiSwitch-track":{opacity:.7}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:22,height:22},"& .MuiSwitch-track":{borderRadius:26/2,backgroundColor:"#E9E9EA",opacity:1}}));/**
176
- * @license
177
- * Copyright 2017 Google LLC
178
- *
179
- * Licensed under the Apache License, Version 2.0 (the "License");
180
- * you may not use this file except in compliance with the License.
181
- * You may obtain a copy of the License at
182
- *
183
- * http://www.apache.org/licenses/LICENSE-2.0
184
- *
185
- * Unless required by applicable law or agreed to in writing, software
186
- * distributed under the License is distributed on an "AS IS" BASIS,
187
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
188
- * See the License for the specific language governing permissions and
189
- * limitations under the License.
190
- *//**
191
- * @license
192
- * Copyright 2017 Google LLC
193
- *
194
- * Licensed under the Apache License, Version 2.0 (the "License");
195
- * you may not use this file except in compliance with the License.
196
- * You may obtain a copy of the License at
197
- *
198
- * http://www.apache.org/licenses/LICENSE-2.0
199
- *
200
- * Unless required by applicable law or agreed to in writing, software
201
- * distributed under the License is distributed on an "AS IS" BASIS,
202
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
203
- * See the License for the specific language governing permissions and
204
- * limitations under the License.
205
- */const Dg=function(i){const t=[];let n=0;for(let s=0;s<i.length;s++){let o=i.charCodeAt(s);o<128?t[n++]=o:o<2048?(t[n++]=o>>6|192,t[n++]=o&63|128):(o&64512)===55296&&s+1<i.length&&(i.charCodeAt(s+1)&64512)===56320?(o=65536+((o&1023)<<10)+(i.charCodeAt(++s)&1023),t[n++]=o>>18|240,t[n++]=o>>12&63|128,t[n++]=o>>6&63|128,t[n++]=o&63|128):(t[n++]=o>>12|224,t[n++]=o>>6&63|128,t[n++]=o&63|128)}return t},tx=function(i){const t=[];let n=0,s=0;for(;n<i.length;){const o=i[n++];if(o<128)t[s++]=String.fromCharCode(o);else if(o>191&&o<224){const l=i[n++];t[s++]=String.fromCharCode((o&31)<<6|l&63)}else if(o>239&&o<365){const l=i[n++],g=i[n++],k=i[n++],C=((o&7)<<18|(l&63)<<12|(g&63)<<6|k&63)-65536;t[s++]=String.fromCharCode(55296+(C>>10)),t[s++]=String.fromCharCode(56320+(C&1023))}else{const l=i[n++],g=i[n++];t[s++]=String.fromCharCode((o&15)<<12|(l&63)<<6|g&63)}}return t.join("")},Ag={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:typeof atob=="function",encodeByteArray(i,t){if(!Array.isArray(i))throw Error("encodeByteArray takes an array as a parameter");this.init_();const n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,s=[];for(let o=0;o<i.length;o+=3){const l=i[o],g=o+1<i.length,k=g?i[o+1]:0,C=o+2<i.length,A=C?i[o+2]:0,U=l>>2,L=(l&3)<<4|k>>4;let q=(k&15)<<2|A>>6,Q=A&63;C||(Q=64,g||(q=64)),s.push(n[U],n[L],n[q],n[Q])}return s.join("")},encodeString(i,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(i):this.encodeByteArray(Dg(i),t)},decodeString(i,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(i):tx(this.decodeStringToByteArray(i,t))},decodeStringToByteArray(i,t){this.init_();const n=t?this.charToByteMapWebSafe_:this.charToByteMap_,s=[];for(let o=0;o<i.length;){const l=n[i.charAt(o++)],k=o<i.length?n[i.charAt(o)]:0;++o;const A=o<i.length?n[i.charAt(o)]:64;++o;const L=o<i.length?n[i.charAt(o)]:64;if(++o,l==null||k==null||A==null||L==null)throw new nx;const q=l<<2|k>>4;if(s.push(q),A!==64){const Q=k<<4&240|A>>2;if(s.push(Q),L!==64){const re=A<<6&192|L;s.push(re)}}}return s},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let i=0;i<this.ENCODED_VALS.length;i++)this.byteToCharMap_[i]=this.ENCODED_VALS.charAt(i),this.charToByteMap_[this.byteToCharMap_[i]]=i,this.byteToCharMapWebSafe_[i]=this.ENCODED_VALS_WEBSAFE.charAt(i),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[i]]=i,i>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(i)]=i,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(i)]=i)}}};class nx extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const rx=function(i){const t=Dg(i);return Ag.encodeByteArray(t,!0)},Pg=function(i){return rx(i).replace(/\./g,"")},ix=function(i){try{return Ag.decodeString(i,!0)}catch(t){console.error("base64Decode failed: ",t)}return null};/**
206
- * @license
207
- * Copyright 2022 Google LLC
208
- *
209
- * Licensed under the Apache License, Version 2.0 (the "License");
210
- * you may not use this file except in compliance with the License.
211
- * You may obtain a copy of the License at
212
- *
213
- * http://www.apache.org/licenses/LICENSE-2.0
214
- *
215
- * Unless required by applicable law or agreed to in writing, software
216
- * distributed under the License is distributed on an "AS IS" BASIS,
217
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
218
- * See the License for the specific language governing permissions and
219
- * limitations under the License.
220
- */function ox(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}/**
221
- * @license
222
- * Copyright 2022 Google LLC
223
- *
224
- * Licensed under the Apache License, Version 2.0 (the "License");
225
- * you may not use this file except in compliance with the License.
226
- * You may obtain a copy of the License at
227
- *
228
- * http://www.apache.org/licenses/LICENSE-2.0
229
- *
230
- * Unless required by applicable law or agreed to in writing, software
231
- * distributed under the License is distributed on an "AS IS" BASIS,
232
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
233
- * See the License for the specific language governing permissions and
234
- * limitations under the License.
235
- */const ax=()=>ox().__FIREBASE_DEFAULTS__,sx=()=>{if(typeof process>"u"||typeof process.env>"u")return;const i=process.env.__FIREBASE_DEFAULTS__;if(i)return JSON.parse(i)},ux=()=>{if(typeof document>"u")return;let i;try{i=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const t=i&&ix(i[1]);return t&&JSON.parse(t)},lx=()=>{try{return ax()||sx()||ux()}catch(i){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${i}`);return}},Lg=()=>{var i;return(i=lx())===null||i===void 0?void 0:i.config};/**
236
- * @license
237
- * Copyright 2017 Google LLC
238
- *
239
- * Licensed under the Apache License, Version 2.0 (the "License");
240
- * you may not use this file except in compliance with the License.
241
- * You may obtain a copy of the License at
242
- *
243
- * http://www.apache.org/licenses/LICENSE-2.0
244
- *
245
- * Unless required by applicable law or agreed to in writing, software
246
- * distributed under the License is distributed on an "AS IS" BASIS,
247
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
248
- * See the License for the specific language governing permissions and
249
- * limitations under the License.
250
- */class cx{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n})}wrapCallback(t){return(n,s)=>{n?this.reject(n):this.resolve(s),typeof t=="function"&&(this.promise.catch(()=>{}),t.length===1?t(n):t(n,s))}}}function Mg(){try{return typeof indexedDB=="object"}catch{return!1}}function Fg(){return new Promise((i,t)=>{try{let n=!0;const s="validate-browser-context-for-indexeddb-analytics-module",o=self.indexedDB.open(s);o.onsuccess=()=>{o.result.close(),n||self.indexedDB.deleteDatabase(s),i(!0)},o.onupgradeneeded=()=>{n=!1},o.onerror=()=>{var l;t(((l=o.error)===null||l===void 0?void 0:l.message)||"")}}catch(n){t(n)}})}function fx(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}/**
251
- * @license
252
- * Copyright 2017 Google LLC
253
- *
254
- * Licensed under the Apache License, Version 2.0 (the "License");
255
- * you may not use this file except in compliance with the License.
256
- * You may obtain a copy of the License at
257
- *
258
- * http://www.apache.org/licenses/LICENSE-2.0
259
- *
260
- * Unless required by applicable law or agreed to in writing, software
261
- * distributed under the License is distributed on an "AS IS" BASIS,
262
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
263
- * See the License for the specific language governing permissions and
264
- * limitations under the License.
265
- */const dx="FirebaseError";class Nl extends Error{constructor(t,n,s){super(n),this.code=t,this.customData=s,this.name=dx,Object.setPrototypeOf(this,Nl.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,$c.prototype.create)}}class $c{constructor(t,n,s){this.service=t,this.serviceName=n,this.errors=s}create(t,...n){const s=n[0]||{},o=`${this.service}/${t}`,l=this.errors[t],g=l?hx(l,s):"Error",k=`${this.serviceName}: ${g} (${o}).`;return new Nl(o,k,s)}}function hx(i,t){return i.replace(px,(n,s)=>{const o=t[s];return o!=null?String(o):`<${s}?>`})}const px=/\{\$([^}]+)}/g;function nd(i,t){if(i===t)return!0;const n=Object.keys(i),s=Object.keys(t);for(const o of n){if(!s.includes(o))return!1;const l=i[o],g=t[o];if(Op(l)&&Op(g)){if(!nd(l,g))return!1}else if(l!==g)return!1}for(const o of s)if(!n.includes(o))return!1;return!0}function Op(i){return i!==null&&typeof i=="object"}/**
266
- * @license
267
- * Copyright 2021 Google LLC
268
- *
269
- * Licensed under the Apache License, Version 2.0 (the "License");
270
- * you may not use this file except in compliance with the License.
271
- * You may obtain a copy of the License at
272
- *
273
- * http://www.apache.org/licenses/LICENSE-2.0
274
- *
275
- * Unless required by applicable law or agreed to in writing, software
276
- * distributed under the License is distributed on an "AS IS" BASIS,
277
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
278
- * See the License for the specific language governing permissions and
279
- * limitations under the License.
280
- */function gd(i){return i&&i._delegate?i._delegate:i}class vu{constructor(t,n,s){this.name=t,this.instanceFactory=n,this.type=s,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(t){return this.instantiationMode=t,this}setMultipleInstances(t){return this.multipleInstances=t,this}setServiceProps(t){return this.serviceProps=t,this}setInstanceCreatedCallback(t){return this.onInstanceCreated=t,this}}/**
281
- * @license
282
- * Copyright 2019 Google LLC
283
- *
284
- * Licensed under the Apache License, Version 2.0 (the "License");
285
- * you may not use this file except in compliance with the License.
286
- * You may obtain a copy of the License at
287
- *
288
- * http://www.apache.org/licenses/LICENSE-2.0
289
- *
290
- * Unless required by applicable law or agreed to in writing, software
291
- * distributed under the License is distributed on an "AS IS" BASIS,
292
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
293
- * See the License for the specific language governing permissions and
294
- * limitations under the License.
295
- */const el="[DEFAULT]";/**
296
- * @license
297
- * Copyright 2019 Google LLC
298
- *
299
- * Licensed under the Apache License, Version 2.0 (the "License");
300
- * you may not use this file except in compliance with the License.
301
- * You may obtain a copy of the License at
302
- *
303
- * http://www.apache.org/licenses/LICENSE-2.0
304
- *
305
- * Unless required by applicable law or agreed to in writing, software
306
- * distributed under the License is distributed on an "AS IS" BASIS,
307
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
308
- * See the License for the specific language governing permissions and
309
- * limitations under the License.
310
- */class gx{constructor(t,n){this.name=t,this.container=n,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(t){const n=this.normalizeInstanceIdentifier(t);if(!this.instancesDeferred.has(n)){const s=new cx;if(this.instancesDeferred.set(n,s),this.isInitialized(n)||this.shouldAutoInitialize())try{const o=this.getOrInitializeService({instanceIdentifier:n});o&&s.resolve(o)}catch{}}return this.instancesDeferred.get(n).promise}getImmediate(t){var n;const s=this.normalizeInstanceIdentifier(t==null?void 0:t.identifier),o=(n=t==null?void 0:t.optional)!==null&&n!==void 0?n:!1;if(this.isInitialized(s)||this.shouldAutoInitialize())try{return this.getOrInitializeService({instanceIdentifier:s})}catch(l){if(o)return null;throw l}else{if(o)return null;throw Error(`Service ${this.name} is not available`)}}getComponent(){return this.component}setComponent(t){if(t.name!==this.name)throw Error(`Mismatching Component ${t.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=t,!!this.shouldAutoInitialize()){if(mx(t))try{this.getOrInitializeService({instanceIdentifier:el})}catch{}for(const[n,s]of this.instancesDeferred.entries()){const o=this.normalizeInstanceIdentifier(n);try{const l=this.getOrInitializeService({instanceIdentifier:o});s.resolve(l)}catch{}}}}clearInstance(t=el){this.instancesDeferred.delete(t),this.instancesOptions.delete(t),this.instances.delete(t)}async delete(){const t=Array.from(this.instances.values());await Promise.all([...t.filter(n=>"INTERNAL"in n).map(n=>n.INTERNAL.delete()),...t.filter(n=>"_delete"in n).map(n=>n._delete())])}isComponentSet(){return this.component!=null}isInitialized(t=el){return this.instances.has(t)}getOptions(t=el){return this.instancesOptions.get(t)||{}}initialize(t={}){const{options:n={}}=t,s=this.normalizeInstanceIdentifier(t.instanceIdentifier);if(this.isInitialized(s))throw Error(`${this.name}(${s}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const o=this.getOrInitializeService({instanceIdentifier:s,options:n});for(const[l,g]of this.instancesDeferred.entries()){const k=this.normalizeInstanceIdentifier(l);s===k&&g.resolve(o)}return o}onInit(t,n){var s;const o=this.normalizeInstanceIdentifier(n),l=(s=this.onInitCallbacks.get(o))!==null&&s!==void 0?s:new Set;l.add(t),this.onInitCallbacks.set(o,l);const g=this.instances.get(o);return g&&t(g,o),()=>{l.delete(t)}}invokeOnInitCallbacks(t,n){const s=this.onInitCallbacks.get(n);if(s)for(const o of s)try{o(t,n)}catch{}}getOrInitializeService({instanceIdentifier:t,options:n={}}){let s=this.instances.get(t);if(!s&&this.component&&(s=this.component.instanceFactory(this.container,{instanceIdentifier:vx(t),options:n}),this.instances.set(t,s),this.instancesOptions.set(t,n),this.invokeOnInitCallbacks(s,t),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,t,s)}catch{}return s||null}normalizeInstanceIdentifier(t=el){return this.component?this.component.multipleInstances?t:el:t}shouldAutoInitialize(){return!!this.component&&this.component.instantiationMode!=="EXPLICIT"}}function vx(i){return i===el?void 0:i}function mx(i){return i.instantiationMode==="EAGER"}/**
311
- * @license
312
- * Copyright 2019 Google LLC
313
- *
314
- * Licensed under the Apache License, Version 2.0 (the "License");
315
- * you may not use this file except in compliance with the License.
316
- * You may obtain a copy of the License at
317
- *
318
- * http://www.apache.org/licenses/LICENSE-2.0
319
- *
320
- * Unless required by applicable law or agreed to in writing, software
321
- * distributed under the License is distributed on an "AS IS" BASIS,
322
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
323
- * See the License for the specific language governing permissions and
324
- * limitations under the License.
325
- */class yx{constructor(t){this.name=t,this.providers=new Map}addComponent(t){const n=this.getProvider(t.name);if(n.isComponentSet())throw new Error(`Component ${t.name} has already been registered with ${this.name}`);n.setComponent(t)}addOrOverwriteComponent(t){this.getProvider(t.name).isComponentSet()&&this.providers.delete(t.name),this.addComponent(t)}getProvider(t){if(this.providers.has(t))return this.providers.get(t);const n=new gx(t,this);return this.providers.set(t,n),n}getProviders(){return Array.from(this.providers.values())}}/**
326
- * @license
327
- * Copyright 2017 Google LLC
328
- *
329
- * Licensed under the Apache License, Version 2.0 (the "License");
330
- * you may not use this file except in compliance with the License.
331
- * You may obtain a copy of the License at
332
- *
333
- * http://www.apache.org/licenses/LICENSE-2.0
334
- *
335
- * Unless required by applicable law or agreed to in writing, software
336
- * distributed under the License is distributed on an "AS IS" BASIS,
337
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
338
- * See the License for the specific language governing permissions and
339
- * limitations under the License.
340
- */var Pn;(function(i){i[i.DEBUG=0]="DEBUG",i[i.VERBOSE=1]="VERBOSE",i[i.INFO=2]="INFO",i[i.WARN=3]="WARN",i[i.ERROR=4]="ERROR",i[i.SILENT=5]="SILENT"})(Pn||(Pn={}));const bx={debug:Pn.DEBUG,verbose:Pn.VERBOSE,info:Pn.INFO,warn:Pn.WARN,error:Pn.ERROR,silent:Pn.SILENT},wx=Pn.INFO,Sx={[Pn.DEBUG]:"log",[Pn.VERBOSE]:"log",[Pn.INFO]:"info",[Pn.WARN]:"warn",[Pn.ERROR]:"error"},xx=(i,t,...n)=>{if(t<i.logLevel)return;const s=new Date().toISOString(),o=Sx[t];if(o)console[o](`[${s}] ${i.name}:`,...n);else throw new Error(`Attempted to log a message with an invalid logType (value: ${t})`)};class Cx{constructor(t){this.name=t,this._logLevel=wx,this._logHandler=xx,this._userLogHandler=null}get logLevel(){return this._logLevel}set logLevel(t){if(!(t in Pn))throw new TypeError(`Invalid value "${t}" assigned to \`logLevel\``);this._logLevel=t}setLogLevel(t){this._logLevel=typeof t=="string"?bx[t]:t}get logHandler(){return this._logHandler}set logHandler(t){if(typeof t!="function")throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=t}get userLogHandler(){return this._userLogHandler}set userLogHandler(t){this._userLogHandler=t}debug(...t){this._userLogHandler&&this._userLogHandler(this,Pn.DEBUG,...t),this._logHandler(this,Pn.DEBUG,...t)}log(...t){this._userLogHandler&&this._userLogHandler(this,Pn.VERBOSE,...t),this._logHandler(this,Pn.VERBOSE,...t)}info(...t){this._userLogHandler&&this._userLogHandler(this,Pn.INFO,...t),this._logHandler(this,Pn.INFO,...t)}warn(...t){this._userLogHandler&&this._userLogHandler(this,Pn.WARN,...t),this._logHandler(this,Pn.WARN,...t)}error(...t){this._userLogHandler&&this._userLogHandler(this,Pn.ERROR,...t),this._logHandler(this,Pn.ERROR,...t)}}const Ex=(i,t)=>t.some(n=>i instanceof n);let Dp,Ap;function kx(){return Dp||(Dp=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function Tx(){return Ap||(Ap=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const Ng=new WeakMap,rd=new WeakMap,Bg=new WeakMap,Lf=new WeakMap,vd=new WeakMap;function _x(i){const t=new Promise((n,s)=>{const o=()=>{i.removeEventListener("success",l),i.removeEventListener("error",g)},l=()=>{n(Bs(i.result)),o()},g=()=>{s(i.error),o()};i.addEventListener("success",l),i.addEventListener("error",g)});return t.then(n=>{n instanceof IDBCursor&&Ng.set(n,i)}).catch(()=>{}),vd.set(t,i),t}function Rx(i){if(rd.has(i))return;const t=new Promise((n,s)=>{const o=()=>{i.removeEventListener("complete",l),i.removeEventListener("error",g),i.removeEventListener("abort",g)},l=()=>{n(),o()},g=()=>{s(i.error||new DOMException("AbortError","AbortError")),o()};i.addEventListener("complete",l),i.addEventListener("error",g),i.addEventListener("abort",g)});rd.set(i,t)}let id={get(i,t,n){if(i instanceof IDBTransaction){if(t==="done")return rd.get(i);if(t==="objectStoreNames")return i.objectStoreNames||Bg.get(i);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return Bs(i[t])},set(i,t,n){return i[t]=n,!0},has(i,t){return i instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in i}};function Ix(i){id=i(id)}function Ox(i){return i===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...n){const s=i.call(Mf(this),t,...n);return Bg.set(s,t.sort?t.sort():[t]),Bs(s)}:Tx().includes(i)?function(...t){return i.apply(Mf(this),t),Bs(Ng.get(this))}:function(...t){return Bs(i.apply(Mf(this),t))}}function Dx(i){return typeof i=="function"?Ox(i):(i instanceof IDBTransaction&&Rx(i),Ex(i,kx())?new Proxy(i,id):i)}function Bs(i){if(i instanceof IDBRequest)return _x(i);if(Lf.has(i))return Lf.get(i);const t=Dx(i);return t!==i&&(Lf.set(i,t),vd.set(t,i)),t}const Mf=i=>vd.get(i);function zc(i,t,{blocked:n,upgrade:s,blocking:o,terminated:l}={}){const g=indexedDB.open(i,t),k=Bs(g);return s&&g.addEventListener("upgradeneeded",C=>{s(Bs(g.result),C.oldVersion,C.newVersion,Bs(g.transaction),C)}),n&&g.addEventListener("blocked",C=>n(C.oldVersion,C.newVersion,C)),k.then(C=>{l&&C.addEventListener("close",()=>l()),o&&C.addEventListener("versionchange",A=>o(A.oldVersion,A.newVersion,A))}).catch(()=>{}),k}function Ff(i,{blocked:t}={}){const n=indexedDB.deleteDatabase(i);return t&&n.addEventListener("blocked",s=>t(s.oldVersion,s)),Bs(n).then(()=>{})}const Ax=["get","getKey","getAll","getAllKeys","count"],Px=["put","add","delete","clear"],Nf=new Map;function Pp(i,t){if(!(i instanceof IDBDatabase&&!(t in i)&&typeof t=="string"))return;if(Nf.get(t))return Nf.get(t);const n=t.replace(/FromIndex$/,""),s=t!==n,o=Px.includes(n);if(!(n in(s?IDBIndex:IDBObjectStore).prototype)||!(o||Ax.includes(n)))return;const l=async function(g,...k){const C=this.transaction(g,o?"readwrite":"readonly");let A=C.store;return s&&(A=A.index(k.shift())),(await Promise.all([A[n](...k),o&&C.done]))[0]};return Nf.set(t,l),l}Ix(i=>({...i,get:(t,n,s)=>Pp(t,n)||i.get(t,n,s),has:(t,n)=>!!Pp(t,n)||i.has(t,n)}));/**
341
- * @license
342
- * Copyright 2019 Google LLC
343
- *
344
- * Licensed under the Apache License, Version 2.0 (the "License");
345
- * you may not use this file except in compliance with the License.
346
- * You may obtain a copy of the License at
347
- *
348
- * http://www.apache.org/licenses/LICENSE-2.0
349
- *
350
- * Unless required by applicable law or agreed to in writing, software
351
- * distributed under the License is distributed on an "AS IS" BASIS,
352
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
353
- * See the License for the specific language governing permissions and
354
- * limitations under the License.
355
- */class Lx{constructor(t){this.container=t}getPlatformInfoString(){return this.container.getProviders().map(n=>{if(Mx(n)){const s=n.getImmediate();return`${s.library}/${s.version}`}else return null}).filter(n=>n).join(" ")}}function Mx(i){const t=i.getComponent();return(t==null?void 0:t.type)==="VERSION"}const od="@firebase/app",Lp="0.9.28";/**
356
- * @license
357
- * Copyright 2019 Google LLC
358
- *
359
- * Licensed under the Apache License, Version 2.0 (the "License");
360
- * you may not use this file except in compliance with the License.
361
- * You may obtain a copy of the License at
362
- *
363
- * http://www.apache.org/licenses/LICENSE-2.0
364
- *
365
- * Unless required by applicable law or agreed to in writing, software
366
- * distributed under the License is distributed on an "AS IS" BASIS,
367
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
368
- * See the License for the specific language governing permissions and
369
- * limitations under the License.
370
- */const al=new Cx("@firebase/app"),Fx="@firebase/app-compat",Nx="@firebase/analytics-compat",Bx="@firebase/analytics",jx="@firebase/app-check-compat",Hx="@firebase/app-check",Ux="@firebase/auth",Wx="@firebase/auth-compat",$x="@firebase/database",zx="@firebase/database-compat",Yx="@firebase/functions",Vx="@firebase/functions-compat",Gx="@firebase/installations",qx="@firebase/installations-compat",Xx="@firebase/messaging",Kx="@firebase/messaging-compat",Jx="@firebase/performance",Zx="@firebase/performance-compat",Qx="@firebase/remote-config",eC="@firebase/remote-config-compat",tC="@firebase/storage",nC="@firebase/storage-compat",rC="@firebase/firestore",iC="@firebase/firestore-compat",oC="firebase";/**
371
- * @license
372
- * Copyright 2019 Google LLC
373
- *
374
- * Licensed under the Apache License, Version 2.0 (the "License");
375
- * you may not use this file except in compliance with the License.
376
- * You may obtain a copy of the License at
377
- *
378
- * http://www.apache.org/licenses/LICENSE-2.0
379
- *
380
- * Unless required by applicable law or agreed to in writing, software
381
- * distributed under the License is distributed on an "AS IS" BASIS,
382
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
383
- * See the License for the specific language governing permissions and
384
- * limitations under the License.
385
- */const ad="[DEFAULT]",aC={[od]:"fire-core",[Fx]:"fire-core-compat",[Bx]:"fire-analytics",[Nx]:"fire-analytics-compat",[Hx]:"fire-app-check",[jx]:"fire-app-check-compat",[Ux]:"fire-auth",[Wx]:"fire-auth-compat",[$x]:"fire-rtdb",[zx]:"fire-rtdb-compat",[Yx]:"fire-fn",[Vx]:"fire-fn-compat",[Gx]:"fire-iid",[qx]:"fire-iid-compat",[Xx]:"fire-fcm",[Kx]:"fire-fcm-compat",[Jx]:"fire-perf",[Zx]:"fire-perf-compat",[Qx]:"fire-rc",[eC]:"fire-rc-compat",[tC]:"fire-gcs",[nC]:"fire-gcs-compat",[rC]:"fire-fst",[iC]:"fire-fst-compat","fire-js":"fire-js",[oC]:"fire-js-all"};/**
386
- * @license
387
- * Copyright 2019 Google LLC
388
- *
389
- * Licensed under the Apache License, Version 2.0 (the "License");
390
- * you may not use this file except in compliance with the License.
391
- * You may obtain a copy of the License at
392
- *
393
- * http://www.apache.org/licenses/LICENSE-2.0
394
- *
395
- * Unless required by applicable law or agreed to in writing, software
396
- * distributed under the License is distributed on an "AS IS" BASIS,
397
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
398
- * See the License for the specific language governing permissions and
399
- * limitations under the License.
400
- */const Nc=new Map,sd=new Map;function sC(i,t){try{i.container.addComponent(t)}catch(n){al.debug(`Component ${t.name} failed to register with FirebaseApp ${i.name}`,n)}}function sl(i){const t=i.name;if(sd.has(t))return al.debug(`There were multiple attempts to register component ${t}.`),!1;sd.set(t,i);for(const n of Nc.values())sC(n,i);return!0}function md(i,t){const n=i.container.getProvider("heartbeat").getImmediate({optional:!0});return n&&n.triggerHeartbeat(),i.container.getProvider(t)}/**
401
- * @license
402
- * Copyright 2019 Google LLC
403
- *
404
- * Licensed under the Apache License, Version 2.0 (the "License");
405
- * you may not use this file except in compliance with the License.
406
- * You may obtain a copy of the License at
407
- *
408
- * http://www.apache.org/licenses/LICENSE-2.0
409
- *
410
- * Unless required by applicable law or agreed to in writing, software
411
- * distributed under the License is distributed on an "AS IS" BASIS,
412
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
413
- * See the License for the specific language governing permissions and
414
- * limitations under the License.
415
- */const uC={"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}."},hu=new $c("app","Firebase",uC);/**
416
- * @license
417
- * Copyright 2019 Google LLC
418
- *
419
- * Licensed under the Apache License, Version 2.0 (the "License");
420
- * you may not use this file except in compliance with the License.
421
- * You may obtain a copy of the License at
422
- *
423
- * http://www.apache.org/licenses/LICENSE-2.0
424
- *
425
- * Unless required by applicable law or agreed to in writing, software
426
- * distributed under the License is distributed on an "AS IS" BASIS,
427
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
428
- * See the License for the specific language governing permissions and
429
- * limitations under the License.
430
- */class lC{constructor(t,n,s){this._isDeleted=!1,this._options=Object.assign({},t),this._config=Object.assign({},n),this._name=n.name,this._automaticDataCollectionEnabled=n.automaticDataCollectionEnabled,this._container=s,this.container.addComponent(new vu("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(t){this.checkDestroyed(),this._automaticDataCollectionEnabled=t}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(t){this._isDeleted=t}checkDestroyed(){if(this.isDeleted)throw hu.create("app-deleted",{appName:this._name})}}function jg(i,t={}){let n=i;typeof t!="object"&&(t={name:t});const s=Object.assign({name:ad,automaticDataCollectionEnabled:!1},t),o=s.name;if(typeof o!="string"||!o)throw hu.create("bad-app-name",{appName:String(o)});if(n||(n=Lg()),!n)throw hu.create("no-options");const l=Nc.get(o);if(l){if(nd(n,l.options)&&nd(s,l.config))return l;throw hu.create("duplicate-app",{appName:o})}const g=new yx(o);for(const C of sd.values())g.addComponent(C);const k=new lC(n,s,g);return Nc.set(o,k),k}function cC(i=ad){const t=Nc.get(i);if(!t&&i===ad&&Lg())return jg();if(!t)throw hu.create("no-app",{appName:i});return t}function pu(i,t,n){var s;let o=(s=aC[i])!==null&&s!==void 0?s:i;n&&(o+=`-${n}`);const l=o.match(/\s|\//),g=t.match(/\s|\//);if(l||g){const k=[`Unable to register library "${o}" with version "${t}":`];l&&k.push(`library name "${o}" contains illegal characters (whitespace or "/")`),l&&g&&k.push("and"),g&&k.push(`version name "${t}" contains illegal characters (whitespace or "/")`),al.warn(k.join(" "));return}sl(new vu(`${o}-version`,()=>({library:o,version:t}),"VERSION"))}/**
431
- * @license
432
- * Copyright 2021 Google LLC
433
- *
434
- * Licensed under the Apache License, Version 2.0 (the "License");
435
- * you may not use this file except in compliance with the License.
436
- * You may obtain a copy of the License at
437
- *
438
- * http://www.apache.org/licenses/LICENSE-2.0
439
- *
440
- * Unless required by applicable law or agreed to in writing, software
441
- * distributed under the License is distributed on an "AS IS" BASIS,
442
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
443
- * See the License for the specific language governing permissions and
444
- * limitations under the License.
445
- */const fC="firebase-heartbeat-database",dC=1,ic="firebase-heartbeat-store";let Bf=null;function Hg(){return Bf||(Bf=zc(fC,dC,{upgrade:(i,t)=>{switch(t){case 0:try{i.createObjectStore(ic)}catch(n){console.warn(n)}}}}).catch(i=>{throw hu.create("idb-open",{originalErrorMessage:i.message})})),Bf}async function hC(i){try{const n=(await Hg()).transaction(ic),s=await n.objectStore(ic).get(Ug(i));return await n.done,s}catch(t){if(t instanceof Nl)al.warn(t.message);else{const n=hu.create("idb-get",{originalErrorMessage:t==null?void 0:t.message});al.warn(n.message)}}}async function Mp(i,t){try{const s=(await Hg()).transaction(ic,"readwrite");await s.objectStore(ic).put(t,Ug(i)),await s.done}catch(n){if(n instanceof Nl)al.warn(n.message);else{const s=hu.create("idb-set",{originalErrorMessage:n==null?void 0:n.message});al.warn(s.message)}}}function Ug(i){return`${i.name}!${i.options.appId}`}/**
446
- * @license
447
- * Copyright 2021 Google LLC
448
- *
449
- * Licensed under the Apache License, Version 2.0 (the "License");
450
- * you may not use this file except in compliance with the License.
451
- * You may obtain a copy of the License at
452
- *
453
- * http://www.apache.org/licenses/LICENSE-2.0
454
- *
455
- * Unless required by applicable law or agreed to in writing, software
456
- * distributed under the License is distributed on an "AS IS" BASIS,
457
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
458
- * See the License for the specific language governing permissions and
459
- * limitations under the License.
460
- */const pC=1024,gC=30*24*60*60*1e3;class vC{constructor(t){this.container=t,this._heartbeatsCache=null;const n=this.container.getProvider("app").getImmediate();this._storage=new yC(n),this._heartbeatsCachePromise=this._storage.read().then(s=>(this._heartbeatsCache=s,s))}async triggerHeartbeat(){var t,n;const o=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),l=Fp();if(!(((t=this._heartbeatsCache)===null||t===void 0?void 0:t.heartbeats)==null&&(this._heartbeatsCache=await this._heartbeatsCachePromise,((n=this._heartbeatsCache)===null||n===void 0?void 0:n.heartbeats)==null))&&!(this._heartbeatsCache.lastSentHeartbeatDate===l||this._heartbeatsCache.heartbeats.some(g=>g.date===l)))return this._heartbeatsCache.heartbeats.push({date:l,agent:o}),this._heartbeatsCache.heartbeats=this._heartbeatsCache.heartbeats.filter(g=>{const k=new Date(g.date).valueOf();return Date.now()-k<=gC}),this._storage.overwrite(this._heartbeatsCache)}async getHeartbeatsHeader(){var t;if(this._heartbeatsCache===null&&await this._heartbeatsCachePromise,((t=this._heartbeatsCache)===null||t===void 0?void 0:t.heartbeats)==null||this._heartbeatsCache.heartbeats.length===0)return"";const n=Fp(),{heartbeatsToSend:s,unsentEntries:o}=mC(this._heartbeatsCache.heartbeats),l=Pg(JSON.stringify({version:2,heartbeats:s}));return this._heartbeatsCache.lastSentHeartbeatDate=n,o.length>0?(this._heartbeatsCache.heartbeats=o,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),l}}function Fp(){return new Date().toISOString().substring(0,10)}function mC(i,t=pC){const n=[];let s=i.slice();for(const o of i){const l=n.find(g=>g.agent===o.agent);if(l){if(l.dates.push(o.date),Np(n)>t){l.dates.pop();break}}else if(n.push({agent:o.agent,dates:[o.date]}),Np(n)>t){n.pop();break}s=s.slice(1)}return{heartbeatsToSend:n,unsentEntries:s}}class yC{constructor(t){this.app=t,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return Mg()?Fg().then(()=>!0).catch(()=>!1):!1}async read(){if(await this._canUseIndexedDBPromise){const n=await hC(this.app);return n!=null&&n.heartbeats?n:{heartbeats:[]}}else return{heartbeats:[]}}async overwrite(t){var n;if(await this._canUseIndexedDBPromise){const o=await this.read();return Mp(this.app,{lastSentHeartbeatDate:(n=t.lastSentHeartbeatDate)!==null&&n!==void 0?n:o.lastSentHeartbeatDate,heartbeats:t.heartbeats})}else return}async add(t){var n;if(await this._canUseIndexedDBPromise){const o=await this.read();return Mp(this.app,{lastSentHeartbeatDate:(n=t.lastSentHeartbeatDate)!==null&&n!==void 0?n:o.lastSentHeartbeatDate,heartbeats:[...o.heartbeats,...t.heartbeats]})}else return}}function Np(i){return Pg(JSON.stringify({version:2,heartbeats:i})).length}/**
461
- * @license
462
- * Copyright 2019 Google LLC
463
- *
464
- * Licensed under the Apache License, Version 2.0 (the "License");
465
- * you may not use this file except in compliance with the License.
466
- * You may obtain a copy of the License at
467
- *
468
- * http://www.apache.org/licenses/LICENSE-2.0
469
- *
470
- * Unless required by applicable law or agreed to in writing, software
471
- * distributed under the License is distributed on an "AS IS" BASIS,
472
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
473
- * See the License for the specific language governing permissions and
474
- * limitations under the License.
475
- */function bC(i){sl(new vu("platform-logger",t=>new Lx(t),"PRIVATE")),sl(new vu("heartbeat",t=>new vC(t),"PRIVATE")),pu(od,Lp,i),pu(od,Lp,"esm2017"),pu("fire-js","")}bC("");var wC="firebase",SC="10.8.1";/**
476
- * @license
477
- * Copyright 2020 Google LLC
478
- *
479
- * Licensed under the Apache License, Version 2.0 (the "License");
480
- * you may not use this file except in compliance with the License.
481
- * You may obtain a copy of the License at
482
- *
483
- * http://www.apache.org/licenses/LICENSE-2.0
484
- *
485
- * Unless required by applicable law or agreed to in writing, software
486
- * distributed under the License is distributed on an "AS IS" BASIS,
487
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
488
- * See the License for the specific language governing permissions and
489
- * limitations under the License.
490
- */pu(wC,SC,"app");const Wg="@firebase/installations",yd="0.6.5";/**
491
- * @license
492
- * Copyright 2019 Google LLC
493
- *
494
- * Licensed under the Apache License, Version 2.0 (the "License");
495
- * you may not use this file except in compliance with the License.
496
- * You may obtain a copy of the License at
497
- *
498
- * http://www.apache.org/licenses/LICENSE-2.0
499
- *
500
- * Unless required by applicable law or agreed to in writing, software
501
- * distributed under the License is distributed on an "AS IS" BASIS,
502
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
503
- * See the License for the specific language governing permissions and
504
- * limitations under the License.
505
- */const $g=1e4,zg=`w:${yd}`,Yg="FIS_v2",xC="https://firebaseinstallations.googleapis.com/v1",CC=60*60*1e3,EC="installations",kC="Installations";/**
506
- * @license
507
- * Copyright 2019 Google LLC
508
- *
509
- * Licensed under the Apache License, Version 2.0 (the "License");
510
- * you may not use this file except in compliance with the License.
511
- * You may obtain a copy of the License at
512
- *
513
- * http://www.apache.org/licenses/LICENSE-2.0
514
- *
515
- * Unless required by applicable law or agreed to in writing, software
516
- * distributed under the License is distributed on an "AS IS" BASIS,
517
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
518
- * See the License for the specific language governing permissions and
519
- * limitations under the License.
520
- */const TC={"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."},ul=new $c(EC,kC,TC);function Vg(i){return i instanceof Nl&&i.code.includes("request-failed")}/**
521
- * @license
522
- * Copyright 2019 Google LLC
523
- *
524
- * Licensed under the Apache License, Version 2.0 (the "License");
525
- * you may not use this file except in compliance with the License.
526
- * You may obtain a copy of the License at
527
- *
528
- * http://www.apache.org/licenses/LICENSE-2.0
529
- *
530
- * Unless required by applicable law or agreed to in writing, software
531
- * distributed under the License is distributed on an "AS IS" BASIS,
532
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
533
- * See the License for the specific language governing permissions and
534
- * limitations under the License.
535
- */function Gg({projectId:i}){return`${xC}/projects/${i}/installations`}function qg(i){return{token:i.token,requestStatus:2,expiresIn:RC(i.expiresIn),creationTime:Date.now()}}async function Xg(i,t){const s=(await t.json()).error;return ul.create("request-failed",{requestName:i,serverCode:s.code,serverMessage:s.message,serverStatus:s.status})}function Kg({apiKey:i}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":i})}function _C(i,{refreshToken:t}){const n=Kg(i);return n.append("Authorization",IC(t)),n}async function Jg(i){const t=await i();return t.status>=500&&t.status<600?i():t}function RC(i){return Number(i.replace("s","000"))}function IC(i){return`${Yg} ${i}`}/**
536
- * @license
537
- * Copyright 2019 Google LLC
538
- *
539
- * Licensed under the Apache License, Version 2.0 (the "License");
540
- * you may not use this file except in compliance with the License.
541
- * You may obtain a copy of the License at
542
- *
543
- * http://www.apache.org/licenses/LICENSE-2.0
544
- *
545
- * Unless required by applicable law or agreed to in writing, software
546
- * distributed under the License is distributed on an "AS IS" BASIS,
547
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
548
- * See the License for the specific language governing permissions and
549
- * limitations under the License.
550
- */async function OC({appConfig:i,heartbeatServiceProvider:t},{fid:n}){const s=Gg(i),o=Kg(i),l=t.getImmediate({optional:!0});if(l){const A=await l.getHeartbeatsHeader();A&&o.append("x-firebase-client",A)}const g={fid:n,authVersion:Yg,appId:i.appId,sdkVersion:zg},k={method:"POST",headers:o,body:JSON.stringify(g)},C=await Jg(()=>fetch(s,k));if(C.ok){const A=await C.json();return{fid:A.fid||n,registrationStatus:2,refreshToken:A.refreshToken,authToken:qg(A.authToken)}}else throw await Xg("Create Installation",C)}/**
551
- * @license
552
- * Copyright 2019 Google LLC
553
- *
554
- * Licensed under the Apache License, Version 2.0 (the "License");
555
- * you may not use this file except in compliance with the License.
556
- * You may obtain a copy of the License at
557
- *
558
- * http://www.apache.org/licenses/LICENSE-2.0
559
- *
560
- * Unless required by applicable law or agreed to in writing, software
561
- * distributed under the License is distributed on an "AS IS" BASIS,
562
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
563
- * See the License for the specific language governing permissions and
564
- * limitations under the License.
565
- */function Zg(i){return new Promise(t=>{setTimeout(t,i)})}/**
566
- * @license
567
- * Copyright 2019 Google LLC
568
- *
569
- * Licensed under the Apache License, Version 2.0 (the "License");
570
- * you may not use this file except in compliance with the License.
571
- * You may obtain a copy of the License at
572
- *
573
- * http://www.apache.org/licenses/LICENSE-2.0
574
- *
575
- * Unless required by applicable law or agreed to in writing, software
576
- * distributed under the License is distributed on an "AS IS" BASIS,
577
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
578
- * See the License for the specific language governing permissions and
579
- * limitations under the License.
580
- */function DC(i){return btoa(String.fromCharCode(...i)).replace(/\+/g,"-").replace(/\//g,"_")}/**
581
- * @license
582
- * Copyright 2019 Google LLC
583
- *
584
- * Licensed under the Apache License, Version 2.0 (the "License");
585
- * you may not use this file except in compliance with the License.
586
- * You may obtain a copy of the License at
587
- *
588
- * http://www.apache.org/licenses/LICENSE-2.0
589
- *
590
- * Unless required by applicable law or agreed to in writing, software
591
- * distributed under the License is distributed on an "AS IS" BASIS,
592
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
593
- * See the License for the specific language governing permissions and
594
- * limitations under the License.
595
- */const AC=/^[cdef][\w-]{21}$/,ud="";function PC(){try{const i=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(i),i[0]=112+i[0]%16;const n=LC(i);return AC.test(n)?n:ud}catch{return ud}}function LC(i){return DC(i).substr(0,22)}/**
596
- * @license
597
- * Copyright 2019 Google LLC
598
- *
599
- * Licensed under the Apache License, Version 2.0 (the "License");
600
- * you may not use this file except in compliance with the License.
601
- * You may obtain a copy of the License at
602
- *
603
- * http://www.apache.org/licenses/LICENSE-2.0
604
- *
605
- * Unless required by applicable law or agreed to in writing, software
606
- * distributed under the License is distributed on an "AS IS" BASIS,
607
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
608
- * See the License for the specific language governing permissions and
609
- * limitations under the License.
610
- */function Yc(i){return`${i.appName}!${i.appId}`}/**
611
- * @license
612
- * Copyright 2019 Google LLC
613
- *
614
- * Licensed under the Apache License, Version 2.0 (the "License");
615
- * you may not use this file except in compliance with the License.
616
- * You may obtain a copy of the License at
617
- *
618
- * http://www.apache.org/licenses/LICENSE-2.0
619
- *
620
- * Unless required by applicable law or agreed to in writing, software
621
- * distributed under the License is distributed on an "AS IS" BASIS,
622
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
623
- * See the License for the specific language governing permissions and
624
- * limitations under the License.
625
- */const Qg=new Map;function ev(i,t){const n=Yc(i);tv(n,t),MC(n,t)}function tv(i,t){const n=Qg.get(i);if(n)for(const s of n)s(t)}function MC(i,t){const n=FC();n&&n.postMessage({key:i,fid:t}),NC()}let nl=null;function FC(){return!nl&&"BroadcastChannel"in self&&(nl=new BroadcastChannel("[Firebase] FID Change"),nl.onmessage=i=>{tv(i.data.key,i.data.fid)}),nl}function NC(){Qg.size===0&&nl&&(nl.close(),nl=null)}/**
626
- * @license
627
- * Copyright 2019 Google LLC
628
- *
629
- * Licensed under the Apache License, Version 2.0 (the "License");
630
- * you may not use this file except in compliance with the License.
631
- * You may obtain a copy of the License at
632
- *
633
- * http://www.apache.org/licenses/LICENSE-2.0
634
- *
635
- * Unless required by applicable law or agreed to in writing, software
636
- * distributed under the License is distributed on an "AS IS" BASIS,
637
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
638
- * See the License for the specific language governing permissions and
639
- * limitations under the License.
640
- */const BC="firebase-installations-database",jC=1,ll="firebase-installations-store";let jf=null;function bd(){return jf||(jf=zc(BC,jC,{upgrade:(i,t)=>{switch(t){case 0:i.createObjectStore(ll)}}})),jf}async function Bc(i,t){const n=Yc(i),o=(await bd()).transaction(ll,"readwrite"),l=o.objectStore(ll),g=await l.get(n);return await l.put(t,n),await o.done,(!g||g.fid!==t.fid)&&ev(i,t.fid),t}async function nv(i){const t=Yc(i),s=(await bd()).transaction(ll,"readwrite");await s.objectStore(ll).delete(t),await s.done}async function Vc(i,t){const n=Yc(i),o=(await bd()).transaction(ll,"readwrite"),l=o.objectStore(ll),g=await l.get(n),k=t(g);return k===void 0?await l.delete(n):await l.put(k,n),await o.done,k&&(!g||g.fid!==k.fid)&&ev(i,k.fid),k}/**
641
- * @license
642
- * Copyright 2019 Google LLC
643
- *
644
- * Licensed under the Apache License, Version 2.0 (the "License");
645
- * you may not use this file except in compliance with the License.
646
- * You may obtain a copy of the License at
647
- *
648
- * http://www.apache.org/licenses/LICENSE-2.0
649
- *
650
- * Unless required by applicable law or agreed to in writing, software
651
- * distributed under the License is distributed on an "AS IS" BASIS,
652
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
653
- * See the License for the specific language governing permissions and
654
- * limitations under the License.
655
- */async function wd(i){let t;const n=await Vc(i.appConfig,s=>{const o=HC(s),l=UC(i,o);return t=l.registrationPromise,l.installationEntry});return n.fid===ud?{installationEntry:await t}:{installationEntry:n,registrationPromise:t}}function HC(i){const t=i||{fid:PC(),registrationStatus:0};return rv(t)}function UC(i,t){if(t.registrationStatus===0){if(!navigator.onLine){const o=Promise.reject(ul.create("app-offline"));return{installationEntry:t,registrationPromise:o}}const n={fid:t.fid,registrationStatus:1,registrationTime:Date.now()},s=WC(i,n);return{installationEntry:n,registrationPromise:s}}else return t.registrationStatus===1?{installationEntry:t,registrationPromise:$C(i)}:{installationEntry:t}}async function WC(i,t){try{const n=await OC(i,t);return Bc(i.appConfig,n)}catch(n){throw Vg(n)&&n.customData.serverCode===409?await nv(i.appConfig):await Bc(i.appConfig,{fid:t.fid,registrationStatus:0}),n}}async function $C(i){let t=await Bp(i.appConfig);for(;t.registrationStatus===1;)await Zg(100),t=await Bp(i.appConfig);if(t.registrationStatus===0){const{installationEntry:n,registrationPromise:s}=await wd(i);return s||n}return t}function Bp(i){return Vc(i,t=>{if(!t)throw ul.create("installation-not-found");return rv(t)})}function rv(i){return zC(i)?{fid:i.fid,registrationStatus:0}:i}function zC(i){return i.registrationStatus===1&&i.registrationTime+$g<Date.now()}/**
656
- * @license
657
- * Copyright 2019 Google LLC
658
- *
659
- * Licensed under the Apache License, Version 2.0 (the "License");
660
- * you may not use this file except in compliance with the License.
661
- * You may obtain a copy of the License at
662
- *
663
- * http://www.apache.org/licenses/LICENSE-2.0
664
- *
665
- * Unless required by applicable law or agreed to in writing, software
666
- * distributed under the License is distributed on an "AS IS" BASIS,
667
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
668
- * See the License for the specific language governing permissions and
669
- * limitations under the License.
670
- */async function YC({appConfig:i,heartbeatServiceProvider:t},n){const s=VC(i,n),o=_C(i,n),l=t.getImmediate({optional:!0});if(l){const A=await l.getHeartbeatsHeader();A&&o.append("x-firebase-client",A)}const g={installation:{sdkVersion:zg,appId:i.appId}},k={method:"POST",headers:o,body:JSON.stringify(g)},C=await Jg(()=>fetch(s,k));if(C.ok){const A=await C.json();return qg(A)}else throw await Xg("Generate Auth Token",C)}function VC(i,{fid:t}){return`${Gg(i)}/${t}/authTokens:generate`}/**
671
- * @license
672
- * Copyright 2019 Google LLC
673
- *
674
- * Licensed under the Apache License, Version 2.0 (the "License");
675
- * you may not use this file except in compliance with the License.
676
- * You may obtain a copy of the License at
677
- *
678
- * http://www.apache.org/licenses/LICENSE-2.0
679
- *
680
- * Unless required by applicable law or agreed to in writing, software
681
- * distributed under the License is distributed on an "AS IS" BASIS,
682
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
683
- * See the License for the specific language governing permissions and
684
- * limitations under the License.
685
- */async function Sd(i,t=!1){let n;const s=await Vc(i.appConfig,l=>{if(!iv(l))throw ul.create("not-registered");const g=l.authToken;if(!t&&XC(g))return l;if(g.requestStatus===1)return n=GC(i,t),l;{if(!navigator.onLine)throw ul.create("app-offline");const k=JC(l);return n=qC(i,k),k}});return n?await n:s.authToken}async function GC(i,t){let n=await jp(i.appConfig);for(;n.authToken.requestStatus===1;)await Zg(100),n=await jp(i.appConfig);const s=n.authToken;return s.requestStatus===0?Sd(i,t):s}function jp(i){return Vc(i,t=>{if(!iv(t))throw ul.create("not-registered");const n=t.authToken;return ZC(n)?Object.assign(Object.assign({},t),{authToken:{requestStatus:0}}):t})}async function qC(i,t){try{const n=await YC(i,t),s=Object.assign(Object.assign({},t),{authToken:n});return await Bc(i.appConfig,s),n}catch(n){if(Vg(n)&&(n.customData.serverCode===401||n.customData.serverCode===404))await nv(i.appConfig);else{const s=Object.assign(Object.assign({},t),{authToken:{requestStatus:0}});await Bc(i.appConfig,s)}throw n}}function iv(i){return i!==void 0&&i.registrationStatus===2}function XC(i){return i.requestStatus===2&&!KC(i)}function KC(i){const t=Date.now();return t<i.creationTime||i.creationTime+i.expiresIn<t+CC}function JC(i){const t={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},i),{authToken:t})}function ZC(i){return i.requestStatus===1&&i.requestTime+$g<Date.now()}/**
686
- * @license
687
- * Copyright 2019 Google LLC
688
- *
689
- * Licensed under the Apache License, Version 2.0 (the "License");
690
- * you may not use this file except in compliance with the License.
691
- * You may obtain a copy of the License at
692
- *
693
- * http://www.apache.org/licenses/LICENSE-2.0
694
- *
695
- * Unless required by applicable law or agreed to in writing, software
696
- * distributed under the License is distributed on an "AS IS" BASIS,
697
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
698
- * See the License for the specific language governing permissions and
699
- * limitations under the License.
700
- */async function QC(i){const t=i,{installationEntry:n,registrationPromise:s}=await wd(t);return s?s.catch(console.error):Sd(t).catch(console.error),n.fid}/**
701
- * @license
702
- * Copyright 2019 Google LLC
703
- *
704
- * Licensed under the Apache License, Version 2.0 (the "License");
705
- * you may not use this file except in compliance with the License.
706
- * You may obtain a copy of the License at
707
- *
708
- * http://www.apache.org/licenses/LICENSE-2.0
709
- *
710
- * Unless required by applicable law or agreed to in writing, software
711
- * distributed under the License is distributed on an "AS IS" BASIS,
712
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
713
- * See the License for the specific language governing permissions and
714
- * limitations under the License.
715
- */async function eE(i,t=!1){const n=i;return await tE(n),(await Sd(n,t)).token}async function tE(i){const{registrationPromise:t}=await wd(i);t&&await t}/**
716
- * @license
717
- * Copyright 2019 Google LLC
718
- *
719
- * Licensed under the Apache License, Version 2.0 (the "License");
720
- * you may not use this file except in compliance with the License.
721
- * You may obtain a copy of the License at
722
- *
723
- * http://www.apache.org/licenses/LICENSE-2.0
724
- *
725
- * Unless required by applicable law or agreed to in writing, software
726
- * distributed under the License is distributed on an "AS IS" BASIS,
727
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
728
- * See the License for the specific language governing permissions and
729
- * limitations under the License.
730
- */function nE(i){if(!i||!i.options)throw Hf("App Configuration");if(!i.name)throw Hf("App Name");const t=["projectId","apiKey","appId"];for(const n of t)if(!i.options[n])throw Hf(n);return{appName:i.name,projectId:i.options.projectId,apiKey:i.options.apiKey,appId:i.options.appId}}function Hf(i){return ul.create("missing-app-config-values",{valueName:i})}/**
731
- * @license
732
- * Copyright 2020 Google LLC
733
- *
734
- * Licensed under the Apache License, Version 2.0 (the "License");
735
- * you may not use this file except in compliance with the License.
736
- * You may obtain a copy of the License at
737
- *
738
- * http://www.apache.org/licenses/LICENSE-2.0
739
- *
740
- * Unless required by applicable law or agreed to in writing, software
741
- * distributed under the License is distributed on an "AS IS" BASIS,
742
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
743
- * See the License for the specific language governing permissions and
744
- * limitations under the License.
745
- */const ov="installations",rE="installations-internal",iE=i=>{const t=i.getProvider("app").getImmediate(),n=nE(t),s=md(t,"heartbeat");return{app:t,appConfig:n,heartbeatServiceProvider:s,_delete:()=>Promise.resolve()}},oE=i=>{const t=i.getProvider("app").getImmediate(),n=md(t,ov).getImmediate();return{getId:()=>QC(n),getToken:o=>eE(n,o)}};function aE(){sl(new vu(ov,iE,"PUBLIC")),sl(new vu(rE,oE,"PRIVATE"))}aE();pu(Wg,yd);pu(Wg,yd,"esm2017");/**
746
- * @license
747
- * Copyright 2019 Google LLC
748
- *
749
- * Licensed under the Apache License, Version 2.0 (the "License");
750
- * you may not use this file except in compliance with the License.
751
- * You may obtain a copy of the License at
752
- *
753
- * http://www.apache.org/licenses/LICENSE-2.0
754
- *
755
- * Unless required by applicable law or agreed to in writing, software
756
- * distributed under the License is distributed on an "AS IS" BASIS,
757
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
758
- * See the License for the specific language governing permissions and
759
- * limitations under the License.
760
- */const sE="/firebase-messaging-sw.js",uE="/firebase-cloud-messaging-push-scope",av="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",lE="https://fcmregistrations.googleapis.com/v1",sv="google.c.a.c_id",cE="google.c.a.c_l",fE="google.c.a.ts",dE="google.c.a.e";var Hp;(function(i){i[i.DATA_MESSAGE=1]="DATA_MESSAGE",i[i.DISPLAY_NOTIFICATION=3]="DISPLAY_NOTIFICATION"})(Hp||(Hp={}));/**
761
- * @license
762
- * Copyright 2018 Google LLC
763
- *
764
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
765
- * in compliance with the License. You may obtain a copy of the License at
766
- *
767
- * http://www.apache.org/licenses/LICENSE-2.0
768
- *
769
- * Unless required by applicable law or agreed to in writing, software distributed under the License
770
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
771
- * or implied. See the License for the specific language governing permissions and limitations under
772
- * the License.
773
- */var oc;(function(i){i.PUSH_RECEIVED="push-received",i.NOTIFICATION_CLICKED="notification-clicked"})(oc||(oc={}));/**
774
- * @license
775
- * Copyright 2017 Google LLC
776
- *
777
- * Licensed under the Apache License, Version 2.0 (the "License");
778
- * you may not use this file except in compliance with the License.
779
- * You may obtain a copy of the License at
780
- *
781
- * http://www.apache.org/licenses/LICENSE-2.0
782
- *
783
- * Unless required by applicable law or agreed to in writing, software
784
- * distributed under the License is distributed on an "AS IS" BASIS,
785
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
786
- * See the License for the specific language governing permissions and
787
- * limitations under the License.
788
- */function Ps(i){const t=new Uint8Array(i);return btoa(String.fromCharCode(...t)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function hE(i){const t="=".repeat((4-i.length%4)%4),n=(i+t).replace(/\-/g,"+").replace(/_/g,"/"),s=atob(n),o=new Uint8Array(s.length);for(let l=0;l<s.length;++l)o[l]=s.charCodeAt(l);return o}/**
789
- * @license
790
- * Copyright 2019 Google LLC
791
- *
792
- * Licensed under the Apache License, Version 2.0 (the "License");
793
- * you may not use this file except in compliance with the License.
794
- * You may obtain a copy of the License at
795
- *
796
- * http://www.apache.org/licenses/LICENSE-2.0
797
- *
798
- * Unless required by applicable law or agreed to in writing, software
799
- * distributed under the License is distributed on an "AS IS" BASIS,
800
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
801
- * See the License for the specific language governing permissions and
802
- * limitations under the License.
803
- */const Uf="fcm_token_details_db",pE=5,Up="fcm_token_object_Store";async function gE(i){if("databases"in indexedDB&&!(await indexedDB.databases()).map(l=>l.name).includes(Uf))return null;let t=null;return(await zc(Uf,pE,{upgrade:async(s,o,l,g)=>{var k;if(o<2||!s.objectStoreNames.contains(Up))return;const C=g.objectStore(Up),A=await C.index("fcmSenderId").get(i);if(await C.clear(),!!A){if(o===2){const U=A;if(!U.auth||!U.p256dh||!U.endpoint)return;t={token:U.fcmToken,createTime:(k=U.createTime)!==null&&k!==void 0?k:Date.now(),subscriptionOptions:{auth:U.auth,p256dh:U.p256dh,endpoint:U.endpoint,swScope:U.swScope,vapidKey:typeof U.vapidKey=="string"?U.vapidKey:Ps(U.vapidKey)}}}else if(o===3){const U=A;t={token:U.fcmToken,createTime:U.createTime,subscriptionOptions:{auth:Ps(U.auth),p256dh:Ps(U.p256dh),endpoint:U.endpoint,swScope:U.swScope,vapidKey:Ps(U.vapidKey)}}}else if(o===4){const U=A;t={token:U.fcmToken,createTime:U.createTime,subscriptionOptions:{auth:Ps(U.auth),p256dh:Ps(U.p256dh),endpoint:U.endpoint,swScope:U.swScope,vapidKey:Ps(U.vapidKey)}}}}}})).close(),await Ff(Uf),await Ff("fcm_vapid_details_db"),await Ff("undefined"),vE(t)?t:null}function vE(i){if(!i||!i.subscriptionOptions)return!1;const{subscriptionOptions:t}=i;return typeof i.createTime=="number"&&i.createTime>0&&typeof i.token=="string"&&i.token.length>0&&typeof t.auth=="string"&&t.auth.length>0&&typeof t.p256dh=="string"&&t.p256dh.length>0&&typeof t.endpoint=="string"&&t.endpoint.length>0&&typeof t.swScope=="string"&&t.swScope.length>0&&typeof t.vapidKey=="string"&&t.vapidKey.length>0}/**
804
- * @license
805
- * Copyright 2019 Google LLC
806
- *
807
- * Licensed under the Apache License, Version 2.0 (the "License");
808
- * you may not use this file except in compliance with the License.
809
- * You may obtain a copy of the License at
810
- *
811
- * http://www.apache.org/licenses/LICENSE-2.0
812
- *
813
- * Unless required by applicable law or agreed to in writing, software
814
- * distributed under the License is distributed on an "AS IS" BASIS,
815
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
816
- * See the License for the specific language governing permissions and
817
- * limitations under the License.
818
- */const mE="firebase-messaging-database",yE=1,cl="firebase-messaging-store";let Wf=null;function xd(){return Wf||(Wf=zc(mE,yE,{upgrade:(i,t)=>{switch(t){case 0:i.createObjectStore(cl)}}})),Wf}async function uv(i){const t=Ed(i),s=await(await xd()).transaction(cl).objectStore(cl).get(t);if(s)return s;{const o=await gE(i.appConfig.senderId);if(o)return await Cd(i,o),o}}async function Cd(i,t){const n=Ed(i),o=(await xd()).transaction(cl,"readwrite");return await o.objectStore(cl).put(t,n),await o.done,t}async function bE(i){const t=Ed(i),s=(await xd()).transaction(cl,"readwrite");await s.objectStore(cl).delete(t),await s.done}function Ed({appConfig:i}){return i.appId}/**
819
- * @license
820
- * Copyright 2017 Google LLC
821
- *
822
- * Licensed under the Apache License, Version 2.0 (the "License");
823
- * you may not use this file except in compliance with the License.
824
- * You may obtain a copy of the License at
825
- *
826
- * http://www.apache.org/licenses/LICENSE-2.0
827
- *
828
- * Unless required by applicable law or agreed to in writing, software
829
- * distributed under the License is distributed on an "AS IS" BASIS,
830
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
831
- * See the License for the specific language governing permissions and
832
- * limitations under the License.
833
- */const wE={"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"only-available-in-window":"This method is available in a Window context.","only-available-in-sw":"This method is available in a service worker context.","permission-default":"The notification permission was not granted and dismissed instead.","permission-blocked":"The notification permission was not granted and blocked instead.","unsupported-browser":"This browser doesn't support the API's required to use the Firebase SDK.","indexed-db-unsupported":"This browser doesn't support indexedDb.open() (ex. Safari iFrame, Firefox Private Browsing, etc)","failed-service-worker-registration":"We are unable to register the default service worker. {$browserErrorMessage}","token-subscribe-failed":"A problem occurred while subscribing the user to FCM: {$errorInfo}","token-subscribe-no-token":"FCM returned no token when subscribing the user to push.","token-unsubscribe-failed":"A problem occurred while unsubscribing the user from FCM: {$errorInfo}","token-update-failed":"A problem occurred while updating the user from FCM: {$errorInfo}","token-update-no-token":"FCM returned no token when updating the user to push.","use-sw-after-get-token":"The useServiceWorker() method may only be called once and must be called before calling getToken() to ensure your service worker is used.","invalid-sw-registration":"The input to useServiceWorker() must be a ServiceWorkerRegistration.","invalid-bg-handler":"The input to setBackgroundMessageHandler() must be a function.","invalid-vapid-key":"The public VAPID key must be a string.","use-vapid-key-after-get-token":"The usePublicVapidKey() method may only be called once and must be called before calling getToken() to ensure your VAPID key is used."},Si=new $c("messaging","Messaging",wE);/**
834
- * @license
835
- * Copyright 2019 Google LLC
836
- *
837
- * Licensed under the Apache License, Version 2.0 (the "License");
838
- * you may not use this file except in compliance with the License.
839
- * You may obtain a copy of the License at
840
- *
841
- * http://www.apache.org/licenses/LICENSE-2.0
842
- *
843
- * Unless required by applicable law or agreed to in writing, software
844
- * distributed under the License is distributed on an "AS IS" BASIS,
845
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
846
- * See the License for the specific language governing permissions and
847
- * limitations under the License.
848
- */async function SE(i,t){const n=await Td(i),s=cv(t),o={method:"POST",headers:n,body:JSON.stringify(s)};let l;try{l=await(await fetch(kd(i.appConfig),o)).json()}catch(g){throw Si.create("token-subscribe-failed",{errorInfo:g==null?void 0:g.toString()})}if(l.error){const g=l.error.message;throw Si.create("token-subscribe-failed",{errorInfo:g})}if(!l.token)throw Si.create("token-subscribe-no-token");return l.token}async function xE(i,t){const n=await Td(i),s=cv(t.subscriptionOptions),o={method:"PATCH",headers:n,body:JSON.stringify(s)};let l;try{l=await(await fetch(`${kd(i.appConfig)}/${t.token}`,o)).json()}catch(g){throw Si.create("token-update-failed",{errorInfo:g==null?void 0:g.toString()})}if(l.error){const g=l.error.message;throw Si.create("token-update-failed",{errorInfo:g})}if(!l.token)throw Si.create("token-update-no-token");return l.token}async function lv(i,t){const s={method:"DELETE",headers:await Td(i)};try{const l=await(await fetch(`${kd(i.appConfig)}/${t}`,s)).json();if(l.error){const g=l.error.message;throw Si.create("token-unsubscribe-failed",{errorInfo:g})}}catch(o){throw Si.create("token-unsubscribe-failed",{errorInfo:o==null?void 0:o.toString()})}}function kd({projectId:i}){return`${lE}/projects/${i}/registrations`}async function Td({appConfig:i,installations:t}){const n=await t.getToken();return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":i.apiKey,"x-goog-firebase-installations-auth":`FIS ${n}`})}function cv({p256dh:i,auth:t,endpoint:n,vapidKey:s}){const o={web:{endpoint:n,auth:t,p256dh:i}};return s!==av&&(o.web.applicationPubKey=s),o}/**
849
- * @license
850
- * Copyright 2019 Google LLC
851
- *
852
- * Licensed under the Apache License, Version 2.0 (the "License");
853
- * you may not use this file except in compliance with the License.
854
- * You may obtain a copy of the License at
855
- *
856
- * http://www.apache.org/licenses/LICENSE-2.0
857
- *
858
- * Unless required by applicable law or agreed to in writing, software
859
- * distributed under the License is distributed on an "AS IS" BASIS,
860
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
861
- * See the License for the specific language governing permissions and
862
- * limitations under the License.
863
- */const CE=7*24*60*60*1e3;async function EE(i){const t=await _E(i.swRegistration,i.vapidKey),n={vapidKey:i.vapidKey,swScope:i.swRegistration.scope,endpoint:t.endpoint,auth:Ps(t.getKey("auth")),p256dh:Ps(t.getKey("p256dh"))},s=await uv(i.firebaseDependencies);if(s){if(RE(s.subscriptionOptions,n))return Date.now()>=s.createTime+CE?TE(i,{token:s.token,createTime:Date.now(),subscriptionOptions:n}):s.token;try{await lv(i.firebaseDependencies,s.token)}catch(o){console.warn(o)}return Wp(i.firebaseDependencies,n)}else return Wp(i.firebaseDependencies,n)}async function kE(i){const t=await uv(i.firebaseDependencies);t&&(await lv(i.firebaseDependencies,t.token),await bE(i.firebaseDependencies));const n=await i.swRegistration.pushManager.getSubscription();return n?n.unsubscribe():!0}async function TE(i,t){try{const n=await xE(i.firebaseDependencies,t),s=Object.assign(Object.assign({},t),{token:n,createTime:Date.now()});return await Cd(i.firebaseDependencies,s),n}catch(n){throw await kE(i),n}}async function Wp(i,t){const s={token:await SE(i,t),createTime:Date.now(),subscriptionOptions:t};return await Cd(i,s),s.token}async function _E(i,t){const n=await i.pushManager.getSubscription();return n||i.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:hE(t)})}function RE(i,t){const n=t.vapidKey===i.vapidKey,s=t.endpoint===i.endpoint,o=t.auth===i.auth,l=t.p256dh===i.p256dh;return n&&s&&o&&l}/**
864
- * @license
865
- * Copyright 2020 Google LLC
866
- *
867
- * Licensed under the Apache License, Version 2.0 (the "License");
868
- * you may not use this file except in compliance with the License.
869
- * You may obtain a copy of the License at
870
- *
871
- * http://www.apache.org/licenses/LICENSE-2.0
872
- *
873
- * Unless required by applicable law or agreed to in writing, software
874
- * distributed under the License is distributed on an "AS IS" BASIS,
875
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
876
- * See the License for the specific language governing permissions and
877
- * limitations under the License.
878
- */function $p(i){const t={from:i.from,collapseKey:i.collapse_key,messageId:i.fcmMessageId};return IE(t,i),OE(t,i),DE(t,i),t}function IE(i,t){if(!t.notification)return;i.notification={};const n=t.notification.title;n&&(i.notification.title=n);const s=t.notification.body;s&&(i.notification.body=s);const o=t.notification.image;o&&(i.notification.image=o);const l=t.notification.icon;l&&(i.notification.icon=l)}function OE(i,t){t.data&&(i.data=t.data)}function DE(i,t){var n,s,o,l,g;if(!t.fcmOptions&&!(!((n=t.notification)===null||n===void 0)&&n.click_action))return;i.fcmOptions={};const k=(o=(s=t.fcmOptions)===null||s===void 0?void 0:s.link)!==null&&o!==void 0?o:(l=t.notification)===null||l===void 0?void 0:l.click_action;k&&(i.fcmOptions.link=k);const C=(g=t.fcmOptions)===null||g===void 0?void 0:g.analytics_label;C&&(i.fcmOptions.analyticsLabel=C)}/**
879
- * @license
880
- * Copyright 2019 Google LLC
881
- *
882
- * Licensed under the Apache License, Version 2.0 (the "License");
883
- * you may not use this file except in compliance with the License.
884
- * You may obtain a copy of the License at
885
- *
886
- * http://www.apache.org/licenses/LICENSE-2.0
887
- *
888
- * Unless required by applicable law or agreed to in writing, software
889
- * distributed under the License is distributed on an "AS IS" BASIS,
890
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
891
- * See the License for the specific language governing permissions and
892
- * limitations under the License.
893
- */function AE(i){return typeof i=="object"&&!!i&&sv in i}/**
894
- * @license
895
- * Copyright 2019 Google LLC
896
- *
897
- * Licensed under the Apache License, Version 2.0 (the "License");
898
- * you may not use this file except in compliance with the License.
899
- * You may obtain a copy of the License at
900
- *
901
- * http://www.apache.org/licenses/LICENSE-2.0
902
- *
903
- * Unless required by applicable law or agreed to in writing, software
904
- * distributed under the License is distributed on an "AS IS" BASIS,
905
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
906
- * See the License for the specific language governing permissions and
907
- * limitations under the License.
908
- */fv("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o");fv("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");function fv(i,t){const n=[];for(let s=0;s<i.length;s++)n.push(i.charAt(s)),s<t.length&&n.push(t.charAt(s));return n.join("")}/**
909
- * @license
910
- * Copyright 2019 Google LLC
911
- *
912
- * Licensed under the Apache License, Version 2.0 (the "License");
913
- * you may not use this file except in compliance with the License.
914
- * You may obtain a copy of the License at
915
- *
916
- * http://www.apache.org/licenses/LICENSE-2.0
917
- *
918
- * Unless required by applicable law or agreed to in writing, software
919
- * distributed under the License is distributed on an "AS IS" BASIS,
920
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
921
- * See the License for the specific language governing permissions and
922
- * limitations under the License.
923
- */function PE(i){if(!i||!i.options)throw $f("App Configuration Object");if(!i.name)throw $f("App Name");const t=["projectId","apiKey","appId","messagingSenderId"],{options:n}=i;for(const s of t)if(!n[s])throw $f(s);return{appName:i.name,projectId:n.projectId,apiKey:n.apiKey,appId:n.appId,senderId:n.messagingSenderId}}function $f(i){return Si.create("missing-app-config-values",{valueName:i})}/**
924
- * @license
925
- * Copyright 2020 Google LLC
926
- *
927
- * Licensed under the Apache License, Version 2.0 (the "License");
928
- * you may not use this file except in compliance with the License.
929
- * You may obtain a copy of the License at
930
- *
931
- * http://www.apache.org/licenses/LICENSE-2.0
932
- *
933
- * Unless required by applicable law or agreed to in writing, software
934
- * distributed under the License is distributed on an "AS IS" BASIS,
935
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
936
- * See the License for the specific language governing permissions and
937
- * limitations under the License.
938
- */class LE{constructor(t,n,s){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const o=PE(t);this.firebaseDependencies={app:t,appConfig:o,installations:n,analyticsProvider:s}}_delete(){return Promise.resolve()}}/**
939
- * @license
940
- * Copyright 2020 Google LLC
941
- *
942
- * Licensed under the Apache License, Version 2.0 (the "License");
943
- * you may not use this file except in compliance with the License.
944
- * You may obtain a copy of the License at
945
- *
946
- * http://www.apache.org/licenses/LICENSE-2.0
947
- *
948
- * Unless required by applicable law or agreed to in writing, software
949
- * distributed under the License is distributed on an "AS IS" BASIS,
950
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
951
- * See the License for the specific language governing permissions and
952
- * limitations under the License.
953
- */async function ME(i){try{i.swRegistration=await navigator.serviceWorker.register(sE,{scope:uE}),i.swRegistration.update().catch(()=>{})}catch(t){throw Si.create("failed-service-worker-registration",{browserErrorMessage:t==null?void 0:t.message})}}/**
954
- * @license
955
- * Copyright 2020 Google LLC
956
- *
957
- * Licensed under the Apache License, Version 2.0 (the "License");
958
- * you may not use this file except in compliance with the License.
959
- * You may obtain a copy of the License at
960
- *
961
- * http://www.apache.org/licenses/LICENSE-2.0
962
- *
963
- * Unless required by applicable law or agreed to in writing, software
964
- * distributed under the License is distributed on an "AS IS" BASIS,
965
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
966
- * See the License for the specific language governing permissions and
967
- * limitations under the License.
968
- */async function FE(i,t){if(!t&&!i.swRegistration&&await ME(i),!(!t&&i.swRegistration)){if(!(t instanceof ServiceWorkerRegistration))throw Si.create("invalid-sw-registration");i.swRegistration=t}}/**
969
- * @license
970
- * Copyright 2020 Google LLC
971
- *
972
- * Licensed under the Apache License, Version 2.0 (the "License");
973
- * you may not use this file except in compliance with the License.
974
- * You may obtain a copy of the License at
975
- *
976
- * http://www.apache.org/licenses/LICENSE-2.0
977
- *
978
- * Unless required by applicable law or agreed to in writing, software
979
- * distributed under the License is distributed on an "AS IS" BASIS,
980
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
981
- * See the License for the specific language governing permissions and
982
- * limitations under the License.
983
- */async function NE(i,t){t?i.vapidKey=t:i.vapidKey||(i.vapidKey=av)}/**
984
- * @license
985
- * Copyright 2020 Google LLC
986
- *
987
- * Licensed under the Apache License, Version 2.0 (the "License");
988
- * you may not use this file except in compliance with the License.
989
- * You may obtain a copy of the License at
990
- *
991
- * http://www.apache.org/licenses/LICENSE-2.0
992
- *
993
- * Unless required by applicable law or agreed to in writing, software
994
- * distributed under the License is distributed on an "AS IS" BASIS,
995
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
996
- * See the License for the specific language governing permissions and
997
- * limitations under the License.
998
- */async function dv(i,t){if(!navigator)throw Si.create("only-available-in-window");if(Notification.permission==="default"&&await Notification.requestPermission(),Notification.permission!=="granted")throw Si.create("permission-blocked");return await NE(i,t==null?void 0:t.vapidKey),await FE(i,t==null?void 0:t.serviceWorkerRegistration),EE(i)}/**
999
- * @license
1000
- * Copyright 2019 Google LLC
1001
- *
1002
- * Licensed under the Apache License, Version 2.0 (the "License");
1003
- * you may not use this file except in compliance with the License.
1004
- * You may obtain a copy of the License at
1005
- *
1006
- * http://www.apache.org/licenses/LICENSE-2.0
1007
- *
1008
- * Unless required by applicable law or agreed to in writing, software
1009
- * distributed under the License is distributed on an "AS IS" BASIS,
1010
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1011
- * See the License for the specific language governing permissions and
1012
- * limitations under the License.
1013
- */async function BE(i,t,n){const s=jE(t);(await i.firebaseDependencies.analyticsProvider.get()).logEvent(s,{message_id:n[sv],message_name:n[cE],message_time:n[fE],message_device_time:Math.floor(Date.now()/1e3)})}function jE(i){switch(i){case oc.NOTIFICATION_CLICKED:return"notification_open";case oc.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}/**
1014
- * @license
1015
- * Copyright 2017 Google LLC
1016
- *
1017
- * Licensed under the Apache License, Version 2.0 (the "License");
1018
- * you may not use this file except in compliance with the License.
1019
- * You may obtain a copy of the License at
1020
- *
1021
- * http://www.apache.org/licenses/LICENSE-2.0
1022
- *
1023
- * Unless required by applicable law or agreed to in writing, software
1024
- * distributed under the License is distributed on an "AS IS" BASIS,
1025
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1026
- * See the License for the specific language governing permissions and
1027
- * limitations under the License.
1028
- */async function HE(i,t){const n=t.data;if(!n.isFirebaseMessaging)return;i.onMessageHandler&&n.messageType===oc.PUSH_RECEIVED&&(typeof i.onMessageHandler=="function"?i.onMessageHandler($p(n)):i.onMessageHandler.next($p(n)));const s=n.data;AE(s)&&s[dE]==="1"&&await BE(i,n.messageType,s)}const zp="@firebase/messaging",Yp="0.12.6";/**
1029
- * @license
1030
- * Copyright 2020 Google LLC
1031
- *
1032
- * Licensed under the Apache License, Version 2.0 (the "License");
1033
- * you may not use this file except in compliance with the License.
1034
- * You may obtain a copy of the License at
1035
- *
1036
- * http://www.apache.org/licenses/LICENSE-2.0
1037
- *
1038
- * Unless required by applicable law or agreed to in writing, software
1039
- * distributed under the License is distributed on an "AS IS" BASIS,
1040
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1041
- * See the License for the specific language governing permissions and
1042
- * limitations under the License.
1043
- */const UE=i=>{const t=new LE(i.getProvider("app").getImmediate(),i.getProvider("installations-internal").getImmediate(),i.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",n=>HE(t,n)),t},WE=i=>{const t=i.getProvider("messaging").getImmediate();return{getToken:s=>dv(t,s)}};function $E(){sl(new vu("messaging",UE,"PUBLIC")),sl(new vu("messaging-internal",WE,"PRIVATE")),pu(zp,Yp),pu(zp,Yp,"esm2017")}/**
1044
- * @license
1045
- * Copyright 2020 Google LLC
1046
- *
1047
- * Licensed under the Apache License, Version 2.0 (the "License");
1048
- * you may not use this file except in compliance with the License.
1049
- * You may obtain a copy of the License at
1050
- *
1051
- * http://www.apache.org/licenses/LICENSE-2.0
1052
- *
1053
- * Unless required by applicable law or agreed to in writing, software
1054
- * distributed under the License is distributed on an "AS IS" BASIS,
1055
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1056
- * See the License for the specific language governing permissions and
1057
- * limitations under the License.
1058
- */async function zE(){try{await Fg()}catch{return!1}return typeof window<"u"&&Mg()&&fx()&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window&&"fetch"in window&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")}/**
1059
- * @license
1060
- * Copyright 2020 Google LLC
1061
- *
1062
- * Licensed under the Apache License, Version 2.0 (the "License");
1063
- * you may not use this file except in compliance with the License.
1064
- * You may obtain a copy of the License at
1065
- *
1066
- * http://www.apache.org/licenses/LICENSE-2.0
1067
- *
1068
- * Unless required by applicable law or agreed to in writing, software
1069
- * distributed under the License is distributed on an "AS IS" BASIS,
1070
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1071
- * See the License for the specific language governing permissions and
1072
- * limitations under the License.
1073
- */function YE(i,t){if(!navigator)throw Si.create("only-available-in-window");return i.onMessageHandler=t,()=>{i.onMessageHandler=null}}/**
1074
- * @license
1075
- * Copyright 2017 Google LLC
1076
- *
1077
- * Licensed under the Apache License, Version 2.0 (the "License");
1078
- * you may not use this file except in compliance with the License.
1079
- * You may obtain a copy of the License at
1080
- *
1081
- * http://www.apache.org/licenses/LICENSE-2.0
1082
- *
1083
- * Unless required by applicable law or agreed to in writing, software
1084
- * distributed under the License is distributed on an "AS IS" BASIS,
1085
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1086
- * See the License for the specific language governing permissions and
1087
- * limitations under the License.
1088
- */function VE(i=cC()){return zE().then(t=>{if(!t)throw Si.create("unsupported-browser")},t=>{throw Si.create("indexed-db-unsupported")}),md(gd(i),"messaging").getImmediate()}async function GE(i,t){return i=gd(i),dv(i,t)}function qE(i,t){return i=gd(i),YE(i,t)}$E();const XE={"subscription-diaglog":"_subscription-diaglog_1gvmm_2","subscription-container":"_subscription-container_1gvmm_15","subscription-title":"_subscription-title_1gvmm_25","subscription-text":"_subscription-text_1gvmm_34","subscription-btn__container":"_subscription-btn__container_1gvmm_38","btn-success":"_btn-success_1gvmm_44","btn-cancel":"_btn-cancel_1gvmm_45"},KE={"notification-massage_container":"_notification-massage_container_ql4az_1","notification-name":"_notification-name_ql4az_18","notification-message_service":"_notification-message_service_ql4az_23","notification-message_button-close":"_notification-message_button-close_ql4az_27"};exports.AuthProvider=G1;exports.C=Nw;exports.CustomOpenList=Jp;exports.CustomOpenListProvider=fw;exports.DateRangePicker=ex;exports.ERROR_MESSAGE=b1;exports.InfiniteLoader=V1;exports.Language=hd;exports.PropTypes=Jo;exports.Q=nw;exports.ReactSVG=pd;exports.TranslationProvider=y1;exports._=H1;exports._assertThisInitialized=Fs;exports._extends=Fl;exports._extends$1=x1;exports._inheritsLoose=kg;exports._objectWithoutPropertiesLoose=dd;exports.clsx=Ls;exports.commonjsGlobal=Ro;exports.getAugmentedNamespace=dw;exports.getDefaultExportFromCjs=ac;exports.getMessagingInWindow=VE;exports.getToken=GE;exports.initializeApp=jg;exports.instance=Mr;exports.lodashExports=Rg;exports.login=w1;exports.logout=S1;exports.notify=cw;exports.objectWithoutPropertiesLoose=IS;exports.onMessage=qE;exports.pushError=uw;exports.pushSuccess=sw;exports.pushWarning=lw;exports.search=X1;exports.styles=j1;exports.styles$1=XE;exports.styles$2=KE;exports.t=lg;exports.translate=v1;exports.translationConfig=g1;exports.useAuth=q1;exports.useCustomTranslation=p1;exports.useTranslation=gg;exports.useTranslation$1=m1;