1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7195],{1756:function(e,t,r){"use strict";var n=r(67294),o=r(9568),i=r.n(o);const s={intervalMs:1e3};function a(e,t,r){let n;return n=r?i()(r):i()(),n.format(e,t)}function u(e,t){switch(t.type){case"update":var{input:r,locale:n,relativeDate:o}=t.payload;return a(r,n,o);default:return e}}t.Z=function(e,t){const r=Object.assign({},t,s),{intervalMs:o,locale:i,relativeDate:c}=r,[l,d]=(0,n.useReducer)(u,a(e,i,c));return function(e,t,r=!1){const o=(0,n.useRef)(null),[i,s]=(0,n.useState)(r),a=(0,n.useRef)();function u(){i||s(!0)}function c(){i&&s(!1)}let l;(0,n.useEffect)((()=>{a.current=e})),(0,n.useEffect)((()=>{if(null!==t&&i){let e=setInterval((function(){a.current&&a.current()}),t);return o.current=e,()=>{o.current=null,clearInterval(e)}}}),[t,i]),l=[u,c,o.current],l.start=u,l.stop=c,l.intervalId=o.current}((()=>{f()}),o,!0),(0,n.useEffect)((()=>{f()}),[e,t]),l;function f(){d({type:"update",payload:{input:e,locale:i,relativeDate:c}})}}},25116:function(e,t,r){"use strict";r.d(t,{v2:function(){return X},j2:function(){return q},sN:function(){return J},Wd:function(){return Z}});var n=r(67294),o=r(73935),i=r(45697),s=r.n(i);const a="rc-menu",u="item",c=n.createContext({}),l=n.createContext({}),d=n.createContext({}),f=n.createContext({}),p=n.createContext({}),b=n.createContext({}),m=Object.freeze({ENTER:"Enter",ESC:"Escape",SPACE:" ",HOME:"Home",END:"End",LEFT:"ArrowLeft",RIGHT:"ArrowRight",UP:"ArrowUp",DOWN:"ArrowDown"}),g=Object.freeze({RESET:"HOVER_INDEX_RESET",SET:"HOVER_INDEX_SET",UNSET:"HOVER_INDEX_UNSET",INCREASE:"HOVER_INDEX_INCREASE",DECREASE:"HOVER_INDEX_DECREASE",FIRST:"HOVER_INDEX_FIRST",LAST:"HOVER_INDEX_LAST"}),h=Object.freeze({OPEN:"SUBMENU_OPEN",CLOSE:"SUBMENU_CLOSE"}),y=Object.freeze({CLICK:"click",CANCEL:"cancel",BLUR:"blur",SCROLL:"scroll"}),v=o.unstable_batchedUpdates||(e=>e()),w=(e,t)=>t?Object.defineProperty(e,"_reactMenu",{value:t,writable:!1}):e,O=e=>e&&e._reactMenu,E=(e,...t)=>"function"===typeof e?e(...t):e,S=(e,t)=>{const r={};for(const n of Object.keys(e)){const o=e[n],i=t[n];let s;s="function"===typeof i?e=>{i(e),o(e)}:o,r[n]=s}return r},k=(e,t,r={})=>(n,o)=>{let i=t?`${e}__${t}`:e,s=i;for(const e of Object.keys(r)){const t=r[e];t&&(s+=` ${i}--`,s+=!0===t?e:`${e}-${t}`)}return"function"===typeof n&&(n=n(o||r)),"string"===typeof n&&(n=n.trim())&&(s+=` ${n}`),s},x=e=>e&&"object"===typeof e,R=e=>"$"===e.charAt(0)?e.slice(1):e,C=(e,t)=>{if("function"===typeof e)return e(t);if(!x(e))return;if(!t)return e;const r={};for(const n of Object.keys(e)){const o=e[n];if(x(o)){const e=t[R(n)];if("string"===typeof e)for(const t of Object.keys(o)){const n=o[t];x(n)?R(t)===e&&Object.assign(r,n):r[t]=n}else e&&Object.assign(r,o)}else r[n]=o}return r},A=e=>{for(;e&&e!==document.body;){const{overflow:t,overflowX:r,overflowY:n}=getComputedStyle(e);if(/auto|scroll|overlay|hidden/.test(t+n+r))return e;e=e.parentNode}return window},T=(e,t,r=1e-4)=>Math.abs(e-t)<r,_=(e,t,r)=>!!t&&!!r.includes(O(t.type)),j=(e,t=0)=>{let r=t,o=!1;const i=["MenuDivider","MenuGroup","MenuHeader","MenuItem","FocusableItem","MenuRadioGroup","SubMenu"];return{items:n.Children.map(e,(e=>{if(!_(0,e,i))return null;switch(O(e.type)){case"MenuDivider":case"MenuHeader":return e;case"MenuRadioGroup":{const t=["MenuItem"],o={type:"radio"},i=n.Children.map(e.props.children,(e=>_(0,e,t)?e.props.disabled?n.cloneElement(e,o):n.cloneElement(e,{...o,index:r++}):null));return n.cloneElement(e,{children:i})}case"MenuGroup":{const{items:t,endIndex:i,descendOverflow:s}=j(e.props.children,r);r=i;const a=Boolean(e.props.takeOverflow);return o=o||s||a,n.cloneElement(e,{children:t})}default:return e.props.disabled?e:n.cloneElement(e,{index:r++})}})),endIndex:r,descendOverflow:o}},M=e=>({[e?`${e}ClassName`:"className"]:s().oneOfType([s().string,s().func]),[e?`${e}Styles`:"styles"]:s().oneOfType([s().object,s().func])}),I={...M(),...M("arrow"),"aria-label":s().string,arrow:s().bool,offsetX:s().number,offsetY:s().number,align:s().oneOf(["start","center","end"]),direction:s().oneOf(["left","right","top","bottom"]),position:s().oneOf(["auto","anchor","initial"]),overflow:s().oneOf(["auto","visible","hidden"]),children:s().node.isRequired}
1,D={...I,id:s().oneOfType([s().string,s().number]),animation:s().bool,debugging:s().bool,boundingBoxRef:s().object,boundingBoxPadding:s().string,reposition:s().oneOf(["auto","initial"]),repositionFlag:s().oneOfType([s().string,s().number]),viewScroll:s().oneOf(["auto","close","initial"]),submenuOpenDelay:s().number,submenuCloseDelay:s().number,portal:s().bool,theming:s().string,onClick:s().func},N={offsetX:0,offsetY:0,align:"start",direction:"bottom",position:"auto",overflow:"visible"},P={...N,animation:!0,reposition:"auto",viewScroll:"initial",submenuOpenDelay:300,submenuCloseDelay:150},L=(e,t,r)=>{const[o,i]=(0,n.useState)(!1),s=(0,n.useMemo)((()=>[m.SPACE,m.ENTER,...r?[r]:[]]),[r]),a=(0,n.useCallback)((()=>i(!1)),[]);return{isActive:o,onPointerDown:(0,n.useCallback)((()=>{t||i(!0)}),[t]),onPointerUp:a,onPointerLeave:a,onKeyDown:(0,n.useCallback)((r=>{e&&!t&&s.includes(r.key)&&i(!0)}),[e,t,s]),onKeyUp:(0,n.useCallback)((e=>{s.includes(e.key)&&i(!1)}),[s]),onBlur:(0,n.useCallback)((e=>{e.currentTarget.contains(e.relatedTarget)||i(!1)}),[])}},F=(e,t)=>{const r=(0,n.useRef)(null),{submenuCloseDelay:o}=(0,n.useContext)(b),{isParentOpen:i,hoverIndex:s,isSubmenuOpen:a,dispatch:u}=(0,n.useContext)(c),l=s===t,d=(0,n.useRef)(),f=(0,n.useCallback)((()=>{e||u({type:g.SET,index:t})}),[e,u,t]),p=(0,n.useCallback)((e=>{e.currentTarget.contains(e.relatedTarget)||u({type:g.UNSET,index:t})}),[u,t]),m=(0,n.useCallback)((()=>{a?d.current=setTimeout(f,o):f()}),[a,o,f]),h=(0,n.useCallback)(((e,r)=>{d.current&&clearTimeout(d.current),r||u({type:g.UNSET,index:t})}),[u,t]);return(0,n.useEffect)((()=>()=>clearTimeout(d.current)),[]),(0,n.useEffect)((()=>{l&&i&&r.current&&r.current.focus()}),[l,i]),{ref:r,isHovering:l,setHover:f,onBlur:p,onMouseEnter:m,onMouseLeave:h}},B=(e,t)=>{const r=(0,n.useRef)(t);(0,n.useEffect)((()=>{r.current!==t&&E(e,{open:t}),r.current=t}),[e,t])},V=Object.freeze({INITIAL:"initial",FIRST:"first",LAST:"last"}),U=Object.freeze({UNMOUNTED:0,CLOSED:1,OPEN:2}),z=Object.freeze({OPEN:0,CLOSE:1,TOGGLE:2}),H=(e=!0)=>{const[t,r]=(0,n.useState)({position:V.INITIAL}),[o,i]=(0,n.useReducer)((function(t,{type:r}){switch(r){case z.OPEN:return U.OPEN;case z.CLOSE:return t===U.OPEN?e?U.CLOSED:U.UNMOUNTED:t;case z.TOGGLE:return t===U.OPEN?e?U.CLOSED:U.UNMOUNTED:U.OPEN;default:throw new Error("menuStateReducer: unknown action type")}}),U.UNMOUNTED);return{isMounted:o!==U.UNMOUNTED,isOpen:o===U.OPEN,menuItemFocus:t,openMenu:(0,n.useCallback)(((e=V.INITIAL)=>{r({position:e}),i({type:z.OPEN})}),[]),closeMenu:(0,n.useCallback)((()=>i({type:z.CLOSE})),[]),toggleMenu:(0,n.useCallback)(((e=V.INITIAL)=>{r({position:e}),i({type:z.TOGGLE})}),[])}},W="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?n.useLayoutEffect:n.useEffect,q=w(n.memo(n.forwardRef((function({className:e,styles:t,isOpen:r,disabled:o,children:i,...s},a){const u=Object.freeze({open:r});return n.createElement("button",Object.assign({"aria-haspopup":"true","aria-expanded":r,"aria-disabled":o||void 0,disabled:o},s,{ref:a,className:k("rc-menu-button",null,u)(e),style:C(t,u)}),i)}))),"MenuButton");q.propTypes={...M(),isOpen:s().bool,disabled:s().bool,children:s().node.isRequired,onClick:s().func,onKeyDown:s().func};const G=w(n.memo((function({ariaLabel:e,className:t,styles:r,arrowClassName:o,arrowStyles:i,anchorPoint:s,anchorRef:u,containerRef:d,arrow:f,align:b,direction:h,position:w,overflow:O,repositionFlag:x,captureFocus:R=!0,isOpen:_,isDisabled:M,menuItemFocus:I,offsetX:D,offsetY:N,children:P,onClose:L,...F}){const[B,U]=(0,n.useState)({x:0,y:0}),[z,H]=(0,n.useState)({}),[q,G]=(0,n.useState)(),[Y,X]=(0,n.useState)(!1),[K,Z]=(0,n.useState)(h),{animation:J,boundingBoxRef:Q,boundingBoxPadding:ee,rootMenuRef:te,rootAnchorRef:re,scrollingRef:ne,anchorScrollingRef:oe,reposition:ie,viewScroll:se}=(0,n.useContext)(p),ae=(0,n.useRef)(null),ue=(0,n.useRef)(null),ce=(0,n.useRef)(0),le=(0,n.useRef)(_),de=(0,n.useRef)({width:0,height:0}),fe=(0,n.useRef)((()=>{})),pe=(0,n.useRef)(!1),be=(0,n.useContext)(l).reposSubmenu||x,[me,ge]=(0,n.useReducer)((e=>e+1),1),[{hoverIndex:he,openSubmenuCount:ye},ve]=(0,n.useReducer)((function({hoverIndex:e,openSubmenuCount:t},r){return{hoverIndex:we(e,r),openSubmenuCount:$(t,r)}}),{hoverIndex:-1,openSubmenuCount:0});function we(e,{type:t,index:r}){switch(t){case g.RESET:return-1;case g.SET:return r;case g.UNSET:return e===r?-1:e;case g.DECREASE:{let t=e;return t--,t<0&&(t=ce.current-1),t}case g.INCREASE:{let t=e;return t++,t>=ce.current&&(t=0),t}case g.FIRST:return ce.current>0?0:-1;case g.LAST:return ce.current>0?ce.current-1:-1;default:return e}}const Oe=(0,n.useMemo)((()=>{const{items:e,endIndex:t,descendOverflow:r}=j(P);return ce.current=t,pe.current=r,e}),[P]),Ee=(0,n.useCallback)((()=>{const e=ae.current.getBoundingClientRect(),t=d.current.getBoundingClientRect(),r=ne.current===window?{left:0,top:0,right:document.documentElement.clientWidth,bottom:window.innerHeight}:ne.current.getBoundingClientRect(),n=(e=>{if("string"!==typeof e)return{top:0,right:0,bottom:0,left:0};const t=e.trim().split(/\s+/,4).map(parseFloat),r=isNaN(t[0])?0:t[0],n=isNaN(t[1])?r:t[1];return{top:r,right:n,bottom:isNaN(t[2])?r:t[2],left:isNaN(t[3])?n:t[3]}})(ee),o=e=>e+t.left-r.left-n.left,i=o=>o+t.left+e.width-r.right+n.right,s=e=>e+t.top-r.top-n.top,a=o=>
1o+t.top+e.height-r.bottom+n.bottom;return{menuRect:e,containerRect:t,getLeftOverflow:o,getRightOverflow:i,getTopOverflow:s,getBottomOverflow:a,confineHorizontally:e=>{let t=o(e);if(t<0)e-=t;else{const r=i(e);r>0&&(t=o(e-=r),t<0&&(e-=t))}return e},confineVertically:e=>{let t=s(e);if(t<0)e-=t;else{const r=a(e);r>0&&(t=s(e-=r),t<0&&(e-=t))}return e}}}),[d,ne,ee]),Se=(0,n.useCallback)(((e,t,r,n)=>{let o=t.left-r.left-e+t.width/2;const i=1.25*ue.current.offsetWidth;return o=Math.max(i,o),o=Math.min(o,n.width-i),o}),[]),ke=(0,n.useCallback)(((e,t,r,n)=>{let o=t.top-r.top-e+t.height/2;const i=1.25*ue.current.offsetHeight;return o=Math.max(i,o),o=Math.min(o,n.height-i),o}),[]),xe=(0,n.useCallback)((({anchorRect:e,containerRect:t,menuRect:r},{placeLeftorRightY:n,placeLeftX:o,placeRightX:i},{getLeftOverflow:s,getRightOverflow:a,confineHorizontally:u,confineVertically:c})=>{let l,d,p,b=h,m=n;"initial"!==w&&(m=c(m),"anchor"===w&&(m=Math.min(m,e.bottom-t.top),m=Math.max(m,e.top-t.top-r.height))),"left"===b?(l=o,"initial"!==w&&(d=s(l),d<0&&(p=a(i),(p<=0||-d>p)&&(l=i,b="right")))):(l=i,"initial"!==w&&(p=a(l),p>0&&(d=s(o),(d>=0||-d<p)&&(l=o,b="left")))),"auto"===w&&(l=u(l));return{arrowY:f?ke(m,e,t,r):void 0,x:l,y:m,computedDirection:b}}),[ke,f,h,w]),Re=(0,n.useCallback)((({anchorRect:e,containerRect:t,menuRect:r},{placeToporBottomX:n,placeTopY:o,placeBottomY:i},{getTopOverflow:s,getBottomOverflow:a,confineHorizontally:u,confineVertically:c})=>{let l,d,p,b="top"===h?"top":"bottom",m=n;"initial"!==w&&(m=u(m),"anchor"===w&&(m=Math.min(m,e.right-t.left),m=Math.max(m,e.left-t.left-r.width))),"top"===b?(l=o,"initial"!==w&&(d=s(l),d<0&&(p=a(i),(p<=0||-d>p)&&(l=i,b="bottom")))):(l=i,"initial"!==w&&(p=a(l),p>0&&(d=s(o),(d>=0||-d<p)&&(l=o,b="top")))),"auto"===w&&(l=c(l));return{arrowX:f?Se(m,e,t,r):void 0,x:m,y:l,computedDirection:b}}),[Se,f,h,w]),Ce=(0,n.useCallback)(((e,t)=>{const{menuRect:r,containerRect:n,...o}=e;let i=D,s=N;f&&("left"===h||"right"===h?i+=ue.current.offsetWidth:s+=ue.current.offsetHeight);const a=t.current.getBoundingClientRect(),u=a.left-n.left-r.width-i,c=a.right-n.left+i,l=a.top-n.top-r.height-s,d=a.bottom-n.top+s;let p,m;"end"===b?(p=a.right-n.left-r.width,m=a.bottom-n.top-r.height):"center"===b?(p=a.left-n.left-(r.width-a.width)/2,m=a.top-n.top-(r.height-a.height)/2):(p=a.left-n.left,m=a.top-n.top),p+=i,m+=s;const g={anchorRect:a,containerRect:n,menuRect:r},y={placeLeftX:u,placeRightX:c,placeLeftorRightY:m,placeTopY:l,placeBottomY:d,placeToporBottomX:p};switch(h){case"left":case"right":return xe(g,y,o);case"top":case"bottom":default:return Re(g,y,o)}}),[f,b,h,D,N,xe,Re]),Ae=(0,n.useCallback)(((e,t)=>{const{menuRect:r,containerRect:n,getLeftOverflow:o,getRightOverflow:i,getTopOverflow:s,getBottomOverflow:a,confineHorizontally:u,confineVertically:c}=e;let l,d;l=t.x-n.left,d=t.y-n.top;const f=i(l);if(f>0){const e=l-r.width,t=o(e);(t>=0||-t<f)&&(l=e),l=u(l)}let p="bottom";const b=a(d);if(b>0){const e=d-r.height,t=s(e);(t>=0||-t<b)&&(d=e,p="top"),d=c(d)}return{x:l,y:d,computedDirection:p}}),[]),Te=(0,n.useCallback)((()=>{if(!d.current)return void 0;ne.current||(ne.current=Q?Q.current:A(te.current));const e=Ee(),{menuRect:t}=e;let r={computedDirection:"bottom"};s?r=Ae(e,s):u&&(r=Ce(e,u));let{arrowX:n,arrowY:o,x:i,y:a,computedDirection:c}=r,l=t.height;if("visible"!==O){const{getTopOverflow:t,getBottomOverflow:r}=e;let n,o;const i=de.current.height,s=r(a);if(s>0||T(s,0)&&T(l,i))n=l-s,o=s;else{const e=t(a);(e<0||T(e,0)&&T(l,i))&&(n=l+e,o=0-e,n>=0&&(a-=e))}n>=0?(l=n,G({height:n,overflowAmt:o})):G()}f&&H({x:n,y:o}),U({x:i,y:a}),Z(c),de.current={width:t.width,height:l}}),[f,s,u,d,Q,te,ne,O,Ee,Ce,Ae]);W((()=>{_&&(Te(),le.current&&ge()),fe.current=Te}),[_,Te,be]),W((()=>{q&&!pe.current&&(ae.current.scrollTop=0)}),[q]),W((()=>{J&&(_?X(!1):_!==le.current&&X(!0)),le.current=_}),[J,_]),(0,n.useEffect)((()=>{if(!_)return;!oe.current&&re&&re.current.tagName&&(oe.current=A(re.current));const e=ne.current,t=e&&e.addEventListener?e:window,r=oe.current||t;let n=se;if(r!==t&&"initial"===n&&(n="auto"),"initial"===n)return;"auto"===n&&"visible"!==O&&(n="close");const o=()=>{"auto"===n?v(Te):E(L,{reason:y.SCROLL})},i=r!==t&&"initial"!==se?[r,t]:[r];
1return i.forEach((e=>e.addEventListener("scroll",o))),()=>i.forEach((e=>e.removeEventListener("scroll",o)))}),[re,oe,ne,_,O,L,se,Te]),(0,n.useEffect)((()=>{if("function"!==typeof ResizeObserver||"initial"===ie)return;const e=new ResizeObserver((([e])=>{const{borderBoxSize:t,target:r}=e;let n,o;if(t){const{inlineSize:e,blockSize:r}=t[0]||t;n=e,o=r}else{const e=r.getBoundingClientRect();n=e.width,o=e.height}0!==n&&0!==o&&(T(n,de.current.width,1)&&T(o,de.current.height,1)||v((()=>{fe.current(),ge()})))})),t=ae.current;return e.observe(t,{box:"border-box"}),()=>e.unobserve(t)}),[ie]),(0,n.useEffect)((()=>{_||(ve({type:g.RESET}),J||G());const e=setTimeout((()=>{_&&ae.current&&!ae.current.contains(document.activeElement)&&(R&&ae.current.focus(),I.position===V.FIRST?ve({type:g.FIRST}):I.position===V.LAST&&ve({type:g.LAST}))}),J?170:100);return()=>clearTimeout(e)}),[J,R,_,I]);const _e=ye>0,je=(0,n.useMemo)((()=>({isParentOpen:_,hoverIndex:he,isSubmenuOpen:_e,dispatch:ve})),[_,he,_e]);let Me,Ie;q&&(pe.current?Ie=q.overflowAmt:Me=q.height);const De=(0,n.useMemo)((()=>({reposSubmenu:me,overflow:O,overflowAmt:Ie})),[me,O,Ie]),Ne=Me>=0?{maxHeight:Me,overflow:O}:void 0,Pe={open:_,closing:Y,animation:J,dir:J&&K},Le=Object.freeze({...Pe,dir:K}),Fe=Object.freeze({dir:K}),Be=S({onKeyDown:e=>{let t=!1;switch(e.key){case m.HOME:ve({type:g.FIRST}),t=!0;break;case m.END:ve({type:g.LAST}),t=!0;break;case m.UP:ve({type:g.DECREASE}),t=!0;break;case m.DOWN:ve({type:g.INCREASE}),t=!0;break;case m.SPACE:e.target&&e.target.className.includes(a)&&e.preventDefault()}t&&(e.preventDefault(),e.stopPropagation())},onAnimationEnd:()=>{Y&&(X(!1),G())}},F);return n.createElement("ul",Object.assign({role:"menu",tabIndex:"-1","aria-disabled":M||void 0,"aria-label":e},F,Be,{ref:ae,className:k(a,null,Pe)(t,Le),style:{...C(r,Le),...Ne,left:`${B.x}px`,top:`${B.y}px`}}),f&&n.createElement("div",{className:k(a,"arrow",Fe)(o),style:{...C(i,Fe),left:z.x&&`${z.x}px`,top:z.y&&`${z.y}px`},ref:ue}),n.createElement(l.Provider,{value:De},n.createElement(c.Provider,{value:je},Oe)))})),"MenuList");function $(e,{type:t}){switch(t){case h.OPEN:return e+1;case h.CLOSE:return Math.max(e-1,0);default:return e}}const Y=(e,{id:t,animation:r,boundingBoxRef:i,boundingBoxPadding:s,debugging:a,reposition:u,submenuOpenDelay:c,submenuCloseDelay:l,viewScroll:f,portal:g,theming:h,isMounted:v,onClick:w,onClose:O,skipClick:S})=>{const x=(0,n.useRef)(null),R=(0,n.useRef)(null),C=(0,n.useRef)(null),{anchorRef:A,isOpen:T}=e,_=(0,n.useMemo)((()=>({animation:r,boundingBoxRef:i,boundingBoxPadding:s,rootMenuRef:x,rootAnchorRef:A,scrollingRef:R,anchorScrollingRef:C,reposition:u,viewScroll:f})),[r,A,i,s,u,f]),j=(0,n.useMemo)((()=>({debugging:a,submenuOpenDelay:c,submenuCloseDelay:l})),[a,c,l]),M=(0,n.useMemo)((()=>({handleClick(e,t,r){t||E(w,e);let n=e.keepOpen;void 0===n&&(n=r&&e.key===m.SPACE),n||E(O,{value:e.value,key:e.key,reason:y.CLICK})},handleClose(e){E(O,{key:e,reason:y.CLICK})}})),[w,O]),I=n.createElement("div",{id:t,className:k("rc-menu-container",null,{theme:h})(),ref:x,onKeyDown:({key:e})=>{switch(e){case m.ESC:E(O,{key:e,reason:y.CANCEL})}},onBlur:e=>{!T||e.currentTarget.contains(e.relatedTarget||document.activeElement)||a||(E(O,{reason:y.BLUR}),S&&(S.current=!0,setTimeout((()=>S.current=!1),300)))}},v&&n.createElement(p.Provider,{value:_},n.createElement(b.Provider,{value:j},n.createElement(d.Provider,{value:M},n.createElement(G,Object.assign({},e,{containerRef:x,onClose:O}))))));return g?o.createPortal(I,document.body):I},X=n.memo((function({"aria-label":e,id:t,animation:r,boundingBoxRef:o,boundingBoxPadding:i,captureFocus:s,debugging:a,reposition:u,viewScroll:c,keepMounted:l,menuButton:d,portal:f,submenuOpenDelay:p,submenuCloseDelay:b,theming:g,onClick:h,onChange:y,...v}){const{isMounted:w,isOpen:k,menuItemFocus:x,openMenu:R,closeMenu:C}=H(l),A=(0,n.useRef)(!1),T=(0,n.useRef)(null),_=E(d,{open:k});if(!_)throw new Error("Menu requires a menuButton prop.");const j=(0,n.useCallback)((e=>{C(),e.key&&T.current.focus()}),[C]),M=(0,n.useCallback)((e=>{A.current||R(0===e.detail?V.FIRST:V.INITIAL)}),[R]),I=(0,n.useCallback)((e=>{let t=!1;switch(e.key){case m.UP:R(V.LAST),t=!0;break;case m.DOWN:R(V.FIRST),t=!0}t&&e.preventDefault()}),[R]),D=(0,n.useMemo)((()=>{const e={ref:T,...S({onClick:M,onKeyDown:I},_.props)};return"MenuButton"===O(_.type)&&(e.isOpen=k),n.cloneElement(_,e)}),[_,k,M,I]),N=Y({...v,ariaLabel:e||("string"===typeof _.props.children?_.props.children:"Menu"),anch
1orRef:T,isOpen:k,menuItemFocus:x},{id:t,animation:r,boundingBoxRef:o,boundingBoxPadding:i,debugging:a,reposition:u,submenuOpenDelay:p,submenuCloseDelay:b,viewScroll:c,portal:f,theming:g,isMounted:w,onClick:h,onClose:j,skipClick:A});return B(y,k),n.createElement(n.Fragment,null,D,N)}));X.propTypes={...D,keepMounted:s().bool,menuButton:s().oneOfType([s().element,s().func]).isRequired,onChange:s().func},X.defaultProps={...P,keepMounted:!0};const K=n.memo((function({"aria-label":e,id:t,animation:r,boundingBoxRef:n,boundingBoxPadding:o,debugging:i,reposition:s,submenuOpenDelay:a,submenuCloseDelay:u,viewScroll:c,portal:l,theming:d,isMounted:f,onClick:p,onClose:b,...m}){return Y({...m,ariaLabel:e||"Menu"},{id:t,animation:r,boundingBoxRef:n,boundingBoxPadding:o,debugging:i,reposition:s,submenuOpenDelay:a,submenuCloseDelay:u,viewScroll:c,portal:l,theming:d,isMounted:f,onClick:p,onClose:b})}));K.propTypes={...D,anchorPoint:s().exact({x:s().number,y:s().number}),anchorRef:s().object,captureFocus:s().bool,isOpen:s().bool,isMounted:s().bool,menuItemFocus:s().exact({position:s().string}),onClose:s().func},K.defaultProps={...P,captureFocus:!0,isOpen:!1,isMounted:!0,menuItemFocus:{position:V.INITIAL}};const Z=w(n.memo((function({"aria-label":e,itemClassName:t,itemStyles:r,disabled:o,keepMounted:i,label:s,index:l,onChange:d,captureFocus:f,repositionFlag:p,...y}){const{isMounted:v,isOpen:w,menuItemFocus:O,openMenu:S,closeMenu:x}=H(i),{isParentOpen:R,hoverIndex:A,isSubmenuOpen:T,dispatch:_}=(0,n.useContext)(c),{debugging:j,submenuOpenDelay:M,submenuCloseDelay:I}=(0,n.useContext)(b),D=A===l,N=Boolean(o),{isActive:P,onKeyUp:F,...U}=L(D,N,m.RIGHT),z=(0,n.useRef)(null),W=(0,n.useRef)(null),q=(0,n.useRef)(),$=(0,n.useCallback)((()=>{x(),W.current.focus()}),[x]),Y=e=>{_({type:g.SET,index:l}),q.current=setTimeout(S,Math.max(e,0))};(0,n.useEffect)((()=>()=>clearTimeout(q.current)),[]),(0,n.useEffect)((()=>{D&&R?W.current.focus():x()}),[D,R,x]),(0,n.useEffect)((()=>{_({type:w?h.OPEN:h.CLOSE})}),[_,w]),B(d,w);const X=Object.freeze({open:w,hover:D,active:P,disabled:N});return n.createElement("li",{className:k(a,"submenu")(),role:"presentation",ref:z,onKeyDown:e=>{let t=!1;switch(e.key){case m.LEFT:w&&($(),t=!0);break;case m.RIGHT:w||(t=!0)}t&&(e.preventDefault(),e.stopPropagation())},onBlur:e=>{if(j)return;const t=e.relatedTarget||document.activeElement;e.currentTarget.contains(t)||(x(),_({type:g.UNSET,index:l}))}},n.createElement("div",Object.assign({className:k(a,u,X)(t),style:C(r,X),role:"menuitem","aria-haspopup":"true","aria-expanded":w,"aria-disabled":N||void 0,tabIndex:D&&!w?0:-1,ref:W,onMouseEnter:()=>{N||w||(T?q.current=setTimeout((()=>Y(M-I)),I):Y(M))},onMouseLeave:()=>{clearTimeout(q.current),w||_({type:g.UNSET,index:l})},onMouseDown:()=>!D&&_({type:g.SET,index:l}),onClick:()=>{N||(clearTimeout(q.current),S())},onKeyUp:e=>{if(P)switch(F(e),e.key){case m.SPACE:case m.ENTER:case m.RIGHT:S(V.FIRST)}}},U),E(s,X)),v&&n.createElement(G,Object.assign({},y,{ariaLabel:e||("string"===typeof s?s:"Submenu"),anchorRef:W,containerRef:z,isOpen:w,isDisabled:N,menuItemFocus:O})))})),"SubMenu");Z.propTypes={...I,...M("item"),disabled:s().bool,keepMounted:s().bool,label:s().oneOfType([s().node,s().func]).isRequired,onChange:s().func},Z.defaultProps={...N,direction:"right",keepMounted:!0};const J=w(n.memo((function({className:e,styles:t,value:r,href:o,type:i,checked:s,disabled:c,index:l,children:p,onClick:b,...g}){const h=Boolean(c),{ref:y,isHovering:v,setHover:w,onBlur:O,onMouseEnter:x,onMouseLeave:R}=F(h,l),A=(0,n.useContext)(d),T=(0,n.useContext)(f),{isActive:_,onKeyUp:j,onBlur:M,...I}=L(v,h),D="radio"===i,N="checkbox"===i,P=Boolean(o)&&!h&&!D&&!N,B=D?T.value===r:!!N&&Boolean(s),V=e=>{if(h)return;let t=!1;const n={value:r,key:e};D&&(n.name=T.name,E(T.onChange,n)),n.checked=!!N&&!B,t=!1===E(b,n),A.handleClick(n,t,N||D)},U=Object.freeze({type:i,disabled:h,hover:v,active:_,checked:B,anchor:P}),z=S({...I,onMouseEnter:x,onMouseLeave:R,onMouseDown:w,onKeyUp:e=>{if(_)switch(j(e),e.key){case m.SPACE:case m.ENTER:P?y.current.click():V(e.key)}},onBlur:e=>{M(e),O(e)},onClick:()=>V()},g),H={role:D?"menuitemradio":N?"menuitemcheckbox":"menuitem","aria-checked":D||N?B:void 0,"aria-disabled":h||void 0,tabIndex:v?0:-1,...g,...z,ref:y,className:k(a,u,U)(e),style:C(t,U)},W=E(p,U);return P?n.createElement("li",{role:"presentation"},n.createElement("a",Object.assign({},H,{href:o}),W)):n.createElement("li",H,W)})),"MenuItem");J.propTypes={...M(),value:s().any,href:s().string,type:s().oneOf(["checkbox","radio"]),checked:s().bool,disabled:s().bool,children:s().oneOfType([s().node,s().func]).isRequired,onClick:s().func};w(n.memo((function({className:e,styles:t,disabled:r,index:o,children:i,...s}){const c=Boolean(r),{ref:l,isHovering:f,setHover:p,onBlur:b,onMouseEnter:m,onMouseLeave:g}=F(c,o),{handleClose:h}=(0,n.useContext)(d),y={disabled:c,hover:f},v=Object.freeze({...y,focusable:!0}),w=E(i,{...y,ref:l,closeMenu:h}),O=S({onMouseEnter:m,onMouseLeave:e=>g(e,!0),onFocus:p,onBlur:b},s);return n.createElement("li",Object.assign({"aria-disabled":c||void 0,role:"menuitem",tabIndex:"-1"},s,O,{className:k(a,u,v)(e),style:C(t,v)}),w)})),"FocusableItem").propTypes={...M(),disabled:s().bool,children:s().func.isRequired};w(n.memo((function({className:e,styles:t,...r}){return n.createElement("li",Object.assign({role:"separator"}
1,r,{className:k(a,"divider")(e),style:C(t)}))})),"MenuDivider").propTypes={...M()};w(n.memo((function({className:e,styles:t,...r}){return n.createElement("li",Object.assign({role:"presentation"},r,{className:k(a,"header")(e),style:C(t)}))})),"MenuHeader").propTypes={...M()};w(n.memo((function({className:e,styles:t,takeOverflow:r,...o}){const i=(0,n.useRef)(null),[s,u]=(0,n.useState)(),{overflow:c,overflowAmt:d}=(0,n.useContext)(l);return W((()=>{let e;r&&d>=0&&(e=i.current.getBoundingClientRect().height-d,e<0&&(e=0)),u(e>=0?{maxHeight:e,overflow:c}:void 0)}),[r,c,d]),W((()=>{s&&(i.current.scrollTop=0)}),[s]),n.createElement("div",Object.assign({ref:i},o,{className:k(a,"group")(e),style:{...C(t),...s}}))})),"MenuGroup").propTypes={...M(),takeOverflow:s().bool};w(n.memo((function({"aria-label":e,className:t,styles:r,name:o,value:i,children:s,onChange:u,...c}){const l=(0,n.useMemo)((()=>({name:o,value:i,onChange:u})),[o,i,u]);return n.createElement("li",{role:"presentation"},n.createElement("ul",Object.assign({role:"group","aria-label":e||o||"Radio group"},c,{className:k(a,"radio-group")(t),style:C(r)}),n.createElement(f.Provider,{value:l},s)))})),"MenuRadioGroup").propTypes={...M(),"aria-label":s().string,name:s().string,value:s().any,children:s().node.isRequired,onChange:s().func}},57999:function(e,t,r){"use strict";var n=r(61682);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}t.default=function(e,t){var r=s.default,n={loading:function(e){e.error,e.isLoading;return e.pastDelay,null}};e instanceof Promise?n.loader=function(){return e}:"function"===typeof e?n.loader=e:"object"===typeof e&&(n=i(i({},n),e));(n=i(i({},n),t)).loadableGenerated&&delete(n=i(i({},n),n.loadableGenerated)).loadableGenerated;if("boolean"===typeof n.ssr){if(!n.ssr)return delete n.ssr,u(r,n);delete n.ssr}return r(n)};a(r(67294));var s=a(r(87653));function a(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return delete t.webpack,delete t.modules,e(t)}},519:function(e,t,r){"use strict";var n;t.__esModule=!0,t.LoadableContext=void 0;var o=((n=r(67294))&&n.__esModule?n:{default:n}).default.createContext(null);t.LoadableContext=o},87653:function(e,t,r){"use strict";var n=r(61682),o=r(2553),i=r(62012);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"===typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return s=e.done,e},e:function(e){a=!0,i=e}
1,f:function(){try{s||null==r.return||r.return()}finally{if(a)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}t.__esModule=!0,t.default=void 0;var l,d=(l=r(67294))&&l.__esModule?l:{default:l},f=r(67161),p=r(519);var b=[],m=[],g=!1;function h(e){var t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then((function(e){return r.loading=!1,r.loaded=e,e})).catch((function(e){throw r.loading=!1,r.error=e,e})),r}var y=function(){function e(t,r){o(this,e),this._loadFn=t,this._opts=r,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return i(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,r=this._opts;t.loading&&("number"===typeof r.delay&&(0===r.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),r.delay)),"number"===typeof r.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),r.timeout))),this._res.promise.then((function(){e._update({}),e._clearTimeouts()})).catch((function(t){e._update({}),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=a(a({},this._state),{},{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return this._state}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}]),e}();function v(e){return function(e,t){var r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),n=null;function o(){if(!n){var t=new y(e,r);n={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return n.promise()}if(!g&&"function"===typeof r.webpack){var i=r.webpack();m.push((function(e){var t,r=u(i);try{for(r.s();!(t=r.n()).done;){var n=t.value;if(-1!==e.indexOf(n))return o()}}catch(s){r.e(s)}finally{r.f()}}))}var s=function(e,t){o();var i=d.default.useContext(p.LoadableContext),s=(0,f.useSubscription)(n);return d.default.useImperativeHandle(t,(function(){return{retry:n.retry}}),[]),i&&Array.isArray(r.modules)&&r.modules.forEach((function(e){i(e)})),d.default.useMemo((function(){return s.loading||s.error?d.default.createElement(r.loading,{isLoading:s.loading,pastDelay:s.pastDelay,timedOut:s.timedOut,error:s.error,retry:n.retry}):s.loaded?d.default.createElement(function(e){return e&&e.__esModule?e.default:e}(s.loaded),e):null}),[e,s])};return s.preload=function(){return o()},s.displayName="LoadableComponent",d.default.forwardRef(s)}(h,e)}function w(e,t){for(var r=[];e.length;){var n=e.pop();r.push(n(t))}return Promise.all(r).then((function(){if(e.length)return w(e,t)}))}v.preloadAll=function(){return new Promise((function(e,t){w(b).then(e,t)}))},v.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var r=function(){return g=!0,t()};w(m,e).then(r,r)}))},window.__NEXT_PRELOADREADY=v.preloadReady;var O=v;t.default=O},1682:function(){},5152:function(e,t,r){e.exports=r(57999)},59359:function(e,t,r){"use strict";var n,o=r(67294),i=(n=o)&&"object"===typeof n&&"default"in n?n.default:n,s=new(r(23451)),a=s.getBrowser(),u=(s.getCPU(),s.getDevice()),c=s.getEngine(),l=s.getOS(),d=s.getUA(),f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";return e||t},p=function(){return!("undefined"===typeof window||!window.navigator&&!navigator)&&(window.navigator||navigator)},b=function(e){var t=p();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)};function m(e){return(m="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var k="mobile",x="tablet",R="smarttv",C="console",A="wearable",T=void 0,_={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},j={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},M={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},I=function(e,t,r,n){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(r,!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{vendor:f(t.vendor),model:f(t.model),os:f(r.name),osVersion:f(r.version),ua:f(n)})},D=function(e){switch(e){case k:return{isMobile:!0};case x:return{isTablet:!0};case R:return{isSmartTV:!0};case C:return{isConsole:!0};case A:return{isWearable:!0};case T:return{isBrowser:!0};default:return M}}(u.type);var N=function(){return"string"===typeof d&&-1!==d.indexOf("Edg/")},P=function(){return u.type===T},L=function(){return a.name===_.Edge},F=function(){return b("iPad")},B=u.type===R,V=u.type===C,U=u.type===A,z=a.name===_.MobileSafari||F(),H=a.name===_.Chromium,W=function(){switch(u.type){case k:case x:return!0;default:return!1}}()||F(),q=u.type===k,G=u.type===x||F(),$=P(),Y=P(),X=l.name===j.Android,K=l.name===j.WindowsPhone,Z=l.name===j.IOS||F(),J=a.name===_.Chrome,Q=a.name===_.Firefox,ee=a.name===_.Safari||a.name===_.MobileSafari,te=a.name===_.Opera,re=a.name===_.InternetExplorer||a.name===_.Ie,ne=f(l.version),oe=f(l.name),ie=f(a.version),se=f(a.major),ae=f(a.name),ue=f(u.vendor),ce=f(u.model),le=f(c.name),de=f(c.version),fe=f(d),pe=L()||N(),be=a.name===_.Yandex,me=f(u.type,"browser"),ge=function(){var e=p();return e&&(/iPad|iPhone|iPod/.test(e.platform)||"MacIntel"===e.platform&&e.maxTouchPoints>1)&&!window.MSStream}(),he=F(),ye=b("iPhone"),ve=b("iPod"),we=function(){var e=p(),t=e&&e.userAgent&&e.userAgent.toLowerCase();return"string"===typeof t&&/electron/.test(t)}(),Oe=N(),Ee=L()&&!N(),Se=l.name===j.Windows,ke=l.name===j.MAC_OS,xe=a.name===_.MIUI,Re=a.name===_.SamsungBrowser;t.I3=function(e){var t=e.renderWithFragment,r=e.children,n=e.viewClassName,s=e.style,a=E(e,["renderWithFragment","children","viewClassName","style"]);return $?t?i.createElement(o.Fragment,null,r):i.createElement("div",y({className:n,style:s},a),r):null},t.A_=function(e){var t=e.renderWithFragment,r=e.children,n=e.viewClassName,s=e.style,a=E(e,["renderWithFragment","children","viewClassName","style"]);return q?t?i.createElement(o.Fragment,null,r):i.createElement("div",y({className:n,style:s},a),r):null},t.$=function(e){var t=e.renderWithFragment,r=e.children,n=e.viewClassName,s=e.style,a=E(e,["renderWithFragment","children","viewClassName","style"]);return W?t?i.createElement(o.Fragment,null,r):i.createElement("div",y({className:n,style:s},a),r):null}},18228:function(e,t,r){var n;e.exports=(n=r(67294),function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){e.exports=r(4)},function(e,t,r){e.exports=r(6)()},function(e,t){e.exports=n},function(e,t){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return decodeURIComponent(e.replace(new RegExp("^(?:.*[&\\?]"+encodeURIComponent(t).replace(/[\.\+\*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1"))}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),c=n(r(2)),l=n(r(1)),d=n(r(5)),f=n(r(3)),p=function(){var e=!1;try{e=!!(window.navigator&&window.navigator.standalone||navigator.userAgent.match("CriOS")||navigator.userAgent.match(/mobile/i))}catch(t){}return e},b=function(e){function t(){var e,r,n;o(this,t);for(var s=arguments.length,u=Array(s),c=0;c<s;c++)u[c]=arguments[c];return r=n=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),n.state={isSdkLoaded:!1,isProcessing:!1},n.responseApi=function(e){window.FB.api("/me",{locale:n.props.language,fields:n.props.fields},(function(t){a(t,e),n.props.callback(t)}))},n.checkLoginState=function(e){n.setStateIfMounted({isProcessing:!1}),e.authResponse?n.responseApi(e.authResponse):n.props.onFailure?n.props.onFailure({status:e.status}):n.props.callback({status:e.status})},n.checkLoginAfterRefresh=function(e){"connected"===e.status?n.checkLoginState(e):window.FB.login((function(e){return n.checkLoginState(e)}),!0)},n.click=function(e){if(n.state.isSdkLoaded&&!n.state.isProcessing&&!n.props.isDisabled){n.setState({isProcessing:!0});var t=n.props,r=t.scope,o=t.appId,i=t.onClick,s=t.returnScopes,a=t.responseType,u=t.redirectUri,c=t.disableMobileRedirect,l=t.authType,f=t.state;if("function"!=typeof i||(i(e),!e.defaultPrevented)){var p={client_id:o,redirect_uri:u,state:f,return_scopes:s,scope:r,response_type:a,auth_type:l};if(n.props.isMobile&&!c)window.location.href="https://www.facebook.com/dialog/oauth"+(0,d.default)(p);else{if(!window.FB)return void(n.props.onFailure&&n.props.onFailure({status:"facebookNotLoaded"}));window.FB.login(n.checkLoginState,{scope:r,return_scopes:s,auth_type:p.auth_type})}}}},i(n,r)}return s(t,e),u(t,[{key:"componentDidMount",value:function(){if(this._isMounted=!0,document.getElementById("facebook-jssdk"))this.sdkLoaded();else{this.setFbAsyncInit(),this.loadSdkAsynchronously();var e=document.getElementById("fb-root");e||((e=document.createElement("div")).id="fb-root",document.body.appendChild(e))}}},{key:"componentWillReceiveProps",value:function(e){this.state.isSdkLoaded&&e.autoLoad&&!this.props.autoLoad&&window.FB.getLoginStatus(this.checkLoginAfterRefresh)}},{key:"componentWillUnmount",value:function(){this._isMounted=!1}},{key:"setStateIfMounted",value:function(e){this._isMounted&&this.setState(e)}},{key:"setFbAsyncInit",value:function(){var e=this,t=this.props,r=t.appId,n=t.xfbml,o=t.cookie,i=t.version,s=t.autoLoad;window.fbAsyncInit=function(){window.FB.init({version:"v"+i,appId:r,xfbml:n,cookie:o}),e.setStateIfMounted({isSdkLoaded:!0}),(s||e.isRedirectedFromFb())&&window.FB.getLoginStatus(e.checkLoginAfterRefresh)}}},{key:"isRedirectedFromFb",value:function(){var e=window.location.search;return(0,f.default)(e,"code")||(0,f.default)(e,"granted_scopes")}},{key:"sdkLoaded",value:function(){this.setState({isSdkLoaded:!0})}},{key:"loadSdkAsynchronously",value:function(){var e=this.props.language;!function(t,r,n){var o=t.getElementsByTagName(r)[0],i=o,s=o;t.getElementById(n)||((s=t.createElement(r)).id=n,s.src="https://connect.facebook.net/"+e+"/sdk.js",i.parentNode.insertBefore(s,i))}(document,"script","facebook-jssdk")}},{key:"render",value:function(){var e=this.props.render;if(!e)throw new Error("ReactFacebookLogin requires a render prop to render");var t={onClick:this.click,isDisabled:!!this.props.isDisabled,isProcessing:this.state.isProcessing,isSdkLoaded:this.state.isSdkLoaded};return this.props.render(t)}}]),t}(c.default.Component);b.propTypes={isDisabled:l.default.bool,callback:l.default.func.isRequired,appId:l.default.string.isRequired,xfbml:l.default.bool,cookie:l.default.bool,authType:l.default.string,scope:l.default.string,state:l.default.string,responseType:l.default.string,returnScopes:l.default.bool,redirectUri:l.default.string,autoLoad:l.default.bool,disableMobileRedirect:l.default.bool,isMobile:l.default.bool,f
1ields:l.default.string,version:l.default.string,language:l.default.string,onClick:l.default.func,onFailure:l.default.func,render:l.default.func.isRequired},b.defaultProps={redirectUri:"undefined"!=typeof window?window.location.href:"/",scope:"public_profile,email",returnScopes:!1,xfbml:!1,cookie:!1,authType:"",fields:"name",version:"2.3",language:"en_US",disableMobileRedirect:!1,isMobile:p(),onFailure:null,state:"facebookdirect",responseType:"code"},t.default=b},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"?"+Object.keys(e).map((function(t){return t+"="+encodeURIComponent(e[t])})).join("&")}},function(e,t,r){"use strict";function n(){}var o=r(7);e.exports=function(){function e(e,t,r,n,i,s){if(s!==o){var a=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 a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=n,r.PropTypes=r,r}},function(e,t){"use strict";var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=r}]))},93645:function(e,t,r){"undefined"!=typeof self&&self,e.exports=function(e){return n={},t.m=r=[function(t){t.exports=e},function(e,t,r){e.exports=r(2)()},function(e,t,r){"use strict";function n(){}function o(){}var i=r(3);o.resetWarningCache=n,e.exports=function(){function e(e,t,r,n,o,s){if(s!==i){var a=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 a.name="Invariant Violation",a}}function t(){return e}var r={array:e.isRequired=e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:n};return r.PropTypes=r}},function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){null!=t&&t<=e.length||(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){null!=t&&t<=e.length||(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}
1(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){null!=t&&t<=e.length||(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}}(e,t)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){null!=t&&t<=e.length||(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function d(e,t,r,n,o,i){var s=e.getElementsByTagName(t)[0],a=s,u=s;(u=e.createElement(t)).id=r,u.src=n,a&&a.parentNode?a.parentNode.insertBefore(u,a):e.head.appendChild(u),u.onerror=i,u.onload=o}function f(e,t){var r=e.getElementById(t);r&&r.parentNode.removeChild(r)}function p(e){return h.a.createElement("span",{style:{paddingRight:10,fontWeight:500,paddingLeft:e.icon?0:10,paddingTop:10,paddingBottom:10}},e.children)}function b(e){return h.a.createElement("div",{style:{marginRight:10,background:e.active?"#eee":"#fff",padding:10,borderRadius:2}},h.a.createElement("svg",{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg"},h.a.createElement("g",{fill:"#000",fillRule:"evenodd"},h.a.createElement("path",{d:"M9 3.48c1.69 0 2.83.73 3.48 1.34l2.54-2.48C13.46.89 11.43 0 9 0 5.48 0 2.44 2.02.96 4.96l2.91 2.26C4.6 5.05 6.62 3.48 9 3.48z",fill:"#EA4335"}),h.a.createElement("path",{d:"M17.64 9.2c0-.74-.06-1.28-.19-1.84H9v3.34h4.96c-.1.83-.64 2.08-1.84 2.92l2.84 2.2c1.7-1.57 2.68-3.88 2.68-6.62z",fill:"#4285F4"}),h.a.createElement("path",{d:"M3.88 10.78A5.54 5.54 0 0 1 3.58 9c0-.62.11-1.22.29-1.78L.96 4.96A9.008 9.008 0 0 0 0 9c0 1.45.35 2.82.96 4.04l2.92-2.26z",fill:"#FBBC05"}),h.a.createElement("path",{d:"M9 18c2.43 0 4.47-.8 5.96-2.18l-2.84-2.2c-.76.53-1.78.9-3.12.9-2.38 0-4.4-1.57-5.12-3.74L.97 13.04C2.45 15.98 5.48 18 9 18z",fill:"#34A853"}),h.a.createElement("path",{fill:"none",d:"M0 0h18v18H0z"}))))}function m(e){var t=i(Object(g.useState)(!1),2),r=t[0],n=t[1],o=i(Object(g.useState)(!1),2),s=o[0],a=o[1],u=e.tag,c=e.type,l=e.className,d=e.disabledStyle,f=e.buttonText,m=e.children,v=e.render,w=e.theme,O=e.icon,E=e.disabled,S=y({onSuccess:e.onSuccess,onAutoLoadFinished:e.onAutoLoadFinished,onRequest:e.onRequest,onFailure:e.onFailure,onScriptLoadFailure:e.onScriptLoadFailure,clientId:e.clientId,cookiePolicy:e.cookiePolicy,loginHint:e.loginHint,hostedDomain:e.hostedDomain,autoLoad:e.autoLoad,isSignedIn:e.isSignedIn,fetchBasicProfile:e.fetchBasicProfile,redirectUri:e.redirectUri,discoveryDocs:e.discoveryDocs,uxMode:e.uxMode,scope:e.scope,accessType:e.accessType,responseType:e.responseType,jsSrc:e.jsSrc,prompt:e.prompt}),k=S.signIn,x=E||!S.loaded;if(v)return v({onClick:k,disabled:x});var R={backgroundColor:"dark"===w?"rgb(66, 133, 244)":"#fff",display:"inline-flex",alignItems:"center",color:"dark"===w?"#fff":"rgba(0, 0, 0, .54)",boxShadow:"0 2px 2px 0 rgba(0, 0, 0, .24), 0 0 1px 0 rgba(0, 0, 0, .24)",padding:0,borderRadius:2,border:"1px solid transparent",fontSize:14,fontWeight:"500",fontFamily:"Roboto, sans-serif"},C={cursor:"pointer",backgroundColor:"dark"===w?"#3367D6":"#eee",color:"dark"===w?"#fff":"rgba(0, 0, 0, .54)",opacity:1},A=x?Object.assign({},R,d):s?Object.assign({},R,C):r?Object.assign({},R,{cursor:"pointer",opacity:.9}):R;return h.a.createElement(u,{onMouseEnter:function(){return n(!0)},onMouseLeave:function(){n(!1),a(!1)},onMouseDown:function(){return a(!0)},onMouseUp:function(){return a(!1)},onClick:k,style:A,type:c,disabled:x,className:l}
1,[O&&h.a.createElement(b,{key:1,active:s}),h.a.createElement(p,{icon:O,key:2},m||f)])}r.r(t),r.d(t,"default",(function(){return w})),r.d(t,"GoogleLogin",(function(){return w})),r.d(t,"GoogleLogout",(function(){return E})),r.d(t,"useGoogleLogin",(function(){return y})),r.d(t,"useGoogleLogout",(function(){return O}));var g=r(0),h=r.n(g),y=(r(1),function(e){function t(e){var t=e.getBasicProfile(),r=e.getAuthResponse(!0);e.googleId=t.getId(),e.tokenObj=r,e.tokenId=r.id_token,e.accessToken=r.access_token,e.profileObj={googleId:t.getId(),imageUrl:t.getImageUrl(),email:t.getEmail(),name:t.getName(),givenName:t.getGivenName(),familyName:t.getFamilyName()},i(e)}function r(e){if(e&&e.preventDefault(),I){var r=window.gapi.auth2.getAuthInstance(),n={prompt:j};p(),"code"===A?r.grantOfflineAccess(n).then((function(e){return i(e)}),(function(e){return c(e)})):r.signIn(n).then((function(e){return t(e)}),(function(e){return c(e)}))}}var o=e.onSuccess,i=void 0===o?function(){}:o,s=e.onAutoLoadFinished,a=void 0===s?function(){}:s,u=e.onFailure,c=void 0===u?function(){}:u,l=e.onRequest,p=void 0===l?function(){}:l,b=e.onScriptLoadFailure,m=e.clientId,h=e.cookiePolicy,y=e.loginHint,v=e.hostedDomain,w=e.autoLoad,O=e.isSignedIn,E=e.fetchBasicProfile,S=e.redirectUri,
1k=e.discoveryDocs,x=e.uxMode,R=e.scope,C=e.accessType,A=e.responseType,T=e.jsSrc,_=void 0===T?"https://apis.google.com/js/api.js":T,j=e.prompt,M=n(Object(g.useState)(!1),2),I=M[0],D=M[1];return Object(g.useEffect)((function(){var e=!1,r=b||c;return d(document,"script","google-login",_,(function(){var n={client_id:m,cookie_policy:h,login_hint:y,hosted_domain:v,fetch_basic_profile:E,discoveryDocs:k,ux_mode:x,redirect_uri:S,scope:R,access_type:C};"code"===A&&(n.access_type="offline"),window.gapi.load("auth2",(function(){var o=window.gapi.auth2.getAuthInstance();o?o.then((function(){e||(O&&o.isSignedIn.get()?(D(!0),a(!0),t(o.currentUser.get())):(D(!0),a(!1)))}),(function(e){c(e)})):window.gapi.auth2.init(n).then((function(r){if(!e){D(!0);var n=O&&r.isSignedIn.get();a(n),n&&t(r.currentUser.get())}}),(function(e){D(!0),a(!1),r(e)}))}))}),(function(e){r(e)})),function(){e=!0,f(document,"google-login")}}),[]),Object(g.useEffect)((function(){w&&r()}),[I]),{signIn:r,loaded:I}});function v(e){var t=c(Object(g.useState)(!1),2),r=t[0],n=t[1],o=c(Object(g.useState)(!1),2),i=o[0],s=o[1],a=e.tag,u=e.type,l=e.className,d=e.disabledStyle,f=e.buttonText,m=e.children,y=e.render,v=e.theme,w=e.icon,E=e.disabled,S=O({jsSrc:e.jsSrc,onF
1ailure:e.onFailure,onScriptLoadFailure:e.onScriptLoadFailure,clientId:e.clientId,cookiePolicy:e.cookiePolicy,loginHint:e.loginHint,hostedDomain:e.hostedDomain,fetchBasicProfile:e.fetchBasicProfile,discoveryDocs:e.discoveryDocs,uxMode:e.uxMode,redirectUri:e.redirectUri,scope:e.scope,accessType:e.accessType,onLogoutSuccess:e.onLogoutSuccess}),k=S.signOut,x=E||!S.loaded;if(y)return y({onClick:k,disabled:x});var R={backgroundColor:"dark"===v?"rgb(66, 133, 244)":"#fff",display:"inline-flex",alignItems:"center",color:"dark"===v?"#fff":"rgba(0, 0, 0, .54)",boxShadow:"0 2px 2px 0 rgba(0, 0, 0, .24), 0 0 1px 0 rgba(0, 0, 0, .24)",padding:0,borderRadius:2,border:"1px solid transparent",fontSize:14,fontWeight:"500",fontFamily:"Roboto, sans-serif"},C={cursor:"pointer",backgroundColor:"dark"===v?"#3367D6":"#eee",color:"dark"===v?"#fff":"rgba(0, 0, 0, .54)",opacity:1},A=x?Object.assign({},R,d):i?Object.assign({},R,C):r?Object.assign({},R,{cursor:"pointer",opacity:.9}):R;return h.a.createElement(a,{onMouseEnter:function(){return n(!0)},onMouseLeave:function(){n(!1),s(!1)},onMouseDown:function(){return s(!0)},onMouseUp:function(){return s(!1)},onClick:k,style:A,type:u,disabled:x,className:l},[w&&h.a.createElement(b,{key:1,active:i}),h.a.createElement(p,{icon:w,key:2},m||f)])}m.defaultProps={type:"button",tag:"button",buttonText:"Sign in with Google",scope:"profile email",accessType:"online",prompt:"",cookiePolicy:"single_host_origin",fetchBasicProfile:!0,isSignedIn:!1,uxMode:"popup",disabledStyle:{opacity:.6},icon:!0,theme:"light",onRequest:function(){}};var w=m,O=function(e){var t=e.jsSrc,r=void 0===t?"https://apis.google.com/js/api.js":t,n=e.onFailure,o=e.onScriptLoadFailure,i=e.clientId,s=e.cookiePolicy,u=e.loginHint,c=e.hostedDomain,l=e.fetchBasicProfile,p=e.discoveryDocs,b=e.uxMode,m=e.redirectUri,h=e.scope,y=e.accessType,v=e.onLogoutSuccess,w=a(Object(g.useState)(!1),2),O=w[0],E=w[1],S=Object(g.useCallback)((function(){if(window.gapi){var e=window.gapi.auth2.getAuthInstance();null!=e&&e.then((function(){e.signOut().then((function(){e.disconnect(),v()}))}),(function(e){return n(e)}))}}),[v]);return Object(g.useEffect)((function(){var e=o||n;return d(document,"script","google-login",r,(function(){var t={client_id:i,cookie_policy:s,login_hint:u,hosted_domain:c,fetch_basic_profile:l,discoveryDocs:p,ux_mode:b,redirect_uri:m,scope:h,access_type:y};window.gapi.load("auth2",(function(){window.gapi.auth2.getAuthInstance()?E(!0):window.gapi.auth2.init(t).then((function(){return E(!0)}),(function(t){return e(t)}))}))}),(function(t){e(t)})),function(){f(document,"google-login")}}),[]),{signOut:S,loaded:O}};v.defaultProps={type:"button",tag:"button",buttonText:"Logout of Google",disabledStyle:{opacity:.6},icon:!0,theme:"light",jsSrc:"https://apis.google.com/js/api.js"};var E=v}],t.c=n,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(t){return e[t]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=4);function t(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return r[e].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r,n}(r(67294))},42283:function(e,t,r){"use strict";r.d(t,{cI:function(){return ve}});var n=r(67294),o=e=>e instanceof HTMLElement;const i="blur",s="change",a="input",u="onBlur",c="onChange",l="onSubmit",d="onTouched",f="all",p="undefined",b="max",m="min",g="maxLength",h="minLength",y="pattern",v="required",w="validate";var O=e=>null==e;const E=e=>"object"===typeof e;var S=e=>!O(e)&&!Array.isArray(e)&&E(e)&&!(e instanceof Date),k=e=>/^\w*$/.test(e),x=e=>e.filter(Boolean),R=e=>x(e.replace(/["|']/g,"").replace(/\[/g,".").replace(/\]/g,"").split("."));function C(e,t,r){let n=-1;const o=k(t)?[t]:R(t),i=o.length,s=i-1;for(;++n<i;){const t=o[n];let i=r;if(n!==s){const r=e[t];i=S(r)||Array.isArray(r)?r:isNaN(+o[n+1])?{}:[]}e[t]=i,e=e[t]}return e}var A=(e,t={})=>{for(const r in e)k(r)?t[r]=e[r]:C(t,r,e[r]);return t},T=e=>void 0===e,_=(e={},t,r)=>{const n=x(t.split(/[,[\].]+?/)).reduce(((e,t)=>O(e)?e:e[t]),e);return T(n)||n===e?T(e[t])?r:e[t]:n},j=(e,t)=>{o(e)&&e.removeEventListener&&(e.removeEventListener(a,t),e.removeEventListener(s,t),e.removeEventListener(i,t))};const M={isValid:!1,value:null};var I=e=>Array.isArray(e)?e.reduce(((e,t)=>t&&t.ref.checked?{isValid:!0,value:t.ref.value}:e),M):M,D=e=>"radio"===e.type,N=e=>"file"===e.type,P=e=>"checkbox"===e.type,L=e=>"select-multiple"===e.type;const F={value:!1,isValid:!1},B={value:!0,isValid:!0};var V=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter((e=>e&&e.ref.checked)).map((({ref:{value:e}})=>e));return{value:t,isValid:!!t.length}}const{checked:t,value:r,attributes:n}=e[0].ref;return t?n&&!T(n.value)?T(r)||""===r?B:{value:r,isValid:!0}:B:F}return F};function U(e,t,r,n,o){const i=e.current[t];if(i){const{ref:{value:e,disabled:t},ref:r,valueAsNumber:a,valueAsDate:u,setValueAs:c}=i;if(t&&n)return;return N(r)?r.files:D(r)?I(i.options).value:L(r)?(s=r.options,[...s].filter((({selected:e})=>e)).map((({value:e})=>e))):P(r)?V(i.options).value:o?e:a?""===e?NaN:+e:u?r.valueAsDate:c?c(e):e}var s;if(r)return _(r.current,t)}function z(e){return!e||e instanceof HTMLElement&&e.nodeType!==Node.DOCUMENT_NODE&&z(e.parentNode)}var H=e=>S(e)&&!Object.keys(e).length,W=e=>"boolean"===typeof e;function q(e,t){const r=k(t)?[t]:R(t),n=1==r.length?e:function(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=T(e)?n++:e[t[n++]];return e}(e,r),o=r[r.length-1];let i;n&&delete n[o];for(let s=0;s<r.slice(0,-1).length;s++){let t,n=-1;const o=r.slice(0,-(s+1)),a=o.length-1;for(s>0&&(i=e);++n<o.length;){const r=o[n];t=t?t[r]:e[r],a===n&&(S(t)&&H(t)||Array.isArray(t)&&!t.filter((e=>S(e)&&!H(e)||W(e))).length)&&(i?delete i[r]:delete e[r]),i=t}}return e}const G=(e,t)=>e&&e.ref===t;var $=e=>O(e)||!E(e);function Y(e,t){if($(e)||$(t))return t;for(const n in t){const o=e[n],i=t[n];try{e[n]=S(o)&&S(i)||Array.isArray(o)&&Array.isArray(i)?Y(o,i):i}catch(r){}}return e}function X(e,t,r){if($(e)||$(t)||e instanceof Date||t instanceof Date)return e===t;if(!(0,n.isValidElement)(e)){const n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(const i of n){const n=e[i];if(!r||"ref"!==i){const e=t[i];if((S(n)||Array.isArray(n))&&(S(e)||Array.isArray(e))?!X(n,e,r):n!==e)return!1}}}return!0}function K(e,t,r,n,o){let i=-1;for(;++i<e.length;){for(const n in e[i])Array.isArray(e[i][n])?(!r[i]&&(r[i]={}),r[i][n]=[],K(e[i][n],_(t[i]||{},n,[]),r[i][n],r[i],n)):X(_(t[i]||{},n),e[i][n])?C(r[i]||{},n):r[i]=Object.assign(Object.assign({},r[i]),{[n]:!0});n&&!r.length&&delete n[o]}return r}var Z=(e,t,r)=>Y(K(e,t,r.slice(0,e.length)),K(t,e,r.slice(0,e.length))),J=e=>"string"===typeof e,Q=(e,t,r,n,o)=>{const i={};for(const s in e.current)(T(o)||(J(o)?s.startsWith(o):Array.isArray(o)&&o.find((e=>
1s.startsWith(e)))))&&(i[s]=U(e,s,void 0,n));return r?A(i):Y(t,A(i))},ee=e=>e instanceof RegExp,te=e=>S(e)&&!ee(e)?e:{value:e,message:""},re=e=>"function"===typeof e,ne=e=>J(e)||(0,n.isValidElement)(e);function oe(e,t,r="validate"){if(ne(e)||W(e)&&!e)return{type:r,message:ne(e)?e:"",ref:t}}var ie=(e,t,r,n,o)=>t?Object.assign(Object.assign({},r[e]),{types:Object.assign(Object.assign({},r[e]&&r[e].types?r[e].types:{}),{[n]:o||!0})}):{},se=async(e,t,{ref:r,ref:{value:n},options:o,required:i,maxLength:s,minLength:a,min:u,max:c,pattern:l,validate:d},f)=>{const p=r.name,E={},k=D(r),x=P(r),R=k||x,C=""===n,A=ie.bind(null,p,t,E),T=(e,t,n,o=g,i=h)=>{const s=e?t:n;E[p]=Object.assign({type:e?o:i,message:s,ref:r},A(e?o:i,s))};if(i&&(!k&&!x&&(C||O(n))||W(n)&&!n||x&&!V(o).isValid||k&&!I(o).isValid)){const{value:n,message:o}=ne(i)?{value:!!i,message:i}:te(i);if(n&&(E[p]=Object.assign({type:v,message:o,ref:R?((e.current[p].options||[])[0]||{}).ref:r},A(v,o)),!t))return E}if((!O(u)||!O(c))&&""!==n){let e,o;const i=te(c),s=te(u);if(isNaN(n)){const t=r.valueAsDate||new Date(n);J(i.value)&&(e=t>new Date(i.value)),J(s.value)&&(o=t<new Date(s.value))}else{const t=r.valueAsNumber||parseFloat(n);O(i.value)||(e=t>i.value),O(s.value)||(o=t<s.value)}if((e||o)&&(T(!!e,i.message,s.message,b,m),!t))return E}if(J(n)&&!C&&(s||a)){const e=te(s),r=te(a),o=!O(e.value)&&n.length>e.value,i=!O(r.value)&&n.length<r.value;if((o||i)&&(T(o,e.message,r.message),!t))return E}if(J(n)&&l&&!C){const{value:e,message:o}=te(l);if(ee(e)&&!e.test(n)&&(E[p]=Object.assign({type:y,message:o,ref:r},A(y,o)),!t))return E}if(d){const n=U(e,p,f,!1,!0),i=R&&o?o[0].ref:r;if(re(d)){const e=oe(await d(n),i);if(e&&(E[p]=Object.assign(Object.assign({},e),A(w,e.message)),!t))return E}else if(S(d)){let e={};for(const[r,o]of Object.entries(d)){if(!H(e)&&!t)break;const s=oe(await o(n),i,r);s&&(e=Object.assign(Object.assign({},s),A(r,s.message)),t&&(E[p]=e))}if(!H(e)&&(E[p]=Object.assign({ref:i},e),!t))return E}}return E};const ae=(e,t,r=[])=>{for(const n in t){const o=e+(S(t)?`.${n}`:`[${n}]`);$(t[n])?r.push(o):ae(o,t[n],r)}return r};var ue=(e,t,r,n,o)=>{let i;return r.add(t),H(e)||(i=_(e,t),(S(i)||Array.isArray(i))&&ae(t,i).forEach((e=>r.add(e)))),T(i)?o?n:_(n,t):i},ce=({isOnBlur:e,isOnChange:t,isOnTouch:r,isTouched:n,isReValidateOnBlur:o,isReValidateOnChange:i,isBlurEvent:s,isSubmitted:a,isOnAll:u})=>!u&&(!a&&r?!(n||s):(a?o:e)?!s:!(a?i:t)||s),le=e=>e.substring(0,e.indexOf("["));const de=(e,t)=>RegExp(`^${t}([|.)\\d+`.replace(/\[/g,"\\[").replace(/\]/g,"\\]")).test(e);var fe=(e,t)=>[...e].some((e=>de(t,e)));var pe=typeof window!==p&&typeof document!==p;function be(e){var t;let r;if($(e)||pe&&(e instanceof File||o(e)))return e;if(!["Set","Map","Object","Date","Array"].includes(null===(t=e.constructor)||void 0===t?void 0:t.name))return e;if(e instanceof Date)return r=new Date(e.getTime()),r;if(e instanceof Set){r=new Set;for(const t of e)r.add(t);return r}if(e instanceof Map){r=new Map;for(const t of e.keys())r.set(t,be(e.get(t)));return r}r=Array.isArray(e)?[]:{};for(const n in e)r[n]=be(e[n]);return r}var me=e=>({isOnSubmit:!e||e===l,isOnBlur:e===u,isOnChange:e===c,isOnAll:e===f,isOnTouch:e===d}),ge=e=>D(e)||P(e);const he=typeof window===p,ye=pe?"Proxy"in window:typeof Proxy!==p;function ve({mode:e=l,reValidateMode:t=c,resolver:r,context:u,defaultValues:d={},shouldFocusError:p=!0,shouldUnregister:b=!0,criteriaMode:m}={}){const g=(0,n.useRef)({}),h=(0,n.useRef)({}),y=(0,n.useRef)({}),v=(0,n.useRef)(new Set),w=(0,n.useRef)({}),E=(0,n.useRef)({}),R=(0,n.useRef)({}),M=(0,n.useRef)({}),I=(0,n.useRef)(d),F=(0,n.useRef)(!1),B=(0,n.useRef)(!1),V=(0,n.useRef)(),W=(0,n.useRef)({}),Y=(0,n.useRef)({}),K=(0,n.useRef)(u),ee=(0,n.useRef)(r),te=(0,n.useRef)(new Set),ne=(0,n.useRef)(me(e)),{isOnSubmit:oe,isOnTouch:ie}=ne.current,de=m===f,[ve,we]=(0,n.useState)({isDirty:!1,isValidating:!1,dirtyFields:{},isSubmitted:!1,submitCount:0,touched:{},isSubmitting:!1,isSubmitSuccessful:!1,isValid:!oe,errors:{}}),Oe=(0,n.useRef)({isDirty:!ye,dirtyFields:!ye,touched:!ye||ie,isValidating:!ye,isSubmitting:!ye,isValid:!ye}),Ee=(0,n.useRef)(ve),Se=(0,n.useRef)(),{isOnBlur:ke,isOnChange:xe}=(0,n.useRef)(me(t)).current;K.current=u,ee.current=r,Ee.current=ve,W.current=b?{}:H(W.current)?be(d):W.current;const Re=(0,n.useCallback)(((e={})=>{F.current||(Ee.current=Object.assign(Object.assign({},Ee.current),e),we(Ee.current))}),[]),Ce=()=>Oe.current.isValidating&&Re({isValidating:!0}),Ae=(0,n.useCallback)(((e,t,r=!1,n={},o)=>{let i=r||(({errors:e,name:t,error:r,validFields:n,fieldsWithValidation:o})=>{const i=T(r),s=_(e,t);return i&&!!s||!i&&!X(s,r,!0)||i&&_(o,t)&&!_(n,t)})({errors:Ee.current.errors,error:t,name:e,validFields:M.current,fieldsWithValidation:R.current});const s=_(Ee.current.errors,e);t?(q(M.current,e),i=i||!s||!X(s,t,!0),C(Ee.current.errors,e,t)):((_(R.current,e)||ee.current)&&(C(M.current,e,!0),i=i||s),q(Ee.current.errors,e)),(i&&!O(r)||!H(n)||Oe.current.isValidating)&&Re(Object.assign(Object.assign(Object.assign({},n),ee.current?{isValid:!!o}:{}),{isValidating:!1}))}),[]),Te=(0,n.useCallback)(((e,t)=>{const{ref:r,options:n}=g.current[e],i=pe&&o(r)&&O(t)?"":t;
1D(r)?(n||[]).forEach((({ref:e})=>e.checked=e.value===i)):N(r)&&!J(i)?r.files=i:L(r)?[...r.options].forEach((e=>e.selected=i.includes(e.value))):P(r)&&n?n.length>1?n.forEach((({ref:e})=>e.checked=Array.isArray(i)?!!i.find((t=>t===e.value)):i===e.value)):n[0].ref.checked=!!i:r.value=i}),[]),_e=(0,n.useCallback)(((e,t)=>{if(Oe.current.isDirty){const r=Ve();return e&&t&&C(r,e,t),!X(r,I.current)}return!1}),[]),je=(0,n.useCallback)(((e,t=!0)=>{if(Oe.current.isDirty||Oe.current.dirtyFields){const r=!X(_(I.current,e),U(g,e,W)),n=_(Ee.current.dirtyFields,e),o=Ee.current.isDirty;r?C(Ee.current.dirtyFields,e,!0):q(Ee.current.dirtyFields,e);const i={isDirty:_e(),dirtyFields:Ee.current.dirtyFields},s=Oe.current.isDirty&&o!==i.isDirty||Oe.current.dirtyFields&&n!==_(Ee.current.dirtyFields,e);return s&&t&&Re(i),s?i:{}}return{}}),[]),Me=(0,n.useCallback)((async(e,t)=>{const r=(await se(g,de,g.current[e],W))[e];return Ae(e,r,t),T(r)}),[Ae,de]),Ie=(0,n.useCallback)((async e=>{const{errors:t}=await ee.current(Ve(),K.current,de),r=Ee.current.isValid;if(Array.isArray(e)){const r=e.map((e=>{const r=_(t,e);return r?C(Ee.current.errors,e,r):q(Ee.current.errors,e),!r})).every(Boolean);return Re({isValid:H(t),isValidating:!1}),r}{const n=_(t,e);return Ae(e,n,r!==H(t),{},H(t)),!n}}),[Ae,de]),De=(0,n.useCallback)((async e=>{const t=e||Object.keys(g.current);if(Ce(),ee.current)return Ie(t);if(Array.isArray(t)){!e&&(Ee.current.errors={});const r=await Promise.all(t.map((async e=>await Me(e,null))));return Re({isValidating:!1}),r.every(Boolean)}return await Me(t)}),[Ie,Me]),Ne=(0,n.useCallback)(((e,t,{shouldDirty:r,shouldValidate:n})=>{const o={};C(o,e,t);for(const i of ae(e,t))g.current[i]&&(Te(i,_(o,i)),r&&je(i),n&&De(i))}),[De,Te,je]),Pe=(0,n.useCallback)(((e,t,r)=>{if(!b&&!$(t)&&C(W.current,e,Array.isArray(t)?[...t]:Object.assign({},t)),g.current[e])Te(e,t),r.shouldDirty&&je(e),r.shouldValidate&&De(e);else if(!$(t)&&(Ne(e,t,r),te.current.has(e))){const n=le(e)||e;C(h.current,e,t),Y.current[n]({[n]:_(h.current,n)}),(Oe.current.isDirty||Oe.current.dirtyFields)&&r.shouldDirty&&(C(Ee.current.dirtyFields,e,Z(t,_(I.current,e,[]),_(Ee.current.dirtyFields,e,[]))),Re({isDirty:!X(Object.assign(Object.assign({},Ve()),{[e]:t}),I.current)}))}!b&&C(W.current,e,t)}),[je,Te,Ne]),Le=e=>B.current||v.current.has(e)||v.current.has((e.match(/\w+/)||[])[0]),Fe=e=>{let t=!0;if(!H(w.current))for(const r in w.current)e&&w.current[r].size&&!w.current[r].has(e)&&!w.current[r].has(le(e))||(E.current[r](),t=!1);return t};function Be(e){if(!b){let t=be(e);for(const e of te.current)k(e)&&!t[e]&&(t=Object.assign(Object.assign({},t),{[e]:[]}));return t}return e}function Ve(e){if(J(e))return U(g,e,W);if(Array.isArray(e)){const t={};for(const r of e)C(t,r,U(g,r,W));return t}return Be(Q(g,be(W.current),b))}V.current=V.current?V.current:async({type:e,target:t})=>{let r=t.name;const n=g.current[r];let o,s;if(n){const a=e===i,u=ce(Object.assign({isBlurEvent:a,isReValidateOnChange:xe,isReValidateOnBlur:ke,isTouched:!!_(Ee.current.touched,r),isSubmitted:Ee.current.isSubmitted},ne.current));let c=je(r,!1),l=!H(c)||!a&&Le(r);if(a&&!_(Ee.current.touched,r)&&Oe.current.touched&&(C(Ee.current.touched,r,!0),c=Object.assign(Object.assign({},c),{touched:Ee.current.touched})),!b&&P(t)&&C(W.current,r,U(g,r)),u)return!a&&Fe(r),(!H(c)||l&&H(c))&&Re(c);if(Ce(),ee.current){const{errors:e}=await ee.current(Ve(),K.current,de),n=Ee.current.isValid;if(o=_(e,r),P(t)&&!o&&ee.current){const t=le(r),n=_(e,t,{});n.type&&n.message&&(o=n),t&&(n||_(Ee.current.errors,t))&&(r=t)}s=H(e),n!==s&&(l=!0)}else o=(await se(g,de,n,W))[r];!a&&Fe(r),Ae(r,o,l,c,s)}};const Ue=(0,n.useCallback)((async(e={})=>{const t=H(g.current)?I.current:{},{errors:r}=await ee.current(Object.assign(Object.assign(Object.assign({},t),Ve()),e),K.current,de)||{},n=H(r);Ee.current.isValid!==n&&Re({isValid:n})}),[de]),ze=(0,n.useCallback)(((e,t)=>{!function(e,t,r,n,o,i){const{ref:s,ref:{name:a}}=r,u=e.current[a];if(!o){const t=U(e,a,n);!T(t)&&C(n.current,a,t)}s.type&&u?D(s)||P(s)?Array.isArray(u.options)&&u.options.length?(x(u.options).forEach(((e={},r)=>{(z(e.ref)&&G(e,e.ref)||i)&&(j(e.ref,t),q(u.options,`[${r}]`))})),u.options&&!x(u.options).length&&delete e.current[a]):delete e.current[a]:(z(s)&&G(u,s)||i)&&(j(s,t),delete e.current[a]):delete e.current[a]}(g,V.current,e,W,b,t),b&&(q(M.current,e.ref.name),q(R.current,e.ref.name))}),[b]),He=(0,n.useCallback)((e=>{if(B.current)Re();else{for(const t of v.current)if(t.startsWith(e)){Re();break}Fe(e)}}),[]),We=(0,n.useCallback)(((e,t)=>{e&&(ze(e,t),b&&!x(e.options||[]).length&&(q(Ee.current.errors,e.ref.name),C(Ee.current.dirtyFields,e.ref.name,!0),Re({isDirty:_e()}),Oe.current.isValid&&ee.current&&Ue(),He(e.ref.name)))}),[Ue,ze]);const qe=(0,n.useCallback)(((e,t,r)=>{const n=r?w.current[r]:v.current;let o=Q(g,be(W.current),b,!1,e);if(J(e)){const r=le(e)||e;return te.current.has(r)&&(o=Object.assign(Object.assign({},y.current),o)),ue(o,e,n,T(_(I.current,e))?t:_(I.current,e),!0)}const i=T(t)?I.current:t;return Array.isArray(e)?e.reduce(((e,t)=>Object.assign(Object.assign({},e),{[t]:ue(o,t,n,i)})),{}):(B.current=T(r),A(!H(o)&&o||i))}),[]);function Ge(e,t={}){const{name:r,type:n,value:u}=e,c=Object.assign({ref:e},t),l=g.current,d=ge(e),f=fe(te.current,r),p=t=>pe&&(!o(e)||t===e);let m,h=l[r],y=!0;if(h&&(d?Array.isArray(h.options)&&x(h.options).find((e=>u===e.ref.value&&p(e.ref))):p(h.ref)))return void(l[r]=Object.assign(Object.assign({},h),t));h=n?d?Object.assign({options:[...x(h&&h.options||[]),{ref:e}],ref:{type:n,name:r}},t):Object.assign({},c):c,l[r]=h;const v=T(_(W.current,r));H(I.current)&&v||(m=_(v?I.current:W.current,r),y=T(m),y||f||Te(r,m)),H(t)||(C(R.current,r,!0),!oe&&Oe.current.isValid&&se(g,de,h,W).then((e=>{const t=Ee.current.isValid;H(e)?C(M.current,r,!0):q(M.current,r),t!==H(e)&&Re()}))),!b||f&&y||!f&&q(Ee.current.dirtyFields,r),n&&function({ref:e},t,r){o(e)&&r&&(e.addEventListener(t?s:a,r),e.addEventListener(i,r))}(d&&h.options?h.options[h.options.length-1]:h,d||"select-one"===e.type,V.current)}const $e=(0,n.useCallback)(((e,t)=>async r=>{r&&r.preventDefault&&(r.preventDefault(),r.persist());let n={},o=Be(Q(g,be(W.current),b,!0));Oe.current.isSubmitting&&Re({isSubmitting:!0});try{if(ee.current){const{errors:e,values:t}=await ee.current(o,K.current,de);Ee.current.errors=n=e,o=t}else for(const e of Object.values(g.current))if(e){const{name:t}=e.ref,r=await se(g,de,e,W);r[t]?(C(n,t,r[t]),q(M.current,t)):_(R.current,t)&&(q(Ee.current.errors,t),C(M.current,t,!0))}H(n)&&Object.keys(Ee.current.errors).every((e=>e in g.current))?(Re({errors:{},isSubmitting:!0}),await e(o,r)):(Ee.current.errors=Object.assign(Object.assign({},Ee.current.errors),n),t&&await t(Ee.current.errors,r),p&&((e,t)=>{for(const r in e)if(_(t,r)){const t=e[r];if(t){if(t.ref.focus&&T(t.ref.focus()))break;if(t.options){t.options[0].ref.focus();break}}}})(g.current,Ee.current.errors))}finally{Ee.current.isSubmitting=!1,Re({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:H(Ee.current.errors),submitCount:Ee.current.submitCount+1})}}),[p,de]);(0,n.useEffect)((()=>{r&&Oe.current.isValid&&Ue(),Se.current=Se.current||!pe?Se.current:function(e,t){const r=new MutationObserver((()=>{for(const r of Object.values(e.current))if(r&&r.options)for(const e of r.options)e&&e.ref&&z(e.ref)&&t(r);else r&&z(r.ref)&&t(r)}));return r.observe(window.document,{childList:!0,subtree:!0}),r}(g,We)}),[We,I.current]),(0,n.useEffect)((()=>()=>{Se.current&&Se.current.disconnect(),F.current=!0,Object.values(g.current).forEach((e=>We(e,!0)))}
1),[]),!r&&Oe.current.isValid&&(ve.isValid=X(M.current,R.current)&&H(Ee.current.errors));const Ye={trigger:De,setValue:(0,n.useCallback)((function(e,t,r){Pe(e,t,r||{}),Le(e)&&Re(),Fe(e)}),[Pe,De]),getValues:(0,n.useCallback)(Ve,[]),register:(0,n.useCallback)((function(e,t){if(!he)if(J(e))Ge({name:e},t);else{if(!S(e)||!("name"in e))return t=>t&&Ge(t,e);Ge(e,t)}}),[I.current]),unregister:(0,n.useCallback)((function(e){for(const t of Array.isArray(e)?e:[e])We(g.current[t],!0)}),[]),formState:ye?new Proxy(ve,{get:(e,t)=>{if(t in e)return Oe.current[t]=!0,e[t]}}):ve},Xe=(0,n.useMemo)((()=>Object.assign({isFormDirty:_e,updateWatchedValue:He,shouldUnregister:b,updateFormState:Re,removeFieldEventListener:ze,watchInternal:qe,mode:ne.current,reValidateMode:{isReValidateOnBlur:ke,isReValidateOnChange:xe},validateResolver:r?Ue:void 0,fieldsRef:g,resetFieldArrayFunctionRef:Y,useWatchFieldsRef:w,useWatchRenderFunctionsRef:E,fieldArrayDefaultValuesRef:h,validFieldsRef:M,fieldsWithValidationRef:R,fieldArrayNamesRef:te,readFormStateRef:Oe,formStateRef:Ee,defaultValuesRef:I,shallowFieldsStateRef:W,fieldArrayValuesRef:y},Ye)),[I.current,He,b,ze,qe]);return Object.assign({watch:function(e,t){return qe(e,t)},control:Xe,handleSubmit:$e,reset:(0,n.useCallback)(((e,t={})=>{if(pe)for(const n of Object.values(g.current))if(n){const{ref:e,options:t}=n,i=ge(e)&&Array.isArray(t)?t[0].ref:e;if(o(i))try{i.closest("form").reset();break}catch(r){}}g.current={},I.current=Object.assign({},e||I.current),e&&Fe(""),Object.values(Y.current).forEach((e=>re(e)&&e())),W.current=b?{}:be(e||I.current),(({errors:e,isDirty:t,isSubmitted:r,touched:n,isValid:o,submitCount:i,dirtyFields:s})=>{o||(M.current={},R.current={}),h.current={},v.current=new Set,B.current=!1,Re({submitCount:i?Ee.current.submitCount:0,isDirty:!!t&&Ee.current.isDirty,isSubmitted:!!r&&Ee.current.isSubmitted,isValid:!!o&&Ee.current.isValid,dirtyFields:s?Ee.current.dirtyFields:{},touched:n?Ee.current.touched:{},errors:e?Ee.current.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})})(t)}),[]),clearErrors:(0,n.useCallback)((function(e){e&&(Array.isArray(e)?e:[e]).forEach((e=>g.current[e]&&k(e)?delete Ee.current.errors[e]:q(Ee.current.errors,e))),Re({errors:e?Ee.current.errors:{}})}),[]),setError:(0,n.useCallback)((function(e,t){const r=(g.current[e]||{}).ref;C(Ee.current.errors,e,Object.assign(Object.assign({},t),{ref:r})),Re({isValid:!1}),t.shouldFocus&&r&&r.focus&&r.focus()}),[]),errors:ve.errors},Ye)}const we=(0,n.createContext)(null);we.displayName="RHFContext"},99857:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimeAgo=void 0;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r(53044),i=r(55393);t.TimeAgo=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.nowDate=t,this.defaultLocale=r||"en"}return n(e,[{key:"setLocale",value:function(e){this.defaultLocale=e}},{key:"doRender",value:function(e,t,r){var n=this,s=(0,o.diffSec)(t,this.nowDate);e.innerHTML=(0,o.formatDiff)(s,r,this.defaultLocale);var a=(0,i.run)((function(){n.doRender(e,t,r)}),Math.min(1e3*(0,o.nextInterval)(s),2147483647));(0,o.setTidAttr)(e,a)}},{key:"render",value:function(e,t){void 0===e.length&&(e=[e]);for(var r=void 0,n=0,s=e.length;n<s;n++)r=e[n],(0,i.cancel)(r),this.doRender(r,(0,o.getDateAttr)(r),t)}},{key:"format",value:function(e,t){return(0,o.formatDiff)((0,o.diffSec)(e,this.nowDate),t,this.defaultLocale)}}]),e}()},3438:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.IndexMapEn="second_minute_hour_day_week_month_year".split("_"),t.IndexMapZH="\u79d2_\u5206\u949f_\u5c0f\u65f6_\u5929_\u5468_\u6708_\u5e74".split("_"),t.ATTR_DATA_TID="data-tid",t.SEC_ARRAY=[60,60,24,7,365/7/12,12],t.ATTR_TIMEAGO="data-timeago",t.ATTR_DATETIME="datetime"},53044:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.setTidAttr=t.getDateAttr=t.getAttr=t.nextInterval=t.diffSec=t.formatDiff=t.toDate=t.toInt=void 0;var n=r(3438),o=r(41196),i=t.toInt=function(e){return parseInt(e)},s=t.toDate=function(e){return e instanceof Date?e:!isNaN(e)||/^\d+$/.test(e)?new Date(i(e)):(e=(e||"").trim().replace(/\.\d+/,"").replace(/-/,"/").replace(/-/,"/").replace(/(\d)T(\d)/,"$1 $2").replace(/Z/," UTC").replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2"),new Date(e))},a=(t.formatDiff=function(e,t,r){t=o.Locales[t]?t:o.Locales[r]?r:"en";for(var s=0,a=e<0?1:0,u=e=Math.abs(e);e>=n.SEC_ARRAY[s]&&s<n.SEC_ARRAY.length;s++)e/=n.SEC_ARRAY[s];return(e=i(e))>(0===(s*=2)?9:1)&&(s+=1),o.Locales[t](e,s,u)[a].replace("%s",e)},t.diffSec=function(e,t){return((t=t?s(t):new Date)-s(e))/1e3},t.nextInterval=function(e){for(var t=1,r=0,o=Math.abs(e);e>=n.SEC_ARRAY[r]&&r<n.SEC_ARRAY.length;r++)e/=n.SEC_ARRAY[r],t*=n.SEC_ARRAY[r];return o=(o%=t)?t-o:t,Math.ceil(o)},t.getAttr=function(e,t){return e.getAttribute?e.getAttribute(t):e.attr?e.attr(t):void 0});t.getDateAttr=function(e){return a(e,n.ATTR_TIMEAGO)||a(e,n.ATTR_DATETIME)},t.setTidAttr=function(e,t){return e.setAttribute?e.setAttribute(n.ATTR_DATA_TID,t):e.attr?e.attr(n.ATTR_DATA_TID,t):void 0}},9568:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(99857),o=r(41196),i=r(55393),s=function(e,t){return new n.TimeAgo(e,t)};s.register=o.register,s.cancel=i.cancel,t.default=s,e.exports=t.default},41196:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.register=t.Locales=void 0;var n=r(3438),o=t.Locales={en:function(e,t){if(0===t)return["just now","right now"];var r=n.IndexMapEn[parseInt(t/2)];return e>1&&(r+="s"),[e+" "+r+" ago","in "+e+" "+r]},zh_CN:function(e,t){if(0===t)return["\u521a\u521a","\u7247\u523b\u540e"];var r=n.IndexMapZH[parseInt(t/2)];return[e+" "+r+"\u524d",e+" "+r+"\u540e"]}};t.register=function(e,t){o[e]=t}},55393:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.run=t.cancel=t.Timers=void 0;var n=r(53044),o=r(3438),i=t.Timers=[],s=function(e){e&&(clearTimeout(e),delete i[e])};t.cancel=function(e){if(e)s((0,n.getAttr)(e,o.ATTR_DATA_TID));else for(var t in i)s(t)},t.run=function(e,t){var r=setTimeout((function(){s(r),e()}),t);return i[r]=0,r}},23451:function(e,t,r){var n;!function(o,i){"use strict";var s="function",a="undefined",u="object",c="string",l="model",d="name",f="type",p="vendor",b="version",m="architecture",g="console",h="mobile",y="tablet",v="smarttv",w="wearable",O="embedded",E={extend:function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2===0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},has:function(e,t){return typeof e===c&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return typeof e===c?e.replace(/[^\d\.]/g,"").split(".")[0]:i},trim:function(e,t){return e=e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),typeof t===a?e:e.substring(0,255)}},S={rgx:function(e,t){for(var r,n,o,a,c,l,d=0;d<t.length&&!c;){var f=t[d],p=t[d+1];for(r=n=0;r<f.length&&!c;)if(c=f[r++].exec(e))for(o=0;o<p.length;o++)l=c[++n],typeof(a=p[o])===u&&a.length>0?2==a.length?typeof a[1]==s?this[a[0]]=a[1].call(this,l):this[a[0]]=a[1]:3==a.length?typeof a[1]!==s||a[1].exec&&a[1].test?this[a[0]]=l?l.replace(a[1],a[2]):i:this[a[0]]=l?a[1].call(this,l,a[2]):i:4==a.length&&(this[a[0]]=l?a[3].call(this,l.replace(a[1],a[2])):i):this[a]=l||i;d+=2}},str:function(e,t){for(var r in t)if(typeof t[r]===u&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(E.has(t[r][n],e))return"?"===r?i:r}else if(E.has(t[r],e))return"?"===r?i:r;return e}},k={browser:{oldSafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}},oldEdge:{version:{.1:"12.",21:"13.",31:"14.",39:"15.",41:"16.",42:"17.",44:"18."}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},x={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[b,[d,"Chrome"]],[/(?:edge|edgios|edga|edg)\/([\w\.]+)/i],[b,[d,"Edge"]],[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]{3,6})\b.+version\/([\w\.-]+)/i,/(opera)(?:.+version\/|[\/\s]+)([\w\.]+)/i],[d,b],[/opios[\/\s]+([\w\.]+)/i],[b,[d,"Opera Mini"]],[/\sopr\/([\w\.]+)/i],[b,[d,"Opera"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim)(?:browser)?[\/\s]?([\w\.]*)/i,/(ba?idubrowser)[\/\s]?([\w\.]+)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i,/(rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([\w\.]+)/i,/(weibo)__([\d\.]+)/i],[d,b],[/(?:[\s\/]uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[b,[d,"
1UCBrowser"]],[/(?:windowswechat)?\sqbcore\/([\w\.]+)\b.*(?:windowswechat)?/i],[b,[d,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[b,[d,"WeChat"]],[/konqueror\/([\w\.]+)/i],[b,[d,"Konqueror"]],[/trident.+rv[:\s]([\w\.]{1,9})\b.+like\sgecko/i],[b,[d,"IE"]],[/yabrowser\/([\w\.]+)/i],[b,[d,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[d,/(.+)/,"$1 Secure Browser"],b],[/focus\/([\w\.]+)/i],[b,[d,"Firefox Focus"]],[/opt\/([\w\.]+)/i],[b,[d,"Opera Touch"]],[/coc_coc_browser\/([\w\.]+)/i],[b,[d,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[b,[d,"Dolphin"]],[/coast\/([\w\.]+)/i],[b,[d,"Opera Coast"]],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[b,[d,"MIUI Browser"]],[/fxios\/([\w\.-]+)/i],[b,[d,"Firefox"]],[/(qihu|qhbrowser|qihoobrowser|360browser)/i],[[d,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[d,/(.+)/,"$1 Browser"],b],[/(comodo_dragon)\/([\w\.]+)/i],[[d,/_/g," "],b],[/\s(electron)\/([\w\.]+)\ssafari/i,/(tesla)(?:\sqtcarbrowser|\/(20[12]\d\.[\w\.-]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/\s]?([\w\.]+)/i],[d,b],[/(MetaSr)[\/\s]?([\w\.]+)/i,/(LBBROWSER)/i],[d],[/;fbav\/([\w\.]+);/i],[b,[d,"Facebook"]],[/FBAN\/FBIOS|FB_IAB\/FB4A/i],[[d,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/\s]([\w\.-]+)/i],[d,b],[/\bgsa\/([\w\.]+)\s.*safari\//i],[b,[d,"GSA"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[b,[d,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[d,"Chrome WebView"],b],[/droid.+\sversion\/([\w\.]+)\b.+(?:mobile\ssafari|safari)/i],[b,[d,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[d,b],[/version\/([\w\.]+)\s.*mobile\/\w+\s(safari)/i],[b,[d,"Mobile Safari"]],[/version\/([\w\.]+)\s.*(mobile\s?safari|safari)/i],[b,d],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[d,[b,S.str,k.browser.oldSafari.version]],[/(webkit|khtml)\/([\w\.]+)/i],[d,b],[/(navigator|netscape)\/([\w\.-]+)/i],[[d,"Netscape"],b],[/ile\svr;\srv:([\w\.]+)\).+firefox/i],[b,[d,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(firefox)\/([\w\.]+)\s[\w\s\-]+\/[\w\.]+$/i,/(mozilla)\/([\w\.]+)\s.+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[d,b]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[m,"amd64"]],[/(ia32(?=;))/i],[[m,E.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[m,"ia32"]],[/\b(aarch64|armv?8e?l?)\b/i],[[m,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[m,"armhf"]],[/windows\s(ce|mobile);\sppc;/i],[[m,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[m,/ower/,"",E.lowerize]],[/(sun4\w)[;\)]/i],[[m,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?:64|(?=v(?:[1-7]|[5-7]1)l?|;|eabi))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[m,E.lowerize]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus\s10)/i],[l,[p,"Samsung"],[f,y]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy\snexus)/i,/\ssamsung[\s-]([\w-]+)/i,/sec-(sgh\w+)/i],[l,[p,"Samsung"],[f,h]],[/\((ip(?:hone|od)[\s\w]*);/i],[l,[p,"Apple"],[f,h]],[/\((ipad);[\w\s\),;-]+apple/i,/applecoremedia\/[\w\.]+\s\((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[p,"Apple"],[f,y]],[/\b((?:agr|ags[23]|bah2?|sht?)-a?[lw]\d{2})/i],[l,[p,"Huawei"],[f,y]],[/d\/huawei([\w\s-]+)[;\)]/i,/\b(nexus\s6p|vog-[at]?l\d\d|ane-[at]?l[x\d]\d|eml-a?l\d\da?|lya-[at]?l\d[\dc]|clt-a?l\d\di?|ele-l\d\d)/i,/\b(\w{2,4}-[atu][ln][01259][019])[;\)\s]/i],[l,[p,"Huawei"],[f,h]],[/\b(poco[\s\w]+)(?:\sbuild|\))/i,/\b;\s(\w+)\sbuild\/hm\1/i,/\b(hm[\s\-_]?note?[\s_]?(?:\d\w)?)\sbuild/i,/\b(redmi[\s\-_]?(?:note|k)?[\w\s_]+)(?:\sbuild|\))/i,/\b(mi[\s\-_]?(?:a\d|one|one[\s_]plus|note lte)?[\s_]?(?:\d?\w?)[\s_]?(?:plus)?)\sbuild/i],[[l,/_/g," "],[p,"Xiaomi"],[f,h]],[/\b(mi[\s\-_]?(?:pad)(?:[\w\s_]+))(?:\sbuild|\))/i],[[l,/_/g," "],[p,"Xiaomi"],[f,y]],[/;\s(\w+)\sbuild.+\soppo/i,/\s(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007)\b/i],[l,[p,"OPPO"],[f,h]],[/\svivo\s(\w+)(?:\sbuild|\))/i,/\s(v[12]\d{3}\w?[at])(?:\sbuild|;)/i],[l,[p,"Vivo"],[f,h]],[/\s(rmx[12]\d{3})(?:\sbuild|;)/i],[l,[p,"Realme"],[f,h]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)\b[\w\s]+build\//i,/\smot(?:orola)?[\s-](\w*)/i,/((?:moto[\s\w\(\)]+|xt\d{3,4}|nexus\s6)(?=\sbuild|\)))/i],[l,[p,"Motorola"],[f,h]],[/\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[l,[p,"Motorola"],[f,y]],[/((?=lg)?[vl]k\-?\d{3})\sbuild|\s3\.[\s\w;-]{10}lg?-([06cv9]{3,4}
vendor: 5,157 bytes, line 1
1)/i],[l,[p,"LG"],[f,y]],[/(lm-?f100[nv]?|nexus\s[45])/i,/lg[e;\s\/-]+((?!browser|netcast)\w+)/i,/\blg(\-?[\d\w]+)\sbuild/i],[l,[p,"LG"],[f,h]],[/(ideatab[\w\-\s]+)/i,/lenovo\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+)|yt[\d\w-]{6}|tb[\d\w-]{6})/i],[l,[p,"Lenovo"],[f,y]],[/(?:maemo|nokia).*(n900|lumia\s\d+)/i,/nokia[\s_-]?([\w\.-]*)/i],[[l,/_/g," "],[p,"Nokia"],[f,h]],[/droid.+;\s(pixel\sc)[\s)]/i],[l,[p,"Google"],[f,y]],[/droid.+;\s(pixel[\s\daxl]{0,6})(?:\sbuild|\))/i],[l,[p,"Google"],[f,h]],[/droid.+\s([c-g]\d{4}|so[-l]\w+|xq-a\w[4-7][12])(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[p,"Sony"],[f,h]],[/sony\stablet\s[ps]\sbuild\//i,/(?:sony)?sgp\w+(?:\sbuild\/|\))/i],[[l,"Xperia Tablet"],[p,"Sony"],[f,y]],[/\s(kb2005|in20[12]5|be20[12][59])\b/i,/\ba000(1)\sbuild/i,/\boneplus\s(a\d{4})[\s)]/i],[l,[p,"OnePlus"],[f,h]],[/(alexa)webm/i,/(kf[a-z]{2}wi)(\sbuild\/|\))/i,/(kf[a-z]+)(\sbuild\/|\)).+silk\//i],[l,[p,"Amazon"],[f,y]],[/(sd|kf)[0349hijorstuw]+(\sbuild\/|\)).+silk\//i],[[l,"Fire Phone"],[p,"Amazon"],[f,h]],[/\((playbook);[\w\s\),;-]+(rim)/i],[l,p,[f,y]],[/((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10;\s(\w+)/i],[l,[p,"BlackBerry"],[f,h]],[/(?:\b|asus_)(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus\s7|padfone|p00[cj])/i],[l,[p,"ASUS"],[f,y]],[/\s(z[es]6[027][01][km][ls]|zenfone\s\d\w?)\b/i],[l,[p,"ASUS"],[f,h]],[/(nexus\s9)/i],[l,[p,"HTC"],[f,y]],[/(htc)[;_\s-]{1,2}([\w\s]+(?=\)|\sbuild)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[p,[l,/_/g," "],[f,h]],[/droid[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],[l,[p,"Acer"],[f,y]],[/droid.+;\s(m[1-5]\snote)\sbuild/i,/\bmz-([\w-]{2,})/i],[l,[p,"Meizu"],[f,h]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i,/(microsoft);\s(lumia[\s\w]+)/i,/(lenovo)[_\s-]?([\w-]+)/i,/linux;.+(jolla);/i,/droid.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[p,l,[f,h]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i,/[;\/]\s?(le[\s\-]+pan)[\s\-]+(\w{1,9})\sbuild/i,/[;\/]\s?(trinity)[\-\s]*(t\d{3})\sbuild/i,/\b(gigaset)[\s\-]+(q\w{1,9})\sbuild/i,/\b(vodafone)\s([\w\s]+)(?:\)|\sbuild)/i],[p,l,[f,y]],[/\s(surface\sduo)\s/i],[l,[p,"Microsoft"],[f,y]],[/droid\s[\d\.]+;\s(fp\du?)\sbuild/i],[l,[p,"Fairphone"],[f,h]],[/\s(u304aa)\sbuild/i],[l,[p,"AT&T"],[f,h]],[/sie-(\w*)/i],[l,[p,"Siemens"],[f,h]],[/[;\/]\s?(rct\w+)\sbuild/i],[l,[p,"RCA"],[f,y]],[/[;\/\s](venue[\d\s]{2,7})\sbuild/i],[l,[p,"Dell"],[f,y]],[/[;\/]\s?(q(?:mv|ta)\w+)\sbuild/i],[l,[p,"Verizon"],[f,y]],[/[;\/]\s(?:barnes[&\s]+noble\s|bn[rt])([\w\s\+]*)\sbuild/i],[l,[p,"Barnes & Noble"],[f,y]],[/[;\/]\s(tm\d{3}\w+)\sbuild/i],[l,[p,"NuVision"],[f,y]],[/;\s(k88)\sbuild/i],[l,[p,"ZTE"],[f,y]],[/;\s(nx\d{3}j)\sbuild/i],[l,[p,"ZTE"],[f,h]],[/[;\/]\s?(gen\d{3})\sbuild.*49h/i],[l,[p,"Swiss"],[f,h]],[/[;\/]\s?(zur\d{3})\sbuild/i],[l,[p,"Swiss"],[f,y]],[/[;\/]\s?((zeki)?tb.*\b)\sbuild/i],[l,[p,"Zeki"],[f,y]],[/[;\/]\s([yr]\d{2})\sbuild/i,/[;\/]\s(dragon[\-\s]+touch\s|dt)(\w{5})\sbuild/i],[[p,"Dragon Touch"],l,[f,y]],[/[;\/]\s?(ns-?\w{0,9})\sbuild/i],[l,[p,"Insignia"],[f,y]],[/[;\/]\s?((nxa|Next)-?\w{0,9})\sbuild/i],[l,[p,"NextBook"],[f,y]],[/[;\/]\s?(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05]))\sbuild/i],[[p,"Voice"],l,[f,h]],[/[;\/]\s?(lvtel\-)?(v1[12])\sbuild/i],[[p,"LvTel"],l,[f,h]],[/;\s(ph-1)\s/i],[l,[p,"Essential"],[f,h]],[/[;\/]\s?(v(100md|700na|7011|917g).*\b)\sbuild/i],[l,[p,"Envizen"],[f,y]],[/[;\/]\s?(trio[\s\w\-\.]+)\sbuild/i],[l,[p,"MachSpeed"],[f,y]],[/[;\/]\s?tu_(1491)\sbuild/i],[l,[p,"Rotor"],[f,y]],[/(shield[\w\s]+)\sbuild/i],[l,[p,"Nvidia"],[f,y]],[/(sprint)\s(\w+)/i],[p,l,[f,h]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[p,"Microsoft"],[f,h]],[/droid\s[\d\.]+;\s(cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[p,"Zebra"],[f,y]],[/droid\s[\d\.]+;\s(ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[p,"Zebra"],[f,h]],[/\s(ouya)\s/i,/(nintendo)\s([wids3utch]+)/i],[p,l,[f,g]],[/droid.+;\s(shield)\sbuild/i],[l,[p,"Nvidia"],[f,g]],[/(playstation\s[345portablevi]+)/i],[l,[p,"Sony"],[f,g]],[/[\s\(;](xbox(?:\sone)?(?!;\sxbox))[\s\);]/i],[l,[p,"Microsoft"],[f,g]],[/smart-tv.+(samsung)/i],[p,[f,v]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[p,"Samsung"],[f,v]],[/(?:linux;\snetcast.+smarttv|lg\snetcast\.tv-201\d)/i],[[p,"LG"],[f,v]],[/(apple)\s?tv/i],[p,[l,"Apple TV"],[f,v]],[/crkey/i],[[l,"Chromecast"],[p,"Google"],[f,v]],[/droid.+aft([\w])(\sbuild\/|\))/i],[l,[p,"Amazon"],[f,v]],[/\(dtv[\);].+(aquos)/i],[l,[p,"Sharp"],[f,v]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[p,E.trim],[l,E.trim],[f,v]],[/[\s\/\(](android\s|smart[-\s]?|opera\s)tv[;\)\s]/i],[[f,v]],[/((pebble))app\/[\d\.]+\s/i],[p,l,[f,w]],[/droid.+;\s(glass)\s\d/i],[l,[p,"Google"],[f,w]],[/droid\s[\d\.]+;\s(wt63?0{2,3})\)/i],[l,[p,"Zebra"],[f,w]],[/(tesla)(?:\sqtcarbrowser|\/20[12]\d\.[\w\.-]+)/i],[p,[f,O]],[/droid .+?; ([^;]+?)(?: build|\) applewebkit).+? mobile safari/i],[l,[f,h]],[/droid .+?;\s([^;]+?)(?: build|\) applewebkit).+?(?! mobile) safari/i],[l,[f,y]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;
1\/]|\ssafari)/i],[[f,E.lowerize]],[/(android[\w\.\s\-]{0,9});.+build/i],[l,[p,"Generic"]],[/(phone)/i],[[f,h]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[b,[d,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[b,[d,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[d,b],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[b,d]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[d,b],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)(?!.+xbox)/i],[d,[b,S.str,k.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[d,"Windows"],[b,S.str,k.os.windows.version]],[/ip[honead]{2,4}\b(?:.*os\s([\w]+)\slike\smac|;\sopera)/i,/cfnetwork\/.+darwin/i],[[b,/_/g,"."],[d,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)(?!.+haiku)/i],[[d,"Mac OS"],[b,/_/g,"."]],[/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/\s]([\w\.]+)/i,/\((series40);/i],[d,b],[/\(bb(10);/i],[b,[d,"BlackBerry"]],[/(?:symbian\s?os|symbos|s60(?=;)|series60)[\/\s-]?([\w\.]*)/i],[b,[d,"Symbian"]],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[d,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[b,[d,"webOS"]],[/crkey\/([\d\.]+)/i],[b,[d,"Chromecast"]],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[d,"Chromium OS"],b],[/(nintendo|playstation)\s([wids345portablevuch]+)/i,/(xbox);\s+xbox\s([^\);]+)/i,/(mint)[\/\s\(\)]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?=\slinux)|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus|raspbian)(?:\sgnu\/linux)?(?:\slinux)?[\/\s-]?(?!chrom|package)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i,/\s([frentopc-]{0,4}bsd|dragonfly)\s?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku)\s(\w+)/i],[d,b],[/(sunos)\s?([\w\.\d]*)/i],[[d,"Solaris"],b],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[d,b]]},R=function(e,t){if("object"===typeof e&&(t=e,e=i),!(this instanceof R))return new R(e,t).getResult();var r=e||("undefined"!==typeof o&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:""),n=t?E.extend(x,t):x;return this.getBrowser=function(){var e={name:i,version:i};return S.rgx.call(e,r,n.browser),e.major=E.major(e.version),e},this.getCPU=function(){var e={architecture:i};return S.rgx.call(e,r,n.cpu),e},this.getDevice=function(){var e={vendor:i,model:i,type:i};return S.rgx.call(e,r,n.device),e},this.getEngine=function(){var e={name:i,version:i};return S.rgx.call(e,r,n.engine),e},this.getOS=function(){var e={name:i,version:i};return S.rgx.call(e,r,n.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===c&&e.length>255?E.trim(e,255):e,this},this.setUA(r),this};R.VERSION="0.7.28",R.BROWSER={NAME:d,MAJOR:"major",VERSION:b},R.CPU={ARCHITECTURE:m},R.DEVICE={MODEL:l,VENDOR:p,TYPE:f,CONSOLE:g,MOBILE:h,SMARTTV:v,TABLET:y,WEARABLE:w,EMBEDDED:O},R.ENGINE={NAME:d,VERSION:b},R.OS={NAME:d,VERSION:b},typeof t!==a?(e.exports&&(t=e.exports=R),t.UAParser=R):(n=function(){return R}.call(t,r,t,e))===i||(e.exports=n);var C="undefined"!==typeof o&&(o.jQuery||o.Zepto);if(C&&!C.ua){var A=new R;C.ua=A.getResult(),C.ua.get=function(){return A.getUA()},C.ua.set=function(e){A.setUA(e);var t=A.getResult();for(var r in t)C.ua[r]=t[r]}}}("object"===typeof window?window:this)}}]); 2//# sourceMappingURL=7195-acec035bcb26da75c09e.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.