"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4472],{13728:function(e,n,t){function r(e){return String(e).replace(/[^\d]/g,"")}function o(e,n){var t=r(e),o="number"==typeof n?Array(t.length).fill(0).map(function(e,t){return n-t}):n;return t.split("").reduce(function(e,n,t){return e+parseInt(n,10)*o[t]},0)}t.d(n,{EY:function(){return d},Sp:function(){return C},le:function(){return S},vV:function(){return h},xQ:function(){return p}});var a={AC:{code:"2",areaCodes:[68],ieLength:13,name:"Acre"},AL:{code:"4",areaCodes:[82],ieLength:9,name:"Alagoas"},AP:{code:"2",areaCodes:[96],ieLength:9,name:"Amap\xe1"},AM:{code:"2",areaCodes:[92,97],ieLength:9,name:"Amazonas"},BA:{code:"5",areaCodes:[71,73,74,75,77],ieLength:[8,9],name:"Bahia"},CE:{code:"3",areaCodes:[85,88],ieLength:9,name:"Cear\xe1"},DF:{code:"1",areaCodes:[61],ieLength:13,name:"Distrito Federal"},ES:{code:"7",areaCodes:[27,28],ieLength:9,name:"Esp\xedrito Santo"},GO:{code:"1",areaCodes:[62,64],ieLength:9,name:"Goi\xe1s"},MA:{code:"3",areaCodes:[98,99],ieLength:9,name:"Maranh\xe3o"},MG:{code:"6",areaCodes:[31,32,33,34,35,37,38],ieLength:13,name:"Minas Gerais"},MT:{code:"1",areaCodes:[65,66],ieLength:11,name:"Mato Grosso"},MS:{code:"1",areaCodes:[67],ieLength:9,name:"Mato Grosso do Sul"},PA:{code:"2",areaCodes:[91,93,94],ieLength:9,name:"Par\xe1"},PB:{code:"4",areaCodes:[83],ieLength:9,name:"Para\xedba"},PE:{code:"4",areaCodes:[81,87],ieLength:9,name:"Pernambuco"},PI:{code:"3",areaCodes:[86,89],ieLength:9,name:"Piau\xed"},PR:{code:"9",areaCodes:[41,42,43,44,45,46],ieLength:10,name:"Paran\xe1"},RJ:{code:"7",areaCodes:[21,22,24],ieLength:8,name:"Rio de Janeiro"},RN:{code:"4",areaCodes:[84],ieLength:[9,10],name:"Rio Grande do Norte"},RO:{code:"2",areaCodes:[69],ieLength:14,name:"Rond\xf4nia"},RS:{code:"0",areaCodes:[51,53,54,55],ieLength:10,name:"Rio Grande do Sul"},RR:{code:"2",areaCodes:[95],ieLength:9,name:"Roraima"},SC:{code:"9",areaCodes:[47,48,49],ieLength:9,name:"Santa Catarina"},SE:{code:"5",areaCodes:[79],ieLength:9,name:"Sergipe"},SP:{code:"8",areaCodes:[11,12,13,14,15,16,17,18,19],ieLength:12,name:"S\xe3o Paulo"},TO:{code:"1",areaCodes:[63],ieLength:[9,11],name:"Tocantins"}},i=Object.keys(a).reduce(function(e,n){return e.concat(a[n].areaCodes)},[]),u=[6,7,8,9],c=[2,3,4,5];function s(e){return i.includes(Number(e.substr(0,2)))}function l(e){return{isValidDigits:!!e&&"string"==typeof e,digits:r(e)}}function d(e){var n=l(e),t=n.isValidDigits,r=n.digits;return!!t&&11===r.length&&u.includes(Number(r.charAt(2)))&&s(r)}function p(e){var n=l(e),t=n.isValidDigits,r=n.digits;return!!t&&r.length>=10&&r.length<11&&c.includes(Number(r.charAt(2)))&&s(r)}var f=/^([!#$%&'*+\-/=?^_`{|}~]{0,1}([a-zA-Z0-9][!#$%&'*+\-/=?^_`{|}~.]{0,1})+)@(([a-zA-Z0-9][-.]{0,1})+)([.]{1}[a-zA-Z0-9]+)$/,v=function(e){for(var n=arguments.length,t=Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];return t.reduce(function(e,n){return e+n.length},0)>e};function h(e){if(!e||"string"!=typeof e||v(318,e))return!1;var n=f.exec(e);if(!n)return!1;var t=n[1],r=n[3],o=n[5];return!(v(64,t)||v(253,r,o))}var m=["00000000000","11111111111","22222222222","33333333333","44444444444","55555555555","66666666666","77777777777","88888888888","99999999999"],g=[9,10];function C(e){if(!e||"string"!=typeof e)return!1;var n=r(e);return/^\d{3}\.?\d{3}\.?\d{3}-?\d{2}$/.test(e)&&!(m.indexOf(n)>=0)&&g.every(function(e){var t=o(n.slice(0,e).split("").reduce(function(e,n){return e+n},""),e+1)%11;return n[e]===String(t<2?0:11-t)})}var y=["00000000000000","11111111111111","22222222222222","33333333333333","44444444444444","55555555555555","66666666666666","77777777777777","88888888888888","99999999999999"],w=[12,13],b=[5,4,3,2,9,8,7,6,5,4,3,2];function S(e){if(!e||"string"!=typeof e)return!1;var n,t=r(e);return/^\d{2}\.?\d{3}\.?\d{3}\/?\d{4}-?\d{2}$/.test(e)&&!(y.indexOf(t)>=0)&&(n=[].concat(b),w.every(function(e){e===w[w.length-1]&&n.unshift(6);var r=o(t.slice(0,e).split("").reduce(function(e,n){return e+n},""),n)%11;return t[e]===String(r<2?0:11-r)}))}},1876:function(e,n,t){var r=t(2784),o=t(36883),a=function(e){var n=window.history,t=n[e];n[e]=function(n){var r=t.apply(this,arguments),o=new Event(e.toLowerCase());return o.state=n,window.dispatchEvent(o),r}};o.jU&&(a("pushState"),a("replaceState"));var i=function(e){var n=window.history,t=n.state,r=n.length,o=window.location;return{trigger:e,state:t,length:r,hash:o.hash,host:o.host,hostname:o.hostname,href:o.href,origin:o.origin,pathname:o.pathname,port:o.port,protocol:o.protocol,search:o.search}},u="function"==typeof Event;n.Z=o.jU&&u?function(){var e=(0,r.useState)(i("load")),n=e[0],t=e[1];return(0,r.useEffect)(function(){var e=function(){return t(i("popstate"))},n=function(){return t(i("pushstate"))},r=function(){return t(i("replacestate"))};return(0,o.on)(window,"popstate",e),(0,o.on)(window,"pushstate",n),(0,o.on)(window,"replacestate",r),function(){(0,o.S1)(window,"popstate",e),(0,o.S1)(window,"pushstate",n),(0,o.S1)(window,"replacestate",r)}},[]),n}:function(){return{trigger:"load",length:1}}},39429:function(e,n,t){t.d(n,{y:function(){return p}});var r=t(83118),o=t(4924),a=t(29058),i=t(51886),u=t(52322),c={exit:{opacity:0,scale:.95,transition:{duration:.1,ease:[.4,0,1,1]}},enter:{scale:1,opacity:1,transition:{duration:.15,ease:[0,0,.2,1]}}},s=(0,o.m)(i.E.section),l=(0,a.G)(function(e,n){let{variants:t=c,...o}=e,{isOpen:a}=(0,r.lp)();return(0,u.jsx)(s,{ref:n,variants:function(e){if(e)return{enter:{...e.enter,visibility:"visible"},exit:{...e.exit,transitionEnd:{visibility:"hidden"}}}}(t),initial:!1,animate:a?"enter":"exit",...o})});l.displayName="PopoverTransition";var d=t(31053),p=(0,a.G)(function(e,n){let{rootProps:t,motionProps:a,...i}=e,{getPopoverProps:c,getPopoverPositionerProps:s,onAnimationComplete:p}=(0,r.lp)(),f=(0,r.SV)(),v={position:"relative",display:"flex",flexDirection:"column",...f.content};return(0,u.jsx)(o.m.div,{...s(t),__css:f.popper,className:"chakra-popover__popper",children:(0,u.jsx)(l,{...a,...c(i,n),onAnimationComplete:(0,d.PP)(p,i.onAnimationComplete),className:(0,d.cx)("chakra-popover__content",e.className),__css:v})})});p.displayName="PopoverContent"},98200:function(e,n,t){t.d(n,{J:function(){return x}});var r=t(87053),o=t(32465),a=()=>"undefined"!=typeof window,i=e=>a()&&e.test(navigator.vendor),u=e=>a()&&e.test(function(){var e;let n=navigator.userAgentData;return null!=(e=null==n?void 0:n.platform)?e:navigator.platform}()),c=()=>u(/mac|iphone|ipad|ipod/i),s=()=>c()&&i(/apple/i),l=t(35875),d=t(36502),p=t(43604),f=t(79626),v=t(85244),h=t(31053),m=t(4028),g=t(2784),C={click:"click",hover:"hover"};function y(e,n){return e===n||(null==e?void 0:e.contains(n))}function w(e){var n;let t=e.currentTarget.ownerDocument.activeElement;return null!=(n=e.relatedTarget)?n:t}var b=t(83118),S=t(91982),L=t(84586),k=t(91148),P=t(52322);function x(e){let n=(0,S.jC)("Popover",e),{children:t,...a}=(0,L.Lr)(e),i=(0,k.F)(),u=function(e={}){let{closeOnBlur:n=!0,closeOnEsc:t=!0,initialFocusRef:a,id:i,returnFocusOnClose:u=!0,autoFocus:c=!0,arrowSize:b,arrowShadowColor:S,trigger:L=C.click,openDelay:k=200,closeDelay:P=200,isLazy:x,lazyBehavior:E="unmount",computePositionOnMount:A,...R}=e,{isOpen:M,onClose:D,onOpen:_,onToggle:N}=(0,d.q)(e),G=(0,g.useRef)(null),T=(0,g.useRef)(null),O=(0,g.useRef)(null),j=(0,g.useRef)(!1),q=(0,g.useRef)(!1);M&&(q.current=!0);let[B,$]=(0,g.useState)(!1),[F,V]=(0,g.useState)(!1),z=(0,g.useId)(),I=null!=i?i:z,[K,U,Z,J]=["popover-trigger","popover-content","popover-header","popover-body"].map(e=>`${e}-${I}`),{referenceRef:H,getArrowProps:W,getPopperProps:Q,getArrowInnerProps:Y,forceUpdate:X}=(0,p.D)({...R,enabled:M||!!A}),ee=(0,r.h)({isOpen:M,ref:O});!function(e){let{ref:n,elements:t,enabled:r}=e,a=()=>{var e,t;return null!=(t=null==(e=n.current)?void 0:e.ownerDocument)?t:document};(0,o.O)(a,"pointerdown",e=>{if(!s()||!r)return;let o=e.target,i=(null!=t?t:[n]).some(e=>{let n="current"in e?e.current:e;return(null==n?void 0:n.contains(o))||n===o});a().activeElement!==o&&i&&(e.preventDefault(),o.focus())})}({enabled:M,ref:T}),(0,l.C)(O,{focusRef:T,visible:M,shouldFocus:u&&L===C.click}),(0,l.G)(O,{focusRef:a,visible:M,shouldFocus:c&&L===C.click});let en=(0,m.k)({wasSelected:q.current,enabled:x,mode:E,isSelected:ee.present}),et=(0,g.useCallback)((e={},r=null)=>{let o={...e,style:{...e.style,transformOrigin:f.Dq.transformOrigin.varRef,[f.Dq.arrowSize.var]:b?`${b}px`:void 0,[f.Dq.arrowShadowColor.var]:S},ref:(0,v.lq)(O,r),children:en?e.children:null,id:U,tabIndex:-1,role:"dialog",onKeyDown:(0,h.v0)(e.onKeyDown,e=>{t&&"Escape"===e.key&&D()}),onBlur:(0,h.v0)(e.onBlur,e=>{let t=w(e),r=y(O.current,t),o=y(T.current,t);M&&n&&!r&&!o&&D()}),"aria-labelledby":B?Z:void 0,"aria-describedby":F?J:void 0};return L===C.hover&&(o.role="tooltip",o.onMouseEnter=(0,h.v0)(e.onMouseEnter,()=>{j.current=!0}),o.onMouseLeave=(0,h.v0)(e.onMouseLeave,e=>{null!==e.nativeEvent.relatedTarget&&(j.current=!1,setTimeout(()=>D(),P))})),o},[en,U,B,Z,F,J,L,t,D,M,n,P,S,b]),er=(0,g.useCallback)((e={},n=null)=>Q({...e,style:{visibility:M?"visible":"hidden",...e.style}},n),[M,Q]),eo=(0,g.useCallback)((e,n=null)=>({...e,ref:(0,v.lq)(n,G,H)}),[G,H]),ea=(0,g.useRef)(),ei=(0,g.useRef)(),eu=(0,g.useCallback)(e=>{null==G.current&&H(e)},[H]),ec=(0,g.useCallback)((e={},t=null)=>{let r={...e,ref:(0,v.lq)(T,t,eu),id:K,"aria-haspopup":"dialog","aria-expanded":M,"aria-controls":U};return L===C.click&&(r.onClick=(0,h.v0)(e.onClick,N)),L===C.hover&&(r.onFocus=(0,h.v0)(e.onFocus,()=>{void 0===ea.current&&_()}),r.onBlur=(0,h.v0)(e.onBlur,e=>{let t=w(e),r=!y(O.current,t);M&&n&&r&&D()}),r.onKeyDown=(0,h.v0)(e.onKeyDown,e=>{"Escape"===e.key&&D()}),r.onMouseEnter=(0,h.v0)(e.onMouseEnter,()=>{j.current=!0,ea.current=window.setTimeout(()=>_(),k)}),r.onMouseLeave=(0,h.v0)(e.onMouseLeave,()=>{j.current=!1,ea.current&&(clearTimeout(ea.current),ea.current=void 0),ei.current=window.setTimeout(()=>{!1===j.current&&D()},P)})),r},[K,M,U,L,eu,N,_,n,D,k,P]);(0,g.useEffect)(()=>()=>{ea.current&&clearTimeout(ea.current),ei.current&&clearTimeout(ei.current)},[]);let es=(0,g.useCallback)((e={},n=null)=>({...e,id:Z,ref:(0,v.lq)(n,e=>{$(!!e)})}),[Z]),el=(0,g.useCallback)((e={},n=null)=>({...e,id:J,ref:(0,v.lq)(n,e=>{V(!!e)})}),[J]);return{forceUpdate:X,isOpen:M,onAnimationComplete:ee.onComplete,onClose:D,getAnchorProps:eo,getArrowProps:W,getArrowInnerProps:Y,getPopoverPositionerProps:er,getPopoverProps:et,getTriggerProps:ec,getHeaderProps:es,getBodyProps:el}}({...a,direction:i.direction});return(0,P.jsx)(b.H2,{value:u,children:(0,P.jsx)(b.WG,{value:n,children:(0,h.Pu)(t,{isOpen:u.isOpen,onClose:u.onClose,forceUpdate:u.forceUpdate})})})}x.displayName="Popover"},34071:function(e,n,t){t.d(n,{x:function(){return a}});var r=t(83118),o=t(2784);function a(e){let n=o.Children.only(e.children),{getTriggerProps:t}=(0,r.lp)();return(0,o.cloneElement)(n,t(n.props,n.ref))}a.displayName="PopoverTrigger"},48394:function(e,n,t){t.d(n,{b:function(){return c}});var r=t(83118),o=t(29058),a=t(4924),i=t(31053),u=t(52322),c=(0,o.G)(function(e,n){let{getBodyProps:t}=(0,r.lp)(),o=(0,r.SV)();return(0,u.jsx)(a.m.div,{...t(e,n),className:(0,i.cx)("chakra-popover__body",e.className),__css:o.body})});c.displayName="PopoverBody"},83118:function(e,n,t){t.d(n,{H2:function(){return o},SV:function(){return u},WG:function(){return i},lp:function(){return a}});var r=t(9165),[o,a]=(0,r.k)({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Popover />`"}),[i,u]=(0,r.k)({name:"PopoverStylesContext",errorMessage:"usePopoverStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Popover />\" "})}}]);