Last active
December 6, 2024 16:33
-
-
Save HallexCosta/3548628247321ad5eb557031b6a7088e to your computer and use it in GitHub Desktop.
openpix-sdk.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(() => { | |
window.teste = () => console.log('Hallex was here!'); | |
})(); | |
(()=>{"use strict";var e={521:function(e,n,t){var r,a,l,o,i,u,c=t(271),s=t(537);function d(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var f=new Set,p={};function h(e,n){m(e,n),m(e+"Capture",n)}function m(e,n){for(p[e]=n,e=0;e<n.length;e++)f.add(n[e])}var g=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),y=Object.prototype.hasOwnProperty,v=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,b={},C={};function x(e,n,t,r,a,l,o){this.acceptsBooleans=2===n||3===n||4===n,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=l,this.removeEmptyString=o}var k={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){k[e]=new x(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];k[n]=new x(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){k[e]=new x(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){k[e]=new x(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){k[e]=new x(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){k[e]=new x(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){k[e]=new x(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){k[e]=new x(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){k[e]=new x(e,5,!1,e.toLowerCase(),null,!1,!1)});var w=/[\-:]([a-z])/g;function P(e){return e[1].toUpperCase()}function _(e,n,t,r){var a,l=k.hasOwnProperty(n)?k[n]:null;if(null!==l?0!==l.type:r||!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1]){;(function(e,n,t,r){if(null==n||function(e,n,t,r){if(null!==t&&0===t.type)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":if(r)return!1;if(null!==t)return!t.acceptsBooleans;return"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e;default:return!1}}(e,n,t,r))return!0;if(r)return!1;if(null!==t)switch(t.type){case 3:return!n;case 4:return!1===n;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1})(n,t,l,r)&&(t=null),r||null===l?(a=n,(!!y.call(C,a)||!y.call(b,a)&&(v.test(a)?C[a]=!0:(b[a]=!0,!1)))&&(null===t?e.removeAttribute(n):e.setAttribute(n,""+t))):l.mustUseProperty?e[l.propertyName]=null===t?3!==l.type&&"":t:(n=l.attributeName,r=l.attributeNamespace,null===t?e.removeAttribute(n):(t=3===(l=l.type)||4===l&&!0===t?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t)))}}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(w,P);k[n]=new x(n,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(w,P);k[n]=new x(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(w,P);k[n]=new x(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){k[e]=new x(e,1,!1,e.toLowerCase(),null,!1,!1)}),k.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){k[e]=new x(e,1,!1,e.toLowerCase(),null,!0,!0)});var S=c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,M=Symbol.for("react.element"),j=Symbol.for("react.portal"),L=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),z=Symbol.for("react.provider"),D=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),F=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var R=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var V=Symbol.iterator;function U(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=V&&e[V]||e["@@iterator"])?e:null}var B,H=Object.assign;function W(e){if(void 0===B)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);B=n&&n[1]||""}return"\n"+B+e}var q=!1;function Q(e,n){if(!e||q)return"";q=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n){if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}e()}}catch(n){if(n&&r&&"string"==typeof n.stack){for(var a=n.stack.split("\n"),l=r.stack.split("\n"),o=a.length-1,i=l.length-1;1<=o&&0<=i&&a[o]!==l[i];)i--;for(;1<=o&&0<=i;o--,i--)if(a[o]!==l[i]){if(1!==o||1!==i)do if(o--,0>--i||a[o]!==l[i]){var u="\n"+a[o].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=o&&0<=i);break}}}finally{q=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?W(e):""}function $(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Z(e){var n=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===n||"radio"===n)}function G(e){e._valueTracker||(e._valueTracker=function(e){var n=Z(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&void 0!==t&&"function"==typeof t.get&&"function"==typeof t.set){var a=t.get,l=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,l.call(this,e)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}(e))}function K(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=Z(e)?e.checked?"true":"false":e.value),(e=r)!==t&&(n.setValue(e),!0)}function X(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(n){return e.body}}function Y(e,n){var t=n.checked;return H({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=t?t:e._wrapperState.initialChecked})}function J(e,n){var t=null==n.defaultValue?"":n.defaultValue,r=null!=n.checked?n.checked:n.defaultChecked;t=$(null!=n.value?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:"checkbox"===n.type||"radio"===n.type?null!=n.checked:null!=n.value}}function ee(e,n){null!=(n=n.checked)&&_(e,"checked",n,!1)}function en(e,n){ee(e,n);var t=$(n.value),r=n.type;if(null!=t)"number"===r?(0===t&&""===e.value||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if("submit"===r||"reset"===r){e.removeAttribute("value");return}n.hasOwnProperty("value")?er(e,n.type,t):n.hasOwnProperty("defaultValue")&&er(e,n.type,$(n.defaultValue)),null==n.checked&&null!=n.defaultChecked&&(e.defaultChecked=!!n.defaultChecked)}function et(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!("submit"!==r&&"reset"!==r||void 0!==n.value&&null!==n.value))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}""!==(t=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==t&&(e.name=t)}function er(e,n,t){("number"!==n||X(e.ownerDocument)!==e)&&(null==t?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var ea=Array.isArray;function el(e,n,t,r){if(e=e.options,n){n={};for(var a=0;a<t.length;a++)n["$"+t[a]]=!0;for(t=0;t<e.length;t++)a=n.hasOwnProperty("$"+e[t].value),e[t].selected!==a&&(e[t].selected=a),a&&r&&(e[t].defaultSelected=!0)}else{for(a=0,t=""+$(t),n=null;a<e.length;a++){if(e[a].value===t){e[a].selected=!0,r&&(e[a].defaultSelected=!0);return}null!==n||e[a].disabled||(n=e[a])}null!==n&&(n.selected=!0)}}function eo(e,n){if(null!=n.dangerouslySetInnerHTML)throw Error(d(91));return H({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ei(e,n){var t=n.value;if(null==t){if(t=n.children,n=n.defaultValue,null!=t){if(null!=n)throw Error(d(92));if(ea(t)){if(1<t.length)throw Error(d(93));t=t[0]}n=t}null==n&&(n=""),t=n}e._wrapperState={initialValue:$(t)}}function eu(e,n){var t=$(n.value),r=$(n.defaultValue);null!=t&&((t=""+t)!==e.value&&(e.value=t),null==n.defaultValue&&e.defaultValue!==t&&(e.defaultValue=t)),null!=r&&(e.defaultValue=""+r)}function ec(e){var n=e.textContent;n===e._wrapperState.initialValue&&""!==n&&null!==n&&(e.value=n)}function es(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ed(e,n){return null==e||"http://www.w3.org/1999/xhtml"===e?es(n):"http://www.w3.org/2000/svg"===e&&"foreignObject"===n?"http://www.w3.org/1999/xhtml":e}var ef,ep,eh=(ef=function(e,n){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=n;else{for((ep=ep||document.createElement("div")).innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=ep.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,t,r){MSApp.execUnsafeLocalFunction(function(){return ef(e,n,t,r)})}:ef);function em(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&3===t.nodeType){t.nodeValue=n;return}}e.textContent=n}var eg={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ey=["Webkit","ms","Moz","O"];function ev(e,n,t){return null==n||"boolean"==typeof n||""===n?"":t||"number"!=typeof n||0===n||eg.hasOwnProperty(e)&&eg[e]?(""+n).trim():n+"px"}function eb(e,n){for(var t in e=e.style,n)if(n.hasOwnProperty(t)){var r=0===t.indexOf("--"),a=ev(t,n[t],r);"float"===t&&(t="cssFloat"),r?e.setProperty(t,a):e[t]=a}}Object.keys(eg).forEach(function(e){ey.forEach(function(n){eg[n=n+e.charAt(0).toUpperCase()+e.substring(1)]=eg[e]})});var eC=H({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ex(e,n){if(n){if(eC[e]&&(null!=n.children||null!=n.dangerouslySetInnerHTML))throw Error(d(137,e));if(null!=n.dangerouslySetInnerHTML){if(null!=n.children)throw Error(d(60));if("object"!=typeof n.dangerouslySetInnerHTML||!("__html"in n.dangerouslySetInnerHTML))throw Error(d(61))}if(null!=n.style&&"object"!=typeof n.style)throw Error(d(62))}}function ek(e,n){if(-1===e.indexOf("-"))return"string"==typeof n.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ew=null;function eP(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var e_=null,eS=null,eM=null;function ej(e){if(e=rO(e)){if("function"!=typeof e_)throw Error(d(280));var n=e.stateNode;n&&(n=rF(n),e_(e.stateNode,e.type,n))}}function eL(e){eS?eM?eM.push(e):eM=[e]:eS=e}function eE(){if(eS){var e=eS,n=eM;if(eM=eS=null,ej(e),n)for(e=0;e<n.length;e++)ej(n[e])}}function eI(e,n){return e(n)}function ez(){}var eD=!1;function eN(e,n,t){if(eD)return e(n,t);eD=!0;try{return eI(e,n,t)}finally{eD=!1,(null!==eS||null!==eM)&&(ez(),eE())}}function eT(e,n){var t=e.stateNode;if(null===t)return null;var r=rF(t);if(null===r)return null;switch(t=r[n],n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break;default:e=!1}if(e)return null;if(t&&"function"!=typeof t)throw Error(d(231,n,typeof t));return t}var eO=!1;if(g)try{var eA={};Object.defineProperty(eA,"passive",{get:function(){eO=!0}}),window.addEventListener("test",eA,eA),window.removeEventListener("test",eA,eA)}catch(e){eO=!1}function eF(e,n,t,r,a,l,o,i,u){var c=Array.prototype.slice.call(arguments,3);try{n.apply(t,c)}catch(e){this.onError(e)}}var eR=!1,eV=null,eU=!1,eB=null,eH={onError:function(e){eR=!0,eV=e}};function eW(e,n,t,r,a,l,o,i,u){eR=!1,eV=null,eF.apply(eH,arguments)}function eq(e){var n=e,t=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do 0!=(4098&(n=e).flags)&&(t=n.return),e=n.return;while(e)}return 3===n.tag?t:null}function eQ(e){if(13===e.tag){var n=e.memoizedState;if(null===n&&null!==(e=e.alternate)&&(n=e.memoizedState),null!==n)return n.dehydrated}return null}function e$(e){if(eq(e)!==e)throw Error(d(188))}function eZ(e){return null!==(e=function(e){var n=e.alternate;if(!n){if(null===(n=eq(e)))throw Error(d(188));return n!==e?null:e}for(var t=e,r=n;;){var a=t.return;if(null===a)break;var l=a.alternate;if(null===l){if(null!==(r=a.return)){t=r;continue}break}if(a.child===l.child){for(l=a.child;l;){if(l===t)return e$(a),e;if(l===r)return e$(a),n;l=l.sibling}throw Error(d(188))}if(t.return!==r.return)t=a,r=l;else{for(var o=!1,i=a.child;i;){if(i===t){o=!0,t=a,r=l;break}if(i===r){o=!0,r=a,t=l;break}i=i.sibling}if(!o){for(i=l.child;i;){if(i===t){o=!0,t=l,r=a;break}if(i===r){o=!0,r=l,t=a;break}i=i.sibling}if(!o)throw Error(d(189))}}if(t.alternate!==r)throw Error(d(190))}if(3!==t.tag)throw Error(d(188));return t.stateNode.current===t?e:n}(e))?function e(n){if(5===n.tag||6===n.tag)return n;for(n=n.child;null!==n;){var t=e(n);if(null!==t)return t;n=n.sibling}return null}(e):null}var eG=s.unstable_scheduleCallback,eK=s.unstable_cancelCallback,eX=s.unstable_shouldYield,eY=s.unstable_requestPaint,eJ=s.unstable_now,e1=s.unstable_getCurrentPriorityLevel,e0=s.unstable_ImmediatePriority,e2=s.unstable_UserBlockingPriority,e3=s.unstable_NormalPriority,e4=s.unstable_LowPriority,e6=s.unstable_IdlePriority,e7=null,e5=null,e9=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(e8(e)/ne|0)|0},e8=Math.log,ne=Math.LN2,nn=64,nt=4194304;function nr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:case 0x4000000:return 0x7c00000&e;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0x40000000;default:return e}}function na(e,n){var t=e.pendingLanes;if(0===t)return 0;var r=0,a=e.suspendedLanes,l=e.pingedLanes,o=0xfffffff&t;if(0!==o){var i=o&~a;0!==i?r=nr(i):0!=(l&=o)&&(r=nr(l))}else 0!=(o=t&~a)?r=nr(o):0!==l&&(r=nr(l));if(0===r)return 0;if(0!==n&&n!==r&&0==(n&a)&&((a=r&-r)>=(l=n&-n)||16===a&&0!=(4194240&l)))return n;if(0!=(4&r)&&(r|=16&t),0!==(n=e.entangledLanes))for(e=e.entanglements,n&=r;0<n;)a=1<<(t=31-e9(n)),r|=e[t],n&=~a;return r}function nl(e){return 0!=(e=-0x40000001&e.pendingLanes)?e:0x40000000&e?0x40000000:0}function no(){var e=nn;return 0==(4194240&(nn<<=1))&&(nn=64),e}function ni(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function nu(e,n,t){e.pendingLanes|=n,0x20000000!==n&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,e[n=31-e9(n)]=t}function nc(e,n){var t=e.entangledLanes|=n;for(e=e.entanglements;t;){var r=31-e9(t),a=1<<r;a&n|e[r]&n&&(e[r]|=n),t&=~a}}var ns=0;function nd(e){return 1<(e&=-e)?4<e?0!=(0xfffffff&e)?16:0x20000000:4:1}var nf,np,nh,nm,ng,ny=!1,nv=[],nb=null,nC=null,nx=null,nk=new Map,nw=new Map,nP=[],n_="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function nS(e,n){switch(e){case"focusin":case"focusout":nb=null;break;case"dragenter":case"dragleave":nC=null;break;case"mouseover":case"mouseout":nx=null;break;case"pointerover":case"pointerout":nk.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":nw.delete(n.pointerId)}}function nM(e,n,t,r,a,l){return null===e||e.nativeEvent!==l?(e={blockedOn:n,domEventName:t,eventSystemFlags:r,nativeEvent:l,targetContainers:[a]},null!==n&&null!==(n=rO(n))&&np(n),e):(e.eventSystemFlags|=r,n=e.targetContainers,null!==a&&-1===n.indexOf(a)&&n.push(a),e)}function nj(e){var n=rT(e.target);if(null!==n){var t=eq(n);if(null!==t){if(13===(n=t.tag)){if(null!==(n=eQ(t))){e.blockedOn=n,ng(e.priority,function(){nh(t)});return}}else if(3===n&&t.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===t.tag?t.stateNode.containerInfo:null;return}}}e.blockedOn=null}function nL(e){if(null!==e.blockedOn)return!1;for(var n=e.targetContainers;0<n.length;){var t=nV(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(null!==t)return null!==(n=rO(t))&&np(n),e.blockedOn=t,!1;var r=new(t=e.nativeEvent).constructor(t.type,t);ew=r,t.target.dispatchEvent(r),ew=null;n.shift()}return!0}function nE(e,n,t){nL(e)&&t.delete(n)}function nI(){ny=!1,null!==nb&&nL(nb)&&(nb=null),null!==nC&&nL(nC)&&(nC=null),null!==nx&&nL(nx)&&(nx=null),nk.forEach(nE),nw.forEach(nE)}function nz(e,n){e.blockedOn===n&&(e.blockedOn=null,ny||(ny=!0,s.unstable_scheduleCallback(s.unstable_NormalPriority,nI)))}function nD(e){function n(n){return nz(n,e)}if(0<nv.length){nz(nv[0],e);for(var t=1;t<nv.length;t++){var r=nv[t];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==nb&&nz(nb,e),null!==nC&&nz(nC,e),null!==nx&&nz(nx,e),nk.forEach(n),nw.forEach(n),t=0;t<nP.length;t++)(r=nP[t]).blockedOn===e&&(r.blockedOn=null);for(;0<nP.length&&null===(t=nP[0]).blockedOn;)nj(t),null===t.blockedOn&&nP.shift()}var nN=S.ReactCurrentBatchConfig,nT=!0;function nO(e,n,t,r){var a=ns,l=nN.transition;nN.transition=null;try{ns=1,nF(e,n,t,r)}finally{ns=a,nN.transition=l}}function nA(e,n,t,r){var a=ns,l=nN.transition;nN.transition=null;try{ns=4,nF(e,n,t,r)}finally{ns=a,nN.transition=l}}function nF(e,n,t,r){if(nT){var a=nV(e,n,t,r);if(null===a)ri(e,n,r,nR,t),nS(e,r);else if(function(e,n,t,r,a){switch(n){case"focusin":return nb=nM(nb,e,n,t,r,a),!0;case"dragenter":return nC=nM(nC,e,n,t,r,a),!0;case"mouseover":return nx=nM(nx,e,n,t,r,a),!0;case"pointerover":var l=a.pointerId;return nk.set(l,nM(nk.get(l)||null,e,n,t,r,a)),!0;case"gotpointercapture":return l=a.pointerId,nw.set(l,nM(nw.get(l)||null,e,n,t,r,a)),!0}return!1}(a,e,n,t,r))r.stopPropagation();else if(nS(e,r),4&n&&-1<n_.indexOf(e)){for(;null!==a;){var l=rO(a);if(null!==l&&nf(l),null===(l=nV(e,n,t,r))&&ri(e,n,r,nR,t),l===a)break;a=l}null!==a&&r.stopPropagation()}else ri(e,n,r,null,t)}}var nR=null;function nV(e,n,t,r){if(nR=null,null!==(e=rT(e=eP(r)))){if(null===(n=eq(e)))e=null;else if(13===(t=n.tag)){if(null!==(e=eQ(n)))return e;e=null}else if(3===t){if(n.stateNode.current.memoizedState.isDehydrated)return 3===n.tag?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null)}return nR=e,null}function nU(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(e1()){case e0:return 1;case e2:return 4;case e3:case e4:return 16;case e6:return 0x20000000;default:return 16}default:return 16}}var nB=null,nH=null,nW=null;function nq(){if(nW)return nW;var e,n,t=nH,r=t.length,a="value"in nB?nB.value:nB.textContent,l=a.length;for(e=0;e<r&&t[e]===a[e];e++);var o=r-e;for(n=1;n<=o&&t[r-n]===a[l-n];n++);return nW=a.slice(e,1<n?1-n:void 0)}function nQ(e){var n=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===n&&(e=13):e=n,10===e&&(e=13),32<=e||13===e?e:0}function n$(){return!0}function nZ(){return!1}function nG(e){function n(n,t,r,a,l){for(var o in this._reactName=n,this._targetInst=r,this.type=t,this.nativeEvent=a,this.target=l,this.currentTarget=null,e)e.hasOwnProperty(o)&&(n=e[o],this[o]=n?n(a):a[o]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?n$:nZ,this.isPropagationStopped=nZ,this}return H(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=n$)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=n$)},persist:function(){},isPersistent:n$}),n}var nK,nX,nY,nJ={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},n1=nG(nJ),n0=H({},nJ,{view:0,detail:0}),n2=nG(n0),n3=H({},n0,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ta,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==nY&&(nY&&"mousemove"===e.type?(nK=e.screenX-nY.screenX,nX=e.screenY-nY.screenY):nX=nK=0,nY=e),nK)},movementY:function(e){return"movementY"in e?e.movementY:nX}}),n4=nG(n3),n6=nG(H({},n3,{dataTransfer:0})),n7=nG(H({},n0,{relatedTarget:0})),n5=nG(H({},nJ,{animationName:0,elapsedTime:0,pseudoElement:0})),n9=nG(H({},nJ,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),n8=nG(H({},nJ,{data:0})),te={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},tn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},tt={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function tr(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):!!(e=tt[e])&&!!n[e]}function ta(){return tr}var tl=nG(H({},n0,{key:function(e){if(e.key){var n=te[e.key]||e.key;if("Unidentified"!==n)return n}return"keypress"===e.type?13===(e=nQ(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?tn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ta,charCode:function(e){return"keypress"===e.type?nQ(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?nQ(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),to=nG(H({},n3,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),ti=nG(H({},n0,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ta})),tu=nG(H({},nJ,{propertyName:0,elapsedTime:0,pseudoElement:0})),tc=nG(H({},n3,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),ts=[9,13,27,32],td=g&&"CompositionEvent"in window,tf=null;g&&"documentMode"in document&&(tf=document.documentMode);var tp=g&&"TextEvent"in window&&!tf,th=g&&(!td||tf&&8<tf&&11>=tf),tm=!1;function tg(e,n){switch(e){case"keyup":return -1!==ts.indexOf(n.keyCode);case"keydown":return 229!==n.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ty(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var tv=!1,tb={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function tC(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===n?!!tb[e.type]:"textarea"===n}function tx(e,n,t,r){eL(r),0<(n=rc(n,"onChange")).length&&(t=new n1("onChange","change",null,t,r),e.push({event:t,listeners:n}))}var tk=null,tw=null;function tP(e){rn(e,0)}function t_(e){if(K(rA(e)))return e}function tS(e,n){if("change"===e)return n}var tM=!1;if(g){if(g){var tj="oninput"in document;if(!tj){var tL=document.createElement("div");tL.setAttribute("oninput","return;"),tj="function"==typeof tL.oninput}r=tj}else r=!1;tM=r&&(!document.documentMode||9<document.documentMode)}function tE(){tk&&(tk.detachEvent("onpropertychange",tI),tw=tk=null)}function tI(e){if("value"===e.propertyName&&t_(tw)){var n=[];tx(n,tw,e,eP(e)),eN(tP,n)}}function tz(e,n,t){"focusin"===e?(tE(),tk=n,tw=t,tk.attachEvent("onpropertychange",tI)):"focusout"===e&&tE()}function tD(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return t_(tw)}function tN(e,n){if("click"===e)return t_(n)}function tT(e,n){if("input"===e||"change"===e)return t_(n)}var tO="function"==typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n};function tA(e,n){if(tO(e,n))return!0;if("object"!=typeof e||null===e||"object"!=typeof n||null===n)return!1;var t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;for(r=0;r<t.length;r++){var a=t[r];if(!y.call(n,a)||!tO(e[a],n[a]))return!1}return!0}function tF(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function tR(e,n){var t,r=tF(e);for(e=0;r;){if(3===r.nodeType){if(t=e+r.textContent.length,e<=n&&t>=n)return{node:r,offset:n-e};e=t}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=tF(r)}}function tV(){for(var e=window,n=X();n instanceof e.HTMLIFrameElement;){try{var t="string"==typeof n.contentWindow.location.href}catch(e){t=!1}if(t)e=n.contentWindow;else break;n=X(e.document)}return n}function tU(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&("input"===n&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===n||"true"===e.contentEditable)}var tB=g&&"documentMode"in document&&11>=document.documentMode,tH=null,tW=null,tq=null,tQ=!1;function t$(e,n,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;tQ||null==tH||tH!==X(r)||(r="selectionStart"in(r=tH)&&tU(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},tq&&tA(tq,r)||(tq=r,0<(r=rc(tW,"onSelect")).length&&(n=new n1("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=tH)))}function tZ(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var tG={animationend:tZ("Animation","AnimationEnd"),animationiteration:tZ("Animation","AnimationIteration"),animationstart:tZ("Animation","AnimationStart"),transitionend:tZ("Transition","TransitionEnd")},tK={},tX={};function tY(e){if(tK[e])return tK[e];if(!tG[e])return e;var n,t=tG[e];for(n in t)if(t.hasOwnProperty(n)&&n in tX)return tK[e]=t[n];return e}g&&(tX=document.createElement("div").style,"AnimationEvent"in window||(delete tG.animationend.animation,delete tG.animationiteration.animation,delete tG.animationstart.animation),"TransitionEvent"in window||delete tG.transitionend.transition);var tJ=tY("animationend"),t1=tY("animationiteration"),t0=tY("animationstart"),t2=tY("transitionend"),t3=new Map,t4="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function t6(e,n){t3.set(e,n),h(n,[e])}for(var t7=0;t7<t4.length;t7++){var t5=t4[t7];t6(t5.toLowerCase(),"on"+(t5[0].toUpperCase()+t5.slice(1)))}t6(tJ,"onAnimationEnd"),t6(t1,"onAnimationIteration"),t6(t0,"onAnimationStart"),t6("dblclick","onDoubleClick"),t6("focusin","onFocus"),t6("focusout","onBlur"),t6(t2,"onTransitionEnd"),m("onMouseEnter",["mouseout","mouseover"]),m("onMouseLeave",["mouseout","mouseover"]),m("onPointerEnter",["pointerout","pointerover"]),m("onPointerLeave",["pointerout","pointerover"]),h("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),h("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),h("onBeforeInput",["compositionend","keypress","textInput","paste"]),h("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var t9="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),t8=new Set("cancel close invalid load scroll toggle".split(" ").concat(t9));function re(e,n,t){var r=e.type||"unknown-event";e.currentTarget=t,!function(e,n,t,r,a,l,o,i,u){if(eW.apply(this,arguments),eR){if(eR){var c=eV;eR=!1,eV=null}else throw Error(d(198));eU||(eU=!0,eB=c)}}(r,n,void 0,e),e.currentTarget=null}function rn(e,n){n=0!=(4&n);for(var t=0;t<e.length;t++){var r=e[t],a=r.event;r=r.listeners;e:{var l=void 0;if(n)for(var o=r.length-1;0<=o;o--){var i=r[o],u=i.instance,c=i.currentTarget;if(i=i.listener,u!==l&&a.isPropagationStopped())break e;re(a,i,c),l=u}else for(o=0;o<r.length;o++){if(u=(i=r[o]).instance,c=i.currentTarget,i=i.listener,u!==l&&a.isPropagationStopped())break e;re(a,i,c),l=u}}}if(eU)throw e=eB,eU=!1,eB=null,e}function rt(e,n){var t=n[rz];void 0===t&&(t=n[rz]=new Set);var r=e+"__bubble";t.has(r)||(ro(n,e,2,!1),t.add(r))}function rr(e,n,t){var r=0;n&&(r|=4),ro(t,e,r,n)}var ra="_reactListening"+Math.random().toString(36).slice(2);function rl(e){if(!e[ra]){e[ra]=!0,f.forEach(function(n){"selectionchange"!==n&&(t8.has(n)||rr(n,!1,e),rr(n,!0,e))});var n=9===e.nodeType?e:e.ownerDocument;null===n||n[ra]||(n[ra]=!0,rr("selectionchange",!1,n))}}function ro(e,n,t,r){switch(nU(n)){case 1:var a=nO;break;case 4:a=nA;break;default:a=nF}t=a.bind(null,n,t,e),a=void 0,eO&&("touchstart"===n||"touchmove"===n||"wheel"===n)&&(a=!0),r?void 0!==a?e.addEventListener(n,t,{capture:!0,passive:a}):e.addEventListener(n,t,!0):void 0!==a?e.addEventListener(n,t,{passive:a}):e.addEventListener(n,t,!1)}function ri(e,n,t,r,a){var l=r;if(0==(1&n)&&0==(2&n)&&null!==r)e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var i=r.stateNode.containerInfo;if(i===a||8===i.nodeType&&i.parentNode===a)break;if(4===o)for(o=r.return;null!==o;){var u=o.tag;if((3===u||4===u)&&((u=o.stateNode.containerInfo)===a||8===u.nodeType&&u.parentNode===a))return;o=o.return}for(;null!==i;){if(null===(o=rT(i)))return;if(5===(u=o.tag)||6===u){r=l=o;continue e}i=i.parentNode}}r=r.return}eN(function(){var r=l,a=eP(t),o=[];e:{var i=t3.get(e);if(void 0!==i){var u=n1,c=e;switch(e){case"keypress":if(0===nQ(t))break e;case"keydown":case"keyup":u=tl;break;case"focusin":c="focus",u=n7;break;case"focusout":c="blur",u=n7;break;case"beforeblur":case"afterblur":u=n7;break;case"click":if(2===t.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=n4;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=n6;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=ti;break;case tJ:case t1:case t0:u=n5;break;case t2:u=tu;break;case"scroll":u=n2;break;case"wheel":u=tc;break;case"copy":case"cut":case"paste":u=n9;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=to}var s=0!=(4&n),d=!s&&"scroll"===e,f=s?null!==i?i+"Capture":null:i;s=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&null!=(m=eT(h,f))&&s.push(ru(h,m,p))),d)break;h=h.return}0<s.length&&(i=new u(i,c,null,t,a),o.push({event:i,listeners:s}))}}if(0==(7&n)){e:if(i="mouseover"===e||"pointerover"===e,u="mouseout"===e||"pointerout"===e,!(i&&t!==ew&&(c=t.relatedTarget||t.fromElement)&&(rT(c)||c[rI]))){if((u||i)&&(i=a.window===a?a:(i=a.ownerDocument)?i.defaultView||i.parentWindow:window,u?(c=t.relatedTarget||t.toElement,u=r,null!==(c=c?rT(c):null)&&(d=eq(c),c!==d||5!==c.tag&&6!==c.tag)&&(c=null)):(u=null,c=r),u!==c)){if(s=n4,m="onMouseLeave",f="onMouseEnter",h="mouse",("pointerout"===e||"pointerover"===e)&&(s=to,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==u?i:rA(u),p=null==c?i:rA(c),(i=new s(m,h+"leave",u,t,a)).target=d,i.relatedTarget=p,m=null,rT(a)===r&&((s=new s(f,h+"enter",c,t,a)).target=p,s.relatedTarget=d,m=s),d=m,u&&c)n:{for(s=u,f=c,h=0,p=s;p;p=rs(p))h++;for(p=0,m=f;m;m=rs(m))p++;for(;0<h-p;)s=rs(s),h--;for(;0<p-h;)f=rs(f),p--;for(;h--;){if(s===f||null!==f&&s===f.alternate)break n;s=rs(s),f=rs(f)}s=null}else s=null;null!==u&&rd(o,i,u,s,!1),null!==c&&null!==d&&rd(o,d,c,s,!0)}}e:{if("select"===(u=(i=r?rA(r):window).nodeName&&i.nodeName.toLowerCase())||"input"===u&&"file"===i.type)var g,y=tS;else if(tC(i)){if(tM)y=tT;else{y=tD;var v=tz}}else(u=i.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(y=tN);if(y&&(y=y(e,r))){tx(o,y,t,a);break e}v&&v(e,i,r),"focusout"===e&&(v=i._wrapperState)&&v.controlled&&"number"===i.type&&er(i,"number",i.value)}switch(v=r?rA(r):window,e){case"focusin":(tC(v)||"true"===v.contentEditable)&&(tH=v,tW=r,tq=null);break;case"focusout":tq=tW=tH=null;break;case"mousedown":tQ=!0;break;case"contextmenu":case"mouseup":case"dragend":tQ=!1,t$(o,t,a);break;case"selectionchange":if(tB)break;case"keydown":case"keyup":t$(o,t,a)}if(td)n:{switch(e){case"compositionstart":var b="onCompositionStart";break n;case"compositionend":b="onCompositionEnd";break n;case"compositionupdate":b="onCompositionUpdate";break n}b=void 0}else tv?tg(e,t)&&(b="onCompositionEnd"):"keydown"===e&&229===t.keyCode&&(b="onCompositionStart");b&&(th&&"ko"!==t.locale&&(tv||"onCompositionStart"!==b?"onCompositionEnd"===b&&tv&&(g=nq()):(nH="value"in(nB=a)?nB.value:nB.textContent,tv=!0)),0<(v=rc(r,b)).length&&(b=new n8(b,e,null,t,a),o.push({event:b,listeners:v}),g?b.data=g:null!==(g=ty(t))&&(b.data=g))),(g=tp?function(e,n){switch(e){case"compositionend":return ty(n);case"keypress":if(32!==n.which)return null;return tm=!0," ";case"textInput":return" "===(e=n.data)&&tm?null:e;default:return null}}(e,t):function(e,n){if(tv)return"compositionend"===e||!td&&tg(e,n)?(e=nq(),nW=nH=nB=null,tv=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return th&&"ko"!==n.locale?null:n.data}}(e,t))&&0<(r=rc(r,"onBeforeInput")).length&&(a=new n8("onBeforeInput","beforeinput",null,t,a),o.push({event:a,listeners:r}),a.data=g)}rn(o,n)})}function ru(e,n,t){return{instance:e,listener:n,currentTarget:t}}function rc(e,n){for(var t=n+"Capture",r=[];null!==e;){var a=e,l=a.stateNode;5===a.tag&&null!==l&&(a=l,null!=(l=eT(e,t))&&r.unshift(ru(e,l,a)),null!=(l=eT(e,n))&&r.push(ru(e,l,a))),e=e.return}return r}function rs(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag);return e||null}function rd(e,n,t,r,a){for(var l=n._reactName,o=[];null!==t&&t!==r;){var i=t,u=i.alternate,c=i.stateNode;if(null!==u&&u===r)break;5===i.tag&&null!==c&&(i=c,a?null!=(u=eT(t,l))&&o.unshift(ru(t,u,i)):a||null!=(u=eT(t,l))&&o.push(ru(t,u,i))),t=t.return}0!==o.length&&e.push({event:n,listeners:o})}var rf=/\r\n?/g,rp=/\u0000|\uFFFD/g;function rh(e){return("string"==typeof e?e:""+e).replace(rf,"\n").replace(rp,"")}function rm(e,n,t){if(n=rh(n),rh(e)!==n&&t)throw Error(d(425))}function rg(){}var ry=null,rv=null;function rb(e,n){return"textarea"===e||"noscript"===e||"string"==typeof n.children||"number"==typeof n.children||"object"==typeof n.dangerouslySetInnerHTML&&null!==n.dangerouslySetInnerHTML&&null!=n.dangerouslySetInnerHTML.__html}var rC="function"==typeof setTimeout?setTimeout:void 0,rx="function"==typeof clearTimeout?clearTimeout:void 0,rk="function"==typeof Promise?Promise:void 0,rw="function"==typeof queueMicrotask?queueMicrotask:void 0!==rk?function(e){return rk.resolve(null).then(e).catch(rP)}:rC;function rP(e){setTimeout(function(){throw e})}function r_(e,n){var t=n,r=0;do{var a=t.nextSibling;if(e.removeChild(t),a&&8===a.nodeType){if("/$"===(t=a.data)){if(0===r){e.removeChild(a),nD(n);return}r--}else"$"!==t&&"$?"!==t&&"$!"!==t||r++}t=a}while(t);nD(n)}function rS(e){for(;null!=e;e=e.nextSibling){var n=e.nodeType;if(1===n||3===n)break;if(8===n){if("$"===(n=e.data)||"$!"===n||"$?"===n)break;if("/$"===n)return null}}return e}function rM(e){e=e.previousSibling;for(var n=0;e;){if(8===e.nodeType){var t=e.data;if("$"===t||"$!"===t||"$?"===t){if(0===n)return e;n--}else"/$"===t&&n++}e=e.previousSibling}return null}var rj=Math.random().toString(36).slice(2),rL="__reactFiber$"+rj,rE="__reactProps$"+rj,rI="__reactContainer$"+rj,rz="__reactEvents$"+rj,rD="__reactListeners$"+rj,rN="__reactHandles$"+rj;function rT(e){var n=e[rL];if(n)return n;for(var t=e.parentNode;t;){if(n=t[rI]||t[rL]){if(t=n.alternate,null!==n.child||null!==t&&null!==t.child)for(e=rM(e);null!==e;){if(t=e[rL])return t;e=rM(e)}return n}t=(e=t).parentNode}return null}function rO(e){return(e=e[rL]||e[rI])&&(5===e.tag||6===e.tag||13===e.tag||3===e.tag)?e:null}function rA(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(d(33))}function rF(e){return e[rE]||null}var rR=[],rV=-1;function rU(e){return{current:e}}function rB(e){0>rV||(e.current=rR[rV],rR[rV]=null,rV--)}function rH(e,n){rR[++rV]=e.current,e.current=n}var rW={},rq=rU(rW),rQ=rU(!1),r$=rW;function rZ(e,n){var t=e.type.contextTypes;if(!t)return rW;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var a,l={};for(a in t)l[a]=n[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function rG(e){return null!=(e=e.childContextTypes)}function rK(){rB(rQ),rB(rq)}function rX(e,n,t){if(rq.current!==rW)throw Error(d(168));rH(rq,n),rH(rQ,t)}function rY(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,"function"!=typeof r.getChildContext)return t;for(var a in r=r.getChildContext())if(!(a in n))throw Error(d(108,function(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=n.render).displayName||e.name||"",n.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return function e(n){if(null==n)return null;if("function"==typeof n)return n.displayName||n.name||null;if("string"==typeof n)return n;switch(n){case L:return"Fragment";case j:return"Portal";case I:return"Profiler";case E:return"StrictMode";case T:return"Suspense";case O:return"SuspenseList"}if("object"==typeof n)switch(n.$$typeof){case D:return(n.displayName||"Context")+".Consumer";case z:return(n._context.displayName||"Context")+".Provider";case N:var t=n.render;return(n=n.displayName)||(n=""!==(n=t.displayName||t.name||"")?"ForwardRef("+n+")":"ForwardRef"),n;case A:return null!==(t=n.displayName||null)?t:e(n.type)||"Memo";case F:t=n._payload,n=n._init;try{return e(n(t))}catch(e){}}return null}(n);case 8:return n===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof n)return n.displayName||n.name||null;if("string"==typeof n)return n}return null}(e)||"Unknown",a));return H({},t,r)}function rJ(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rW,r$=rq.current,rH(rq,e),rH(rQ,rQ.current),!0}function r1(e,n,t){var r=e.stateNode;if(!r)throw Error(d(169));t?(e=rY(e,n,r$),r.__reactInternalMemoizedMergedChildContext=e,rB(rQ),rB(rq),rH(rq,e)):rB(rQ),rH(rQ,t)}var r0=null,r2=!1,r3=!1;function r4(e){null===r0?r0=[e]:r0.push(e)}function r6(){if(!r3&&null!==r0){r3=!0;var e=0,n=ns;try{var t=r0;for(ns=1;e<t.length;e++){var r=t[e];do r=r(!0);while(null!==r)}r0=null,r2=!1}catch(n){throw null!==r0&&(r0=r0.slice(e+1)),eG(e0,r6),n}finally{ns=n,r3=!1}}return null}var r7=[],r5=0,r9=null,r8=0,ae=[],an=0,at=null,ar=1,aa="";function al(e,n){r7[r5++]=r8,r7[r5++]=r9,r9=e,r8=n}function ao(e,n,t){ae[an++]=ar,ae[an++]=aa,ae[an++]=at,at=e;var r=ar;e=aa;var a=32-e9(r)-1;r&=~(1<<a),t+=1;var l=32-e9(n)+a;if(30<l){var o=a-a%5;l=(r&(1<<o)-1).toString(32),r>>=o,a-=o,ar=1<<32-e9(n)+a|t<<a|r,aa=l+e}else ar=1<<l|t<<a|r,aa=e}function ai(e){null!==e.return&&(al(e,1),ao(e,1,0))}function au(e){for(;e===r9;)r9=r7[--r5],r7[r5]=null,r8=r7[--r5],r7[r5]=null;for(;e===at;)at=ae[--an],ae[an]=null,aa=ae[--an],ae[an]=null,ar=ae[--an],ae[an]=null}var ac=null,as=null,ad=!1,af=null;function ap(e,n){var t=iG(5,null,null,0);t.elementType="DELETED",t.stateNode=n,t.return=e,null===(n=e.deletions)?(e.deletions=[t],e.flags|=16):n.push(t)}function ah(e,n){switch(e.tag){case 5:var t=e.type;return null!==(n=1!==n.nodeType||t.toLowerCase()!==n.nodeName.toLowerCase()?null:n)&&(e.stateNode=n,ac=e,as=rS(n.firstChild),!0);case 6:return null!==(n=""===e.pendingProps||3!==n.nodeType?null:n)&&(e.stateNode=n,ac=e,as=null,!0);case 13:return null!==(n=8!==n.nodeType?null:n)&&(t=null!==at?{id:ar,overflow:aa}:null,e.memoizedState={dehydrated:n,treeContext:t,retryLane:0x40000000},(t=iG(18,null,null,0)).stateNode=n,t.return=e,e.child=t,ac=e,as=null,!0);default:return!1}}function am(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function ag(e){if(ad){var n=as;if(n){var t=n;if(!ah(e,n)){if(am(e))throw Error(d(418));n=rS(t.nextSibling);var r=ac;n&&ah(e,n)?ap(r,t):(e.flags=-4097&e.flags|2,ad=!1,ac=e)}}else{if(am(e))throw Error(d(418));e.flags=-4097&e.flags|2,ad=!1,ac=e}}}function ay(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ac=e}function av(e){if(e!==ac)return!1;if(!ad)return ay(e),ad=!0,!1;if((n=3!==e.tag)&&!(n=5!==e.tag)&&(n="head"!==(n=e.type)&&"body"!==n&&!rb(e.type,e.memoizedProps)),n&&(n=as)){if(am(e))throw ab(),Error(d(418));for(;n;)ap(e,n),n=rS(n.nextSibling)}if(ay(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(d(317));e:{for(n=0,e=e.nextSibling;e;){if(8===e.nodeType){var n,t=e.data;if("/$"===t){if(0===n){as=rS(e.nextSibling);break e}n--}else"$"!==t&&"$!"!==t&&"$?"!==t||n++}e=e.nextSibling}as=null}}else as=ac?rS(e.stateNode.nextSibling):null;return!0}function ab(){for(var e=as;e;)e=rS(e.nextSibling)}function aC(){as=ac=null,ad=!1}function ax(e){null===af?af=[e]:af.push(e)}var ak=S.ReactCurrentBatchConfig;function aw(e,n,t){if(null!==(e=t.ref)&&"function"!=typeof e&&"object"!=typeof e){if(t._owner){if(t=t._owner){if(1!==t.tag)throw Error(d(309));var r=t.stateNode}if(!r)throw Error(d(147,e));var a=r,l=""+e;return null!==n&&null!==n.ref&&"function"==typeof n.ref&&n.ref._stringRef===l?n.ref:((n=function(e){var n=a.refs;null===e?delete n[l]:n[l]=e})._stringRef=l,n)}if("string"!=typeof e)throw Error(d(284));if(!t._owner)throw Error(d(290,e))}return e}function aP(e,n){throw Error(d(31,"[object Object]"===(e=Object.prototype.toString.call(n))?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function a_(e){return(0,e._init)(e._payload)}function aS(e){function n(n,t){if(e){var r=n.deletions;null===r?(n.deletions=[t],n.flags|=16):r.push(t)}}function t(t,r){if(!e)return null;for(;null!==r;)n(t,r),r=r.sibling;return null}function r(e,n){for(e=new Map;null!==n;)null!==n.key?e.set(n.key,n):e.set(n.index,n),n=n.sibling;return e}function a(e,n){return(e=iX(e,n)).index=0,e.sibling=null,e}function l(n,t,r){return(n.index=r,e)?null!==(r=n.alternate)?(r=r.index)<t?(n.flags|=2,t):r:(n.flags|=2,t):(n.flags|=1048576,t)}function o(n){return e&&null===n.alternate&&(n.flags|=2),n}function i(e,n,t,r){return null===n||6!==n.tag?((n=i0(t,e.mode,r)).return=e,n):((n=a(n,t)).return=e,n)}function u(e,n,t,r){var l=t.type;return l===L?s(e,n,t.props.children,r,t.key):null!==n&&(n.elementType===l||"object"==typeof l&&null!==l&&l.$$typeof===F&&a_(l)===n.type)?((r=a(n,t.props)).ref=aw(e,n,t),r.return=e,r):((r=iY(t.type,t.key,t.props,null,e.mode,r)).ref=aw(e,n,t),r.return=e,r)}function c(e,n,t,r){return null===n||4!==n.tag||n.stateNode.containerInfo!==t.containerInfo||n.stateNode.implementation!==t.implementation?((n=i2(t,e.mode,r)).return=e,n):((n=a(n,t.children||[])).return=e,n)}function s(e,n,t,r,l){return null===n||7!==n.tag?((n=iJ(t,e.mode,r,l)).return=e,n):((n=a(n,t)).return=e,n)}function f(e,n,t){if("string"==typeof n&&""!==n||"number"==typeof n)return(n=i0(""+n,e.mode,t)).return=e,n;if("object"==typeof n&&null!==n){switch(n.$$typeof){case M:return(t=iY(n.type,n.key,n.props,null,e.mode,t)).ref=aw(e,null,n),t.return=e,t;case j:return(n=i2(n,e.mode,t)).return=e,n;case F:return f(e,(0,n._init)(n._payload),t)}if(ea(n)||U(n))return(n=iJ(n,e.mode,t,null)).return=e,n;aP(e,n)}return null}function p(e,n,t,r){var a=null!==n?n.key:null;if("string"==typeof t&&""!==t||"number"==typeof t)return null!==a?null:i(e,n,""+t,r);if("object"==typeof t&&null!==t){switch(t.$$typeof){case M:return t.key===a?u(e,n,t,r):null;case j:return t.key===a?c(e,n,t,r):null;case F:return p(e,n,(a=t._init)(t._payload),r)}if(ea(t)||U(t))return null!==a?null:s(e,n,t,r,null);aP(e,t)}return null}function h(e,n,t,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return i(n,e=e.get(t)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case M:return u(n,e=e.get(null===r.key?t:r.key)||null,r,a);case j:return c(n,e=e.get(null===r.key?t:r.key)||null,r,a);case F:return h(e,n,t,(0,r._init)(r._payload),a)}if(ea(r)||U(r))return s(n,e=e.get(t)||null,r,a,null);aP(n,r)}return null}return function i(u,c,s,m){if("object"==typeof s&&null!==s&&s.type===L&&null===s.key&&(s=s.props.children),"object"==typeof s&&null!==s){switch(s.$$typeof){case M:e:{for(var g=s.key,y=c;null!==y;){if(y.key===g){if((g=s.type)===L){if(7===y.tag){t(u,y.sibling),(c=a(y,s.props.children)).return=u,u=c;break e}}else if(y.elementType===g||"object"==typeof g&&null!==g&&g.$$typeof===F&&a_(g)===y.type){t(u,y.sibling),(c=a(y,s.props)).ref=aw(u,y,s),c.return=u,u=c;break e}t(u,y);break}n(u,y);y=y.sibling}s.type===L?((c=iJ(s.props.children,u.mode,m,s.key)).return=u,u=c):((m=iY(s.type,s.key,s.props,null,u.mode,m)).ref=aw(u,c,s),m.return=u,u=m)}return o(u);case j:e:{for(y=s.key;null!==c;){if(c.key===y){if(4===c.tag&&c.stateNode.containerInfo===s.containerInfo&&c.stateNode.implementation===s.implementation){t(u,c.sibling),(c=a(c,s.children||[])).return=u,u=c;break e}else{t(u,c);break}}n(u,c);c=c.sibling}(c=i2(s,u.mode,m)).return=u,u=c}return o(u);case F:return i(u,c,(y=s._init)(s._payload),m)}if(ea(s))return function(a,o,i,u){for(var c=null,s=null,d=o,m=o=0,g=null;null!==d&&m<i.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var y=p(a,d,i[m],u);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&n(a,d),o=l(y,o,m),null===s?c=y:s.sibling=y,s=y,d=g}if(m===i.length)return t(a,d),ad&&al(a,m),c;if(null===d){for(;m<i.length;m++)null!==(d=f(a,i[m],u))&&(o=l(d,o,m),null===s?c=d:s.sibling=d,s=d);return ad&&al(a,m),c}for(d=r(a,d);m<i.length;m++)null!==(g=h(d,a,m,i[m],u))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),o=l(g,o,m),null===s?c=g:s.sibling=g,s=g);return e&&d.forEach(function(e){return n(a,e)}),ad&&al(a,m),c}(u,c,s,m);if(U(s))return function(a,o,i,u){var c=U(i);if("function"!=typeof c)throw Error(d(150));if(null==(i=c.call(i)))throw Error(d(151));for(var s=c=null,m=o,g=o=0,y=null,v=i.next();null!==m&&!v.done;g++,v=i.next()){m.index>g?(y=m,m=null):y=m.sibling;var b=p(a,m,v.value,u);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&n(a,m),o=l(b,o,g),null===s?c=b:s.sibling=b,s=b,m=y}if(v.done)return t(a,m),ad&&al(a,g),c;if(null===m){for(;!v.done;g++,v=i.next())null!==(v=f(a,v.value,u))&&(o=l(v,o,g),null===s?c=v:s.sibling=v,s=v);return ad&&al(a,g),c}for(m=r(a,m);!v.done;g++,v=i.next())null!==(v=h(m,a,g,v.value,u))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),o=l(v,o,g),null===s?c=v:s.sibling=v,s=v);return e&&m.forEach(function(e){return n(a,e)}),ad&&al(a,g),c}(u,c,s,m);aP(u,s)}return"string"==typeof s&&""!==s||"number"==typeof s?(s=""+s,null!==c&&6===c.tag?(t(u,c.sibling),(c=a(c,s)).return=u):(t(u,c),(c=i0(s,u.mode,m)).return=u),o(u=c)):t(u,c)}}var aM=aS(!0),aj=aS(!1),aL=rU(null),aE=null,aI=null,az=null;function aD(){az=aI=aE=null}function aN(e){var n=aL.current;rB(aL),e._currentValue=n}function aT(e,n,t){for(;null!==e;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,null!==r&&(r.childLanes|=n)):null!==r&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function aO(e,n){aE=e,az=aI=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&n)&&(ol=!0),e.firstContext=null)}function aA(e){var n=e._currentValue;if(az!==e){if(e={context:e,memoizedValue:n,next:null},null===aI){if(null===aE)throw Error(d(308));aI=e,aE.dependencies={lanes:0,firstContext:e}}else aI=aI.next=e}return n}var aF=null;function aR(e){null===aF?aF=[e]:aF.push(e)}function aV(e,n,t,r){var a=n.interleaved;return null===a?(t.next=t,aR(n)):(t.next=a.next,a.next=t),n.interleaved=t,aU(e,r)}function aU(e,n){e.lanes|=n;var t=e.alternate;for(null!==t&&(t.lanes|=n),t=e,e=e.return;null!==e;)e.childLanes|=n,null!==(t=e.alternate)&&(t.childLanes|=n),t=e,e=e.return;return 3===t.tag?t.stateNode:null}var aB=!1;function aH(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function aW(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function aq(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function aQ(e,n,t){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&o2)){var a=r.pending;return null===a?n.next=n:(n.next=a.next,a.next=n),r.pending=n,aU(e,t)}return null===(a=r.interleaved)?(n.next=n,aR(r)):(n.next=a.next,a.next=n),r.interleaved=n,aU(e,t)}function a$(e,n,t){if(null!==(n=n.updateQueue)&&(n=n.shared,0!=(4194240&t))){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,nc(e,t)}}function aZ(e,n){var t=e.updateQueue,r=e.alternate;if(null!==r&&t===(r=r.updateQueue)){var a=null,l=null;if(null!==(t=t.firstBaseUpdate)){do{var o={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};null===l?a=l=o:l=l.next=o,t=t.next}while(null!==t);null===l?a=l=n:l=l.next=n}else a=l=n;t={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:l,shared:r.shared,effects:r.effects},e.updateQueue=t;return}null===(e=t.lastBaseUpdate)?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function aG(e,n,t,r){var a=e.updateQueue;aB=!1;var l=a.firstBaseUpdate,o=a.lastBaseUpdate,i=a.shared.pending;if(null!==i){a.shared.pending=null;var u=i,c=u.next;u.next=null,null===o?l=c:o.next=c,o=u;var s=e.alternate;null!==s&&(i=(s=s.updateQueue).lastBaseUpdate)!==o&&(null===i?s.firstBaseUpdate=c:i.next=c,s.lastBaseUpdate=u)}if(null!==l){var d=a.baseState;for(o=0,s=c=u=null,i=l;;){var f=i.lane,p=i.eventTime;if((r&f)===f){null!==s&&(s=s.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var h=e,m=i;switch(f=n,p=t,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(p,d,f):h))break e;d=H({},d,f);break e;case 2:aB=!0}}null!==i.callback&&0!==i.lane&&(e.flags|=64,null===(f=a.effects)?a.effects=[i]:f.push(i))}else p={eventTime:p,lane:f,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===s?(c=s=p,u=d):s=s.next=p,o|=f;if(null===(i=i.next)){if(null===(i=a.shared.pending))break;else i=(f=i).next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}}if(null===s&&(u=d),a.baseState=u,a.firstBaseUpdate=c,a.lastBaseUpdate=s,null!==(n=a.shared.interleaved)){a=n;do o|=a.lane,a=a.next;while(a!==n)}else null===l&&(a.shared.lanes=0);ie|=o,e.lanes=o,e.memoizedState=d}}function aK(e,n,t){if(e=n.effects,n.effects=null,null!==e)for(n=0;n<e.length;n++){var r=e[n],a=r.callback;if(null!==a){if(r.callback=null,r=t,"function"!=typeof a)throw Error(d(191,a));a.call(r)}}}var aX={},aY=rU(aX),aJ=rU(aX),a1=rU(aX);function a0(e){if(e===aX)throw Error(d(174));return e}function a2(e,n){switch(rH(a1,n),rH(aJ,e),rH(aY,aX),e=n.nodeType){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:ed(null,"");break;default:n=(e=8===e?n.parentNode:n).namespaceURI||null,n=ed(n,e=e.tagName)}rB(aY),rH(aY,n)}function a3(){rB(aY),rB(aJ),rB(a1)}function a4(e){a0(a1.current);var n=a0(aY.current),t=ed(n,e.type);n!==t&&(rH(aJ,e),rH(aY,t))}function a6(e){aJ.current===e&&(rB(aY),rB(aJ))}var a7=rU(0);function a5(e){for(var n=e;null!==n;){if(13===n.tag){var t=n.memoizedState;if(null!==t&&(null===(t=t.dehydrated)||"$?"===t.data||"$!"===t.data))return n}else if(19===n.tag&&void 0!==n.memoizedProps.revealOrder){if(0!=(128&n.flags))return n}else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var a9=[];function a8(){for(var e=0;e<a9.length;e++)a9[e]._workInProgressVersionPrimary=null;a9.length=0}var le=S.ReactCurrentDispatcher,ln=S.ReactCurrentBatchConfig,lt=0,lr=null,la=null,ll=null,lo=!1,li=!1,lu=0,lc=0;function ls(){throw Error(d(321))}function ld(e,n){if(null===n)return!1;for(var t=0;t<n.length&&t<e.length;t++)if(!tO(e[t],n[t]))return!1;return!0}function lf(e,n,t,r,a,l){if(lt=l,lr=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,le.current=null===e||null===e.memoizedState?lG:lK,e=t(r,a),li){l=0;do{if(li=!1,lu=0,25<=l)throw Error(d(301));l+=1,ll=la=null,n.updateQueue=null,le.current=lX,e=t(r,a)}while(li)}if(le.current=lZ,n=null!==la&&null!==la.next,lt=0,ll=la=lr=null,lo=!1,n)throw Error(d(300));return e}function lp(){var e=0!==lu;return lu=0,e}function lh(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ll?lr.memoizedState=ll=e:ll=ll.next=e,ll}function lm(){if(null===la){var e=lr.alternate;e=null!==e?e.memoizedState:null}else e=la.next;var n=null===ll?lr.memoizedState:ll.next;if(null!==n)ll=n,la=e;else{if(null===e)throw Error(d(310));e={memoizedState:(la=e).memoizedState,baseState:la.baseState,baseQueue:la.baseQueue,queue:la.queue,next:null},null===ll?lr.memoizedState=ll=e:ll=ll.next=e}return ll}function lg(e,n){return"function"==typeof n?n(e):n}function ly(e){var n=lm(),t=n.queue;if(null===t)throw Error(d(311));t.lastRenderedReducer=e;var r=la,a=r.baseQueue,l=t.pending;if(null!==l){if(null!==a){var o=a.next;a.next=l.next,l.next=o}r.baseQueue=a=l,t.pending=null}if(null!==a){l=a.next,r=r.baseState;var i=o=null,u=null,c=l;do{var s=c.lane;if((lt&s)===s)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:s,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(i=u=f,o=r):u=u.next=f,lr.lanes|=s,ie|=s}c=c.next}while(null!==c&&c!==l);null===u?o=r:u.next=i,tO(r,n.memoizedState)||(ol=!0),n.memoizedState=r,n.baseState=o,n.baseQueue=u,t.lastRenderedState=r}if(null!==(e=t.interleaved)){a=e;do l=a.lane,lr.lanes|=l,ie|=l,a=a.next;while(a!==e)}else null===a&&(t.lanes=0);return[n.memoizedState,t.dispatch]}function lv(e){var n=lm(),t=n.queue;if(null===t)throw Error(d(311));t.lastRenderedReducer=e;var r=t.dispatch,a=t.pending,l=n.memoizedState;if(null!==a){t.pending=null;var o=a=a.next;do l=e(l,o.action),o=o.next;while(o!==a);tO(l,n.memoizedState)||(ol=!0),n.memoizedState=l,null===n.baseQueue&&(n.baseState=l),t.lastRenderedState=l}return[l,r]}function lb(){}function lC(e,n){var t=lr,r=lm(),a=n(),l=!tO(r.memoizedState,a);if(l&&(r.memoizedState=a,ol=!0),r=r.queue,lz(lw.bind(null,t,r,e),[e]),r.getSnapshot!==n||l||null!==ll&&1&ll.memoizedState.tag){if(t.flags|=2048,lM(9,lk.bind(null,t,r,a,n),void 0,null),null===o3)throw Error(d(349));0!=(30<)||lx(t,n,a)}return a}function lx(e,n,t){e.flags|=16384,e={getSnapshot:n,value:t},null===(n=lr.updateQueue)?(n={lastEffect:null,stores:null},lr.updateQueue=n,n.stores=[e]):null===(t=n.stores)?n.stores=[e]:t.push(e)}function lk(e,n,t,r){n.value=t,n.getSnapshot=r,lP(n)&&l_(e)}function lw(e,n,t){return t(function(){lP(n)&&l_(e)})}function lP(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!tO(e,t)}catch(e){return!0}}function l_(e){var n=aU(e,1);null!==n&&ik(n,e,1,-1)}function lS(e){var n=lh();return"function"==typeof e&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:lg,lastRenderedState:e},n.queue=e,e=e.dispatch=lW.bind(null,lr,e),[n.memoizedState,e]}function lM(e,n,t,r){return e={tag:e,create:n,destroy:t,deps:r,next:null},null===(n=lr.updateQueue)?(n={lastEffect:null,stores:null},lr.updateQueue=n,n.lastEffect=e.next=e):null===(t=n.lastEffect)?n.lastEffect=e.next=e:(r=t.next,t.next=e,e.next=r,n.lastEffect=e),e}function lj(){return lm().memoizedState}function lL(e,n,t,r){var a=lh();lr.flags|=e,a.memoizedState=lM(1|n,t,void 0,void 0===r?null:r)}function lE(e,n,t,r){var a=lm();r=void 0===r?null:r;var l=void 0;if(null!==la){var o=la.memoizedState;if(l=o.destroy,null!==r&&ld(r,o.deps)){a.memoizedState=lM(n,t,l,r);return}}lr.flags|=e,a.memoizedState=lM(1|n,t,l,r)}function lI(e,n){return lL(8390656,8,e,n)}function lz(e,n){return lE(2048,8,e,n)}function lD(e,n){return lE(4,2,e,n)}function lN(e,n){return lE(4,4,e,n)}function lT(e,n){return"function"==typeof n?(n(e=e()),function(){n(null)}):null!=n?(e=e(),n.current=e,function(){n.current=null}):void 0}function lO(e,n,t){return t=null!=t?t.concat([e]):null,lE(4,4,lT.bind(null,n,e),t)}function lA(){}function lF(e,n){var t=lm();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&ld(n,r[1])?r[0]:(t.memoizedState=[e,n],e)}function lR(e,n){var t=lm();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&ld(n,r[1])?r[0]:(e=e(),t.memoizedState=[e,n],e)}function lV(e,n,t){return 0==(21<)?(e.baseState&&(e.baseState=!1,ol=!0),e.memoizedState=t):(tO(t,n)||(t=no(),lr.lanes|=t,ie|=t,e.baseState=!0),n)}function lU(e,n){var t=ns;ns=0!==t&&4>t?t:4,e(!0);var r=ln.transition;ln.transition={};try{e(!1),n()}finally{ns=t,ln.transition=r}}function lB(){return lm().memoizedState}function lH(e,n,t){var r=ix(e);t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},lq(e)?lQ(n,t):null!==(t=aV(e,n,t,r))&&(ik(t,e,r,iC()),l$(t,n,r))}function lW(e,n,t){var r=ix(e),a={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(lq(e))lQ(n,a);else{var l=e.alternate;if(0===e.lanes&&(null===l||0===l.lanes)&&null!==(l=n.lastRenderedReducer))try{var o=n.lastRenderedState,i=l(o,t);if(a.hasEagerState=!0,a.eagerState=i,tO(i,o)){var u=n.interleaved;null===u?(a.next=a,aR(n)):(a.next=u.next,u.next=a),n.interleaved=a;return}}catch(e){}finally{}null!==(t=aV(e,n,a,r))&&(ik(t,e,r,a=iC()),l$(t,n,r))}}function lq(e){var n=e.alternate;return e===lr||null!==n&&n===lr}function lQ(e,n){li=lo=!0;var t=e.pending;null===t?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function l$(e,n,t){if(0!=(4194240&t)){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,nc(e,t)}}var lZ={readContext:aA,useCallback:ls,useContext:ls,useEffect:ls,useImperativeHandle:ls,useInsertionEffect:ls,useLayoutEffect:ls,useMemo:ls,useReducer:ls,useRef:ls,useState:ls,useDebugValue:ls,useDeferredValue:ls,useTransition:ls,useMutableSource:ls,useSyncExternalStore:ls,useId:ls,unstable_isNewReconciler:!1},lG={readContext:aA,useCallback:function(e,n){return lh().memoizedState=[e,void 0===n?null:n],e},useContext:aA,useEffect:lI,useImperativeHandle:function(e,n,t){return t=null!=t?t.concat([e]):null,lL(4194308,4,lT.bind(null,n,e),t)},useLayoutEffect:function(e,n){return lL(4194308,4,e,n)},useInsertionEffect:function(e,n){return lL(4,2,e,n)},useMemo:function(e,n){var t=lh();return n=void 0===n?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=lh();return n=void 0!==t?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=lH.bind(null,lr,e),[r.memoizedState,e]},useRef:function(e){var n=lh();return e={current:e},n.memoizedState=e},useState:lS,useDebugValue:lA,useDeferredValue:function(e){return lh().memoizedState=e},useTransition:function(){var e=lS(!1),n=e[0];return e=lU.bind(null,e[1]),lh().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=lr,a=lh();if(ad){if(void 0===t)throw Error(d(407));t=t()}else{if(t=n(),null===o3)throw Error(d(349));0!=(30<)||lx(r,n,t)}a.memoizedState=t;var l={value:t,getSnapshot:n};return a.queue=l,lI(lw.bind(null,r,l,e),[e]),r.flags|=2048,lM(9,lk.bind(null,r,l,t,n),void 0,null),t},useId:function(){var e=lh(),n=o3.identifierPrefix;if(ad){var t=aa,r=ar;n=":"+n+"R"+(t=(r&~(1<<32-e9(r)-1)).toString(32)+t),0<(t=lu++)&&(n+="H"+t.toString(32)),n+=":"}else n=":"+n+"r"+(t=lc++).toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},lK={readContext:aA,useCallback:lF,useContext:aA,useEffect:lz,useImperativeHandle:lO,useInsertionEffect:lD,useLayoutEffect:lN,useMemo:lR,useReducer:ly,useRef:lj,useState:function(){return ly(lg)},useDebugValue:lA,useDeferredValue:function(e){return lV(lm(),la.memoizedState,e)},useTransition:function(){return[ly(lg)[0],lm().memoizedState]},useMutableSource:lb,useSyncExternalStore:lC,useId:lB,unstable_isNewReconciler:!1},lX={readContext:aA,useCallback:lF,useContext:aA,useEffect:lz,useImperativeHandle:lO,useInsertionEffect:lD,useLayoutEffect:lN,useMemo:lR,useReducer:lv,useRef:lj,useState:function(){return lv(lg)},useDebugValue:lA,useDeferredValue:function(e){var n=lm();return null===la?n.memoizedState=e:lV(n,la.memoizedState,e)},useTransition:function(){return[lv(lg)[0],lm().memoizedState]},useMutableSource:lb,useSyncExternalStore:lC,useId:lB,unstable_isNewReconciler:!1};function lY(e,n){if(e&&e.defaultProps)for(var t in n=H({},n),e=e.defaultProps)void 0===n[t]&&(n[t]=e[t]);return n}function lJ(e,n,t,r){t=null==(t=t(r,n=e.memoizedState))?n:H({},n,t),e.memoizedState=t,0===e.lanes&&(e.updateQueue.baseState=t)}var l1={isMounted:function(e){return!!(e=e._reactInternals)&&eq(e)===e},enqueueSetState:function(e,n,t){e=e._reactInternals;var r=iC(),a=ix(e),l=aq(r,a);l.payload=n,null!=t&&(l.callback=t),null!==(n=aQ(e,l,a))&&(ik(n,e,a,r),a$(n,e,a))},enqueueReplaceState:function(e,n,t){e=e._reactInternals;var r=iC(),a=ix(e),l=aq(r,a);l.tag=1,l.payload=n,null!=t&&(l.callback=t),null!==(n=aQ(e,l,a))&&(ik(n,e,a,r),a$(n,e,a))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var t=iC(),r=ix(e),a=aq(t,r);a.tag=2,null!=n&&(a.callback=n),null!==(n=aQ(e,a,r))&&(ik(n,e,r,t),a$(n,e,r))}};function l0(e,n,t,r,a,l,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,l,o):!n.prototype||!n.prototype.isPureReactComponent||!tA(t,r)||!tA(a,l)}function l2(e,n,t){var r=!1,a=rW,l=n.contextType;return"object"==typeof l&&null!==l?l=aA(l):(a=rG(n)?r$:rq.current,l=(r=null!=(r=n.contextTypes))?rZ(e,a):rW),n=new n(t,l),e.memoizedState=null!==n.state&&void 0!==n.state?n.state:null,n.updater=l1,e.stateNode=n,n._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=l),n}function l3(e,n,t,r){e=n.state,"function"==typeof n.componentWillReceiveProps&&n.componentWillReceiveProps(t,r),"function"==typeof n.UNSAFE_componentWillReceiveProps&&n.UNSAFE_componentWillReceiveProps(t,r),n.state!==e&&l1.enqueueReplaceState(n,n.state,null)}function l4(e,n,t,r){var a=e.stateNode;a.props=t,a.state=e.memoizedState,a.refs={},aH(e);var l=n.contextType;"object"==typeof l&&null!==l?a.context=aA(l):(l=rG(n)?r$:rq.current,a.context=rZ(e,l)),a.state=e.memoizedState,"function"==typeof(l=n.getDerivedStateFromProps)&&(lJ(e,n,l,t),a.state=e.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(n=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),n!==a.state&&l1.enqueueReplaceState(a,a.state,null),aG(e,t,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function l6(e,n){try{var t="",r=n;do t+=function(e){switch(e.tag){case 5:return W(e.type);case 16:return W("Lazy");case 13:return W("Suspense");case 19:return W("SuspenseList");case 0:case 2:case 15:return e=Q(e.type,!1);case 11:return e=Q(e.type.render,!1);case 1:return e=Q(e.type,!0);default:return""}}(r),r=r.return;while(r);var a=t}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:n,stack:a,digest:null}}function l7(e,n,t){return{value:e,source:null,stack:null!=t?t:null,digest:null!=n?n:null}}function l5(e,n){try{console.error(n.value)}catch(e){setTimeout(function(){throw e})}}var l9="function"==typeof WeakMap?WeakMap:Map;function l8(e,n,t){(t=aq(-1,t)).tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){ic||(ic=!0,is=r),l5(e,n)},t}function oe(e,n,t){(t=aq(-1,t)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=n.value;t.payload=function(){return r(a)},t.callback=function(){l5(e,n)}}var l=e.stateNode;return null!==l&&"function"==typeof l.componentDidCatch&&(t.callback=function(){l5(e,n),"function"!=typeof r&&(null===id?id=new Set([this]):id.add(this));var t=n.stack;this.componentDidCatch(n.value,{componentStack:null!==t?t:""})}),t}function on(e,n,t){var r=e.pingCache;if(null===r){r=e.pingCache=new l9;var a=new Set;r.set(n,a)}else void 0===(a=r.get(n))&&(a=new Set,r.set(n,a));a.has(t)||(a.add(t),e=iH.bind(null,e,n,t),n.then(e,e))}function ot(e){do{var n;if((n=13===e.tag)&&(n=null===(n=e.memoizedState)||null!==n.dehydrated),n)return e;e=e.return}while(null!==e);return null}function or(e,n,t,r,a){return 0==(1&e.mode)?(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,1===t.tag&&(null===t.alternate?t.tag=17:((n=aq(-1,1)).tag=2,aQ(t,n,1))),t.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var oa=S.ReactCurrentOwner,ol=!1;function oo(e,n,t,r){n.child=null===e?aj(n,null,t,r):aM(n,e.child,t,r)}function oi(e,n,t,r,a){t=t.render;var l=n.ref;return(aO(n,a),r=lf(e,n,t,r,l,a),t=lp(),null===e||ol)?(ad&&t&&ai(n),n.flags|=1,oo(e,n,r,a),n.child):(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~a,oS(e,n,a))}function ou(e,n,t,r,a){if(null===e){var l=t.type;return"function"!=typeof l||iK(l)||void 0!==l.defaultProps||null!==t.compare||void 0!==t.defaultProps?((e=iY(t.type,null,r,n,n.mode,a)).ref=n.ref,e.return=n,n.child=e):(n.tag=15,n.type=l,oc(e,n,l,r,a))}if(l=e.child,0==(e.lanes&a)){var o=l.memoizedProps;if((t=null!==(t=t.compare)?t:tA)(o,r)&&e.ref===n.ref)return oS(e,n,a)}return n.flags|=1,(e=iX(l,r)).ref=n.ref,e.return=n,n.child=e}function oc(e,n,t,r,a){if(null!==e){var l=e.memoizedProps;if(tA(l,r)&&e.ref===n.ref){if(ol=!1,n.pendingProps=r=l,0==(e.lanes&a))return n.lanes=e.lanes,oS(e,n,a);else 0!=(131072&e.flags)&&(ol=!0)}}return of(e,n,t,r,a)}function os(e,n,t){var r=n.pendingProps,a=r.children,l=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(0==(1&n.mode))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},rH(o5,o7),o7|=t;else{if(0==(0x40000000&t))return e=null!==l?l.baseLanes|t:t,n.lanes=n.childLanes=0x40000000,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,rH(o5,o7),o7|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==l?l.baseLanes:t,rH(o5,o7),o7|=r}}else null!==l?(r=l.baseLanes|t,n.memoizedState=null):r=t,rH(o5,o7),o7|=r;return oo(e,n,a,t),n.child}function od(e,n){var t=n.ref;(null===e&&null!==t||null!==e&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function of(e,n,t,r,a){var l=rG(t)?r$:rq.current;return(l=rZ(n,l),aO(n,a),t=lf(e,n,t,r,l,a),r=lp(),null===e||ol)?(ad&&r&&ai(n),n.flags|=1,oo(e,n,t,a),n.child):(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~a,oS(e,n,a))}function op(e,n,t,r,a){if(rG(t)){var l=!0;rJ(n)}else l=!1;if(aO(n,a),null===n.stateNode)o_(e,n),l2(n,t,r),l4(n,t,r,a),r=!0;else if(null===e){var o=n.stateNode,i=n.memoizedProps;o.props=i;var u=o.context,c=t.contextType;c="object"==typeof c&&null!==c?aA(c):rZ(n,c=rG(t)?r$:rq.current);var s=t.getDerivedStateFromProps,d="function"==typeof s||"function"==typeof o.getSnapshotBeforeUpdate;d||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(i!==r||u!==c)&&l3(n,o,r,c),aB=!1;var f=n.memoizedState;o.state=f,aG(n,r,o,a),u=n.memoizedState,i!==r||f!==u||rQ.current||aB?("function"==typeof s&&(lJ(n,t,s,r),u=n.memoizedState),(i=aB||l0(n,t,i,r,f,u,c))?(d||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(n.flags|=4194308)):("function"==typeof o.componentDidMount&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=u),o.props=r,o.state=u,o.context=c,r=i):("function"==typeof o.componentDidMount&&(n.flags|=4194308),r=!1)}else{o=n.stateNode,aW(e,n),i=n.memoizedProps,c=n.type===n.elementType?i:lY(n.type,i),o.props=c,d=n.pendingProps,f=o.context,u="object"==typeof(u=t.contextType)&&null!==u?aA(u):rZ(n,u=rG(t)?r$:rq.current);var p=t.getDerivedStateFromProps;(s="function"==typeof p||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(i!==d||f!==u)&&l3(n,o,r,u),aB=!1,f=n.memoizedState,o.state=f,aG(n,r,o,a);var h=n.memoizedState;i!==d||f!==h||rQ.current||aB?("function"==typeof p&&(lJ(n,t,p,r),h=n.memoizedState),(c=aB||l0(n,t,c,r,f,h,u)||!1)?(s||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,h,u),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,h,u)),"function"==typeof o.componentDidUpdate&&(n.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(n.flags|=1024)):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(n.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=h),o.props=r,o.state=h,o.context=u,r=c):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(n.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(n.flags|=1024),r=!1)}return oh(e,n,t,r,l,a)}function oh(e,n,t,r,a,l){od(e,n);var o=0!=(128&n.flags);if(!r&&!o)return a&&r1(n,t,!1),oS(e,n,l);r=n.stateNode,oa.current=n;var i=o&&"function"!=typeof t.getDerivedStateFromError?null:r.render();return n.flags|=1,null!==e&&o?(n.child=aM(n,e.child,null,l),n.child=aM(n,null,i,l)):oo(e,n,i,l),n.memoizedState=r.state,a&&r1(n,t,!0),n.child}function om(e){var n=e.stateNode;n.pendingContext?rX(e,n.pendingContext,n.pendingContext!==n.context):n.context&&rX(e,n.context,!1),a2(e,n.containerInfo)}function og(e,n,t,r,a){return aC(),ax(a),n.flags|=256,oo(e,n,t,r),n.child}var oy={dehydrated:null,treeContext:null,retryLane:0};function ov(e){return{baseLanes:e,cachePool:null,transitions:null}}function ob(e,n,t){var r,a=n.pendingProps,l=a7.current,o=!1,i=0!=(128&n.flags);if((r=i)||(r=(null===e||null!==e.memoizedState)&&0!=(2&l)),r?(o=!0,n.flags&=-129):(null===e||null!==e.memoizedState)&&(l|=1),rH(a7,1&l),null===e)return(ag(n),null!==(e=n.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&n.mode)?n.lanes=1:"$!"===e.data?n.lanes=8:n.lanes=0x40000000,null):(i=a.children,e=a.fallback,o?(a=n.mode,o=n.child,i={mode:"hidden",children:i},0==(1&a)&&null!==o?(o.childLanes=0,o.pendingProps=i):o=i1(i,a,0,null),e=iJ(e,a,t,null),o.return=n,e.return=n,o.sibling=e,n.child=o,n.child.memoizedState=ov(t),n.memoizedState=oy,e):oC(n,i));if(null!==(l=e.memoizedState)&&null!==(r=l.dehydrated))return function(e,n,t,r,a,l,o){if(t)return 256&n.flags?(n.flags&=-257,ox(e,n,o,r=l7(Error(d(422))))):null!==n.memoizedState?(n.child=e.child,n.flags|=128,null):(l=r.fallback,a=n.mode,r=i1({mode:"visible",children:r.children},a,0,null),l=iJ(l,a,o,null),l.flags|=2,r.return=n,l.return=n,r.sibling=l,n.child=r,0!=(1&n.mode)&&aM(n,e.child,null,o),n.child.memoizedState=ov(o),n.memoizedState=oy,l);if(0==(1&n.mode))return ox(e,n,o,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var i=r.dgst;return r=i,ox(e,n,o,r=l7(l=Error(d(419)),r,void 0))}if(i=0!=(o&e.childLanes),ol||i){if(null!==(r=o3)){switch(o&-o){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:case 0x4000000:a=32;break;case 0x20000000:a=0x10000000;break;default:a=0}0!==(a=0!=(a&(r.suspendedLanes|o))?0:a)&&a!==l.retryLane&&(l.retryLane=a,aU(e,a),ik(r,e,a,-1))}return iT(),ox(e,n,o,r=l7(Error(d(421))))}return"$?"===a.data?(n.flags|=128,n.child=e.child,n=iq.bind(null,e),a._reactRetry=n,null):(e=l.treeContext,as=rS(a.nextSibling),ac=n,ad=!0,af=null,null!==e&&(ae[an++]=ar,ae[an++]=aa,ae[an++]=at,ar=e.id,aa=e.overflow,at=n),n=oC(n,r.children),n.flags|=4096,n)}(e,n,i,a,r,l,t);if(o){o=a.fallback,i=n.mode,r=(l=e.child).sibling;var u={mode:"hidden",children:a.children};return 0==(1&i)&&n.child!==l?((a=n.child).childLanes=0,a.pendingProps=u,n.deletions=null):(a=iX(l,u)).subtreeFlags=0xe00000&l.subtreeFlags,null!==r?o=iX(r,o):(o=iJ(o,i,t,null),o.flags|=2),o.return=n,a.return=n,a.sibling=o,n.child=a,a=o,o=n.child,i=null===(i=e.child.memoizedState)?ov(t):{baseLanes:i.baseLanes|t,cachePool:null,transitions:i.transitions},o.memoizedState=i,o.childLanes=e.childLanes&~t,n.memoizedState=oy,a}return e=(o=e.child).sibling,a=iX(o,{mode:"visible",children:a.children}),0==(1&n.mode)&&(a.lanes=t),a.return=n,a.sibling=null,null!==e&&(null===(t=n.deletions)?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=a,n.memoizedState=null,a}function oC(e,n){return(n=i1({mode:"visible",children:n},e.mode,0,null)).return=e,e.child=n}function ox(e,n,t,r){return null!==r&&ax(r),aM(n,e.child,null,t),e=oC(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function ok(e,n,t){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n),aT(e.return,n,t)}function ow(e,n,t,r,a){var l=e.memoizedState;null===l?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:a}:(l.isBackwards=n,l.rendering=null,l.renderingStartTime=0,l.last=r,l.tail=t,l.tailMode=a)}function oP(e,n,t){var r=n.pendingProps,a=r.revealOrder,l=r.tail;if(oo(e,n,r.children,t),0!=(2&(r=a7.current)))r=1&r|2,n.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=n.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&ok(e,t,n);else if(19===e.tag)ok(e,t,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(rH(a7,r),0==(1&n.mode))n.memoizedState=null;else switch(a){case"forwards":for(a=null,t=n.child;null!==t;)null!==(e=t.alternate)&&null===a5(e)&&(a=t),t=t.sibling;null===(t=a)?(a=n.child,n.child=null):(a=t.sibling,t.sibling=null),ow(n,!1,a,t,l);break;case"backwards":for(t=null,a=n.child,n.child=null;null!==a;){if(null!==(e=a.alternate)&&null===a5(e)){n.child=a;break}e=a.sibling,a.sibling=t,t=a,a=e}ow(n,!0,t,null,l);break;case"together":ow(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function o_(e,n){0==(1&n.mode)&&null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2)}function oS(e,n,t){if(null!==e&&(n.dependencies=e.dependencies),ie|=n.lanes,0==(t&n.childLanes))return null;if(null!==e&&n.child!==e.child)throw Error(d(153));if(null!==n.child){for(t=iX(e=n.child,e.pendingProps),n.child=t,t.return=n;null!==e.sibling;)e=e.sibling,(t=t.sibling=iX(e,e.pendingProps)).return=n;t.sibling=null}return n.child}function oM(e,n){if(!ad)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;null!==n;)null!==n.alternate&&(t=n),n=n.sibling;null===t?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?n||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function oj(e){var n=null!==e.alternate&&e.alternate.child===e.child,t=0,r=0;if(n)for(var a=e.child;null!==a;)t|=a.lanes|a.childLanes,r|=0xe00000&a.subtreeFlags,r|=0xe00000&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)t|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=t,n}a=function(e,n){for(var t=n.child;null!==t;){if(5===t.tag||6===t.tag)e.appendChild(t.stateNode);else if(4!==t.tag&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===n)break;for(;null===t.sibling;){if(null===t.return||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}},l=function(){},o=function(e,n,t,r){var a=e.memoizedProps;if(a!==r){e=n.stateNode,a0(aY.current);var l,o=null;switch(t){case"input":a=Y(e,a),r=Y(e,r),o=[];break;case"select":a=H({},a,{value:void 0}),r=H({},r,{value:void 0}),o=[];break;case"textarea":a=eo(e,a),r=eo(e,r),o=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=rg)}for(c in ex(t,r),t=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c]){if("style"===c){var i=a[c];for(l in i)i.hasOwnProperty(l)&&(t||(t={}),t[l]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(p.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null))}for(c in r){var u=r[c];if(i=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&u!==i&&(null!=u||null!=i)){if("style"===c){if(i){for(l in i)!i.hasOwnProperty(l)||u&&u.hasOwnProperty(l)||(t||(t={}),t[l]="");for(l in u)u.hasOwnProperty(l)&&i[l]!==u[l]&&(t||(t={}),t[l]=u[l])}else t||(o||(o=[]),o.push(c,t)),t=u}else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,i=i?i.__html:void 0,null!=u&&i!==u&&(o=o||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(o=o||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(p.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&rt("scroll",e),o||i===u||(o=[])):(o=o||[]).push(c,u))}}t&&(o=o||[]).push("style",t);var c=o;(n.updateQueue=c)&&(n.flags|=4)}},i=function(e,n,t,r){t!==r&&(n.flags|=4)};var oL=!1,oE=!1,oI="function"==typeof WeakSet?WeakSet:Set,oz=null;function oD(e,n){var t=e.ref;if(null!==t){if("function"==typeof t)try{t(null)}catch(t){iB(e,n,t)}else t.current=null}}function oN(e,n,t){try{t()}catch(t){iB(e,n,t)}}var oT=!1;function oO(e,n,t){var r=n.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var l=a.destroy;a.destroy=void 0,void 0!==l&&oN(n,t,l)}a=a.next}while(a!==r)}}function oA(e,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function oF(e){var n=e.ref;if(null!==n){var t=e.stateNode;e.tag;e=t;"function"==typeof n?n(e):n.current=e}}function oR(e){return 5===e.tag||3===e.tag||4===e.tag}function oV(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||oR(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}var oU=null,oB=!1;function oH(e,n,t){for(t=t.child;null!==t;)oW(e,n,t),t=t.sibling}function oW(e,n,t){if(e5&&"function"==typeof e5.onCommitFiberUnmount)try{e5.onCommitFiberUnmount(e7,t)}catch(e){}switch(t.tag){case 5:oE||oD(t,n);case 6:var r=oU,a=oB;oU=null,oH(e,n,t),oU=r,oB=a,null!==oU&&(oB?(e=oU,t=t.stateNode,8===e.nodeType?e.parentNode.removeChild(t):e.removeChild(t)):oU.removeChild(t.stateNode));break;case 18:null!==oU&&(oB?(e=oU,t=t.stateNode,8===e.nodeType?r_(e.parentNode,t):1===e.nodeType&&r_(e,t),nD(e)):r_(oU,t.stateNode));break;case 4:r=oU,a=oB,oU=t.stateNode.containerInfo,oB=!0,oH(e,n,t),oU=r,oB=a;break;case 0:case 11:case 14:case 15:if(!oE&&null!==(r=t.updateQueue)&&null!==(r=r.lastEffect)){a=r=r.next;do{var l=a,o=l.destroy;l=l.tag,void 0!==o&&(0!=(2&l)?oN(t,n,o):0!=(4&l)&&oN(t,n,o)),a=a.next}while(a!==r)}oH(e,n,t);break;case 1:if(!oE&&(oD(t,n),"function"==typeof(r=t.stateNode).componentWillUnmount))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(e){iB(t,n,e)}oH(e,n,t);break;case 21:default:oH(e,n,t);break;case 22:1&t.mode?(oE=(r=oE)||null!==t.memoizedState,oH(e,n,t),oE=r):oH(e,n,t)}}function oq(e){var n=e.updateQueue;if(null!==n){e.updateQueue=null;var t=e.stateNode;null===t&&(t=e.stateNode=new oI),n.forEach(function(n){var r=iQ.bind(null,e,n);t.has(n)||(t.add(n),n.then(r,r))})}}function oQ(e,n){var t=n.deletions;if(null!==t)for(var r=0;r<t.length;r++){var a=t[r];try{var l=n,o=l;e:for(;null!==o;){switch(o.tag){case 5:oU=o.stateNode,oB=!1;break e;case 3:case 4:oU=o.stateNode.containerInfo,oB=!0;break e}o=o.return}if(null===oU)throw Error(d(160));oW(e,l,a),oU=null,oB=!1;var i=a.alternate;null!==i&&(i.return=null),a.return=null}catch(e){iB(a,n,e)}}if(12854&n.subtreeFlags)for(n=n.child;null!==n;)o$(n,e),n=n.sibling}function o$(e,n){var t=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(oQ(n,e),oZ(e),4&r){try{oO(3,e,e.return),oA(3,e)}catch(n){iB(e,e.return,n)}try{oO(5,e,e.return)}catch(n){iB(e,e.return,n)}}break;case 1:oQ(n,e),oZ(e),512&r&&null!==t&&oD(t,t.return);break;case 5:if(oQ(n,e),oZ(e),512&r&&null!==t&&oD(t,t.return),32&e.flags){var a=e.stateNode;try{em(a,"")}catch(n){iB(e,e.return,n)}}if(4&r&&null!=(a=e.stateNode)){var l=e.memoizedProps,o=null!==t?t.memoizedProps:l,i=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===i&&"radio"===l.type&&null!=l.name&&ee(a,l),ek(i,o);var c=ek(i,l);for(o=0;o<u.length;o+=2){var s=u[o],f=u[o+1];"style"===s?eb(a,f):"dangerouslySetInnerHTML"===s?eh(a,f):"children"===s?em(a,f):_(a,s,f,c)}switch(i){case"input":en(a,l);break;case"textarea":eu(a,l);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!l.multiple;var h=l.value;null!=h?el(a,!!l.multiple,h,!1):!!l.multiple!==p&&(null!=l.defaultValue?el(a,!!l.multiple,l.defaultValue,!0):el(a,!!l.multiple,l.multiple?[]:"",!1))}a[rE]=l}catch(n){iB(e,e.return,n)}}break;case 6:if(oQ(n,e),oZ(e),4&r){if(null===e.stateNode)throw Error(d(162));a=e.stateNode,l=e.memoizedProps;try{a.nodeValue=l}catch(n){iB(e,e.return,n)}}break;case 3:if(oQ(n,e),oZ(e),4&r&&null!==t&&t.memoizedState.isDehydrated)try{nD(n.containerInfo)}catch(n){iB(e,e.return,n)}break;case 4:default:oQ(n,e),oZ(e);break;case 13:oQ(n,e),oZ(e),8192&(a=e.child).flags&&(l=null!==a.memoizedState,a.stateNode.isHidden=l,l&&(null===a.alternate||null===a.alternate.memoizedState)&&(io=eJ())),4&r&&oq(e);break;case 22:if(s=null!==t&&null!==t.memoizedState,1&e.mode?(oE=(c=oE)||s,oQ(n,e),oE=c):oQ(n,e),oZ(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!s&&0!=(1&e.mode))for(oz=e,s=e.child;null!==s;){for(f=oz=s;null!==oz;){switch(h=(p=oz).child,p.tag){case 0:case 11:case 14:case 15:oO(4,p,p.return);break;case 1:oD(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){r=p,t=p.return;try{n=r,m.props=n.memoizedProps,m.state=n.memoizedState,m.componentWillUnmount()}catch(e){iB(r,t,e)}}break;case 5:oD(p,p.return);break;case 22:if(null!==p.memoizedState){oK(f);continue}}null!==h?(h.return=p,oz=h):oK(f)}s=s.sibling}e:for(s=null,f=e;;){if(5===f.tag){if(null===s){s=f;try{a=f.stateNode,c?(l=a.style,"function"==typeof l.setProperty?l.setProperty("display","none","important"):l.display="none"):(i=f.stateNode,o=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,i.style.display=ev("display",o))}catch(n){iB(e,e.return,n)}}}else if(6===f.tag){if(null===s)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(n){iB(e,e.return,n)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;s===f&&(s=null),f=f.return}s===f&&(s=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:oQ(n,e),oZ(e),4&r&&oq(e);case 21:}}function oZ(e){var n=e.flags;if(2&n){try{e:{for(var t=e.return;null!==t;){if(oR(t)){var r=t;break e}t=t.return}throw Error(d(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(em(a,""),r.flags&=-33);var l=oV(e);!function e(n,t,r){var a=n.tag;if(5===a||6===a)n=n.stateNode,t?r.insertBefore(n,t):r.appendChild(n);else if(4!==a&&null!==(n=n.child))for(e(n,t,r),n=n.sibling;null!==n;)e(n,t,r),n=n.sibling}(e,l,a);break;case 3:case 4:var o=r.stateNode.containerInfo,i=oV(e);!function e(n,t,r){var a=n.tag;if(5===a||6===a)n=n.stateNode,t?8===r.nodeType?r.parentNode.insertBefore(n,t):r.insertBefore(n,t):(8===r.nodeType?(t=r.parentNode).insertBefore(n,r):(t=r).appendChild(n),null!=(r=r._reactRootContainer)||null!==t.onclick||(t.onclick=rg));else if(4!==a&&null!==(n=n.child))for(e(n,t,r),n=n.sibling;null!==n;)e(n,t,r),n=n.sibling}(e,i,o);break;default:throw Error(d(161))}}catch(n){iB(e,e.return,n)}e.flags&=-3}4096&n&&(e.flags&=-4097)}function oG(e){for(;null!==oz;){var n=oz;if(0!=(8772&n.flags)){var t=n.alternate;try{if(0!=(8772&n.flags))switch(n.tag){case 0:case 11:case 15:oE||oA(5,n);break;case 1:var r=n.stateNode;if(4&n.flags&&!oE){if(null===t)r.componentDidMount();else{var a=n.elementType===n.type?t.memoizedProps:lY(n.type,t.memoizedProps);r.componentDidUpdate(a,t.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}}var l=n.updateQueue;null!==l&&aK(n,l,r);break;case 3:var o=n.updateQueue;if(null!==o){if(t=null,null!==n.child)switch(n.child.tag){case 5:case 1:t=n.child.stateNode}aK(n,o,t)}break;case 5:var i=n.stateNode;if(null===t&&4&n.flags){t=i;var u=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&t.focus();break;case"img":u.src&&(t.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===n.memoizedState){var c=n.alternate;if(null!==c){var s=c.memoizedState;if(null!==s){var f=s.dehydrated;null!==f&&nD(f)}}}break;default:throw Error(d(163))}oE||512&n.flags&&oF(n)}catch(e){iB(n,n.return,e)}}if(n===e){oz=null;break}if(null!==(t=n.sibling)){t.return=n.return,oz=t;break}oz=n.return}}function oK(e){for(;null!==oz;){var n=oz;if(n===e){oz=null;break}var t=n.sibling;if(null!==t){t.return=n.return,oz=t;break}oz=n.return}}function oX(e){for(;null!==oz;){var n=oz;try{switch(n.tag){case 0:case 11:case 15:var t=n.return;try{oA(4,n)}catch(e){iB(n,t,e)}break;case 1:var r=n.stateNode;if("function"==typeof r.componentDidMount){var a=n.return;try{r.componentDidMount()}catch(e){iB(n,a,e)}}var l=n.return;try{oF(n)}catch(e){iB(n,l,e)}break;case 5:var o=n.return;try{oF(n)}catch(e){iB(n,o,e)}}}catch(e){iB(n,n.return,e)}if(n===e){oz=null;break}var i=n.sibling;if(null!==i){i.return=n.return,oz=i;break}oz=n.return}}var oY=Math.ceil,oJ=S.ReactCurrentDispatcher,o1=S.ReactCurrentOwner,o0=S.ReactCurrentBatchConfig,o2=0,o3=null,o4=null,o6=0,o7=0,o5=rU(0),o9=0,o8=null,ie=0,it=0,ir=0,ia=null,il=null,io=0,ii=1/0,iu=null,ic=!1,is=null,id=null,ip=!1,ih=null,im=0,ig=0,iy=null,iv=-1,ib=0;function iC(){return 0!=(6&o2)?eJ():-1!==iv?iv:iv=eJ()}function ix(e){return 0==(1&e.mode)?1:0!=(2&o2)&&0!==o6?o6&-o6:null!==ak.transition?(0===ib&&(ib=no()),ib):0!==(e=ns)?e:e=void 0===(e=window.event)?16:nU(e.type)}function ik(e,n,t,r){if(50<ig)throw ig=0,iy=null,Error(d(185));nu(e,t,r),(0==(2&o2)||e!==o3)&&(e===o3&&(0==(2&o2)&&(it|=t),4===o9&&iM(e,o6)),iw(e,r),1===t&&0===o2&&0==(1&n.mode)&&(ii=eJ()+500,r2&&r6()))}function iw(e,n){var t,r=e.callbackNode;!function(e,n){for(var t=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,l=e.pendingLanes;0<l;){var o=31-e9(l),i=1<<o,u=a[o];-1===u?(0==(i&t)||0!=(i&r))&&(a[o]=function(e,n){switch(e){case 1:case 2:case 4:return n+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;default:return -1}}(i,n)):u<=n&&(e.expiredLanes|=i),l&=~i}}(e,n);var a=na(e,e===o3?o6:0);if(0===a)null!==r&&eK(r),e.callbackNode=null,e.callbackPriority=0;else if(n=a&-a,e.callbackPriority!==n){if(null!=r&&eK(r),1===n){;0===e.tag?(t=ij.bind(null,e),r2=!0,r4(t)):r4(ij.bind(null,e)),rw(function(){0==(6&o2)&&r6()}),r=null}else{switch(nd(a)){case 1:r=e0;break;case 4:r=e2;break;case 16:default:r=e3;break;case 0x20000000:r=e6}r=function(e,n){return eG(e,n)}(r,iP.bind(null,e))}e.callbackPriority=n,e.callbackNode=r}}function iP(e,n){if(iv=-1,ib=0,0!=(6&o2))throw Error(d(327));var t=e.callbackNode;if(iV()&&e.callbackNode!==t)return null;var r=na(e,e===o3?o6:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||n)n=iO(e,r);else{n=r;var a=o2;o2|=2;var l=iN();for((o3!==e||o6!==n)&&(iu=null,ii=eJ()+500,iz(e,n));;)try{(function(){for(;null!==o4&&!eX();)iA(o4)})();break}catch(n){iD(e,n)}aD(),oJ.current=l,o2=a,null!==o4?n=0:(o3=null,o6=0,n=o9)}if(0!==n){if(2===n&&0!==(a=nl(e))&&(r=a,n=i_(e,a)),1===n)throw t=o8,iz(e,0),iM(e,r),iw(e,eJ()),t;if(6===n)iM(e,r);else{if(a=e.current.alternate,0==(30&r)&&!function(e){for(var n=e;;){if(16384&n.flags){var t=n.updateQueue;if(null!==t&&null!==(t=t.stores))for(var r=0;r<t.length;r++){var a=t[r],l=a.getSnapshot;a=a.value;try{if(!tO(l(),a))return!1}catch(e){return!1}}}if(t=n.child,16384&n.subtreeFlags&&null!==t)t.return=n,n=t;else{if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}(a)&&(2===(n=iO(e,r))&&0!==(l=nl(e))&&(r=l,n=i_(e,l)),1===n))throw t=o8,iz(e,0),iM(e,r),iw(e,eJ()),t;switch(e.finishedWork=a,e.finishedLanes=r,n){case 0:case 1:throw Error(d(345));case 2:case 5:iR(e,il,iu);break;case 3:if(iM(e,r),(0x7c00000&r)===r&&10<(n=io+500-eJ())){if(0!==na(e,0))break;if(((a=e.suspendedLanes)&r)!==r){iC(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=rC(iR.bind(null,e,il,iu),n);break}iR(e,il,iu);break;case 4:if(iM(e,r),(4194240&r)===r)break;for(a=-1,n=e.eventTimes;0<r;){var o=31-e9(r);l=1<<o,(o=n[o])>a&&(a=o),r&=~l}if(r=a,10<(r=(120>(r=eJ()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*oY(r/1960))-r)){e.timeoutHandle=rC(iR.bind(null,e,il,iu),r);break}iR(e,il,iu);break;default:throw Error(d(329))}}}return iw(e,eJ()),e.callbackNode===t?iP.bind(null,e):null}function i_(e,n){var t=ia;return e.current.memoizedState.isDehydrated&&(iz(e,n).flags|=256),2!==(e=iO(e,n))&&(n=il,il=t,null!==n&&iS(n)),e}function iS(e){null===il?il=e:il.push.apply(il,e)}function iM(e,n){for(n&=~ir,n&=~it,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var t=31-e9(n),r=1<<t;e[t]=-1,n&=~r}}function ij(e){if(0!=(6&o2))throw Error(d(327));iV();var n=na(e,0);if(0==(1&n))return iw(e,eJ()),null;var t=iO(e,n);if(0!==e.tag&&2===t){var r=nl(e);0!==r&&(n=r,t=i_(e,r))}if(1===t)throw t=o8,iz(e,0),iM(e,n),iw(e,eJ()),t;if(6===t)throw Error(d(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,iR(e,il,iu),iw(e,eJ()),null}function iL(e,n){var t=o2;o2|=1;try{return e(n)}finally{0===(o2=t)&&(ii=eJ()+500,r2&&r6())}}function iE(e){null!==ih&&0===ih.tag&&0==(6&o2)&&iV();var n=o2;o2|=1;var t=o0.transition,r=ns;try{if(o0.transition=null,ns=1,e)return e()}finally{ns=r,o0.transition=t,0==(6&(o2=n))&&r6()}}function iI(){o7=o5.current,rB(o5)}function iz(e,n){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(-1!==t&&(e.timeoutHandle=-1,rx(t)),null!==o4)for(t=o4.return;null!==t;){var r=t;switch(au(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&rK();break;case 3:a3(),rB(rQ),rB(rq),a8();break;case 5:a6(r);break;case 4:a3();break;case 13:case 19:rB(a7);break;case 10:aN(r.type._context);break;case 22:case 23:iI()}t=t.return}if(o3=e,o4=e=iX(e.current,null),o6=o7=n,o9=0,o8=null,ir=it=ie=0,il=ia=null,null!==aF){for(n=0;n<aF.length;n++)if(null!==(r=(t=aF[n]).interleaved)){t.interleaved=null;var a=r.next,l=t.pending;if(null!==l){var o=l.next;l.next=a,r.next=o}t.pending=r}aF=null}return e}function iD(e,n){for(;;){var t=o4;try{if(aD(),le.current=lZ,lo){for(var r=lr.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}lo=!1}if(lt=0,ll=la=lr=null,li=!1,lu=0,o1.current=null,null===t||null===t.return){o9=1,o8=n,o4=null;break}e:{var l=e,o=t.return,i=t,u=n;if(n=o6,i.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,s=i,f=s.tag;if(0==(1&s.mode)&&(0===f||11===f||15===f)){var p=s.alternate;p?(s.updateQueue=p.updateQueue,s.memoizedState=p.memoizedState,s.lanes=p.lanes):(s.updateQueue=null,s.memoizedState=null)}var h=ot(o);if(null!==h){h.flags&=-257,or(h,o,i,l,n),1&h.mode&&on(l,c,n),n=h,u=c;var m=n.updateQueue;if(null===m){var g=new Set;g.add(u),n.updateQueue=g}else m.add(u);break e}if(0==(1&n)){on(l,c,n),iT();break e}u=Error(d(426))}else if(ad&&1&i.mode){var y=ot(o);if(null!==y){0==(65536&y.flags)&&(y.flags|=256),or(y,o,i,l,n),ax(l6(u,i));break e}}l=u=l6(u,i),4!==o9&&(o9=2),null===ia?ia=[l]:ia.push(l),l=o;do{switch(l.tag){case 3:l.flags|=65536,n&=-n,l.lanes|=n;var v=l8(l,u,n);aZ(l,v);break e;case 1:i=u;var b=l.type,C=l.stateNode;if(0==(128&l.flags)&&("function"==typeof b.getDerivedStateFromError||null!==C&&"function"==typeof C.componentDidCatch&&(null===id||!id.has(C)))){l.flags|=65536,n&=-n,l.lanes|=n;var x=oe(l,i,n);aZ(l,x);break e}}l=l.return}while(null!==l)}iF(t)}catch(e){n=e,o4===t&&null!==t&&(o4=t=t.return);continue}break}}function iN(){var e=oJ.current;return oJ.current=lZ,null===e?lZ:e}function iT(){(0===o9||3===o9||2===o9)&&(o9=4),null===o3||0==(0xfffffff&ie)&&0==(0xfffffff&it)||iM(o3,o6)}function iO(e,n){var t=o2;o2|=2;var r=iN();for((o3!==e||o6!==n)&&(iu=null,iz(e,n));;)try{(function(){for(;null!==o4;)iA(o4)})();break}catch(n){iD(e,n)}if(aD(),o2=t,oJ.current=r,null!==o4)throw Error(d(261));return o3=null,o6=0,o9}function iA(e){var n=u(e.alternate,e,o7);e.memoizedProps=e.pendingProps,null===n?iF(e):o4=n,o1.current=null}function iF(e){var n=e;do{var t=n.alternate;if(e=n.return,0==(32768&n.flags)){if(null!==(t=function(e,n,t){var r=n.pendingProps;switch(au(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return oj(n),null;case 1:case 17:return rG(n.type)&&rK(),oj(n),null;case 3:return r=n.stateNode,a3(),rB(rQ),rB(rq),a8(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(null===e||null===e.child)&&(av(n)?n.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&n.flags)||(n.flags|=1024,null!==af&&(iS(af),af=null))),l(e,n),oj(n),null;case 5:a6(n);var u=a0(a1.current);if(t=n.type,null!==e&&null!=n.stateNode)o(e,n,t,r,u),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!r){if(null===n.stateNode)throw Error(d(166));return oj(n),null}if(e=a0(aY.current),av(n)){r=n.stateNode,t=n.type;var c=n.memoizedProps;switch(r[rL]=n,r[rE]=c,e=0!=(1&n.mode),t){case"dialog":rt("cancel",r),rt("close",r);break;case"iframe":case"object":case"embed":rt("load",r);break;case"video":case"audio":for(u=0;u<t9.length;u++)rt(t9[u],r);break;case"source":rt("error",r);break;case"img":case"image":case"link":rt("error",r),rt("load",r);break;case"details":rt("toggle",r);break;case"input":J(r,c),rt("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!c.multiple},rt("invalid",r);break;case"textarea":ei(r,c),rt("invalid",r)}for(var s in ex(t,c),u=null,c)if(c.hasOwnProperty(s)){var f=c[s];"children"===s?"string"==typeof f?r.textContent!==f&&(!0!==c.suppressHydrationWarning&&rm(r.textContent,f,e),u=["children",f]):"number"==typeof f&&r.textContent!==""+f&&(!0!==c.suppressHydrationWarning&&rm(r.textContent,f,e),u=["children",""+f]):p.hasOwnProperty(s)&&null!=f&&"onScroll"===s&&rt("scroll",r)}switch(t){case"input":G(r),et(r,c,!0);break;case"textarea":G(r),ec(r);break;case"select":case"option":break;default:"function"==typeof c.onClick&&(r.onclick=rg)}r=u,n.updateQueue=r,null!==r&&(n.flags|=4)}else{s=9===u.nodeType?u:u.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=es(t)),"http://www.w3.org/1999/xhtml"===e?"script"===t?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(t,{is:r.is}):(e=s.createElement(t),"select"===t&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,t),e[rL]=n,e[rE]=r,a(e,n,!1,!1),n.stateNode=e;e:{switch(s=ek(t,r),t){case"dialog":rt("cancel",e),rt("close",e),u=r;break;case"iframe":case"object":case"embed":rt("load",e),u=r;break;case"video":case"audio":for(u=0;u<t9.length;u++)rt(t9[u],e);u=r;break;case"source":rt("error",e),u=r;break;case"img":case"image":case"link":rt("error",e),rt("load",e),u=r;break;case"details":rt("toggle",e),u=r;break;case"input":J(e,r),u=Y(e,r),rt("invalid",e);break;case"option":default:u=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},u=H({},r,{value:void 0}),rt("invalid",e);break;case"textarea":ei(e,r),u=eo(e,r),rt("invalid",e)}for(c in ex(t,u),f=u)if(f.hasOwnProperty(c)){var h=f[c];"style"===c?eb(e,h):"dangerouslySetInnerHTML"===c?null!=(h=h?h.__html:void 0)&&eh(e,h):"children"===c?"string"==typeof h?("textarea"!==t||""!==h)&&em(e,h):"number"==typeof h&&em(e,""+h):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(p.hasOwnProperty(c)?null!=h&&"onScroll"===c&&rt("scroll",e):null!=h&&_(e,c,h,s))}switch(t){case"input":G(e),et(e,r,!1);break;case"textarea":G(e),ec(e);break;case"option":null!=r.value&&e.setAttribute("value",""+$(r.value));break;case"select":e.multiple=!!r.multiple,null!=(c=r.value)?el(e,!!r.multiple,c,!1):null!=r.defaultValue&&el(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof u.onClick&&(e.onclick=rg)}switch(t){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(n.flags|=4)}null!==n.ref&&(n.flags|=512,n.flags|=2097152)}return oj(n),null;case 6:if(e&&null!=n.stateNode)i(e,n,e.memoizedProps,r);else{if("string"!=typeof r&&null===n.stateNode)throw Error(d(166));if(t=a0(a1.current),a0(aY.current),av(n)){if(r=n.stateNode,t=n.memoizedProps,r[rL]=n,(c=r.nodeValue!==t)&&null!==(e=ac))switch(e.tag){case 3:rm(r.nodeValue,t,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&rm(r.nodeValue,t,0!=(1&e.mode))}c&&(n.flags|=4)}else(r=(9===t.nodeType?t:t.ownerDocument).createTextNode(r))[rL]=n,n.stateNode=r}return oj(n),null;case 13:if(rB(a7),r=n.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ad&&null!==as&&0!=(1&n.mode)&&0==(128&n.flags))ab(),aC(),n.flags|=98560,c=!1;else if(c=av(n),null!==r&&null!==r.dehydrated){if(null===e){if(!c)throw Error(d(318));if(!(c=null!==(c=n.memoizedState)?c.dehydrated:null))throw Error(d(317));c[rL]=n}else aC(),0==(128&n.flags)&&(n.memoizedState=null),n.flags|=4;oj(n),c=!1}else null!==af&&(iS(af),af=null),c=!0;if(!c)return 65536&n.flags?n:null}if(0!=(128&n.flags))return n.lanes=t,n;return(r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(n.child.flags|=8192,0!=(1&n.mode)&&(null===e||0!=(1&a7.current)?0===o9&&(o9=3):iT())),null!==n.updateQueue&&(n.flags|=4),oj(n),null;case 4:return a3(),l(e,n),null===e&&rl(n.stateNode.containerInfo),oj(n),null;case 10:return aN(n.type._context),oj(n),null;case 19:if(rB(a7),null===(c=n.memoizedState))return oj(n),null;if(r=0!=(128&n.flags),null===(s=c.rendering)){if(r)oM(c,!1);else{if(0!==o9||null!==e&&0!=(128&e.flags))for(e=n.child;null!==e;){if(null!==(s=a5(e))){for(n.flags|=128,oM(c,!1),null!==(r=s.updateQueue)&&(n.updateQueue=r,n.flags|=4),n.subtreeFlags=0,r=t,t=n.child;null!==t;)c=t,e=r,c.flags&=0xe00002,null===(s=c.alternate)?(c.childLanes=0,c.lanes=e,c.child=null,c.subtreeFlags=0,c.memoizedProps=null,c.memoizedState=null,c.updateQueue=null,c.dependencies=null,c.stateNode=null):(c.childLanes=s.childLanes,c.lanes=s.lanes,c.child=s.child,c.subtreeFlags=0,c.deletions=null,c.memoizedProps=s.memoizedProps,c.memoizedState=s.memoizedState,c.updateQueue=s.updateQueue,c.type=s.type,e=s.dependencies,c.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return rH(a7,1&a7.current|2),n.child}e=e.sibling}null!==c.tail&&eJ()>ii&&(n.flags|=128,r=!0,oM(c,!1),n.lanes=4194304)}}else{if(!r){if(null!==(e=a5(s))){if(n.flags|=128,r=!0,null!==(t=e.updateQueue)&&(n.updateQueue=t,n.flags|=4),oM(c,!0),null===c.tail&&"hidden"===c.tailMode&&!s.alternate&&!ad)return oj(n),null}else 2*eJ()-c.renderingStartTime>ii&&0x40000000!==t&&(n.flags|=128,r=!0,oM(c,!1),n.lanes=4194304)}c.isBackwards?(s.sibling=n.child,n.child=s):(null!==(t=c.last)?t.sibling=s:n.child=s,c.last=s)}if(null!==c.tail)return n=c.tail,c.rendering=n,c.tail=n.sibling,c.renderingStartTime=eJ(),n.sibling=null,t=a7.current,rH(a7,r?1&t|2:1&t),n;return oj(n),null;case 22:case 23:return iI(),r=null!==n.memoizedState,null!==e&&null!==e.memoizedState!==r&&(n.flags|=8192),r&&0!=(1&n.mode)?0!=(0x40000000&o7)&&(oj(n),6&n.subtreeFlags&&(n.flags|=8192)):oj(n),null;case 24:case 25:return null}throw Error(d(156,n.tag))}(t,n,o7))){o4=t;return}}else{if(null!==(t=function(e,n){switch(au(n),n.tag){case 1:return rG(n.type)&&rK(),65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 3:return a3(),rB(rQ),rB(rq),a8(),0!=(65536&(e=n.flags))&&0==(128&e)?(n.flags=-65537&e|128,n):null;case 5:return a6(n),null;case 13:if(rB(a7),null!==(e=n.memoizedState)&&null!==e.dehydrated){if(null===n.alternate)throw Error(d(340));aC()}return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 19:return rB(a7),null;case 4:return a3(),null;case 10:return aN(n.type._context),null;case 22:case 23:return iI(),null;default:return null}}(t,n))){t.flags&=32767,o4=t;return}if(null!==e)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{o9=6,o4=null;return}}if(null!==(n=n.sibling)){o4=n;return}o4=n=e}while(null!==n);0===o9&&(o9=5)}function iR(e,n,t){var r=ns,a=o0.transition;try{o0.transition=null,ns=1,function(e,n,t,r){do iV();while(null!==ih);if(0!=(6&o2))throw Error(d(327));t=e.finishedWork;var a=e.finishedLanes;if(null===t)return;if(e.finishedWork=null,e.finishedLanes=0,t===e.current)throw Error(d(177));e.callbackNode=null,e.callbackPriority=0;var l=t.lanes|t.childLanes;if(!function(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<t;){var a=31-e9(t),l=1<<a;n[a]=0,r[a]=-1,e[a]=-1,t&=~l}}(e,l),e===o3&&(o4=o3=null,o6=0),0==(2064&t.subtreeFlags)&&0==(2064&t.flags)||ip||(ip=!0,function(e,n){eG(e,n)}(e3,function(){return iV(),null})),l=0!=(15990&t.flags),0!=(15990&t.subtreeFlags)||l){l=o0.transition,o0.transition=null;var o,i,u,c=ns;ns=1;var s=o2;o2|=4,o1.current=null,!function(e,n){if(ry=nT,tU(e=tV())){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(t=(t=e.ownerDocument)&&t.defaultView||window).getSelection&&t.getSelection();if(r&&0!==r.rangeCount){t=r.anchorNode;var a,l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{t.nodeType,o.nodeType}catch(e){t=null;break e}var i=0,u=-1,c=-1,s=0,f=0,p=e,h=null;n:for(;;){for(;p!==t||0!==l&&3!==p.nodeType||(u=i+l),p!==o||0!==r&&3!==p.nodeType||(c=i+r),3===p.nodeType&&(i+=p.nodeValue.length),null!==(a=p.firstChild);){;h=p,p=a}for(;;){if(p===e)break n;if(h===t&&++s===l&&(u=i),h===o&&++f===r&&(c=i),null!==(a=p.nextSibling))break;h=(p=h).parentNode}p=a}t=-1===u||-1===c?null:{start:u,end:c}}else t=null}t=t||{start:0,end:0}}else t=null;for(rv={focusedElem:e,selectionRange:t},nT=!1,oz=n;null!==oz;)if(e=(n=oz).child,0!=(1028&n.subtreeFlags)&&null!==e)e.return=n,oz=e;else for(;null!==oz;){n=oz;try{var m=n.alternate;if(0!=(1024&n.flags))switch(n.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,y=m.memoizedState,v=n.stateNode,b=v.getSnapshotBeforeUpdate(n.elementType===n.type?g:lY(n.type,g),y);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var C=n.stateNode.containerInfo;1===C.nodeType?C.textContent="":9===C.nodeType&&C.documentElement&&C.removeChild(C.documentElement);break;default:throw Error(d(163))}}catch(e){iB(n,n.return,e)}if(null!==(e=n.sibling)){e.return=n.return,oz=e;break}oz=n.return}m=oT,oT=!1}(e,t),o$(t,e),!function(e){var n=tV(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&function e(n,t){return!!n&&!!t&&(n===t||(!n||3!==n.nodeType)&&(t&&3===t.nodeType?e(n,t.parentNode):"contains"in n?n.contains(t):!!n.compareDocumentPosition&&!!(16&n.compareDocumentPosition(t))))}(t.ownerDocument.documentElement,t)){if(null!==r&&tU(t)){if(n=r.start,void 0===(e=r.end)&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if((e=(n=t.ownerDocument||document)&&n.defaultView||window).getSelection){e=e.getSelection();var a=t.textContent.length,l=Math.min(r.start,a);r=void 0===r.end?l:Math.min(r.end,a),!e.extend&&l>r&&(a=r,r=l,l=a),a=tR(t,l);var o=tR(t,r);a&&o&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((n=n.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),l>r?(e.addRange(n),e.extend(o.node,o.offset)):(n.setEnd(o.node,o.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)1===e.nodeType&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof t.focus&&t.focus(),t=0;t<n.length;t++)(e=n[t]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}(rv),nT=!!ry,rv=ry=null,e.current=t,o=t,i=e,u=a,oz=o,function e(n,t,r){for(var a=0!=(1&n.mode);null!==oz;){var l=oz,o=l.child;if(22===l.tag&&a){var i=null!==l.memoizedState||oL;if(!i){var u=l.alternate,c=null!==u&&null!==u.memoizedState||oE;u=oL;var s=oE;if(oL=i,(oE=c)&&!s)for(oz=l;null!==oz;)c=(i=oz).child,22===i.tag&&null!==i.memoizedState?oX(l):null!==c?(c.return=i,oz=c):oX(l);for(;null!==o;)oz=o,e(o,t,r),o=o.sibling;oz=l,oL=u,oE=s}oG(n,t,r)}else 0!=(8772&l.subtreeFlags)&&null!==o?(o.return=l,oz=o):oG(n,t,r)}}(o,i,u),eY(),o2=s,ns=c,o0.transition=l}else e.current=t;if(ip&&(ip=!1,ih=e,im=a),0===(l=e.pendingLanes)&&(id=null),!function(e){if(e5&&"function"==typeof e5.onCommitFiberRoot)try{e5.onCommitFiberRoot(e7,e,void 0,128==(128&e.current.flags))}catch(e){}}(t.stateNode,r),iw(e,eJ()),null!==n)for(r=e.onRecoverableError,t=0;t<n.length;t++)r((a=n[t]).value,{componentStack:a.stack,digest:a.digest});if(ic)throw ic=!1,e=is,is=null,e;0!=(1&im)&&0!==e.tag&&iV(),0!=(1&(l=e.pendingLanes))?e===iy?ig++:(ig=0,iy=e):ig=0,r6()}(e,n,t,r)}finally{o0.transition=a,ns=r}return null}function iV(){if(null!==ih){var e=nd(im),n=o0.transition,t=ns;try{if(o0.transition=null,ns=16>e?16:e,null===ih)var r=!1;else{if(e=ih,ih=null,im=0,0!=(6&o2))throw Error(d(331));var a=o2;for(o2|=4,oz=e.current;null!==oz;){var l=oz,o=l.child;if(0!=(16&oz.flags)){var i=l.deletions;if(null!==i){for(var u=0;u<i.length;u++){var c=i[u];for(oz=c;null!==oz;){var s=oz;switch(s.tag){case 0:case 11:case 15:oO(8,s,l)}var f=s.child;if(null!==f)f.return=s,oz=f;else for(;null!==oz;){var p=(s=oz).sibling,h=s.return;if(!function e(n){var t=n.alternate;null!==t&&(n.alternate=null,e(t)),n.child=null,n.deletions=null,n.sibling=null,5===n.tag&&null!==(t=n.stateNode)&&(delete t[rL],delete t[rE],delete t[rz],delete t[rD],delete t[rN]),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}(s),s===c){oz=null;break}if(null!==p){p.return=h,oz=p;break}oz=h}}}var m=l.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var y=g.sibling;g.sibling=null,g=y}while(null!==g)}}oz=l}}if(0!=(2064&l.subtreeFlags)&&null!==o)o.return=l,oz=o;else for(;null!==oz;){if(l=oz,0!=(2048&l.flags))switch(l.tag){case 0:case 11:case 15:oO(9,l,l.return)}var v=l.sibling;if(null!==v){v.return=l.return,oz=v;break}oz=l.return}}var b=e.current;for(oz=b;null!==oz;){var C=(o=oz).child;if(0!=(2064&o.subtreeFlags)&&null!==C)C.return=o,oz=C;else for(o=b;null!==oz;){if(i=oz,0!=(2048&i.flags))try{switch(i.tag){case 0:case 11:case 15:oA(9,i)}}catch(e){iB(i,i.return,e)}if(i===o){oz=null;break}var x=i.sibling;if(null!==x){x.return=i.return,oz=x;break}oz=i.return}}if(o2=a,r6(),e5&&"function"==typeof e5.onPostCommitFiberRoot)try{e5.onPostCommitFiberRoot(e7,e)}catch(e){}r=!0}return r}finally{ns=t,o0.transition=n}}return!1}function iU(e,n,t){n=l8(e,n=l6(t,n),1),e=aQ(e,n,1),n=iC(),null!==e&&(nu(e,1,n),iw(e,n))}function iB(e,n,t){if(3===e.tag)iU(e,e,t);else for(;null!==n;){if(3===n.tag){iU(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===id||!id.has(r))){e=oe(n,e=l6(t,e),1),n=aQ(n,e,1),e=iC(),null!==n&&(nu(n,1,e),iw(n,e));break}}n=n.return}}function iH(e,n,t){var r=e.pingCache;null!==r&&r.delete(n),n=iC(),e.pingedLanes|=e.suspendedLanes&t,o3===e&&(o6&t)===t&&(4===o9||3===o9&&(0x7c00000&o6)===o6&&500>eJ()-io?iz(e,0):ir|=t),iw(e,n)}function iW(e,n){0===n&&(0==(1&e.mode)?n=1:(n=nt,0==(0x7c00000&(nt<<=1))&&(nt=4194304)));var t=iC();null!==(e=aU(e,n))&&(nu(e,n,t),iw(e,t))}function iq(e){var n=e.memoizedState,t=0;null!==n&&(t=n.retryLane),iW(e,t)}function iQ(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(t=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(d(314))}null!==r&&r.delete(n),iW(e,t)}function i$(e,n){return eG(e,n)}function iZ(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function iG(e,n,t,r){return new iZ(e,n,t,r)}function iK(e){return!(!(e=e.prototype)||!e.isReactComponent)}u=function(e,n,t){if(null!==e){if(e.memoizedProps!==n.pendingProps||rQ.current)ol=!0;else{if(0==(e.lanes&t)&&0==(128&n.flags))return ol=!1,function(e,n,t){switch(n.tag){case 3:om(n),aC();break;case 5:a4(n);break;case 1:rG(n.type)&&rJ(n);break;case 4:a2(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,a=n.memoizedProps.value;rH(aL,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=n.memoizedState)){if(null!==r.dehydrated)return rH(a7,1&a7.current),n.flags|=128,null;if(0!=(t&n.child.childLanes))return ob(e,n,t);return rH(a7,1&a7.current),null!==(e=oS(e,n,t))?e.sibling:null}rH(a7,1&a7.current);break;case 19:if(r=0!=(t&n.childLanes),0!=(128&e.flags)){if(r)return oP(e,n,t);n.flags|=128}if(null!==(a=n.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),rH(a7,a7.current),!r)return null;break;case 22:case 23:return n.lanes=0,os(e,n,t)}return oS(e,n,t)}(e,n,t);ol=0!=(131072&e.flags)}}else ol=!1,ad&&0!=(1048576&n.flags)&&ao(n,r8,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;o_(e,n),e=n.pendingProps;var a=rZ(n,rq.current);aO(n,t),a=lf(null,n,r,e,a,t);var l=lp();return n.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(n.tag=1,n.memoizedState=null,n.updateQueue=null,rG(r)?(l=!0,rJ(n)):l=!1,n.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,aH(n),a.updater=l1,n.stateNode=a,a._reactInternals=n,l4(n,r,e,t),n=oh(null,n,r,!0,l,t)):(n.tag=0,ad&&l&&ai(n),oo(null,n,a,t),n=n.child),n;case 16:r=n.elementType;e:{switch(o_(e,n),e=n.pendingProps,r=(a=r._init)(r._payload),n.type=r,a=n.tag=function(e){if("function"==typeof e)return iK(e)?1:0;if(null!=e){if((e=e.$$typeof)===N)return 11;if(e===A)return 14}return 2}(r),e=lY(r,e),a){case 0:n=of(null,n,r,e,t);break e;case 1:n=op(null,n,r,e,t);break e;case 11:n=oi(null,n,r,e,t);break e;case 14:n=ou(null,n,r,lY(r.type,e),t);break e}throw Error(d(306,r,""))}return n;case 0:return r=n.type,a=n.pendingProps,a=n.elementType===r?a:lY(r,a),of(e,n,r,a,t);case 1:return r=n.type,a=n.pendingProps,a=n.elementType===r?a:lY(r,a),op(e,n,r,a,t);case 3:e:{if(om(n),null===e)throw Error(d(387));r=n.pendingProps,a=(l=n.memoizedState).element,aW(e,n),aG(n,r,null,t);var o=n.memoizedState;if(r=o.element,l.isDehydrated){if(l={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},n.updateQueue.baseState=l,n.memoizedState=l,256&n.flags){a=l6(Error(d(423)),n),n=og(e,n,r,t,a);break e}else if(r!==a){a=l6(Error(d(424)),n),n=og(e,n,r,t,a);break e}else for(as=rS(n.stateNode.containerInfo.firstChild),ac=n,ad=!0,af=null,t=aj(n,null,r,t),n.child=t;t;)t.flags=-3&t.flags|4096,t=t.sibling}else{if(aC(),r===a){n=oS(e,n,t);break e}oo(e,n,r,t)}n=n.child}return n;case 5:return a4(n),null===e&&ag(n),r=n.type,a=n.pendingProps,l=null!==e?e.memoizedProps:null,o=a.children,rb(r,a)?o=null:null!==l&&rb(r,l)&&(n.flags|=32),od(e,n),oo(e,n,o,t),n.child;case 6:return null===e&&ag(n),null;case 13:return ob(e,n,t);case 4:return a2(n,n.stateNode.containerInfo),r=n.pendingProps,null===e?n.child=aM(n,null,r,t):oo(e,n,r,t),n.child;case 11:return r=n.type,a=n.pendingProps,a=n.elementType===r?a:lY(r,a),oi(e,n,r,a,t);case 7:return oo(e,n,n.pendingProps,t),n.child;case 8:case 12:return oo(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,a=n.pendingProps,l=n.memoizedProps,o=a.value,rH(aL,r._currentValue),r._currentValue=o,null!==l){if(tO(l.value,o)){if(l.children===a.children&&!rQ.current){n=oS(e,n,t);break e}}else for(null!==(l=n.child)&&(l.return=n);null!==l;){var i=l.dependencies;if(null!==i){o=l.child;for(var u=i.firstContext;null!==u;){if(u.context===r){if(1===l.tag){(u=aq(-1,t&-t)).tag=2;var c=l.updateQueue;if(null!==c){var s=(c=c.shared).pending;null===s?u.next=u:(u.next=s.next,s.next=u),c.pending=u}}l.lanes|=t,null!==(u=l.alternate)&&(u.lanes|=t),aT(l.return,t,n),i.lanes|=t;break}u=u.next}}else if(10===l.tag)o=l.type===n.type?null:l.child;else if(18===l.tag){if(null===(o=l.return))throw Error(d(341));o.lanes|=t,null!==(i=o.alternate)&&(i.lanes|=t),aT(o,t,n),o=l.sibling}else o=l.child;if(null!==o)o.return=l;else for(o=l;null!==o;){if(o===n){o=null;break}if(null!==(l=o.sibling)){l.return=o.return,o=l;break}o=o.return}l=o}}oo(e,n,a.children,t),n=n.child}return n;case 9:return a=n.type,r=n.pendingProps.children,aO(n,t),r=r(a=aA(a)),n.flags|=1,oo(e,n,r,t),n.child;case 14:return a=lY(r=n.type,n.pendingProps),a=lY(r.type,a),ou(e,n,r,a,t);case 15:return oc(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,a=n.pendingProps,a=n.elementType===r?a:lY(r,a),o_(e,n),n.tag=1,rG(r)?(e=!0,rJ(n)):e=!1,aO(n,t),l2(n,r,a),l4(n,r,a,t),oh(null,n,r,!0,e,t);case 19:return oP(e,n,t);case 22:return os(e,n,t)}throw Error(d(156,n.tag))};function iX(e,n){var t=e.alternate;return null===t?((t=iG(e.tag,n,e.key,e.mode)).elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=0xe00000&e.flags,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=null===n?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function iY(e,n,t,r,a,l){var o=2;if(r=e,"function"==typeof e)iK(e)&&(o=1);else if("string"==typeof e)o=5;else e:switch(e){case L:return iJ(t.children,a,l,n);case E:o=8,a|=8;break;case I:return(e=iG(12,t,n,2|a)).elementType=I,e.lanes=l,e;case T:return(e=iG(13,t,n,a)).elementType=T,e.lanes=l,e;case O:return(e=iG(19,t,n,a)).elementType=O,e.lanes=l,e;case R:return i1(t,a,l,n);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case z:o=10;break e;case D:o=9;break e;case N:o=11;break e;case A:o=14;break e;case F:o=16,r=null;break e}throw Error(d(130,null==e?e:typeof e,""))}return(n=iG(o,t,n,a)).elementType=e,n.type=r,n.lanes=l,n}function iJ(e,n,t,r){return(e=iG(7,e,r,n)).lanes=t,e}function i1(e,n,t,r){return(e=iG(22,e,r,n)).elementType=R,e.lanes=t,e.stateNode={isHidden:!1},e}function i0(e,n,t){return(e=iG(6,e,null,n)).lanes=t,e}function i2(e,n,t){return(n=iG(4,null!==e.children?e.children:[],e.key,n)).lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function i3(e,n,t,r,a){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ni(0),this.expirationTimes=ni(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ni(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function i4(e,n,t,r,a,l,o,i,u){return e=new i3(e,n,t,i,u),1===n?(n=1,!0===l&&(n|=8)):n=0,l=iG(3,null,null,n),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},aH(l),e}function i6(e){if(!e)return rW;e=e._reactInternals;e:{if(eq(e)!==e||1!==e.tag)throw Error(d(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(rG(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(null!==n);throw Error(d(171))}if(1===e.tag){var t=e.type;if(rG(t))return rY(e,t,n)}return n}function i7(e,n,t,r,a,l,o,i,u){return(e=i4(t,r,!0,e,a,l,o,i,u)).context=i6(null),t=e.current,r=iC(),(l=aq(r,a=ix(t))).callback=null!=n?n:null,aQ(t,l,a),e.current.lanes=a,nu(e,a,r),iw(e,r),e}function i5(e,n,t,r){var a=n.current,l=iC(),o=ix(a);return t=i6(t),null===n.context?n.context=t:n.pendingContext=t,(n=aq(l,o)).payload={element:e},null!==(r=void 0===r?null:r)&&(n.callback=r),null!==(e=aQ(a,n,o))&&(ik(e,a,o,l),a$(e,a,o)),o}function i9(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function i8(e,n){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var t=e.retryLane;e.retryLane=0!==t&&t<n?t:n}}function ue(e,n){i8(e,n),(e=e.alternate)&&i8(e,n)}var un="function"==typeof reportError?reportError:function(e){console.error(e)};function ut(e){this._internalRoot=e}function ur(e){this._internalRoot=e}function ua(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function ul(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function uo(){}ur.prototype.render=ut.prototype.render=function(e){var n=this._internalRoot;if(null===n)throw Error(d(409));i5(e,n,null,null)},ur.prototype.unmount=ut.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var n=e.containerInfo;iE(function(){i5(null,e,null,null)}),n[rI]=null}},ur.prototype.unstable_scheduleHydration=function(e){if(e){var n=nm();e={blockedOn:null,target:e,priority:n};for(var t=0;t<nP.length&&0!==n&&n<nP[t].priority;t++);nP.splice(t,0,e),0===t&&nj(e)}};function ui(e,n,t,r,a){var l=t._reactRootContainer;if(l){var o=l;if("function"==typeof a){var i=a;a=function(){var e=i9(o);i.call(e)}}i5(n,o,e,a)}else o=function(e,n,t,r,a){if(a){if("function"==typeof r){var l=r;r=function(){var e=i9(o);l.call(e)}}var o=i7(n,r,e,0,null,!1,!1,"",uo);return e._reactRootContainer=o,e[rI]=o.current,rl(8===e.nodeType?e.parentNode:e),iE(),o}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var i=r;r=function(){var e=i9(u);i.call(e)}}var u=i4(e,0,!1,null,null,!1,!1,"",uo);return e._reactRootContainer=u,e[rI]=u.current,rl(8===e.nodeType?e.parentNode:e),iE(function(){i5(n,u,t,r)}),u}(t,n,e,a,r);return i9(o)}nf=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var t=nr(n.pendingLanes);0!==t&&(nc(n,1|t),iw(n,eJ()),0==(6&o2)&&(ii=eJ()+500,r6()))}break;case 13:iE(function(){var n=aU(e,1);null!==n&&ik(n,e,1,iC())}),ue(e,1)}},np=function(e){if(13===e.tag){var n=aU(e,0x8000000);null!==n&&ik(n,e,0x8000000,iC()),ue(e,0x8000000)}},nh=function(e){if(13===e.tag){var n=ix(e),t=aU(e,n);null!==t&&ik(t,e,n,iC()),ue(e,n)}},nm=function(){return ns},ng=function(e,n){var t=ns;try{return ns=e,n()}finally{ns=t}},e_=function(e,n,t){switch(n){case"input":if(en(e,t),n=t.name,"radio"===t.type&&null!=n){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<t.length;n++){var r=t[n];if(r!==e&&r.form===e.form){var a=rF(r);if(!a)throw Error(d(90));K(r),en(r,a)}}}break;case"textarea":eu(e,t);break;case"select":null!=(n=t.value)&&el(e,!!t.multiple,n,!1)}},eI=iL,ez=iE;var uu={findFiberByHostInstance:rT,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},uc={bundleType:uu.bundleType,version:uu.version,rendererPackageName:uu.rendererPackageName,rendererConfig:uu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:S.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=eZ(e))?null:e.stateNode},findFiberByHostInstance:uu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var us=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!us.isDisabled&&us.supportsFiber)try{e7=us.inject(uc),e5=us}catch(e){}}n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={usingClientEntryPoint:!1,Events:[rO,rA,rF,eL,eE,iL]},n.createPortal=function(e,n){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ua(n))throw Error(d(200));return function(e,n,t){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:j,key:null==r?null:""+r,children:e,containerInfo:n,implementation:t}}(e,n,null,t)},n.createRoot=function(e,n){if(!ua(e))throw Error(d(299));var t=!1,r="",a=un;return null!=n&&(!0===n.unstable_strictMode&&(t=!0),void 0!==n.identifierPrefix&&(r=n.identifierPrefix),void 0!==n.onRecoverableError&&(a=n.onRecoverableError)),n=i4(e,1,!1,null,null,t,!1,r,a),e[rI]=n.current,rl(8===e.nodeType?e.parentNode:e),new ut(n)},n.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var n=e._reactInternals;if(void 0===n){if("function"==typeof e.render)throw Error(d(188));throw Error(d(268,e=Object.keys(e).join(",")))}return e=null===(e=eZ(n))?null:e.stateNode},n.flushSync=function(e){return iE(e)},n.hydrate=function(e,n,t){if(!ul(n))throw Error(d(200));return ui(null,e,n,!0,t)},n.hydrateRoot=function(e,n,t){if(!ua(e))throw Error(d(405));var r=null!=t&&t.hydratedSources||null,a=!1,l="",o=un;if(null!=t&&(!0===t.unstable_strictMode&&(a=!0),void 0!==t.identifierPrefix&&(l=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),n=i7(n,null,e,1,null!=t?t:null,a,!1,l,o),e[rI]=n.current,rl(e),r)for(e=0;e<r.length;e++)a=(a=(t=r[e])._getVersion)(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,a]:n.mutableSourceEagerHydrationData.push(t,a);return new ur(n)},n.render=function(e,n,t){if(!ul(n))throw Error(d(200));return ui(null,e,n,!1,t)},n.unmountComponentAtNode=function(e){if(!ul(e))throw Error(d(40));return!!e._reactRootContainer&&(iE(function(){ui(null,null,e,!1,function(){e._reactRootContainer=null,e[rI]=null})}),!0)},n.unstable_batchedUpdates=iL,n.unstable_renderSubtreeIntoContainer=function(e,n,t,r){if(!ul(t))throw Error(d(200));if(null==e||void 0===e._reactInternals)throw Error(d(38));return ui(e,n,t,!1,r)},n.version="18.3.1-next-f1338f8080-20240426"},751:function(e,n,t){var r,a=t(967);n.createRoot=a.createRoot,a.hydrateRoot},967:function(e,n,t){!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=t(521)},193:function(e,n,t){var r=t(271),a=Symbol.for("react.element"),l=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function c(e,n,t){var r,l={},c=null,s=null;for(r in void 0!==t&&(c=""+t),void 0!==n.key&&(c=""+n.key),void 0!==n.ref&&(s=n.ref),n)o.call(n,r)&&!u.hasOwnProperty(r)&&(l[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps)void 0===l[r]&&(l[r]=n[r]);return{$$typeof:a,type:e,key:c,ref:s,props:l,_owner:i.current}}n.Fragment=l,n.jsx=c,n.jsxs=c},596:function(e,n){var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator,h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function y(e,n,t){this.props=e,this.context=n,this.refs=g,this.updater=t||h}function v(){}function b(e,n,t){this.props=e,this.context=n,this.refs=g,this.updater=t||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,n){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype;var C=b.prototype=new v;C.constructor=b,m(C,y.prototype),C.isPureReactComponent=!0;var x=Array.isArray,k=Object.prototype.hasOwnProperty,w={current:null},P={key:!0,ref:!0,__self:!0,__source:!0};function _(e,n,r){var a,l={},o=null,i=null;if(null!=n)for(a in void 0!==n.ref&&(i=n.ref),void 0!==n.key&&(o=""+n.key),n)k.call(n,a)&&!P.hasOwnProperty(a)&&(l[a]=n[a]);var u=arguments.length-2;if(1===u)l.children=r;else if(1<u){for(var c=Array(u),s=0;s<u;s++)c[s]=arguments[s+2];l.children=c}if(e&&e.defaultProps)for(a in u=e.defaultProps)void 0===l[a]&&(l[a]=u[a]);return{$$typeof:t,type:e,key:o,ref:i,props:l,_owner:w.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var M=/\/+/g;function j(e,n){var t,r;return"object"==typeof e&&null!==e&&null!=e.key?(t=""+e.key,r={"=":"=0",":":"=2"},"$"+t.replace(/[=:]/g,function(e){return r[e]})):n.toString(36)}function L(e,n,a){if(null==e)return e;var l=[],o=0;return!function e(n,a,l,o,i){var u,c,s,d=typeof n;("undefined"===d||"boolean"===d)&&(n=null);var f=!1;if(null===n)f=!0;else switch(d){case"string":case"number":f=!0;break;case"object":switch(n.$$typeof){case t:case r:f=!0}}if(f){;return i=i(f=n),n=""===o?"."+j(f,0):o,x(i)?(l="",null!=n&&(l=n.replace(M,"$&/")+"/"),e(i,a,l,"",function(e){return e})):null!=i&&(S(i)&&(u=i,c=l+(!i.key||f&&f.key===i.key?"":(""+i.key).replace(M,"$&/")+"/")+n,i={$$typeof:t,type:u.type,key:c,ref:u.ref,props:u.props,_owner:u._owner}),a.push(i)),1}if(f=0,o=""===o?".":o+":",x(n))for(var h=0;h<n.length;h++){var m=o+j(d=n[h],h);f+=e(d,a,l,m,i)}else{;if("function"==typeof(m=null===(s=n)||"object"!=typeof s?null:"function"==typeof(s=p&&s[p]||s["@@iterator"])?s:null))for(n=m.call(n),h=0;!(d=n.next()).done;)m=o+j(d=d.value,h++),f+=e(d,a,l,m,i);else if("object"===d)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(a=String(n))?"object with keys {"+Object.keys(n).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}return f}(e,l,"","",function(e){return n.call(a,e,o++)}),l}function E(e){if(-1===e._status){var n=e._result;(n=n()).then(function(n){(0===e._status||-1===e._status)&&(e._status=1,e._result=n)},function(n){(0===e._status||-1===e._status)&&(e._status=2,e._result=n)}),-1===e._status&&(e._status=0,e._result=n)}if(1===e._status)return e._result.default;throw e._result}var I={current:null},z={transition:null};function D(){throw Error("act(...) is not supported in production builds of React.")}n.Children={map:L,forEach:function(e,n,t){L(e,function(){n.apply(this,arguments)},t)},count:function(e){var n=0;return L(e,function(){n++}),n},toArray:function(e){return L(e,function(e){return e})||[]},only:function(e){if(!S(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},n.Component=y,n.Fragment=a,n.Profiler=o,n.PureComponent=b,n.StrictMode=l,n.Suspense=s,n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:z,ReactCurrentOwner:w},n.act=D,n.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=m({},e.props),l=e.key,o=e.ref,i=e._owner;if(null!=n){if(void 0!==n.ref&&(o=n.ref,i=w.current),void 0!==n.key&&(l=""+n.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in n)k.call(n,c)&&!P.hasOwnProperty(c)&&(a[c]=void 0===n[c]&&void 0!==u?u[c]:n[c])}var c=arguments.length-2;if(1===c)a.children=r;else if(1<c){u=Array(c);for(var s=0;s<c;s++)u[s]=arguments[s+2];a.children=u}return{$$typeof:t,type:e.type,key:l,ref:o,props:a,_owner:i}},n.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},n.createElement=_,n.createFactory=function(e){var n=_.bind(null,e);return n.type=e,n},n.createRef=function(){return{current:null}},n.forwardRef=function(e){return{$$typeof:c,render:e}},n.isValidElement=S,n.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:E}},n.memo=function(e,n){return{$$typeof:d,type:e,compare:void 0===n?null:n}},n.startTransition=function(e){var n=z.transition;z.transition={};try{e()}finally{z.transition=n}},n.unstable_act=D,n.useCallback=function(e,n){return I.current.useCallback(e,n)},n.useContext=function(e){return I.current.useContext(e)},n.useDebugValue=function(){},n.useDeferredValue=function(e){return I.current.useDeferredValue(e)},n.useEffect=function(e,n){return I.current.useEffect(e,n)},n.useId=function(){return I.current.useId()},n.useImperativeHandle=function(e,n,t){return I.current.useImperativeHandle(e,n,t)},n.useInsertionEffect=function(e,n){return I.current.useInsertionEffect(e,n)},n.useLayoutEffect=function(e,n){return I.current.useLayoutEffect(e,n)},n.useMemo=function(e,n){return I.current.useMemo(e,n)},n.useReducer=function(e,n,t){return I.current.useReducer(e,n,t)},n.useRef=function(e){return I.current.useRef(e)},n.useState=function(e){return I.current.useState(e)},n.useSyncExternalStore=function(e,n,t){return I.current.useSyncExternalStore(e,n,t)},n.useTransition=function(){return I.current.useTransition()},n.version="18.3.1"},271:function(e,n,t){e.exports=t(596)},676:function(e,n,t){e.exports=t(193)},88:function(e,n){function t(e,n){var t=e.length;for(e.push(n);0<t;){var r=t-1>>>1,a=e[r];if(0<l(a,n))e[r]=n,e[t]=a,t=r;else break}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var n=e[0],t=e.pop();if(t!==n){e[0]=t;for(var r=0,a=e.length,o=a>>>1;r<o;){var i=2*(r+1)-1,u=e[i],c=i+1,s=e[c];if(0>l(u,t))c<a&&0>l(s,u)?(e[r]=s,e[c]=t,r=c):(e[r]=u,e[i]=t,r=i);else if(c<a&&0>l(s,t))e[r]=s,e[c]=t,r=c;else break}}return n}function l(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}if("object"==typeof performance&&"function"==typeof performance.now){var o,i=performance;n.unstable_now=function(){return i.now()}}else{var u=Date,c=u.now();n.unstable_now=function(){return u.now()-c}}var s=[],d=[],f=1,p=null,h=3,m=!1,g=!1,y=!1,v="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,C="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var n=r(d);null!==n;){if(null===n.callback)a(d);else if(n.startTime<=e)a(d),n.sortIndex=n.expirationTime,t(s,n);else break;n=r(d)}}function k(e){if(y=!1,x(e),!g){if(null!==r(s))g=!0,D(w);else{var n=r(d);null!==n&&N(k,n.startTime-e)}}}function w(e,t){g=!1,y&&(y=!1,b(S),S=-1),m=!0;var l=h;try{for(x(t),p=r(s);null!==p&&(!(p.expirationTime>t)||e&&!L());){var o=p.callback;if("function"==typeof o){p.callback=null,h=p.priorityLevel;var i=o(p.expirationTime<=t);t=n.unstable_now(),"function"==typeof i?p.callback=i:p===r(s)&&a(s),x(t)}else a(s);p=r(s)}if(null!==p)var u=!0;else{var c=r(d);null!==c&&N(k,c.startTime-t),u=!1}return u}finally{p=null,h=l,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var P=!1,_=null,S=-1,M=5,j=-1;function L(){return!(n.unstable_now()-j<M)}function E(){if(null!==_){var e=n.unstable_now();j=e;var t=!0;try{t=_(!0,e)}finally{t?o():(P=!1,_=null)}}else P=!1}if("function"==typeof C)o=function(){C(E)};else if("undefined"!=typeof MessageChannel){var I=new MessageChannel,z=I.port2;I.port1.onmessage=E,o=function(){z.postMessage(null)}}else o=function(){v(E,0)};function D(e){_=e,P||(P=!0,o())}function N(e,t){S=v(function(){e(n.unstable_now())},t)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(e){e.callback=null},n.unstable_continueExecution=function(){g||m||(g=!0,D(w))},n.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<e?Math.floor(1e3/e):5},n.unstable_getCurrentPriorityLevel=function(){return h},n.unstable_getFirstCallbackNode=function(){return r(s)},n.unstable_next=function(e){switch(h){case 1:case 2:case 3:var n=3;break;default:n=h}var t=h;h=n;try{return e()}finally{h=t}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=h;h=e;try{return n()}finally{h=t}},n.unstable_scheduleCallback=function(e,a,l){var o=n.unstable_now();switch(l="object"==typeof l&&null!==l?"number"==typeof(l=l.delay)&&0<l?o+l:o:o,e){case 1:var i=-1;break;case 2:i=250;break;case 5:i=0x3fffffff;break;case 4:i=1e4;break;default:i=5e3}return i=l+i,e={id:f++,callback:a,priorityLevel:e,startTime:l,expirationTime:i,sortIndex:-1},l>o?(e.sortIndex=l,t(d,e),null===r(s)&&e===r(d)&&(y?(b(S),S=-1):y=!0,N(k,l-o))):(e.sortIndex=i,t(s,e),g||m||(g=!0,D(w))),e},n.unstable_shouldYield=L,n.unstable_wrapCallback=function(e){var n=h;return function(){var t=h;h=n;try{return e.apply(this,arguments)}finally{h=t}}}},537:function(e,n,t){e.exports=t(88)}},n={};function t(r){var a=n[r];if(void 0!==a)return a.exports;var l=n[r]={exports:{}};return e[r](l,l.exports,t),l.exports}t.rv=function(){return"1.1.4"},t.ruid="[email protected]";var r=t("676"),a=t("271"),l=t("967"),o=t("751"),i=(0,a.createContext)({}),u=function(){return(0,a.useContext)(i)};function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}var s=new Map([["beforeCreateCharge","before_create_charge_unique_id"]]),d=new Map,f=function(e){var n;return null!==(n=s.get(e))&&void 0!==n?n:""},p=function(){var e,n,t=(e=(0,a.useState)(d),n=2,function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t,r,a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var l=[],o=!0,i=!1;try{for(a=a.call(e);!(o=(t=a.next()).done)&&(l.push(t.value),!n||l.length!==n);o=!0);}catch(e){i=!0,r=e}finally{try{!o&&null!=a.return&&a.return()}finally{if(i)throw r}}return l}}(e,2)||function(e,n){if(e){if("string"==typeof e)return c(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return c(e,n)}}(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),r=t[0];t[1];var l=u().products;return{addHook:function(e,n){if("AsyncFunction"!==n[Symbol.toStringTag])return console.error("Only supported asynchronous function");var t=n.bind(null,f.bind(null,e),l);r.set(e,t)},hooks:r}};function h(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}var m=function(e){return e.UPDATE_CHECKOUT_DATA="updateCheckoutData",e.CLOSE_CHECKOUT_MODAL="closeCheckoutModal",e.OPEN_CHECKOUT_MODAL="openCheckoutModal",e}({}),g={listeners:new Map,emit:function(e,n){if(!this.listeners.has(e))return console.log("no has listener with",e);var t,r=this.listeners.get(e);if(console.log({listener:r}),!n)return r();return r.apply(void 0,function(e){if(Array.isArray(e))return h(e)}(t=n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,n){if(e){if("string"==typeof e)return h(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return h(e,n)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())},subscribe:function(e,n){var t=this;return this.listeners.set(e,n),function(){return t.listeners.delete(e)}}};function y(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}var v=new Map,b=function(){var e,n,t=(e=(0,a.useState)(v),n=2,function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t,r,a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var l=[],o=!0,i=!1;try{for(a=a.call(e);!(o=(t=a.next()).done)&&(l.push(t.value),!n||l.length!==n);o=!0);}catch(e){i=!0,r=e}finally{try{!o&&null!=a.return&&a.return()}finally{if(i)throw r}}return l}}(e,2)||function(e,n){if(e){if("string"==typeof e)return y(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return y(e,n)}}(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),r=t[0];return t[1],[function(e){return r.get(String(e))},function(e,n){return r.set(String(e),n)},r]},C={appID:"Q2xpZW50X0lkXzBlMWViOWEzLWI4MzktNGRkMy1iOWNmLTI3MGFhOWZlNzEwNzpDbGllbnRfU2VjcmV0X2kzNTdMdlZ2MVlXaEViNm5FYzIzcVNpZ09hZXpKeFJkL2EzR0ZZMVJodkE9",graphqlURL:"https://plugin.openpix.com.br/plugin/graphql"},x=function(e){if(!e.current)return console.log("chargeDetailRef.current cannot be null");e.current.classList.add("hidden")},k=function(e){var n=e.paymentLinkUrl,t=e.productId,l=(0,a.useRef)(null),o=u(),i=o.updateCheckoutData,c=o.getProduct;return(0,a.useEffect)(function(){var e,n;i(t,(e=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.forEach(function(n){var r,a,l;r=e,a=n,l=t[n],a in r?Object.defineProperty(r,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):r[a]=l})}return e}({},c(t)),n=(n={chargeDetailRef:l},n),Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}),e))},[]),(0,r.jsxs)("div",{className:"modal w-full h-[100vh] absolute hidden",id:"charge-render","data-product-id":t,ref:l,children:[(0,r.jsx)("div",{className:"w-full h-[100vh] bg-black opacity-50 absolute z-0"}),(0,r.jsx)("div",{className:"modal-content relative",children:(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center h-[100vh]",children:[(0,r.jsxs)("div",{className:"flex justify-between items-center border border-b-[#ccc] p-2.5 w-[550px] bg-white",children:[(0,r.jsxs)("svg",{width:"71.66666666666667",height:"20",viewBox:"0 0 86 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M9.35259 21.9167C8.39041 21.9167 7.57361 21.3352 7.21926 20.5146L6.59357 19.0654L5.51893 20.1403C4.61084 21.0487 3.14104 21.0487 2.23292 20.1403C1.32484 19.232 1.3248 17.7617 2.23292 16.8534L3.30756 15.7784L1.85875 15.1526C1.03904 14.7984 0.457031 13.9818 0.457031 13.0187C0.457031 11.9252 1.20827 11.0158 2.21557 10.764L10.9782 8.57265C11.7662 8.37555 12.6123 8.6098 13.1863 9.18388C13.7602 9.75796 13.9943 10.6042 13.7973 11.3925L11.6066 20.1577C11.3553 21.1635 10.448 21.9167 9.35259 21.9167ZM6.85238 16.9361C6.90074 16.9361 6.94938 16.9406 6.99779 16.9499C7.24986 16.9981 7.46169 17.168 7.56342 17.4037L8.64132 19.9003C8.75788 20.1702 9.02908 20.3673 9.35256 20.3673C9.72285 20.3673 10.0217 20.1104 10.1038 19.7819L12.2945 11.0168C12.3613 10.7495 12.2851 10.4739 12.0909 10.2796C11.8966 10.0853 11.6211 10.0091 11.3539 10.0759L2.59125 12.2672C2.26278 12.3494 2.00607 12.6483 2.00607 13.0187C2.00607 13.343 2.20376 13.6138 2.47294 13.7301L4.96879 14.8083C5.20436 14.9101 5.37429 15.122 5.42246 15.3741C5.47064 15.6262 5.39086 15.8858 5.20939 16.0674L3.32824 17.9491C3.02552 18.2519 3.02552 18.7419 3.32824 19.0447C3.63096 19.3475 4.12089 19.3475 4.42357 19.0447L6.30471 17.163C6.45133 17.0164 6.64895 16.9361 6.85238 16.9361Z",fill:"rgba(0, 0, 0, 0.87)"}),(0,r.jsx)("path",{d:"M19.5159 10.9737H16.4178C15.99 10.9737 15.6433 10.6269 15.6433 10.199C15.6433 9.77109 15.99 9.42424 16.4178 9.42424H19.5159C19.9436 9.42424 20.2904 9.77109 20.2904 10.199C20.2904 10.6269 19.9436 10.9737 19.5159 10.9737Z",fill:"rgba(0, 0, 0, 0.87)"}),(0,r.jsx)("path",{d:"M16.6996 16.2251L14.509 14.0338C14.2065 13.7312 14.2065 13.2407 14.509 12.9382C14.8115 12.6356 15.3019 12.6356 15.6043 12.9382L17.795 15.1294C18.0974 15.432 18.0974 15.9225 17.795 16.2251C17.4925 16.5276 17.0021 16.5276 16.6996 16.2251Z",fill:"rgba(0, 0, 0, 0.87)"}),(0,r.jsx)("path",{d:"M8.29224 7.86643L6.10155 5.67515C5.79906 5.37258 5.79906 4.88205 6.10155 4.57952C6.40404 4.27698 6.89442 4.27694 7.19687 4.57952L9.38756 6.77079C9.69004 7.07337 9.69004 7.56389 9.38756 7.86643C9.08507 8.16897 8.59468 8.16897 8.29224 7.86643Z",fill:"rgba(0, 0, 0, 0.87)"}),(0,r.jsx)("path",{d:"M12.1258 6.73182C11.698 6.73182 11.3513 6.38497 11.3513 5.95708V2.85811C11.3513 2.43023 11.698 2.08337 12.1258 2.08337C12.5536 2.08337 12.9003 2.43023 12.9003 2.85811V5.95708C12.9003 6.38497 12.5536 6.73182 12.1258 6.73182Z",fill:"rgba(0, 0, 0, 0.87)"}),(0,r.jsx)("path",{d:"M14.8642 7.86643C14.5617 7.56385 14.5617 7.07332 14.8642 6.77079L17.0548 4.57951C17.3573 4.27694 17.8477 4.27694 18.1502 4.57951C18.4526 4.88209 18.4527 5.37261 18.1502 5.67515L15.9595 7.86643C15.6571 8.16896 15.1667 8.16896 14.8642 7.86643Z",fill:"rgba(0, 0, 0, 0.87)"}),(0,r.jsx)("path",{d:"M29.525 18.1939C28.585 18.1939 27.7624 18.0118 27.0574 17.6475C26.3641 17.2715 25.8294 16.7427 25.4534 16.0611C25.0773 15.3796 24.8893 14.5746 24.8893 13.6463C24.8893 12.953 24.9951 12.3302 25.2066 11.778C25.4181 11.2257 25.7236 10.7556 26.1232 10.3679C26.5344 9.98008 27.028 9.68631 27.6038 9.48654C28.1796 9.27503 28.82 9.16927 29.525 9.16927C29.8893 9.16927 30.2771 9.21628 30.6884 9.31028C31.0996 9.39254 31.505 9.53942 31.9046 9.75094C32.1396 9.85669 32.2982 10.0095 32.3805 10.2092C32.4745 10.3972 32.5097 10.597 32.4862 10.8085C32.4627 11.0083 32.3863 11.1904 32.2571 11.3549C32.1396 11.5077 31.9868 11.6134 31.7988 11.6722C31.6108 11.7192 31.3993 11.6839 31.1643 11.5664C30.941 11.4372 30.706 11.3432 30.4592 11.2844C30.2242 11.2257 30.0009 11.1963 29.7894 11.1963C29.4369 11.1963 29.1255 11.255 28.8552 11.3725C28.585 11.4783 28.3558 11.6369 28.1678 11.8485C27.9915 12.0482 27.8505 12.3009 27.7448 12.6064C27.6508 12.9119 27.6038 13.2644 27.6038 13.664C27.6038 14.4395 27.7918 15.0505 28.1678 15.4971C28.5556 15.9319 29.0961 16.1492 29.7894 16.1492C30.0009 16.1492 30.2242 16.1257 30.4592 16.0787C30.6942 16.02 30.9292 15.926 31.1643 15.7967C31.3993 15.6792 31.6108 15.6498 31.7988 15.7086C31.9868 15.7673 32.1337 15.879 32.2395 16.0435C32.357 16.1963 32.4216 16.3784 32.4333 16.5899C32.4568 16.7897 32.4216 16.9894 32.3276 17.1892C32.2453 17.3772 32.0926 17.5241 31.8693 17.6298C31.4698 17.8296 31.0703 17.9706 30.6707 18.0529C30.2712 18.1469 29.8893 18.1939 29.525 18.1939ZM36.8494 18.1939C35.8036 18.1939 35.0221 17.906 34.5051 17.3302C33.9881 16.7427 33.7296 15.8731 33.7296 14.7215V6.77211C33.7296 6.32558 33.8412 5.99068 34.0645 5.76742C34.2995 5.5324 34.6344 5.41489 35.0692 5.41489C35.4922 5.41489 35.8153 5.5324 36.0386 5.76742C36.2736 5.99068 36.3911 6.32558 36.3911 6.77211V14.6158C36.3911 15.0976 36.491 15.456 36.6908 15.691C36.9023 15.9142 37.1784 16.0259 37.5192 16.0259C37.6132 16.0259 37.7013 16.02 37.7836 16.0082C37.8658 15.9965 37.954 15.9906 38.048 15.9906C38.236 15.9671 38.3653 16.0259 38.4358 16.1669C38.518 16.2961 38.5591 16.5605 38.5591 16.9601C38.5591 17.3126 38.4886 17.5828 38.3476 17.7709C38.2066 17.9471 37.9892 18.0646 37.6955 18.1234C37.5779 18.1351 37.4428 18.1469 37.2901 18.1586C37.1373 18.1821 36.9904 18.1939 36.8494 18.1939ZM40.9388 18.141C40.504 18.141 40.1691 18.0176 39.9341 17.7709C39.7109 17.5123 39.5992 17.1539 39.5992 16.6957V10.6675C39.5992 10.1975 39.7109 9.83907 39.9341 9.5923C40.1691 9.33378 40.504 9.20453 40.9388 9.20453C41.3618 9.20453 41.685 9.33378 41.9083 9.5923C42.1433 9.83907 42.2608 10.1975 42.2608 10.6675V16.6957C42.2608 17.1539 42.1491 17.5123 41.9259 17.7709C41.7026 18.0176 41.3736 18.141 40.9388 18.141ZM40.9388 7.75918C40.4453 7.75918 40.0634 7.64754 39.7931 7.42428C39.5346 7.18926 39.4053 6.86024 39.4053 6.43721C39.4053 6.00243 39.5346 5.67341 39.7931 5.45014C40.0634 5.21513 40.4453 5.09762 40.9388 5.09762C41.4323 5.09762 41.8084 5.21513 42.0669 5.45014C42.3254 5.67341 42.4547 6.00243 42.4547 6.43721C42.4547 6.86024 42.3254 7.18926 42.0669 7.42428C41.8084 7.64754 41.4323 7.75918 40.9388 7.75918ZM48.5283 18.1939C47.5882 18.1939 46.7656 18.0118 46.0606 17.6475C45.3673 17.2715 44.8326 16.7427 44.4566 16.0611C44.0806 15.3796 43.8926 14.5746 43.8926 13.6463C43.8926 12.953 43.9983 12.3302 44.2098 11.778C44.4214 11.2257 44.7269 10.7556 45.1264 10.3679C45.5377 9.98008 46.0312 9.68631 46.607 9.48654C47.1828 9.27503 47.8232 9.16927 48.5283 9.16927C48.8925 9.16927 49.2803 9.21628 49.6916 9.31028C50.1029 9.39254 50.5083 9.53942 50.9078 9.75094C51.1428 9.85669 51.3015 10.0095 51.3837 10.2092C51.4777 10.3972 51.513 10.597 51.4895 10.8085C51.466 11.0083 51.3896 11.1904 51.2603 11.3549C51.1428 11.5077 50.9901 11.6134 50.802 11.6722C50.614 11.7192 50.4025 11.6839 50.1675 11.5664C49.9442 11.4372 49.7092 11.3432 49.4625 11.2844C49.2274 11.2257 49.0042 11.1963 48.7927 11.1963C48.4401 11.1963 48.1287 11.255 47.8585 11.3725C47.5882 11.4783 47.3591 11.6369 47.1711 11.8485C46.9948 12.0482 46.8538 12.3009 46.748 12.6064C46.654 12.9119 46.607 13.2644 46.607 13.664C46.607 14.4395 46.795 15.0505 47.1711 15.4971C47.5588 15.9319 48.0994 16.1492 48.7927 16.1492C49.0042 16.1492 49.2274 16.1257 49.4625 16.0787C49.6975 16.02 49.9325 15.926 50.1675 15.7967C50.4025 15.6792 50.614 15.6498 50.802 15.7086C50.9901 15.7673 51.1369 15.879 51.2427 16.0435C51.3602 16.1963 51.4248 16.3784 51.4366 16.5899C51.4601 16.7897 51.4248 16.9894 51.3308 17.1892C51.2486 17.3772 51.0958 17.5241 50.8726 17.6298C50.473 17.8296 50.0735 17.9706 49.674 18.0529C49.2744 18.1469 48.8925 18.1939 48.5283 18.1939ZM54.0724 18.1586C53.6376 18.1586 53.3027 18.0411 53.0677 17.8061C52.8444 17.5711 52.7328 17.2362 52.7328 16.8014V6.77211C52.7328 6.32558 52.8444 5.99068 53.0677 5.76742C53.3027 5.5324 53.6376 5.41489 54.0724 5.41489C54.4954 5.41489 54.8186 5.5324 55.0418 5.76742C55.2769 5.99068 55.3944 6.32558 55.3944 6.77211V12.9237H55.4296L57.9854 10.0858C58.2439 9.79206 58.4789 9.57468 58.6905 9.43367C58.9137 9.28091 59.2075 9.20453 59.5718 9.20453C59.936 9.20453 60.2122 9.29853 60.4002 9.48654C60.6 9.67456 60.6999 9.9037 60.6999 10.174C60.7116 10.4325 60.6 10.6969 60.365 10.9671L57.6681 13.9812V12.9765L60.6646 16.4313C60.8879 16.7015 60.9819 16.9718 60.9466 17.2421C60.9231 17.5123 60.8056 17.7356 60.5941 17.9119C60.3826 18.0764 60.1123 18.1586 59.7833 18.1586C59.3838 18.1586 59.0606 18.0823 58.8138 17.9295C58.5788 17.7767 58.3379 17.5417 58.0912 17.2244L55.4296 14.2632H55.3944V16.8014C55.3944 17.7062 54.9537 18.1586 54.0724 18.1586ZM63.5838 21.2961C63.3488 21.2961 63.1725 21.2315 63.055 21.1022C62.9375 20.9847 62.8788 20.8084 62.8788 20.5734V10.033C62.8788 9.79794 62.9375 9.62168 63.055 9.50417C63.1725 9.37491 63.3429 9.31028 63.5662 9.31028C63.8012 9.31028 63.9775 9.37491 64.095 9.50417C64.2242 9.62168 64.2888 9.79794 64.2888 10.033V11.7074L64.095 11.4607C64.283 10.7909 64.6531 10.2621 65.2054 9.87432C65.7695 9.47479 66.4392 9.27503 67.2148 9.27503C67.9786 9.27503 68.6425 9.45717 69.2066 9.82144C69.7823 10.174 70.223 10.6851 70.5285 11.3549C70.8458 12.013 71.0044 12.8003 71.0044 13.7168C71.0044 14.6216 70.8458 15.4089 70.5285 16.0787C70.223 16.7368 69.7882 17.2479 69.2242 17.6122C68.6601 17.9765 67.9904 18.1586 67.2148 18.1586C66.4392 18.1586 65.7753 17.9647 65.223 17.577C64.6708 17.1774 64.2947 16.6487 64.095 15.9906H64.3065V20.5734C64.3065 20.8084 64.2418 20.9847 64.1126 21.1022C63.9833 21.2315 63.8071 21.2961 63.5838 21.2961ZM66.9152 17.0129C67.4557 17.0129 67.9198 16.8837 68.3076 16.6252C68.7072 16.3666 69.0127 15.9906 69.2242 15.4971C69.4475 15.0035 69.5591 14.4101 69.5591 13.7168C69.5591 12.6475 69.3182 11.8308 68.8364 11.2668C68.3664 10.7028 67.726 10.4207 66.9152 10.4207C66.3864 10.4207 65.9222 10.55 65.5227 10.8085C65.1232 11.0553 64.8118 11.4254 64.5885 11.919C64.377 12.4007 64.2712 13 64.2712 13.7168C64.2712 14.7744 64.5121 15.5911 64.9939 16.1669C65.4757 16.7309 66.1161 17.0129 66.9152 17.0129ZM73.86 18.0881C73.625 18.0881 73.4487 18.0235 73.3312 17.8942C73.2137 17.7532 73.155 17.5593 73.155 17.3126V10.1035C73.155 9.85669 73.2137 9.66868 73.3312 9.53942C73.4487 9.41016 73.625 9.34553 73.86 9.34553C74.0833 9.34553 74.2595 9.41016 74.3888 9.53942C74.5181 9.66868 74.5827 9.85669 74.5827 10.1035V17.3126C74.5827 17.5593 74.5181 17.7532 74.3888 17.8942C74.2713 18.0235 74.095 18.0881 73.86 18.0881ZM73.86 7.3714C73.5662 7.3714 73.3371 7.29502 73.1726 7.14226C73.0081 6.97775 72.9258 6.76036 72.9258 6.49009C72.9258 6.20807 73.0081 5.99656 73.1726 5.85555C73.3371 5.70279 73.5662 5.62641 73.86 5.62641C74.1655 5.62641 74.3947 5.70279 74.5474 5.85555C74.7119 5.99656 74.7942 6.20807 74.7942 6.49009C74.7942 6.76036 74.7119 6.97775 74.5474 7.14226C74.3947 7.29502 74.1655 7.3714 73.86 7.3714ZM77.2869 18.1058C77.1342 18.1058 76.999 18.0588 76.8815 17.9647C76.764 17.8707 76.6994 17.7474 76.6876 17.5946C76.6876 17.4301 76.764 17.2597 76.9168 17.0834L80.0014 13.2057V13.946L77.1107 10.3326C76.9579 10.1446 76.8815 9.9742 76.8815 9.82144C76.8933 9.66868 76.9579 9.5453 77.0754 9.45129C77.1929 9.35729 77.3281 9.31028 77.4808 9.31028C77.6571 9.31028 77.804 9.34553 77.9215 9.41604C78.0507 9.47479 78.1682 9.57468 78.274 9.71568L80.7945 12.906H80.301L82.8392 9.71568C82.9449 9.57468 83.0566 9.47479 83.1741 9.41604C83.2916 9.34553 83.4385 9.31028 83.6147 9.31028C83.7793 9.31028 83.9144 9.35729 84.0201 9.45129C84.1377 9.5453 84.1964 9.67456 84.1964 9.83907C84.2082 9.99183 84.1377 10.1622 83.9849 10.3502L81.1118 13.9107V13.2586L84.1964 17.0834C84.3374 17.2597 84.402 17.4301 84.3903 17.5946C84.3903 17.7474 84.3315 17.8707 84.214 17.9647C84.0965 18.0588 83.9555 18.1058 83.791 18.1058C83.6265 18.1058 83.4796 18.0705 83.3503 18C83.2328 17.9412 83.1153 17.8414 82.9978 17.7004L80.2834 14.2809H80.7945L78.0801 17.7004C77.9744 17.8296 77.8568 17.9295 77.7276 18C77.6101 18.0705 77.4632 18.1058 77.2869 18.1058Z",fill:"rgba(0, 0, 0, 0.87)"})]}),(0,r.jsx)("button",{onClick:function(){return x(l)},className:"modal-close bg-transparent outline-none border-none",type:"button",children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{fill:"rgba(0, 0, 0, 0.54)",d:"m6.4 18.308l-.708-.708l5.6-5.6l-5.6-5.6l.708-.708l5.6 5.6l5.6-5.6l.708.708l-5.6 5.6l5.6 5.6l-.708.708l-5.6-5.6z"})})})]}),(0,r.jsx)("div",{className:"block border-none border-0",children:(0,r.jsx)("iframe",{title:"charge#".concat(t),src:n,"data-product-id":t,width:"550px",height:"840px",allow:"clipboard-read; clipboard-write"})})]})})]})},w=function(){var e,n=new Promise(function(n,t){e=n});return{resolve:e,reject:null,promise:n}};function P(){var e,n,t=(e=["\n query PixDialogGetChargeQuery($correlationID: String) {\n ...Plugin_query\n charge(correlationID: $correlationID) {\n ...PixDialogGetCharge_charge\n id\n }\n }\n\n fragment ChargePDFDocument_charge on Charge {\n value\n brCode\n company {\n name\n nameFriendly\n projectType\n taxID {\n taxID\n }\n id\n }\n customer {\n name\n taxID {\n taxID\n }\n id\n }\n expiresDate\n createdAt\n comment\n identifier\n ...useChargePaymentMethod_charge\n }\n\n fragment ChargePrintPDF_charge on Charge {\n status\n ...ChargePDFDocument_charge\n }\n\n fragment ITPButton_charge on Charge {\n availablePaymentMethods\n customer {\n id\n }\n }\n\n fragment Order_charge on Charge {\n id\n status\n ...Payment_charge\n }\n\n fragment Order_query on Query {\n ...Payment_query\n }\n\n fragment PaymentActiveBarcode_charge on Charge {\n ...useChargePaymentMethod_charge\n }\n\n fragment PaymentActiveBoleto_charge on Charge {\n ...PaymentLinkComment_charge\n ...PaymentLinkActiveEarnDiscount_charge\n ...PaymentLinkAdditionalInfo_charge\n ...PaymentLinkShareButton_charge\n ...PaymentActiveBarcode_charge\n ...useChargePaymentMethod_charge\n ...PaymentMethodPaymentDeadline_charge\n ...PaymentMethodTransactionDetails_charge\n ...PaymentMethodBoletoValue_charge\n ...PaymentLinkActiveQrCode_charge\n }\n\n fragment PaymentActiveCob_charge on Charge {\n id\n ...PaymentLinkActiveRoot_charge\n }\n\n fragment PaymentActiveCreditCardFailed_charge on Charge {\n id\n brCode\n identifier\n company {\n nameFriendly\n logo {\n url(fitIn: true)\n id\n }\n projectType\n taxID {\n taxID\n }\n id\n }\n ...PaymentLinkComment_charge\n ...PaymentLinkPaymentTerm_charge\n ...PaymentLinkAdditionalInfo_charge\n ...PaymentLinkTransactionDetails_charge\n }\n\n fragment PaymentActiveCreditCardValue_charge on Charge {\n company {\n ...PaymentLinkActiveValue_company\n id\n }\n value\n valueWithDiscount\n }\n\n fragment PaymentActiveCreditCard_charge on Charge {\n id\n brCode\n identifier\n company {\n nameFriendly\n logo {\n url(fitIn: true)\n id\n }\n projectType\n taxID {\n taxID\n }\n id\n }\n valueWithDiscount\n ...PaymentLinkComment_charge\n ...PaymentLinkPaymentTerm_charge\n ...PaymentLinkAdditionalInfo_charge\n ...PaymentLinkTransactionDetails_charge\n }\n\n fragment PaymentActiveCustomerPixCreditCard_charge on Charge {\n customer {\n name\n id\n }\n value\n valueWithDiscount\n type\n }\n\n fragment PaymentActiveCustomer_charge on Charge {\n customer {\n name\n id\n }\n type\n ...PaymentActiveCustomerPixCreditCard_charge\n }\n\n fragment PaymentActiveITPBanksList_charge on Charge {\n companyBankAccount {\n itpCode\n id\n }\n }\n\n fragment PaymentActiveITPBanks_charge on Charge {\n id\n ...PaymentActiveITPBanksList_charge\n }\n\n fragment PaymentActiveITPDetails_charge on Charge {\n identifier\n companyBankAccount {\n pixKeyRecipient {\n pixKey\n pixKeyType\n id\n }\n id\n }\n }\n\n fragment PaymentActiveITPValue_charge on Charge {\n value\n valueWithDiscount\n company {\n ...PaymentLinkActiveValue_company\n id\n }\n }\n\n fragment PaymentActiveITP_charge on Charge {\n ...PaymentActiveITPValue_charge\n ...PaymentLinkComment_charge\n ...PaymentLinkActiveEarnDiscount_charge\n ...PaymentLinkActiveEarnCashback_charge\n ...PaymentLinkActiveCashbackFidelityBalance_charge\n ...PaymentLinkActiveEarnCashbackFidelity_charge\n ...ITPButton_charge\n ...PaymentLinkPaymentTerm_charge\n ...PaymentActiveITPDetails_charge\n ...PaymentLinkAdditionalInfo_charge\n }\n\n fragment PaymentActiveInstallmentCompleted_charge on Charge {\n ...PaymentCompleted_charge\n }\n\n fragment PaymentActiveInstallmentCompleted_query on Query {\n ...PaymentCompleted_query\n }\n\n fragment PaymentActiveInstallmentExpired_charge on Charge {\n ...PaymentExpired_charge\n }\n\n fragment PaymentActiveInstallmentScheduled_charge on Charge {\n id\n brCode\n identifier\n company {\n nameFriendly\n logo {\n url(fitIn: true)\n id\n }\n projectType\n taxID {\n taxID\n }\n id\n }\n valueWithDiscount\n ...PaymentLinkComment_charge\n ...PaymentLinkAdditionalInfo_charge\n ...PaymentLinkTransactionDetails_charge\n }\n\n fragment PaymentActiveInstallment_charge on Charge {\n id\n paymentMethods {\n __typename\n ... on PaymentMethodInstallments {\n method\n subscription {\n currentInstallment {\n status\n charge {\n status\n brCode\n ...PaymentActiveCob_charge\n ...PaymentActiveInstallmentCompleted_charge\n ...PaymentActiveInstallmentExpired_charge\n ...PaymentActiveInstallmentScheduled_charge\n id\n }\n id\n }\n id\n }\n }\n }\n }\n\n fragment PaymentActiveInstallment_query on Query {\n ...PaymentActiveInstallmentCompleted_query\n }\n\n fragment PaymentActiveMethodInstallment_charge on Charge {\n valueWithDiscount\n availablePaymentMethods\n availablePaymentMethodsList {\n __typename\n ... on PaymentMethodAvailableInstallments {\n installments {\n installmentNumber\n value\n discount\n }\n }\n }\n }\n\n fragment PaymentActivePixCobValue_charge on Charge {\n id\n value\n valueWithDiscount\n company {\n ...PaymentLinkActiveValue_company\n id\n }\n decodedBrCode {\n interests\n fines\n finalValue\n }\n chargeIntent {\n id\n }\n installment: paymentSubscriptionInstallment {\n installmentNumber\n id\n }\n paymentMethods {\n __typename\n ... on PaymentMethodPix {\n value\n valueWithDiscount\n }\n }\n ...PaymentLinkValueFirstInstallment_charge\n ...useChargePaymentMethod_charge\n }\n\n fragment PaymentActivePixCreditCard_charge on Charge {\n id\n brCode\n identifier\n company {\n nameFriendly\n logo {\n url(fitIn: true)\n id\n }\n projectType\n taxID {\n taxID\n }\n id\n }\n ...useChargePaymentMethod_charge\n ...PaymentActiveCreditCard_charge\n ...PaymentActiveCob_charge\n }\n\n fragment PaymentActivePixCreditCard_query on Query {\n ...useGraphQLType_query\n }\n\n fragment PaymentActiveWaitingCustomerFillData_charge on Charge {\n id\n ...PaymentActivePixCobValue_charge\n ...PaymentLinkTransactionDetails_charge\n ...PaymentLinkAdditionalInfo_charge\n ...PaymentLinkPaymentTerm_charge\n ...PaymentLinkComment_charge\n ...PaymentLinkActiveEarnCashback_charge\n ...PaymentLinkActiveCashbackFidelityBalance_charge\n ...PaymentLinkActiveEarnCashbackFidelity_charge\n paymentMethodSelected\n }\n\n fragment PaymentActiveWaitingPaymentMethodCreditCard_charge on Charge {\n id\n status\n identifier\n availablePaymentMethods\n company {\n nameFriendly\n taxID {\n taxID\n }\n id\n }\n customer {\n name\n taxID {\n taxID\n }\n id\n }\n valueWithDiscount\n ...PaymentLinkComment_charge\n ...PaymentLinkAdditionalInfo_charge\n ...PaymentActiveCreditCardValue_charge\n ...PaymentMethodPaymentDeadline_charge\n ...PaymentMethodTransactionDetails_charge\n ...PaymentMethodCreditCardValue_charge\n cardProcessingProvider\n }\n\n fragment PaymentActiveWaitingPaymentMethodPixCreditCard_charge on Charge {\n id\n status\n identifier\n availablePaymentMethods\n company {\n nameFriendly\n taxID {\n taxID\n }\n id\n }\n customer {\n name\n taxID {\n taxID\n }\n id\n }\n availablePaymentMethodsPixCredit {\n options {\n valueInCash\n installmentNumber\n installmentValue\n installmentValueTotal\n }\n }\n valueWithDiscount\n ...PaymentPixCreditOptions_charge\n ...PaymentActiveCreditCard_charge\n ...PaymentLinkComment_charge\n ...PaymentActiveCustomer_charge\n ...PaymentLinkAdditionalInfo_charge\n ...PaymentLinkPaymentTerm_charge\n ...PaymentLinkTransactionDetails_charge\n }\n\n fragment PaymentActiveWaitingPaymentMethodPixCreditCard_query on Query {\n appEnv\n ...useGraphQLType_query\n }\n\n fragment PaymentActiveWaitingPaymentMethodRoot_charge on Charge {\n id\n availablePaymentMethods\n ...PaymentActiveWaitingPaymentMethod_charge\n ...PaymentActiveWaitingPaymentMethodCreditCard_charge\n ...PaymentActiveWaitingPaymentMethodPixCreditCard_charge\n }\n\n fragment PaymentActiveWaitingPaymentMethodRoot_query on Query {\n ...PaymentActiveWaitingPaymentMethodPixCreditCard_query\n }\n\n fragment PaymentActiveWaitingPaymentMethod_charge on Charge {\n id\n status\n identifier\n availablePaymentMethods\n company {\n nameFriendly\n taxID {\n taxID\n }\n id\n }\n ...PaymentLinkComment_charge\n ...PaymentActiveCustomer_charge\n ...PaymentActiveMethodInstallment_charge\n ...PaymentLinkAdditionalInfo_charge\n ...PaymentLinkPaymentTerm_charge\n ...PaymentLinkTransactionDetails_charge\n }\n\n fragment PaymentActive_charge on Charge {\n id\n status\n ...useChargePaymentMethod_charge\n ...PaymentActivePixCreditCard_charge\n ...PaymentActiveInstallment_charge\n ...PaymentActiveCob_charge\n ...PaymentActiveCreditCard_charge\n ...PaymentActiveCreditCardFailed_charge\n ...PaymentActiveITPBanks_charge\n ...PaymentActiveITP_charge\n }\n\n fragment PaymentActive_query on Query {\n ...PaymentActivePixCreditCard_query\n ...PaymentActiveInstallment_query\n }\n\n fragment PaymentCharge_charge on Charge {\n id\n status\n isRemoved\n customerRegister\n customer {\n name\n id\n }\n isFromTestAccount\n paymentMethodSelected\n company {\n projectType\n ...PaymentCompanySupport_company\n ...PaymentCompanyLogo_company\n id\n }\n ...PaymentActive_charge\n ...PaymentActiveWaitingPaymentMethodRoot_charge\n ...PaymentDeleted_charge\n ...PaymentCompleted_charge\n ...PaymentExpired_charge\n ...PaymentActiveWaitingCustomerFillData_charge\n ...PaymentTestAccountBanner_charge\n ...PaymentMethodCreditCardSelected_charge\n ...PaymentMethodBoletoSelected_charge\n ...PaymentDispute_charge\n ...PaymentMethodSelectedPending_charge\n ...PaymentMethodPixSelected_charge\n ...PaymentShopify_charge\n }\n\n fragment PaymentCharge_query on Query {\n ...PaymentActiveWaitingPaymentMethodRoot_query\n ...PaymentActive_query\n ...PaymentCompleted_query\n ...PaymentMethodCreditCardSelected_query\n ...PaymentMethodBoletoSelected_query\n }\n\n fragment PaymentCompanyLogo_company on Company {\n projectType\n logo {\n url(fitIn: true)\n id\n }\n }\n\n fragment PaymentCompanySupportEmail_company on Company {\n preferences {\n support {\n email\n }\n }\n }\n\n fragment PaymentCompanySupportPhone_company on Company {\n preferences {\n support {\n phone\n }\n }\n }\n\n fragment PaymentCompanySupportWebsite_company on Company {\n preferences {\n support {\n website\n }\n }\n }\n\n fragment PaymentCompanySupportWhatsApp_company on Company {\n preferences {\n support {\n phone\n }\n }\n }\n\n fragment PaymentCompanySupport_company on Company {\n preferences {\n support {\n email\n phone\n website\n }\n }\n ...PaymentCompanySupportEmail_company\n ...PaymentCompanySupportPhone_company\n ...PaymentCompanySupportWebsite_company\n ...PaymentCompanySupportWhatsApp_company\n }\n\n fragment PaymentCompleted_charge on Charge {\n ...PaymentLinkCompleted_charge\n }\n\n fragment PaymentCompleted_query on Query {\n ...PaymentLinkCompleted_query\n }\n\n fragment PaymentDeleted_charge on Charge {\n identifier\n company {\n nameFriendly\n taxID {\n taxID\n }\n id\n }\n ...PaymentLinkDeletedValue_charge\n ...PaymentLinkAdditionalInfo_charge\n }\n\n fragment PaymentDispute_charge on Charge {\n id\n value\n status\n transactions: pixTransactions {\n edges {\n node {\n endToEndId\n id\n }\n }\n }\n payer {\n email\n phone\n taxID {\n taxID\n }\n id\n }\n company {\n taxID {\n taxID\n }\n id\n }\n }\n\n fragment PaymentExpired_charge on Charge {\n identifier\n company {\n nameFriendly\n taxID {\n taxID\n }\n id\n }\n ...PaymentLinkExpiredValue_charge\n ...PaymentLinkAdditionalInfo_charge\n ...PaymentMethodTransactionDetails_charge\n }\n\n fragment PaymentInstallmentPlan_charge on Charge {\n chargeIntent {\n id\n }\n paymentMethods {\n __typename\n ... on PaymentMethodInstallments {\n method\n }\n }\n ...PaymentInstallments_charge\n }\n\n fragment PaymentInstallmentRow_paymentSubscriptionInstallment on PaymentSubscriptionInstallment {\n status\n installmentNumber\n value\n dateGenerateCharge\n }\n\n fragment PaymentInstallments_charge on Charge {\n subscription: paymentSubscription {\n installments: paymentSubscriptionInstallments(first: 12) {\n edges {\n node {\n ...PaymentInstallmentRow_paymentSubscriptionInstallment\n id\n }\n }\n }\n id\n }\n paymentMethods {\n __typename\n ... on PaymentMethodInstallments {\n method\n subscription {\n installments: paymentSubscriptionInstallments(first: 12) {\n edges {\n node {\n ...PaymentInstallmentRow_paymentSubscriptionInstallment\n id\n }\n }\n }\n id\n }\n }\n }\n }\n\n fragment PaymentLinkActiveCashbackFidelityBalance_charge on Charge {\n customer {\n cashbackFidelityBalance\n id\n }\n }\n\n fragment PaymentLinkActiveEarnCashbackFidelity_charge on Charge {\n cashbackExclusive {\n percentage\n value\n status\n id\n }\n }\n\n fragment PaymentLinkActiveEarnCashback_charge on Charge {\n cashback {\n percentage\n value\n status\n id\n }\n }\n\n fragment PaymentLinkActiveEarnDiscount_charge on Charge {\n discount\n }\n\n fragment PaymentLinkActiveInterestsSettings_charge on Charge {\n interestsSettings {\n active\n }\n decodedBrCode {\n interests\n fines\n finalValue\n }\n paymentMethods {\n __typename\n ... on PaymentMethodPix {\n value\n }\n }\n ...useChargePaymentMethod_charge\n }\n\n fragment PaymentLinkActivePixCreditCard_charge on Charge {\n value\n valueWithDiscount\n ...useChargePaymentMethod_charge\n }\n\n fragment PaymentLinkActiveQrCode_charge on Charge {\n paymentMethods {\n __typename\n ... on PaymentMethodPix {\n method\n brCode\n }\n }\n ...useChargePaymentMethod_charge\n }\n\n fragment PaymentLinkActiveRoot_charge on Charge {\n id\n brCode\n identifier\n company {\n nameFriendly\n logo {\n url(fitIn: true)\n id\n }\n projectType\n taxID {\n taxID\n }\n id\n }\n paymentMethods {\n __typename\n ... on PaymentMethodPix {\n brCode\n }\n }\n ...PaymentActivePixCobValue_charge\n ...PaymentLinkComment_charge\n ...PaymentLinkActiveEarnDiscount_charge\n ...PaymentLinkActiveEarnCashback_charge\n ...PaymentLinkActiveCashbackFidelityBalance_charge\n ...PaymentLinkActiveEarnCashbackFidelity_charge\n ...PaymentLinkActiveQrCode_charge\n ...PaymentLinkShareButton_charge\n ...PaymentLinkActiveInterestsSettings_charge\n ...PaymentInstallmentPlan_charge\n ...PaymentLinkPaymentTerm_charge\n ...PaymentLinkTransactionDetails_charge\n ...PaymentLinkAdditionalInfo_charge\n ...useChargePaymentMethod_charge\n ...PaymentLinkActivePixCreditCard_charge\n ...ITPButton_charge\n ...ChargePrintPDF_charge\n }\n\n fragment PaymentLinkActiveValue_company on Company {\n nameFriendly\n }\n\n fragment PaymentLinkAdditionalInfo_charge on Charge {\n additionalInfo {\n key\n value\n }\n }\n\n fragment PaymentLinkComment_charge on Charge {\n comment\n }\n\n fragment PaymentLinkCompletedPaymentMethods_charge on Charge {\n id\n ...useChargePaymentMethod_charge\n }\n\n fragment PaymentLinkCompletedPixCreditCard_charge on Charge {\n value\n valueWithDiscount\n ...useChargePaymentMethod_charge\n }\n\n fragment PaymentLinkCompletedPixCreditCard_query on Query {\n ...useGraphQLType_query\n }\n\n fragment PaymentLinkCompletedQrCodeValue_charge on Charge {\n id\n discount\n value\n valuePaid\n valueWithDiscount\n chargeIntent {\n id\n }\n type\n }\n\n fragment PaymentLinkCompletedRedirect_charge on Charge {\n redirectUrl\n status\n }\n\n fragment PaymentLinkCompletedRewards_charge on Charge {\n cashback {\n value\n status\n receiver {\n taxIDObscured {\n taxID\n type\n }\n id\n }\n id\n }\n cashbackExclusive {\n value\n status\n receiver {\n taxIDObscured {\n taxID\n type\n }\n id\n }\n id\n }\n redeemedCashbackExclusive {\n edges {\n node {\n value\n receiver {\n taxIDObscured {\n taxID\n type\n }\n id\n }\n id\n }\n }\n }\n payer {\n taxIDObscured {\n taxID\n type\n }\n id\n }\n }\n\n fragment PaymentLinkCompletedTransaction_charge on Charge {\n transactions: pixTransactions {\n edges {\n node {\n endToEndId\n id\n }\n }\n }\n }\n\n fragment PaymentLinkCompleted_charge on Charge {\n id\n discount\n identifier\n redirectUrl\n company {\n nameFriendly\n taxID {\n taxID\n }\n id\n }\n ...PaymentLinkCompletedQrCodeValue_charge\n ...PaymentInstallmentPlan_charge\n ...PaymentLinkCompletedTransaction_charge\n ...PaymentLinkAdditionalInfo_charge\n ...PaymentLinkCompletedRewards_charge\n ...PaymentLinkTransactionDetails_charge\n ...PaymentLinkCompletedPixCreditCard_charge\n ...PaymentLinkCompletedPaymentMethods_charge\n ...PaymentLinkCompletedRedirect_charge\n }\n\n fragment PaymentLinkCompleted_query on Query {\n ...PaymentLinkCompletedPixCreditCard_query\n }\n\n fragment PaymentLinkDeletedValue_charge on Charge {\n id\n value\n valueWithDiscount\n }\n\n fragment PaymentLinkExpiredValue_charge on Charge {\n id\n discount\n value\n valueWithDiscount\n }\n\n fragment PaymentLinkPaymentTerm_charge on Charge {\n status\n expiresDate\n company {\n id\n preferences {\n chargeSettings {\n expiration {\n type\n fakeValue\n }\n }\n }\n }\n interestsSettings {\n daysAfterDueDate\n }\n }\n\n fragment PaymentLinkShareButton_charge on Charge {\n company {\n nameFriendly\n projectType\n id\n }\n paymentLinkUrl\n cashback {\n value\n id\n }\n customer {\n phone\n id\n }\n paymentMethods {\n __typename\n ... on PaymentMethodPix {\n value\n valueWithDiscount\n }\n }\n ...useChargePaymentMethod_charge\n }\n\n fragment PaymentLinkTransactionDetails_charge on Charge {\n identifier\n company {\n nameFriendly\n projectType\n taxID {\n taxID\n }\n id\n }\n }\n\n fragment PaymentLinkValueFirstInstallment_charge on Charge {\n id\n paymentMethods {\n __typename\n ... on PaymentMethodPix {\n value\n valueWithDiscount\n }\n }\n customer {\n name\n id\n }\n company {\n nameFriendly\n id\n }\n }\n\n fragment PaymentMethodBoletoPixValue_charge on Charge {\n company {\n nameFriendly\n id\n }\n value\n }\n\n fragment PaymentMethodBoletoSelected_charge on Charge {\n id\n status\n customer {\n id\n }\n ...PaymentActiveBoleto_charge\n ...PaymentCompleted_charge\n ...PaymentMethodSelectedCustomerRegister_charge\n }\n\n fragment PaymentMethodBoletoSelected_query on Query {\n ...PaymentCompleted_query\n }\n\n fragment PaymentMethodBoletoValue_charge on Charge {\n company {\n nameFriendly\n id\n }\n value\n ...useChargePaymentMethod_charge\n ...PaymentMethodBoletoPixValue_charge\n }\n\n fragment PaymentMethodCreditCardSelectedProcessing_charge on Charge {\n id\n brCode\n identifier\n company {\n nameFriendly\n logo {\n url(fitIn: true)\n id\n }\n projectType\n taxID {\n taxID\n }\n id\n }\n valueWithDiscount\n ...PaymentLinkComment_charge\n ...PaymentLinkAdditionalInfo_charge\n ...PaymentLinkTransactionDetails_charge\n }\n\n fragment PaymentMethodCreditCardSelected_charge on Charge {\n id\n status\n customer {\n id\n }\n ...PaymentCompleted_charge\n ...PaymentActiveWaitingPaymentMethodCreditCard_charge\n ...PaymentMethodCreditCardSelectedProcessing_charge\n ...PaymentMethodSelectedCustomerRegister_charge\n ...useChargePaymentMethod_charge\n }\n\n fragment PaymentMethodCreditCardSelected_query on Query {\n ...PaymentCompleted_query\n }\n\n fragment PaymentMethodCreditCardValue_charge on Charge {\n value\n company {\n nameFriendly\n id\n }\n }\n\n fragment PaymentMethodPaymentDeadline_charge on Charge {\n expiresDate\n createdAt\n company {\n id\n nameFriendly\n preferences {\n chargeSettings {\n expiration {\n type\n fakeValue\n }\n }\n }\n }\n }\n\n fragment PaymentMethodPendingMessage_charge on Charge {\n company {\n nameFriendly\n id\n }\n value\n }\n\n fragment PaymentMethodPixQrCode_charge on Charge {\n ...useChargePaymentMethod_charge\n }\n\n fragment PaymentMethodPixSelected_charge on Charge {\n id\n brCode\n identifier\n customerRegister\n customer {\n id\n }\n company {\n nameFriendly\n logo {\n url(fitIn: true)\n id\n }\n projectType\n taxID {\n taxID\n }\n id\n }\n paymentMethods {\n __typename\n ... on PaymentMethodPix {\n brCode\n }\n }\n ...PaymentMethodPixValue_charge\n ...PaymentLinkComment_charge\n ...PaymentLinkActiveEarnDiscount_charge\n ...PaymentLinkActiveEarnCashback_charge\n ...PaymentLinkActiveCashbackFidelityBalance_charge\n ...PaymentLinkActiveEarnCashbackFidelity_charge\n ...PaymentLinkShareButton_charge\n ...PaymentLinkActiveInterestsSettings_charge\n ...PaymentLinkAdditionalInfo_charge\n ...useChargePaymentMethod_charge\n ...PaymentMethodPixQrCode_charge\n ...PaymentMethodTransactionDetails_charge\n ...PaymentMethodPaymentDeadline_charge\n ...PaymentMethodSelectedCustomerRegister_charge\n ...ChargePrintPDF_charge\n }\n\n fragment PaymentMethodPixValue_charge on Charge {\n company {\n nameFriendly\n id\n }\n value\n paymentMethods {\n __typename\n ... on PaymentMethodPix {\n method\n value\n }\n }\n }\n\n fragment PaymentMethodSelectedCustomerRegisterFormFields_charge on Charge {\n id\n paymentMethodSelected\n customerRegisterFields\n }\n\n fragment PaymentMethodSelectedCustomerRegisterForm_charge on Charge {\n id\n paymentMethodSelected\n }\n\n fragment PaymentMethodSelectedCustomerRegisterValue_charge on Charge {\n value\n paymentMethodSelected\n company {\n nameFriendly\n id\n }\n ...PaymentMethodPixValue_charge\n ...PaymentMethodBoletoValue_charge\n ...PaymentMethodCreditCardValue_charge\n }\n\n fragment PaymentMethodSelectedCustomerRegister_charge on Charge {\n id\n customerRegisterFields\n ...PaymentLinkAdditionalInfo_charge\n ...PaymentLinkComment_charge\n ...PaymentMethodPaymentDeadline_charge\n ...PaymentMethodTransactionDetails_charge\n ...PaymentLinkActiveEarnCashback_charge\n ...PaymentLinkActiveCashbackFidelityBalance_charge\n ...PaymentLinkActiveEarnCashbackFidelity_charge\n ...PaymentMethodSelectedCustomerRegisterValue_charge\n ...PaymentMethodSelectedCustomerRegisterForm_charge\n ...PaymentMethodSelectedCustomerRegisterFormFields_charge\n }\n\n fragment PaymentMethodSelectedPending_charge on Charge {\n id\n availablePaymentMethods\n ...PaymentMethodPendingMessage_charge\n ...PaymentMethodTransactionDetails_charge\n ...PaymentMethodPaymentDeadline_charge\n }\n\n fragment PaymentMethodTransactionDetails_charge on Charge {\n identifier\n company {\n nameFriendly\n taxID {\n taxID\n }\n id\n }\n }\n\n fragment PaymentPixCreditOptions_charge on Charge {\n valueWithDiscount\n availablePaymentMethods\n availablePaymentMethodsPixCredit {\n options {\n valueInCash\n installmentNumber\n installmentValue\n discount\n }\n }\n }\n\n fragment PaymentProvider_charge on Charge {\n status\n redirectUrl\n isShopifyCharge\n }\n\n fragment PaymentShopify_charge on Charge {\n isShopifyCharge\n status\n }\n\n fragment PaymentTestAccountBanner_charge on Charge {\n id\n isFromTestAccount\n }\n\n fragment Payment_charge on Charge {\n ...PaymentCharge_charge\n ...PaymentProvider_charge\n }\n\n fragment Payment_query on Query {\n ...PaymentCharge_query\n }\n\n fragment PixDialogGetCharge_charge on Charge {\n ...Plugin_charge\n ...Order_charge\n ...useMeta_charge\n status\n correlationID\n metaPixel {\n token\n }\n }\n\n fragment Plugin_charge on Charge {\n ...Order_charge\n }\n\n fragment Plugin_query on Query {\n ...Order_query\n }\n\n fragment useChargePaymentMethod_charge on Charge {\n type\n availablePaymentMethods\n paymentMethods {\n __typename\n ... on PaymentMethodPix {\n method\n status\n brCode\n value\n valueWithDiscount\n }\n ... on PaymentMethodInstallments {\n method\n }\n ... on PaymentMethodCreditCard {\n method\n status\n installmentNumber\n value\n }\n ... on PaymentMethodITP {\n method\n status\n value\n consentId\n authorizationUrl\n }\n ... on PaymentMethodBoleto {\n method\n status\n boletoBarcode\n boletoDigitable\n value\n }\n }\n }\n\n fragment useGraphQLType_query on Query {\n graphqlType\n }\n\n fragment useMeta_charge on Charge {\n status\n value\n identifier\n metaPixel {\n token\n }\n }\n\n"],!n&&(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}})));return P=function(){return t},t}var _=String.raw(P());function S(e,n,t,r,a,l,o){try{var i=e[l](o),u=i.value}catch(e){t(e);return}i.done?n(u):Promise.resolve(u).then(r,a)}var M=function(){var e,n=(e=function(e){var n,t,r;return function(e,n){var t,r,a,l,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return l={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function i(l){return function(i){return function(l){if(t)throw TypeError("Generator is already executing.");for(;o;)try{if(t=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===l[0]||2===l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(e,o)}catch(e){l=[6,e],r=0}finally{t=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,i])}}}(this,function(a){return t=(n=w()).promise,r=n.resolve,fetch(C.graphqlURL,{method:"POST",body:JSON.stringify({name:"PixDialogGetChargeQuery",operationName:"PixDialogGetChargeQuery",query:_,variables:{correlationID:e}}),mode:"cors",headers:{Authorization:C.appID,"Content-Type":"application/json"}}).then(function(e){return e.json()}).then(r).catch(function(){return r(null)}),[2,t]})},function(){var n=this,t=arguments;return new Promise(function(r,a){var l=e.apply(n,t);function o(e){S(l,r,a,o,i,"next",e)}function i(e){S(l,r,a,o,i,"throw",e)}o(void 0)})});return function(e){return n.apply(this,arguments)}}(),j=function(e,n){setTimeout(function(){console.log({correlationID:n}),M(n).then(function(t){var r,a,l=t.data;if(console.log("iniciei aqui",l),!l.charge)return j(e,n);var o=l.charge.paymentLinkUrl;g.emit(m.UPDATE_CHECKOUT_DATA,[e,(r=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.forEach(function(n){var r,a,l;r=e,a=n,l=t[n],a in r?Object.defineProperty(r,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):r[a]=l})}return e}({},v.get(e)),a=(a={paymentLinkUrl:o},a),Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(a)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(a)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(a,e))}),r)])}).catch(function(e){return console.log("cai no erro",e.message)})},2e3)};function L(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}function E(e,n,t,r,a,l,o){try{var i=e[l](o),u=i.value}catch(e){t(e);return}i.done?n(u):Promise.resolve(u).then(r,a)}function I(e){return function(){var n=this,t=arguments;return new Promise(function(r,a){var l=e.apply(n,t);function o(e){E(l,r,a,o,i,"next",e)}function i(e){E(l,r,a,o,i,"throw",e)}o(void 0)})}}function z(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.forEach(function(n){var r,a,l;r=e,a=n,l=t[n],a in r?Object.defineProperty(r,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):r[a]=l})}return e}function D(e,n){var t,r,a,l,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return l={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function i(l){return function(i){return function(l){if(t)throw TypeError("Generator is already executing.");for(;o;)try{if(t=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===l[0]||2===l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(e,o)}catch(e){l=[6,e],r=0}finally{t=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,i])}}}var N=function(){var e,n,t,l,o=p().hooks,u=(0,a.useContext)(i),c=u.requesting,d=u.setRequesting,f=u.currentOrder,h=u.closeCheckoutModal,m=u.productId,g=u.setProductId,y=u.updateCheckoutData,v=u.getProduct,b=u.checkoutRef,C=u.products;a.useEffect(function(){window.checkoutRef=b,console.log({currentOrder:f,productId:m,setProductId:g,updateCheckoutData:y})},[]);var x=(e=I(function(e){var n,t;return D(this,function(r){switch(r.label){case 0:if(d(!0),console.log("> creteOrder"),!(n=o.get("beforeCreateCharge")))return[3,2];return[4,n(e)];case 1:if(console.log(t=r.sent(),s.get("beforeCreateCharge")),t!==s.get("beforeCreateCharge")&&"string"==typeof s.get("beforeCreateCharge"))return[2,!1];r.label=2;case 2:return[2,!0]}})}),function(n){return e.apply(this,arguments)});var k=(n=I(function(e){var n,t,r;return D(this,function(a){var l,o;if(!(n=C.get(e)))return[2,console.log("order cannot be empty, null or undefined to create a new charge")];return t=n.additionalInfo.split(",").reduce(function(e,n){var t,r,a=(t=n.split(":"),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,n){var t,r,a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var l=[],o=!0,i=!1;try{for(a=a.call(e);!(o=(t=a.next()).done)&&(l.push(t.value),!n||l.length!==n);o=!0);}catch(e){i=!0,r=e}finally{try{!o&&null!=a.return&&a.return()}finally{if(i)throw r}}return l}}(t,2)||function(e,n){if(e){if("string"==typeof e)return L(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return L(e,n)}}(t,r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=a[0],o=a[1];return e.push({key:l,value:o}),e},[]),console.log({chargeBody:r={value:Number(n.value),correlationID:n.correlationID,customer:{email:n.email,taxID:n.payerTaxID},comment:n.comment,additionalInfo:t}}),window.$openpix.push(["pix",r]),y(e,(l=z({},v(e)),o=(o={status:"CHARGE_EMITTED"},o),Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(o)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(o)).forEach(function(e){Object.defineProperty(l,e,Object.getOwnPropertyDescriptor(o,e))}),l)),h(),d(!1),j(e,n.correlationID),[2]})}),function(e){return n.apply(this,arguments)});var w=(t=I(function(){var e;return D(this,function(n){switch(n.label){case 0:if(!b.current)return[2,console.log("Form not find in window")];return y(m,z({},f,{taxID:(e=new FormData(b.current.querySelector("form"))).get("taxID"),name:e.get("name"),email:e.get("email"),phone:e.get("phone")})),[4,x(m)];case 1:if(!n.sent())return console.error("abort create charge event"),[2];return[4,k(m)];case 2:return n.sent(),[2]}})}),function(){return t.apply(this,arguments)});return(0,r.jsx)(a.Suspense,{fallback:(0,r.jsx)("p",{children:"Loading..."}),children:(0,r.jsxs)("div",{id:"clickpix-checkout",ref:b,className:"w-full h-full rounded-md mx-auto absolute flex items-center justify-center hidden",children:[(0,r.jsx)("div",{className:"bg-black opacity-20 w-full border-red-500 h-full absolute z-10"}),(0,r.jsxs)("div",{className:"w-[480px] h-[650px] rounded-md bg-white z-20 relative",children:[(0,r.jsxs)("div",{className:"flex justify-between p-4",children:[(0,r.jsxs)("svg",{width:"71.66666666666667",height:"20",viewBox:"0 0 86 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M9.35259 21.9167C8.39041 21.9167 7.57361 21.3352 7.21926 20.5146L6.59357 19.0654L5.51893 20.1403C4.61084 21.0487 3.14104 21.0487 2.23292 20.1403C1.32484 19.232 1.3248 17.7617 2.23292 16.8534L3.30756 15.7784L1.85875 15.1526C1.03904 14.7984 0.457031 13.9818 0.457031 13.0187C0.457031 11.9252 1.20827 11.0158 2.21557 10.764L10.9782 8.57265C11.7662 8.37555 12.6123 8.6098 13.1863 9.18388C13.7602 9.75796 13.9943 10.6042 13.7973 11.3925L11.6066 20.1577C11.3553 21.1635 10.448 21.9167 9.35259 21.9167ZM6.85238 16.9361C6.90074 16.9361 6.94938 16.9406 6.99779 16.9499C7.24986 16.9981 7.46169 17.168 7.56342 17.4037L8.64132 19.9003C8.75788 20.1702 9.02908 20.3673 9.35256 20.3673C9.72285 20.3673 10.0217 20.1104 10.1038 19.7819L12.2945 11.0168C12.3613 10.7495 12.2851 10.4739 12.0909 10.2796C11.8966 10.0853 11.6211 10.0091 11.3539 10.0759L2.59125 12.2672C2.26278 12.3494 2.00607 12.6483 2.00607 13.0187C2.00607 13.343 2.20376 13.6138 2.47294 13.7301L4.96879 14.8083C5.20436 14.9101 5.37429 15.122 5.42246 15.3741C5.47064 15.6262 5.39086 15.8858 5.20939 16.0674L3.32824 17.9491C3.02552 18.2519 3.02552 18.7419 3.32824 19.0447C3.63096 19.3475 4.12089 19.3475 4.42357 19.0447L6.30471 17.163C6.45133 17.0164 6.64895 16.9361 6.85238 16.9361Z",fill:"rgba(0, 0, 0, 0.87)"}),(0,r.jsx)("path",{d:"M19.5159 10.9737H16.4178C15.99 10.9737 15.6433 10.6269 15.6433 10.199C15.6433 9.77109 15.99 9.42424 16.4178 9.42424H19.5159C19.9436 9.42424 20.2904 9.77109 20.2904 10.199C20.2904 10.6269 19.9436 10.9737 19.5159 10.9737Z",fill:"rgba(0, 0, 0, 0.87)"}),(0,r.jsx)("path",{d:"M16.6996 16.2251L14.509 14.0338C14.2065 13.7312 14.2065 13.2407 14.509 12.9382C14.8115 12.6356 15.3019 12.6356 15.6043 12.9382L17.795 15.1294C18.0974 15.432 18.0974 15.9225 17.795 16.2251C17.4925 16.5276 17.0021 16.5276 16.6996 16.2251Z",fill:"rgba(0, 0, 0, 0.87)"}),(0,r.jsx)("path",{d:"M8.29224 7.86643L6.10155 5.67515C5.79906 5.37258 5.79906 4.88205 6.10155 4.57952C6.40404 4.27698 6.89442 4.27694 7.19687 4.57952L9.38756 6.77079C9.69004 7.07337 9.69004 7.56389 9.38756 7.86643C9.08507 8.16897 8.59468 8.16897 8.29224 7.86643Z",fill:"rgba(0, 0, 0, 0.87)"}),(0,r.jsx)("path",{d:"M12.1258 6.73182C11.698 6.73182 11.3513 6.38497 11.3513 5.95708V2.85811C11.3513 2.43023 11.698 2.08337 12.1258 2.08337C12.5536 2.08337 12.9003 2.43023 12.9003 2.85811V5.95708C12.9003 6.38497 12.5536 6.73182 12.1258 6.73182Z",fill:"rgba(0, 0, 0, 0.87)"}),(0,r.jsx)("path",{d:"M14.8642 7.86643C14.5617 7.56385 14.5617 7.07332 14.8642 6.77079L17.0548 4.57951C17.3573 4.27694 17.8477 4.27694 18.1502 4.57951C18.4526 4.88209 18.4527 5.37261 18.1502 5.67515L15.9595 7.86643C15.6571 8.16896 15.1667 8.16896 14.8642 7.86643Z",fill:"rgba(0, 0, 0, 0.87)"}),(0,r.jsx)("path",{d:"M29.525 18.1939C28.585 18.1939 27.7624 18.0118 27.0574 17.6475C26.3641 17.2715 25.8294 16.7427 25.4534 16.0611C25.0773 15.3796 24.8893 14.5746 24.8893 13.6463C24.8893 12.953 24.9951 12.3302 25.2066 11.778C25.4181 11.2257 25.7236 10.7556 26.1232 10.3679C26.5344 9.98008 27.028 9.68631 27.6038 9.48654C28.1796 9.27503 28.82 9.16927 29.525 9.16927C29.8893 9.16927 30.2771 9.21628 30.6884 9.31028C31.0996 9.39254 31.505 9.53942 31.9046 9.75094C32.1396 9.85669 32.2982 10.0095 32.3805 10.2092C32.4745 10.3972 32.5097 10.597 32.4862 10.8085C32.4627 11.0083 32.3863 11.1904 32.2571 11.3549C32.1396 11.5077 31.9868 11.6134 31.7988 11.6722C31.6108 11.7192 31.3993 11.6839 31.1643 11.5664C30.941 11.4372 30.706 11.3432 30.4592 11.2844C30.2242 11.2257 30.0009 11.1963 29.7894 11.1963C29.4369 11.1963 29.1255 11.255 28.8552 11.3725C28.585 11.4783 28.3558 11.6369 28.1678 11.8485C27.9915 12.0482 27.8505 12.3009 27.7448 12.6064C27.6508 12.9119 27.6038 13.2644 27.6038 13.664C27.6038 14.4395 27.7918 15.0505 28.1678 15.4971C28.5556 15.9319 29.0961 16.1492 29.7894 16.1492C30.0009 16.1492 30.2242 16.1257 30.4592 16.0787C30.6942 16.02 30.9292 15.926 31.1643 15.7967C31.3993 15.6792 31.6108 15.6498 31.7988 15.7086C31.9868 15.7673 32.1337 15.879 32.2395 16.0435C32.357 16.1963 32.4216 16.3784 32.4333 16.5899C32.4568 16.7897 32.4216 16.9894 32.3276 17.1892C32.2453 17.3772 32.0926 17.5241 31.8693 17.6298C31.4698 17.8296 31.0703 17.9706 30.6707 18.0529C30.2712 18.1469 29.8893 18.1939 29.525 18.1939ZM36.8494 18.1939C35.8036 18.1939 35.0221 17.906 34.5051 17.3302C33.9881 16.7427 33.7296 15.8731 33.7296 14.7215V6.77211C33.7296 6.32558 33.8412 5.99068 34.0645 5.76742C34.2995 5.5324 34.6344 5.41489 35.0692 5.41489C35.4922 5.41489 35.8153 5.5324 36.0386 5.76742C36.2736 5.99068 36.3911 6.32558 36.3911 6.77211V14.6158C36.3911 15.0976 36.491 15.456 36.6908 15.691C36.9023 15.9142 37.1784 16.0259 37.5192 16.0259C37.6132 16.0259 37.7013 16.02 37.7836 16.0082C37.8658 15.9965 37.954 15.9906 38.048 15.9906C38.236 15.9671 38.3653 16.0259 38.4358 16.1669C38.518 16.2961 38.5591 16.5605 38.5591 16.9601C38.5591 17.3126 38.4886 17.5828 38.3476 17.7709C38.2066 17.9471 37.9892 18.0646 37.6955 18.1234C37.5779 18.1351 37.4428 18.1469 37.2901 18.1586C37.1373 18.1821 36.9904 18.1939 36.8494 18.1939ZM40.9388 18.141C40.504 18.141 40.1691 18.0176 39.9341 17.7709C39.7109 17.5123 39.5992 17.1539 39.5992 16.6957V10.6675C39.5992 10.1975 39.7109 9.83907 39.9341 9.5923C40.1691 9.33378 40.504 9.20453 40.9388 9.20453C41.3618 9.20453 41.685 9.33378 41.9083 9.5923C42.1433 9.83907 42.2608 10.1975 42.2608 10.6675V16.6957C42.2608 17.1539 42.1491 17.5123 41.9259 17.7709C41.7026 18.0176 41.3736 18.141 40.9388 18.141ZM40.9388 7.75918C40.4453 7.75918 40.0634 7.64754 39.7931 7.42428C39.5346 7.18926 39.4053 6.86024 39.4053 6.43721C39.4053 6.00243 39.5346 5.67341 39.7931 5.45014C40.0634 5.21513 40.4453 5.09762 40.9388 5.09762C41.4323 5.09762 41.8084 5.21513 42.0669 5.45014C42.3254 5.67341 42.4547 6.00243 42.4547 6.43721C42.4547 6.86024 42.3254 7.18926 42.0669 7.42428C41.8084 7.64754 41.4323 7.75918 40.9388 7.75918ZM48.5283 18.1939C47.5882 18.1939 46.7656 18.0118 46.0606 17.6475C45.3673 17.2715 44.8326 16.7427 44.4566 16.0611C44.0806 15.3796 43.8926 14.5746 43.8926 13.6463C43.8926 12.953 43.9983 12.3302 44.2098 11.778C44.4214 11.2257 44.7269 10.7556 45.1264 10.3679C45.5377 9.98008 46.0312 9.68631 46.607 9.48654C47.1828 9.27503 47.8232 9.16927 48.5283 9.16927C48.8925 9.16927 49.2803 9.21628 49.6916 9.31028C50.1029 9.39254 50.5083 9.53942 50.9078 9.75094C51.1428 9.85669 51.3015 10.0095 51.3837 10.2092C51.4777 10.3972 51.513 10.597 51.4895 10.8085C51.466 11.0083 51.3896 11.1904 51.2603 11.3549C51.1428 11.5077 50.9901 11.6134 50.802 11.6722C50.614 11.7192 50.4025 11.6839 50.1675 11.5664C49.9442 11.4372 49.7092 11.3432 49.4625 11.2844C49.2274 11.2257 49.0042 11.1963 48.7927 11.1963C48.4401 11.1963 48.1287 11.255 47.8585 11.3725C47.5882 11.4783 47.3591 11.6369 47.1711 11.8485C46.9948 12.0482 46.8538 12.3009 46.748 12.6064C46.654 12.9119 46.607 13.2644 46.607 13.664C46.607 14.4395 46.795 15.0505 47.1711 15.4971C47.5588 15.9319 48.0994 16.1492 48.7927 16.1492C49.0042 16.1492 49.2274 16.1257 49.4625 16.0787C49.6975 16.02 49.9325 15.926 50.1675 15.7967C50.4025 15.6792 50.614 15.6498 50.802 15.7086C50.9901 15.7673 51.1369 15.879 51.2427 16.0435C51.3602 16.1963 51.4248 16.3784 51.4366 16.5899C51.4601 16.7897 51.4248 16.9894 51.3308 17.1892C51.2486 17.3772 51.0958 17.5241 50.8726 17.6298C50.473 17.8296 50.0735 17.9706 49.674 18.0529C49.2744 18.1469 48.8925 18.1939 48.5283 18.1939ZM54.0724 18.1586C53.6376 18.1586 53.3027 18.0411 53.0677 17.8061C52.8444 17.5711 52.7328 17.2362 52.7328 16.8014V6.77211C52.7328 6.32558 52.8444 5.99068 53.0677 5.76742C53.3027 5.5324 53.6376 5.41489 54.0724 5.41489C54.4954 5.41489 54.8186 5.5324 55.0418 5.76742C55.2769 5.99068 55.3944 6.32558 55.3944 6.77211V12.9237H55.4296L57.9854 10.0858C58.2439 9.79206 58.4789 9.57468 58.6905 9.43367C58.9137 9.28091 59.2075 9.20453 59.5718 9.20453C59.936 9.20453 60.2122 9.29853 60.4002 9.48654C60.6 9.67456 60.6999 9.9037 60.6999 10.174C60.7116 10.4325 60.6 10.6969 60.365 10.9671L57.6681 13.9812V12.9765L60.6646 16.4313C60.8879 16.7015 60.9819 16.9718 60.9466 17.2421C60.9231 17.5123 60.8056 17.7356 60.5941 17.9119C60.3826 18.0764 60.1123 18.1586 59.7833 18.1586C59.3838 18.1586 59.0606 18.0823 58.8138 17.9295C58.5788 17.7767 58.3379 17.5417 58.0912 17.2244L55.4296 14.2632H55.3944V16.8014C55.3944 17.7062 54.9537 18.1586 54.0724 18.1586ZM63.5838 21.2961C63.3488 21.2961 63.1725 21.2315 63.055 21.1022C62.9375 20.9847 62.8788 20.8084 62.8788 20.5734V10.033C62.8788 9.79794 62.9375 9.62168 63.055 9.50417C63.1725 9.37491 63.3429 9.31028 63.5662 9.31028C63.8012 9.31028 63.9775 9.37491 64.095 9.50417C64.2242 9.62168 64.2888 9.79794 64.2888 10.033V11.7074L64.095 11.4607C64.283 10.7909 64.6531 10.2621 65.2054 9.87432C65.7695 9.47479 66.4392 9.27503 67.2148 9.27503C67.9786 9.27503 68.6425 9.45717 69.2066 9.82144C69.7823 10.174 70.223 10.6851 70.5285 11.3549C70.8458 12.013 71.0044 12.8003 71.0044 13.7168C71.0044 14.6216 70.8458 15.4089 70.5285 16.0787C70.223 16.7368 69.7882 17.2479 69.2242 17.6122C68.6601 17.9765 67.9904 18.1586 67.2148 18.1586C66.4392 18.1586 65.7753 17.9647 65.223 17.577C64.6708 17.1774 64.2947 16.6487 64.095 15.9906H64.3065V20.5734C64.3065 20.8084 64.2418 20.9847 64.1126 21.1022C63.9833 21.2315 63.8071 21.2961 63.5838 21.2961ZM66.9152 17.0129C67.4557 17.0129 67.9198 16.8837 68.3076 16.6252C68.7072 16.3666 69.0127 15.9906 69.2242 15.4971C69.4475 15.0035 69.5591 14.4101 69.5591 13.7168C69.5591 12.6475 69.3182 11.8308 68.8364 11.2668C68.3664 10.7028 67.726 10.4207 66.9152 10.4207C66.3864 10.4207 65.9222 10.55 65.5227 10.8085C65.1232 11.0553 64.8118 11.4254 64.5885 11.919C64.377 12.4007 64.2712 13 64.2712 13.7168C64.2712 14.7744 64.5121 15.5911 64.9939 16.1669C65.4757 16.7309 66.1161 17.0129 66.9152 17.0129ZM73.86 18.0881C73.625 18.0881 73.4487 18.0235 73.3312 17.8942C73.2137 17.7532 73.155 17.5593 73.155 17.3126V10.1035C73.155 9.85669 73.2137 9.66868 73.3312 9.53942C73.4487 9.41016 73.625 9.34553 73.86 9.34553C74.0833 9.34553 74.2595 9.41016 74.3888 9.53942C74.5181 9.66868 74.5827 9.85669 74.5827 10.1035V17.3126C74.5827 17.5593 74.5181 17.7532 74.3888 17.8942C74.2713 18.0235 74.095 18.0881 73.86 18.0881ZM73.86 7.3714C73.5662 7.3714 73.3371 7.29502 73.1726 7.14226C73.0081 6.97775 72.9258 6.76036 72.9258 6.49009C72.9258 6.20807 73.0081 5.99656 73.1726 5.85555C73.3371 5.70279 73.5662 5.62641 73.86 5.62641C74.1655 5.62641 74.3947 5.70279 74.5474 5.85555C74.7119 5.99656 74.7942 6.20807 74.7942 6.49009C74.7942 6.76036 74.7119 6.97775 74.5474 7.14226C74.3947 7.29502 74.1655 7.3714 73.86 7.3714ZM77.2869 18.1058C77.1342 18.1058 76.999 18.0588 76.8815 17.9647C76.764 17.8707 76.6994 17.7474 76.6876 17.5946C76.6876 17.4301 76.764 17.2597 76.9168 17.0834L80.0014 13.2057V13.946L77.1107 10.3326C76.9579 10.1446 76.8815 9.9742 76.8815 9.82144C76.8933 9.66868 76.9579 9.5453 77.0754 9.45129C77.1929 9.35729 77.3281 9.31028 77.4808 9.31028C77.6571 9.31028 77.804 9.34553 77.9215 9.41604C78.0507 9.47479 78.1682 9.57468 78.274 9.71568L80.7945 12.906H80.301L82.8392 9.71568C82.9449 9.57468 83.0566 9.47479 83.1741 9.41604C83.2916 9.34553 83.4385 9.31028 83.6147 9.31028C83.7793 9.31028 83.9144 9.35729 84.0201 9.45129C84.1377 9.5453 84.1964 9.67456 84.1964 9.83907C84.2082 9.99183 84.1377 10.1622 83.9849 10.3502L81.1118 13.9107V13.2586L84.1964 17.0834C84.3374 17.2597 84.402 17.4301 84.3903 17.5946C84.3903 17.7474 84.3315 17.8707 84.214 17.9647C84.0965 18.0588 83.9555 18.1058 83.791 18.1058C83.6265 18.1058 83.4796 18.0705 83.3503 18C83.2328 17.9412 83.1153 17.8414 82.9978 17.7004L80.2834 14.2809H80.7945L78.0801 17.7004C77.9744 17.8296 77.8568 17.9295 77.7276 18C77.6101 18.0705 77.4632 18.1058 77.2869 18.1058Z",fill:"rgba(0, 0, 0, 0.87)"})]}),(0,r.jsx)("button",{"data-modal-target":"clickpix-checkout","data-modal-toggle":"clickpix-checkout",className:"text-zinc-400",onClick:h,children:"X"})]}),(0,r.jsx)("div",{className:"border-b border-zinc-200 mb-6"}),(0,r.jsxs)("div",{className:"flex",children:[(0,r.jsx)("div",{className:"w-1/4"}),(0,r.jsxs)("div",{className:"w-3/4 flex flex-col items-center justify-center text-center gap-4",children:[(0,r.jsxs)("div",{className:"flex items-center justify-center rounded-sm p-2 bg-red-600 w-full",children:[(0,r.jsx)("div",{className:"w-6 h-6 fill-white",children:(0,r.jsx)("svg",{className:"",focusable:"false","aria-hidden":"true",viewBox:"0 0 24 24","data-testid":"WarningIcon",children:(0,r.jsx)("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"})})}),(0,r.jsx)("span",{className:"text-white text-xl",children:"Cobran\xe7a Teste"})]}),(0,r.jsx)("div",{children:(0,r.jsxs)("svg",{version:"1.1",id:"OpenPixLogo","data-testid":"OpenPixLogo",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",height:"40px",viewBox:"0 0 670.49 140.22",children:[(0,r.jsxs)("g",{fill:"#96969A",fillRule:"nonzero",id:"open",children:[(0,r.jsx)("polygon",{points:"469.7,34.9 469.6,35.2 469.8,35"}),(0,r.jsx)("path",{d:"M264.8,59.4c0,8.5-1.2,15.9-3.7,22.4c-2.5,6.5-5.8,11.9-10,16.2c-4.2,4.3-9.1,7.6-14.7,9.8 c-5.6,2.2-11.5,3.3-17.8,3.3c-6.3,0-12.2-1.1-17.8-3.3c-5.6-2.2-10.5-5.4-14.7-9.8c-4.2-4.3-7.6-9.7-10-16.2 c-2.5-6.5-3.7-13.9-3.7-22.4c0-8.5,1.2-15.9,3.7-22.3c2.5-6.4,5.8-11.8,10-16.1c4.2-4.3,9.1-7.6,14.7-9.8 c5.6-2.2,11.5-3.3,17.8-3.3c6.3,0,12.2,1.1,17.8,3.3c5.6,2.2,10.5,5.4,14.7,9.8c4.2,4.3,7.6,9.7,10,16.1 C263.5,43.5,264.8,51,264.8,59.4L264.8,59.4z M254.5,59.4c0-6.6-0.9-12.6-2.6-17.9c-1.7-5.3-4.1-9.8-7.3-13.5 c-3.1-3.7-6.9-6.5-11.3-8.5c-4.4-1.9-9.4-2.9-14.9-2.9c-5.5,0-10.5,1-14.9,2.9c-4.4,1.9-8.2,4.8-11.3,8.5 c-3.1,3.7-5.6,8.2-7.3,13.5c-1.7,5.3-2.6,11.2-2.6,17.9c0,6.7,0.9,12.6,2.6,17.9c1.7,5.3,4.1,9.8,7.3,13.5 c3.1,3.7,6.9,6.6,11.3,8.5c4.4,2,9.4,3,14.9,3c5.5,0,10.5-1,14.9-3c4.4-2,8.2-4.8,11.3-8.5c3.1-3.7,5.6-8.2,7.3-13.5 C253.6,72,254.5,66.1,254.5,59.4L254.5,59.4z"}),(0,r.jsx)("path",{d:"M289.7,135.2h-9.3V37.8c2.8-0.9,6.3-1.9,10.5-2.7c4.3-0.9,9.7-1.3,16.2-1.3c5.4,0,10.3,0.9,14.7,2.6 c4.4,1.8,8.2,4.3,11.4,7.6c3.2,3.3,5.6,7.4,7.4,12.1c1.8,4.7,2.6,10.1,2.6,16.1c0,5.6-0.7,10.8-2.2,15.5 c-1.5,4.7-3.6,8.7-6.5,12.1c-2.8,3.4-6.3,6-10.5,7.9c-4.1,1.9-8.9,2.8-14.2,2.8c-4.8,0-9-0.7-12.6-2.1c-3.6-1.4-6.2-2.7-7.8-3.9 V135.2z M289.7,95.6c0.9,0.7,1.9,1.4,3.2,2.1c1.3,0.8,2.8,1.5,4.5,2.1c1.7,0.7,3.6,1.2,5.6,1.6c2,0.4,4.1,0.6,6.3,0.6 c4.6,0,8.4-0.8,11.5-2.4c3.1-1.6,5.6-3.7,7.5-6.4c1.9-2.7,3.3-5.9,4.1-9.5c0.9-3.7,1.3-7.5,1.3-11.6c0-9.7-2.4-17.1-7.3-22.3 c-4.8-5.2-11.3-7.8-19.2-7.8c-4.6,0-8.2,0.2-11,0.6c-2.8,0.4-4.9,0.9-6.3,1.4V95.6z"}),(0,r.jsx)("path",{d:"M353.7,72c0-6.5,0.9-12.1,2.8-16.9c1.9-4.8,4.3-8.8,7.3-12c3-3.2,6.4-5.6,10.3-7.2c3.8-1.6,7.8-2.4,11.9-2.4 c9,0,16.2,2.9,21.6,8.8c5.4,5.9,8.1,15,8.1,27.2c0,0.8,0,1.5-0.1,2.3c0,0.8-0.1,1.5-0.2,2.1h-51.7c0.3,9,2.5,16,6.7,20.8 c4.2,4.8,10.8,7.3,19.9,7.3c5,0,9-0.5,12-1.4c2.9-0.9,5.1-1.8,6.4-2.4l1.7,8c-1.3,0.8-3.8,1.7-7.5,2.7c-3.7,1-8,1.6-12.9,1.6 c-6.5,0-12-1-16.5-2.9c-4.6-1.9-8.3-4.6-11.3-8c-2.9-3.4-5.1-7.5-6.4-12.2C354.3,82.7,353.7,77.6,353.7,72L353.7,72z M406,66.1 c-0.2-7.7-2-13.7-5.4-18c-3.4-4.3-8.3-6.4-14.5-6.4c-3.3,0-6.3,0.7-8.9,2c-2.6,1.3-4.9,3.1-6.8,5.3c-1.9,2.2-3.5,4.8-4.6,7.8 c-1.1,2.9-1.7,6-1.9,9.3H406z"}),(0,r.jsx)("path",{d:"M430.7,37.8c2.8-0.8,6.5-1.6,11.1-2.6c4.7-0.9,10.4-1.4,17.1-1.4c5.6,0,10.3,0.8,14,2.4 c3.8,1.6,6.7,3.9,9,6.9c2.2,3,3.8,6.6,4.8,10.8c0.9,4.2,1.4,8.8,1.4,13.8v41.2h-9.3V70.7c0-5.2-0.4-9.6-1.1-13.3 c-0.7-3.6-1.9-6.6-3.6-8.8c-1.7-2.3-3.8-3.9-6.6-4.9c-2.7-1-6.1-1.5-10.2-1.5c-4.4,0-8.1,0.2-11.3,0.7c-3.2,0.5-5.3,0.9-6.2,1.3 v64.7h-9.3V37.8z"})]}),(0,r.jsxs)("g",{fill:"#4AB7A8",fillRule:"nonzero",id:"pix",children:[(0,r.jsx)("path",{d:"M532.1,19.1c12.8,0,22.3,2.4,28.5,7.3c6.3,4.9,9.4,11.8,9.4,20.7c0,5.1-0.9,9.5-2.7,13.1 c-1.8,3.6-4.4,6.5-7.8,8.7c-3.4,2.2-7.5,3.8-12.4,4.8c-4.9,1-10.4,1.5-16.6,1.5h-12.2v34.9h-8.9V21.6c3.1-0.9,6.8-1.5,11-1.9 C524.6,19.3,528.5,19.1,532.1,19.1z M532.5,26.8c-3.3,0-6.1,0.1-8.4,0.3c-2.3,0.2-4.3,0.4-5.9,0.6v39.9h11.2 c4.8,0,9.1-0.3,13-0.8c3.9-0.6,7.2-1.6,9.9-3.1c2.7-1.5,4.8-3.6,6.3-6.3c1.5-2.7,2.2-6.1,2.2-10.3c0-4-0.8-7.3-2.4-9.9 c-1.6-2.6-3.7-4.7-6.4-6.2c-2.6-1.5-5.7-2.6-9.1-3.2C539.6,27.1,536.1,26.8,532.5,26.8z"}),(0,r.jsx)("path",{d:"M599,22.5c0,2-0.6,3.6-1.8,4.8c-1.2,1.2-2.7,1.8-4.4,1.8c-1.7,0-3.2-0.6-4.4-1.8c-1.2-1.2-1.8-2.8-1.8-4.8 c0-2,0.6-3.6,1.8-4.8c1.2-1.2,2.7-1.8,4.4-1.8c1.7,0,3.2,0.6,4.4,1.8C598.3,19,599,20.5,599,22.5z M597,110.2h-8.5V42.9h8.5 V110.2z"}),(0,r.jsx)("path",{d:"M643,81.7c-1.9,2.3-3.8,4.7-5.7,7.2c-1.9,2.5-3.7,5-5.5,7.4c-1.8,2.4-3.4,4.9-4.9,7.4 c-1.5,2.5-2.7,4.7-3.7,6.6h-8.8c3.6-6.6,7.5-12.8,11.6-18.4c4.1-5.6,8.2-11.1,12.5-16.5l-22.8-32.4h9.9l17.6,25.5l17.6-25.5h9.2 l-22.3,32c1.9,2.4,3.9,4.9,6.1,7.7c2.2,2.8,4.3,5.7,6.5,8.7c2.2,3,4.2,6.1,6.3,9.3c2,3.2,3.9,6.4,5.6,9.6h-9.1 c-1-1.9-2.3-4-3.8-6.3c-1.5-2.3-3.1-4.7-4.9-7.2c-1.8-2.5-3.7-5-5.6-7.6C646.8,86.5,644.9,84,643,81.7z"})]}),(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{fill:"#1F6D61",d:"M134.8,93.9c-0.8-1.2-1.9-2.2-3.3-3l-11.4-6.2l-7.9-4.3l-7.9,4.3l7.9,4.3l9.9,5.4c2.9,1.6,2.9,5.1,0,6.7 l-43.8,24c-3.5,1.9-8.2,1.9-11.7,0l-43.8-24.1c-2.9-1.6-2.9-5.1,0-6.7l9.8-5.4l7.9-4.3l-7.9-4.3l-7.9,4.3l-11.4,6.2 c-2.8,1.6-4.5,4.1-4.5,6.9c0,1.4,0.4,2.7,1.2,3.8c0.8,1.2,1.9,2.2,3.3,3l53.3,29.2c3.5,1.9,8.2,1.9,11.7,0l53.2-29.2 c2.8-1.6,4.5-4.1,4.5-6.9C136,96.4,135.6,95.1,134.8,93.9z"}),(0,r.jsx)("path",{fill:"#308E83",d:"M134.8,67.7c-0.8-1.2-1.9-2.2-3.3-3l-11.4-6.2l-7.9-4.3l-7.9,4.3l7.9,4.3l9.9,5.4c2.9,1.6,2.9,5.1,0,6.7 l-9.8,5.4l-7.9,4.3L78.3,99c-3.5,1.9-8.2,1.9-11.7,0L40.5,84.7l-7.9-4.3l-9.9-5.4c-2.9-1.6-2.9-5.1,0-6.7l9.8-5.4l7.9-4.3 l-7.9-4.3l-7.9,4.3l-11.4,6.2c-2.8,1.6-4.5,4.1-4.5,6.9c0,1.4,0.4,2.7,1.2,3.9c0.8,1.2,1.9,2.2,3.3,3l11.4,6.2l7.9,4.3l34,18.6 c3.5,1.9,8.2,1.9,11.7,0L112.2,89l7.9-4.3l11.4-6.2c2.8-1.6,4.5-4.1,4.5-6.9C136,70.2,135.6,68.9,134.8,67.7z"}),(0,r.jsx)("path",{fill:"#4AB7A8",d:"M134.8,41.6c-0.8-1.2-1.9-2.2-3.3-3L78.3,9.5c-3.5-1.9-8.2-1.9-11.7,0L13.3,38.6c-2.8,1.6-4.5,4.1-4.5,6.9 c0,1.4,0.4,2.7,1.2,3.8c0.8,1.2,1.9,2.2,3.3,3l11.4,6.2l7.9,4.3l34,18.6c3.5,1.9,8.2,1.9,11.7,0l33.9-18.6l7.9-4.3l11.4-6.2 c2.8-1.6,4.5-4.1,4.5-6.9C136,44.1,135.6,42.8,134.8,41.6z M122.1,48.8l-9.8,5.4l-7.9,4.3l-26,14.3c-3.5,1.9-8.2,1.9-11.7,0 L40.5,58.5l-7.9-4.3l-9.9-5.4c-2.9-1.6-2.9-5.1,0-6.7l43.8-24c3.5-1.9,8.2-1.9,11.7,0l43.8,24.1C125,43.8,125,47.2,122.1,48.8z"}),(0,r.jsxs)("g",{fill:"#1F6D61",children:[(0,r.jsx)("path",{d:"M65.8,44.1c-3.3-2-6.6-3.9-9.9-5.9c-1.2-0.7-2.4-1.1-3.8-1c-0.8-0.1-1.5,0.1-2.2,0.5 c-3.7,2.2-7.5,4.4-11.3,6.7c-1.4,0.8-1.4,2,0,2.8c3.7,2.1,7.4,4.1,11.1,6.3c2.2,1.3,4.4,1.1,6.6,0c3.2-1.8,6.3-3.7,9.5-5.5 C67.6,46.9,67.6,45.2,65.8,44.1z M58.4,46.4l-5.6,3.1c-0.2,0.1-0.5,0.1-0.8,0l-5.6-3.2c-0.5-0.3-0.5-1.1,0-1.4l5.7-3.2 c0.2-0.1,0.6-0.1,0.8,0l5.5,3.2C58.9,45.4,58.9,46.1,58.4,46.4z"}),(0,r.jsx)("path",{d:"M86.3,56.4L74.1,49c-0.8-0.5-1.7-0.5-2.5,0L59,56.2c-0.9,0.5-0.9,1.8,0,2.3l11.3,6.6c1.5,0.8,3.2,0.8,4.7,0 l11.3-6.5C87.2,58.2,87.2,56.9,86.3,56.4z M78.9,58l-6,3.4c-0.2,0.1-0.4,0.1-0.6,0l-6-3.5c-0.4-0.2-0.4-0.8,0-1.1l5.8-3.3 c0.4-0.2,0.8-0.2,1.1,0L79,57C79.4,57.2,79.4,57.8,78.9,58z"}),(0,r.jsx)("path",{d:"M86.6,33.1l-12.3-7.9c-0.8-0.5-1.8-0.5-2.6,0L59,32.3c-1.2,0.7-1.4,2.6-0.2,3.3l11.9,7c1.2,0.7,2.8,0.7,4,0 l11.8-6.4C87.7,35.5,87.7,33.8,86.6,33.1z M78.6,34.9l-5,2.7c-0.5,0.3-1.2,0.3-1.7,0l-5.1-3c-0.5-0.3-0.4-1.1,0.1-1.4l5.4-3 c0.3-0.2,0.8-0.2,1.1,0l5.3,3.4C79.1,33.9,79.1,34.6,78.6,34.9z"}),(0,r.jsx)("path",{d:"M87.1,52.3l3.5,2.2c0.9,0.7,2.1,0.7,3.1,0.1l3.3-2c0.8-0.5,0.8-1.6,0-2.1l-4-2.5c-0.4-0.2-0.8-0.2-1.2,0 l-4.7,2.6C86.6,50.9,86.5,51.8,87.1,52.3z"}),(0,r.jsx)("path",{d:"M96.7,46.7l3.4,2.2c0.9,0.6,2.1,0.6,3,0.1l3.6-2.2c0.5-0.3,0.6-1.1,0-1.5l-3.7-2.3c-0.7-0.5-1.7-0.5-2.4,0 l-3.8,2.2C96.2,45.5,96.1,46.3,96.7,46.7z"}),(0,r.jsx)("path",{d:"M87.6,41l4.2,2.9c0.7,0.5,1.5,0.5,2.2,0l4.3-2.8c0.4-0.3,0.4-0.8,0-1.1l-4.5-2.8c-0.6-0.4-1.3-0.4-1.9,0 l-4.3,2.6C87.2,40.2,87.2,40.7,87.6,41z"})]})]})]})}),(0,r.jsxs)("h4",{className:"text-lg font-bold text-align",children:["Pague ",(l=null==f?void 0:f.value)?new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(l/100):"[Without Value]"," para Teste via Pix"]}),(0,r.jsx)("h5",{className:"text-md font-normal text-align text-muted text-zinc-400",children:"Insira seus dados para continuar"}),(0,r.jsxs)("form",{id:"checkout",className:"flex flex-col gap-4",children:[(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("input",{required:!0,type:"text",id:"taxID",name:"taxID",className:"peer text-xs text-zinc-950 px-4 py-5 w-full border border-zinc-200 appearance-none focus:outline-none focus:ring-0 rounded-md",placeholder:""}),(0,r.jsx)("label",{htmlFor:"taxID",className:"absolute text-sm text-zinc-400 duration-300 transform -translate-y-4 scale-75 top-2 z-10 origin-[0] bg-white px-2 peer-focus:px-2 peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:scale-75 peer-focus:-translate-y-4 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto start-1",children:"CPF ou CNPJ"})]}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("input",{required:!0,type:"text",id:"name",name:"name",className:"peer text-xs text-zinc-950 px-4 py-5 w-full border border-zinc-200 appearance-none focus:outline-none focus:ring-0 rounded-md",placeholder:""}),(0,r.jsx)("label",{htmlFor:"name",className:"absolute text-sm text-zinc-400 duration-300 transform -translate-y-4 scale-75 top-2 z-10 origin-[0] bg-white px-2 peer-focus:px-2 peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:scale-75 peer-focus:-translate-y-4 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto start-1",children:"Nome"})]}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("input",{required:!0,type:"text",id:"email",name:"email",className:"peer text-xs text-zinc-950 px-4 py-5 w-full border border-zinc-200 appearance-none focus:outline-none focus:ring-0 rounded-md",placeholder:""}),(0,r.jsx)("label",{htmlFor:"email",className:"absolute text-sm text-zinc-400 duration-300 transform -translate-y-4 scale-75 top-2 z-10 origin-[0] bg-white px-2 peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:scale-75 peer-focus:-translate-y-4 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto start-1",children:"Email"})]}),(0,r.jsx)("div",{className:"relative",children:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsxs)("button",{id:"dropdown-phone-button","data-dropdown-toggle":"dropdown-phone",className:"flex-shrink-0 z-10 inline-flex items-center px-4 py-5 text-sm font-medium text-center text-gray-900 rounded border border-gray-300 border-r-0 rounded-ee-none rounded-se-none",type:"button",children:[(0,r.jsxs)("svg",{className:"h-4 w-4 me-2",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64",viewBox:"0 0 64 64",children:[(0,r.jsx)("path",{fill:"#128807",d:"M64 43c0 6.075-3.373 11-10 11H10C3.373 54 0 49.075 0 43V21c0-6.075 3.373-11 10-11h44c6.627 0 10 4.925 10 11z"}),(0,r.jsx)("path",{fill:"#f9cb38",d:"M57.14 32.79L32.15 50.35L7.159 32.79L32.15 15.23z"}),(0,r.jsxs)("g",{fillRule:"evenodd",children:[(0,r.jsx)("path",{fill:"#002776",d:"M42.01 35.848c-1.138 3.867-4.699 6.811-8.731 7.211c-5.387.539-10.1-2.885-11.246-8.178a9.84 9.84 0 0 1 .126-4.705c.157-.17.374-.211.59-.241a25 25 0 0 1 4.757-.207c1.695.096 3.376.331 5.01.793c1.677.475 3.301 1.095 4.834 1.919a24 24 0 0 1 3.295 2.11c.352.273.711.541 1.049.832c.151.13.269.27.315.466"}),(0,r.jsx)("path",{fill:"#002776",d:"M22.724 28.611c1.291-2.885 3.468-4.806 6.477-5.708c6.06-1.817 12.277 2.188 13.178 8.434c.14.965.146 1.933-.002 2.9c-.153.057-.267-.024-.372-.111a25.3 25.3 0 0 0-3.503-2.402a23 23 0 0 0-2.952-1.408c-.18-.071-.406-.108-.468-.349c.065-.116.147-.217.245-.311c.035-.036.086-.071.039-.131c-.016-.019-.049-.019-.077-.016c-.075.008-.065.06-.062.115c.006.179-.098.294-.235.386c-.243.055-.476-.018-.673-.123c-.564-.296-1.188-.397-1.785-.562c-.931-.253-1.887-.396-2.841-.545a26 26 0 0 0-2.297-.262c-.7-.049-1.413-.042-2.118.006c-.769.054-1.54.108-2.305.2a.25.25 0 0 1-.249-.113"}),(0,r.jsx)("path",{fill:"#fefefe",d:"M35.09 29.905c-.004.122.105.106.171.132a25.5 25.5 0 0 1 7.11 4.2a7.5 7.5 0 0 1-.362 1.611c-1.251-1.038-2.532-2.027-3.949-2.835c-4.479-2.551-9.275-3.562-14.402-3.02c-.5.051-1 .119-1.5.18c.129-.541.293-1.072.562-1.564c3.743-.505 7.421-.218 11.03.899c.448.139.875.363 1.353.405l-.013-.011"}),(0,r.jsx)("path",{fill:"#d9dfea",d:"M39.75 36.35c-.301-.032.026.337-.278.329c-.265-.004-.279-.216-.409-.334c.1-.104.277-.125.333-.287c.038.171.199.207.354.292"}),(0,r.jsx)("path",{fill:"#e9ecf3",d:"M28.394 38.2c-.283.033-.046.341-.283.346c-.239.005-.362-.172-.41-.355c-.017-.052.213-.168.326-.254c.014.181.202.173.367.263"}),(0,r.jsx)("path",{fill:"#edeff5",d:"M32.14 37.643c-.393.254-.076-.32-.307-.264c.075-.12.287-.092.301-.276c.1.104.185.224.344.246c-.227-.031.02.473-.338.294"}),(0,r.jsx)("path",{fill:"#f0f2f6",d:"M24.02 30.905c-.094.179-.165.379-.45.259c-.146-.061.01-.261-.165-.28l.324-.285l.07.139c.026.119.263-.039.221.167"}),(0,r.jsx)("path",{fill:"#eceff4",d:"M24.927 35.25c-.149.047-.042.439-.362.268c-.032-.016-.172.061-.146.016c.084-.164-.104-.244-.075-.375c.175.076.165-.244.344-.158c.013.01.013.05.022.076c.019.124.261-.031.217.173"}),(0,r.jsx)("path",{fill:"#d9dfea",d:"M23.354 36.408c-.307.107-.078-.264-.254-.261c.082-.069.174-.198.256-.193c.098.005.188.126.278.195c-.134.045.007.408-.28.259"}),(0,r.jsx)("path",{fill:"#d8deea",d:"M35.22 39.947c-.325.148-.009-.289-.226-.232c-.022-.167.249-.066.215-.242l.293.235c-.119.054 0 .394-.282.239"}),(0,r.jsx)("path",{fill:"#dce1ec",d:"M37.3 39.706c-.269.112-.104-.25-.249-.286c.098-.063.201-.13.297-.195c.008.148.211.094.233.225c-.151.009.006.335-.281.256m1.87-1.346c-.306.155-.08-.252-.255-.235c.035-.13.236-.081.248-.231l.287.215c-.175-.005.04.424-.28.251"}),(0,r.jsx)("path",{fill:"#d4dae7",d:"M26.783 36.493c-.32.181-.111-.224-.259-.232c.015-.149.241-.085.251-.243c.03.146.224.104.266.235c-.191-.028.081.431-.258.24"}),(0,r.jsx)("path",{fill:"#f2f4f7",d:"M28.08 33.455c-.181-.012.051-.297-.171-.279c.038-.16.209-.127.303-.21c.048.101.184.124.191.269c.016.265-.219.128-.323.22"}),(0,r.jsx)("path",{fill:"#e6e9f1",d:"M33.35 35.567c-.277.159-.131-.196-.259-.235l.259-.219c.006.148.289.115.209.229c-.048.068.107.379-.209.225"}),(0,r.jsx)("path",{fill:"#eaedf3",d:"M32.11 34.676c-.316.032.01-.255-.195-.248c.08-.075.157-.203.247-.211c.078-.008.168.119.253.189c-.111.107-.094.383-.305.27"}),(0,r.jsx)("path",{fill:"#e4e8f0",d:"M39.782 37.01c.065.172.193.195.293.256c-.102.115-.142.291-.354.291c-.217.002-.07-.163-.119-.24c-.121-.192.326-.03.18-.307"}),(0,r.jsx)("path",{fill:"#ced5e4",d:"M37.518 40.494c-.076.113-.024.221-.226.225c-.231.004-.157-.165-.167-.217c-.019-.086.113-.168.189-.151c.066.012.194.049.204.143"}),(0,r.jsx)("path",{fill:"#dae0eb",d:"M26.714 37.29c-.165.019-.028.235-.237.228c-.191-.006-.163-.135-.184-.213c-.033-.109.128-.106.164-.188c.076.053.153.106.257.173"}),(0,r.jsx)("path",{fill:"#d8dee9",d:"M37.07 38.432q.106-.078.217-.152c.006.111.245.047.165.189c-.033.057.048.213-.159.199c-.186-.013-.142-.143-.223-.236"}),(0,r.jsx)("path",{fill:"#cbd2e3",d:"M36.31 38.775c-.036.197-.148.229-.271.252c-.209.035-.052-.122-.086-.182c-.088-.15.134-.121.16-.219c.058.076.191.074.197.149"}),(0,r.jsx)("path",{fill:"#d1d8e6",d:"M35.14 32.29c-.07.033.023.2-.127.152c-.114-.039-.254-.093-.244-.233c.004-.054.14-.099.216-.146c.013.101.229.068.155.227"}),(0,r.jsx)("path",{fill:"#dadfea",d:"M40.799 36.676c-.188.074-.103-.081-.136-.126c-.126-.171.123-.146.136-.248c.077.051.227.109.221.153a.24.24 0 0 1-.221.221"}),(0,r.jsx)("path",{fill:"#cad2e2",d:"M31.13 35.15c0 .116.234.07.155.215c-.032.059.036.217-.126.184c-.123-.025-.247-.097-.251-.219c0-.057.142-.118.222-.18"}),(0,r.jsx)("path",{fill:"#d0d7e5",d:"M34.33 38.768c-.092-.043-.096-.164-.09-.222c.01-.077.113-.181.201-.139c.054.026.207.011.17.151c-.034.134-.168.153-.281.21"}),(0,r.jsx)("path",{fill:"#eff2f6",d:"M38.2 38.592c.004-.001.074-.098.153-.1c.057-.002.115.116.176.182c-.082.023-.012.174-.174.172c-.146-.003-.146-.069-.155-.254"}),(0,r.jsx)("path",{fill:"#ccd4e3",d:"M31.766 36.06c-.027.108-.027.175-.123.173c-.098-.002-.146-.038-.144-.138c0-.079.052-.134.111-.129c.068.005.165.024.156.094"}),(0,r.jsx)("path",{fill:"#e0e5ee",d:"M25.634 34.504c.048.052.103.093.124.146c.018.044-.01.111-.072.118c-.069.006-.143.004-.165-.082c-.02-.084.053-.114.113-.182"}),(0,r.jsx)("path",{fill:"#7085b1",d:"M24.927 35.25c-.027-.115-.205-.042-.217-.174c.038.1.335-.123.217.174"}),(0,r.jsx)("path",{fill:"#5c75a7",d:"M24.02 30.905c-.022-.123-.211-.026-.221-.167c.053.084.321-.115.221.167"}),(0,r.jsx)("path",{fill:"#e7eaf2",d:"M35.11 29.916c.019-.076.08-.2.056-.223c-.326-.29.109-.339.174-.398c.119-.115.1.37.414.063c-.169.375-.395.483-.655.547z"}),(0,r.jsx)("path",{fill:"#15a24a",d:"M25.471 29.605c-.318-.031-.035-.445-.104-.685c-.086-.31.14-.306.36-.307c.341-.002.534.142.534.502c-.001.354-.165.494-.79.49"}),(0,r.jsx)("path",{fill:"#13a248",d:"M37.621 31.603c-.07.214-.329.348-.373.612c-.004.035-.104.028-.123-.074c-.08-.478-.084-.477-.437-.221c-.028.021-.077.04-.104.031c-.052-.023-.073-.075-.042-.134c.117-.228.227-.462.358-.683c.088-.146.195-.024.281.018c.189.093.422.146.44.451"}),(0,r.jsx)("path",{fill:"#11a147",d:"M38.516 32.381c-.184.074-.273-.065-.391-.115c-.08-.034-.155-.066-.209.023c-.059.094 0 .148.081.19c.062.031.128.055.174.104c.081.085.335.062.232.243c-.081.144-.217-.024-.307-.077c-.155-.095-.462-.147-.429-.312c.051-.265.202-.553.403-.735c.161-.146.339.13.52.199c.078.029.211.055.188.178c-.022.127-.116.053-.188.036c-.169-.039-.333-.325-.466-.127c-.08.118.249.167.353.297c.016.019.02.045.039.096m2.155 1.414c.03.234-.065.393-.31.353c-.254-.042-.447-.197-.491-.475c-.004-.028.03-.085.058-.093a.116.116 0 0 1 .151.094c.032.191.132.276.333.28c.039-.313-.526-.456-.201-.781c.163-.163.362-.028.504.103c.131.119.291.25.052.42c-.034-.018-.08-.047-.105-.027c-.051.034-.001.083.009.126"}),(0,r.jsx)("path",{fill:"#0fa046",d:"M33.764 30.817c-.119-.067-.113-.131-.094-.201c.038-.149-.039-.227-.175-.269c-.136-.044-.241-.038-.278.132c-.013.076-.053.129-.136.101c-.096-.035-.048-.113-.03-.17c.038-.131.072-.263.132-.388c.054-.125.016-.354.213-.339c.209.015.435.065.594.238c.071.076.1.207.042.264c-.169.174-.155.42-.268.632"}),(0,r.jsx)("path",{fill:"#0b9f43",d:"M27.593 29.544c-.323.122-.578.051-.827.056c-.113.003-.123-.082-.123-.168q.01-.143.008-.286c.012-.527.199-.662.717-.515c.058.016.113.026.117.091c0 .09-.065.106-.145.104q-.017-.004-.038-.003c-.155.038-.433-.137-.438.095c-.006.178.297.052.452.112q.031.015.08.054c-.098.177-.261.078-.387.099c-.075.012-.173-.021-.184.101c-.014.144.086.137.184.147c.167.02.348-.043.584.113"}),(0,r.jsx)("path",{fill:"#079d3f",d:"M24.938 29.62c-.174-.038-.15-.138-.18-.208c-.052-.129-.155-.129-.268-.12c-.129.012-.199.062-.188.205c.008.07.036.183-.094.167c-.112-.014-.08-.123-.086-.197c-.01-.121-.022-.245-.01-.365c.016-.134-.112-.339.081-.387c.199-.052.429-.089.636.01c.09.043.161.148.128.233c-.076.214-.016.431-.019.662"}),(0,r.jsx)("path",{fill:"#15a24a",d:"M22.827 29.28c.032-.271.151-.491.448-.481c.285.009.437.207.437.492c0 .283-.132.478-.433.476c-.306-.002-.41-.224-.452-.487"}),(0,r.jsx)("path",{fill:"#11a147",d:"M41.864 34.36c-.028.269-.161.472-.468.499c-.283.023-.433-.139-.455-.405c-.025-.269.239-.526.508-.524c.236.002.409.173.415.43"}),(0,r.jsx)("path",{fill:"#0c9f43",d:"M36.25 31.23c.226.182-.048.302-.058.455c-.188-.087-.423-.052-.575-.217c-.162-.176-.132-.375-.026-.569c.117-.205.297-.293.518-.215c.202.072.353.208.255.464c-.155.028-.282-.176-.5-.039c.145.067.319-.026.386.121"}),(0,r.jsx)("path",{fill:"#19a44d",d:"M30.81 29.17c-.132.155-.229.095-.32.097c-.088 0-.182-.073-.291.018c.098.16.335.057.427.216c-.013.023-.019.054-.036.07c-.132.104-.343-.148-.425.06c-.075.179.122.117.207.147c.096.038.215.024.331.154c-.269.118-.59.063-.701-.067c-.175-.205-.052-.569.081-.751c.157-.215.444-.005.727.056"}),(0,r.jsx)("path",{fill:"#0d9f44",d:"M32.515 30.04c-.227-.024-.485-.184-.55.19c-.002.012-.081.029-.105.013c-.027-.015-.042-.071-.037-.103c.059-.237.089-.491.194-.704c.122-.24.329-.037.5-.014c.204.027.317.151.295.366c-.02.185-.16.235-.297.252"}),(0,r.jsx)("path",{fill:"#0fa046",d:"M35.22 30.613c-.022.301-.17.509-.471.518c-.269.01-.42-.179-.414-.447c.008-.29.149-.5.462-.509c.287-.01.398.183.423.438"}),(0,r.jsx)("path",{fill:"#0ea044",d:"M28.479 29.527c-.033.071-.06.172-.155.149c-.165-.039-.091-.198-.131-.302c-.122-.119-.09.045-.128.075c-.014.074.02.187-.08.202c-.123.015-.094-.103-.091-.173c.01-.146.012-.299.052-.439c.035-.12-.092-.341.147-.343c.211-.001.165.214.192.343c.028.148.043.211.164.064c.125-.033.151.058.18.146c.016.128-.041.217-.15.278"}),(0,r.jsx)("path",{fill:"#10a146",d:"M39.13 33.2c.074 0 .149.098.221.014c.055-.063.006-.125-.043-.176q-.056-.057-.108-.118c-.102-.123-.245-.241-.104-.419c.128-.163.277-.123.425-.02c.027.052.018.102-.01.149c-.109.171.094.275.09.421c.031.137.051.275-.1.354c-.188.1-.333.008-.471-.112c-.015-.079.014-.118.1-.093"}),(0,r.jsx)("path",{fill:"#ecf7f0",d:"M36.25 31.23c-.077.054-.232-.121-.227.011c.01.234-.107.213-.216.144c-.147-.091-.155-.247-.062-.391c.09-.141.217-.223.371-.108c.094.069.165.173.246.262z"}),(0,r.jsx)("path",{fill:"#17a34c",d:"M28.545 29.29a2 2 0 0 0-.096-.181c.035-.089.067-.179.109-.265c.038-.081.104-.126.197-.096c.104.035.096.115.09.199q-.033.367-.061.734c-.146.093-.183.008-.207-.118c-.018-.091.029-.189-.032-.273"}),(0,r.jsx)("path",{fill:"#d7efe0",d:"M39.604 33.05c-.09-.092-.186-.179-.27-.277c-.098-.116-.06-.187.086-.206c.211.047.34.149.278.391q-.044.046-.094.092"}),(0,r.jsx)("path",{fill:"#2bab5b",d:"M39.698 32.958c-.097-.126-.123-.306-.278-.391l.104-.087c.168.119.475.187.174.478"}),(0,r.jsx)("path",{fill:"#e6f5ec",d:"M40.671 33.795c-.013-.008-.03-.012-.036-.023c-.08-.148-.345-.281-.255-.412c.113-.158.231.029.293.164c.028.057.062.113.094.172q-.05.05-.096.099"}),(0,r.jsx)("path",{fill:"#29aa59",d:"M39.13 33.2q-.046.047-.1.094c-.042-.03-.1-.051-.127-.094c-.051-.097-.197-.226-.028-.302c.142-.068.142.113.188.201c.019.037.043.068.067.101"}),(0,r.jsx)("path",{fill:"#ddf1e4",d:"M28.545 29.29c.146.057.069.179.071.27c.008.125.052.167.169.123c-.244.236-.213-.079-.307-.149c.025-.083.044-.164.067-.244"}),(0,r.jsx)("path",{fill:"#6fc690",d:"M28.06 29.45v-.322c.138.044.142.141.128.247z"}),(0,r.jsx)("path",{fill:"#f5fbf7",d:"M25.568 29.12c.014-.146-.056-.336.193-.32c.182.011.314.084.324.292c.01.224-.121.315-.328.33c-.263.021-.156-.186-.189-.302"}),(0,r.jsx)("path",{fill:"#eff8f3",d:"M37.1 31.32c.104.057.263.068.297.222c.017.08-.052.133-.123.11c-.132-.04-.307-.042-.325-.228c-.005-.054.053-.122.151-.104"}),(0,r.jsx)("path",{fill:"#def2e5",d:"M33.857 30.09c-.027.104-.1.14-.184.109c-.113-.041-.295.004-.297-.194c-.004-.103.066-.134.16-.103c.124.04.274.035.321.188"}),(0,r.jsx)("path",{fill:"#f3faf5",d:"M24.515 28.859c.098.012.253-.04.243.127c-.01.146-.158.123-.264.125c-.085.003-.207.047-.215-.106c-.006-.182.136-.125.236-.146"}),(0,r.jsx)("path",{fill:"#f3faf6",d:"M23.25 28.998c.181.012.271.12.278.29c.01.152-.065.282-.221.296c-.18.017-.261-.12-.271-.287c-.01-.154.05-.266.214-.299"}),(0,r.jsx)("path",{fill:"#f9fcfa",d:"M41.665 34.395c-.026.166-.126.283-.319.283c-.155-.002-.213-.115-.197-.252c.015-.186.126-.306.315-.303c.149.004.207.111.201.272"}),(0,r.jsx)("path",{fill:"#e7f5ec",d:"M32.28 29.548c.101.062.304-.002.333.198c.009.076-.075.115-.142.1c-.131-.029-.314.018-.33-.193c-.003-.065.026-.135.139-.105"}),(0,r.jsx)("path",{fill:"#f5fbf7",d:"M35.02 30.637c-.019.173-.104.294-.279.294c-.172.002-.233-.118-.225-.276c.014-.174.113-.29.282-.297c.168-.006.222.128.222.279"})]})]}),"+55"," ",(0,r.jsx)("svg",{className:"w-2.5 h-2.5 ms-2.5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 10 6",children:(0,r.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",inejoin:"round",strokeWidth:"2",d:"m1 1 4 4 4-4"})})]}),(0,r.jsx)("div",{id:"dropdown-phone",className:"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow w-52 dark:bg-gray-700",children:(0,r.jsxs)("ul",{className:"py-2 text-sm text-gray-700 dark:text-gray-200","aria-labelledby":"dropdown-phone-button",children:[(0,r.jsx)("li",{children:(0,r.jsx)("button",{type:"button",className:"inline-flex w-full px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white",role:"menuitem",children:(0,r.jsxs)("span",{className:"inline-flex items-center",children:[(0,r.jsxs)("svg",{fill:"none","aria-hidden":"true",className:"h-4 w-4 me-2",viewBox:"0 0 20 15",children:[(0,r.jsx)("rect",{width:"19.6",height:"14",y:".5",fill:"#fff",rx:"2"}),(0,r.jsx)("mask",{id:"a",style:{maskType:"luminance"},width:"20",height:"15",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:(0,r.jsx)("rect",{width:"19.6",height:"14",y:".5",fill:"#fff",rx:"2"})}),(0,r.jsxs)("g",{mask:"url(#a)",children:[(0,r.jsx)("path",{fill:"#D02F44",fillRule:"evenodd",d:"M19.6.5H0v.933h19.6V.5zm0 1.867H0V3.3h19.6v-.933zM0 4.233h19.6v.934H0v-.934zM19.6 6.1H0v.933h19.6V6.1zM0 7.967h19.6V8.9H0v-.933zm19.6 1.866H0v.934h19.6v-.934zM0 11.7h19.6v.933H0V11.7zm19.6 1.867H0v.933h19.6v-.933z",clipRule:"evenodd"}),(0,r.jsx)("path",{fill:"#46467F",d:"M0 .5h8.4v6.533H0z"}),(0,r.jsx)("g",{filter:"url(#filter0_d_343_121520)",children:(0,r.jsx)("path",{fill:"url(#paint0_linear_343_121520)",fillRule:"evenodd",d:"M1.867 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.866 0a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM7.467 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zM2.333 3.3a.467.467 0 100-.933.467.467 0 000 .933zm2.334-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.4.467a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm-2.334.466a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.466a.467.467 0 11-.933 0 .467.467 0 01.933 0zM1.4 4.233a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM6.533 4.7a.467.467 0 11-.933 0 .467.467 0 01.933 0zM7 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zM3.267 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0z",clipRule:"evenodd"})})]}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_343_121520",x1:".933",x2:".933",y1:"1.433",y2:"6.1",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#fff"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F0F0F0"})]}),(0,r.jsxs)("filter",{id:"filter0_d_343_121520",width:"6.533",height:"5.667",x:".933",y:"1.433",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,r.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,r.jsx)("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),(0,r.jsx)("feOffset",{dy:"1"}),(0,r.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0"}),(0,r.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_343_121520"}),(0,r.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_343_121520",result:"shape"})]})]})]}),"United States (+1)"]})})}),(0,r.jsx)("li",{children:(0,r.jsx)("button",{type:"button",className:"inline-flex w-full px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white",role:"menuitem",children:(0,r.jsxs)("span",{className:"inline-flex items-center",children:[(0,r.jsxs)("svg",{className:"h-4 w-4 me-2",fill:"none",viewBox:"0 0 20 15",children:[(0,r.jsx)("rect",{width:"19.6",height:"14",y:".5",fill:"#fff",rx:"2"}),(0,r.jsx)("mask",{id:"a",style:{maskType:"luminance"},width:"20",height:"15",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:(0,r.jsx)("rect",{width:"19.6",height:"14",y:".5",fill:"#fff",rx:"2"})}),(0,r.jsxs)("g",{mask:"url(#a)",children:[(0,r.jsx)("path",{fill:"#0A17A7",d:"M0 .5h19.6v14H0z"}),(0,r.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M-.898-.842L7.467 4.8V-.433h4.667V4.8l8.364-5.642L21.542.706l-6.614 4.46H19.6v4.667h-4.672l6.614 4.46-1.044 1.549-8.365-5.642v5.233H7.467V10.2l-8.365 5.642-1.043-1.548 6.613-4.46H0V5.166h4.672L-1.941.706-.898-.842z",clipRule:"evenodd"}),(0,r.jsx)("path",{stroke:"#DB1F35",strokeLinecap:"round",strokeWidth:".667",d:"M13.067 4.933L21.933-.9M14.009 10.088l7.947 5.357M5.604 4.917L-2.686-.67M6.503 10.024l-9.189 6.093"}),(0,r.jsx)("path",{fill:"#E6273E",fillRule:"evenodd",d:"M0 8.9h8.4v5.6h2.8V8.9h8.4V6.1h-8.4V.5H8.4v5.6H0v2.8z",clipRule:"evenodd"})]})]}),"United Kingdom (+44)"]})})}),(0,r.jsx)("li",{children:(0,r.jsx)("button",{type:"button",className:"inline-flex w-full px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white",role:"menuitem",children:(0,r.jsxs)("span",{className:"inline-flex items-center",children:[(0,r.jsxs)("svg",{className:"h-4 w-4 me-2",fill:"none",viewBox:"0 0 20 15",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("rect",{width:"19.6",height:"14",y:".5",fill:"#fff",rx:"2"}),(0,r.jsx)("mask",{id:"a",style:{maskType:"luminance"},width:"20",height:"15",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:(0,r.jsx)("rect",{width:"19.6",height:"14",y:".5",fill:"#fff",rx:"2"})}),(0,r.jsxs)("g",{mask:"url(#a)",children:[(0,r.jsx)("path",{fill:"#0A17A7",d:"M0 .5h19.6v14H0z"}),(0,r.jsx)("path",{fill:"#fff",stroke:"#fff",strokeWidth:".667",d:"M0 .167h-.901l.684.586 3.15 2.7v.609L-.194 6.295l-.14.1v1.24l.51-.319L3.83 5.033h.73L7.7 7.276a.488.488 0 00.601-.767L5.467 4.08v-.608l2.987-2.134a.667.667 0 00.28-.543V-.1l-.51.318L4.57 2.5h-.73L.66.229.572.167H0z"}),(0,r.jsx)("path",{fill:"url(#paint0_linear_374_135177)",fillRule:"evenodd",d:"M0 2.833V4.7h3.267v2.133c0 .369.298.667.666.667h.534a.667.667 0 00.666-.667V4.7H8.2a.667.667 0 00.667-.667V3.5a.667.667 0 00-.667-.667H5.133V.5H3.267v2.333H0z",clipRule:"evenodd"}),(0,r.jsx)("path",{fill:"url(#paint1_linear_374_135177)",fillRule:"evenodd",d:"M0 3.3h3.733V.5h.934v2.8H8.4v.933H4.667v2.8h-.934v-2.8H0V3.3z",clipRule:"evenodd"}),(0,r.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M4.2 11.933l-.823.433.157-.916-.666-.65.92-.133.412-.834.411.834.92.134-.665.649.157.916-.823-.433zm9.8.7l-.66.194.194-.66-.194-.66.66.193.66-.193-.193.66.193.66-.66-.194zm0-8.866l-.66.193.194-.66-.194-.66.66.193.66-.193-.193.66.193.66-.66-.193zm2.8 2.8l-.66.193.193-.66-.193-.66.66.193.66-.193-.193.66.193.66-.66-.193zm-5.6.933l-.66.193.193-.66-.193-.66.66.194.66-.194-.193.66.193.66-.66-.193zm4.2 1.167l-.33.096.096-.33-.096-.33.33.097.33-.097-.097.33.097.33-.33-.096z",clipRule:"evenodd"})]}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_374_135177",x1:"0",x2:"0",y1:".5",y2:"7.5",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#fff"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F0F0F0"})]}),(0,r.jsxs)("linearGradient",{id:"paint1_linear_374_135177",x1:"0",x2:"0",y1:".5",y2:"7.033",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#FF2E3B"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#FC0D1B"})]})]})]}),"Australia (+61)"]})})}),(0,r.jsx)("li",{children:(0,r.jsx)("button",{type:"button",className:"inline-flex w-full px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white",role:"menuitem",children:(0,r.jsxs)("span",{className:"inline-flex items-center",children:[(0,r.jsxs)("svg",{className:"w-4 h-4 me-2",fill:"none",viewBox:"0 0 20 15",children:[(0,r.jsx)("rect",{width:"19.6",height:"14",y:".5",fill:"#fff",rx:"2"}),(0,r.jsx)("mask",{id:"a",style:{maskType:"luminance"},width:"20",height:"15",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:(0,r.jsx)("rect",{width:"19.6",height:"14",y:".5",fill:"#fff",rx:"2"})}),(0,r.jsxs)("g",{mask:"url(#a)",children:[(0,r.jsx)("path",{fill:"#262626",fillRule:"evenodd",d:"M0 5.167h19.6V.5H0v4.667z",clipRule:"evenodd"}),(0,r.jsx)("g",{filter:"url(#filter0_d_374_135180)",children:(0,r.jsx)("path",{fill:"#F01515",fillRule:"evenodd",d:"M0 9.833h19.6V5.167H0v4.666z",clipRule:"evenodd"})}),(0,r.jsx)("g",{filter:"url(#filter1_d_374_135180)",children:(0,r.jsx)("path",{fill:"#FFD521",fillRule:"evenodd",d:"M0 14.5h19.6V9.833H0V14.5z",clipRule:"evenodd"})})]}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("filter",{id:"filter0_d_374_135180",width:"19.6",height:"4.667",x:"0",y:"5.167",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,r.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,r.jsx)("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),(0,r.jsx)("feOffset",{}),(0,r.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0"}),(0,r.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_374_135180"}),(0,r.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_374_135180",result:"shape"})]}),(0,r.jsxs)("filter",{id:"filter1_d_374_135180",width:"19.6",height:"4.667",x:"0",y:"9.833",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,r.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,r.jsx)("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),(0,r.jsx)("feOffset",{}),(0,r.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0"}),(0,r.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_374_135180"}),(0,r.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_374_135180",result:"shape"})]})]})]}),"Germany (+49)"]})})}),(0,r.jsx)("li",{children:(0,r.jsx)("button",{type:"button",className:"inline-flex w-full px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white",role:"menuitem",children:(0,r.jsxs)("span",{className:"inline-flex items-center",children:[(0,r.jsxs)("svg",{className:"w-4 h-4 me-2",fill:"none",viewBox:"0 0 20 15",children:[(0,r.jsx)("rect",{width:"19.1",height:"13.5",x:".25",y:".75",fill:"#fff",stroke:"#F5F5F5",strokeWidth:".5",rx:"1.75"}),(0,r.jsx)("mask",{id:"a",style:{maskType:"luminance"},width:"20",height:"15",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:(0,r.jsx)("rect",{width:"19.1",height:"13.5",x:".25",y:".75",fill:"#fff",stroke:"#fff",strokeWidth:".5",rx:"1.75"})}),(0,r.jsxs)("g",{mask:"url(#a)",children:[(0,r.jsx)("path",{fill:"#F44653",d:"M13.067.5H19.6v14h-6.533z"}),(0,r.jsx)("path",{fill:"#1035BB",fillRule:"evenodd",d:"M0 14.5h6.533V.5H0v14z",clipRule:"evenodd"})]})]}),"France (+33)"]})})}),(0,r.jsx)("li",{children:(0,r.jsx)("button",{type:"button",className:"inline-flex w-full px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white",role:"menuitem",children:(0,r.jsxs)("span",{className:"inline-flex items-center",children:[(0,r.jsxs)("svg",{className:"w-4 h-4 me-2",fill:"none",viewBox:"0 0 20 15",children:[(0,r.jsx)("rect",{width:"19.6",height:"14",y:".5",fill:"#fff",rx:"2"}),(0,r.jsx)("mask",{id:"a",style:{maskType:"luminance"},width:"20",height:"15",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:(0,r.jsx)("rect",{width:"19.6",height:"14",y:".5",fill:"#fff",rx:"2"})}),(0,r.jsxs)("g",{mask:"url(#a)",children:[(0,r.jsx)("path",{fill:"#262626",fillRule:"evenodd",d:"M0 5.167h19.6V.5H0v4.667z",clipRule:"evenodd"}),(0,r.jsx)("g",{filter:"url(#filter0_d_374_135180)",children:(0,r.jsx)("path",{fill:"#F01515",fillRule:"evenodd",d:"M0 9.833h19.6V5.167H0v4.666z",clipRule:"evenodd"})}),(0,r.jsx)("g",{filter:"url(#filter1_d_374_135180)",children:(0,r.jsx)("path",{fill:"#FFD521",fillRule:"evenodd",d:"M0 14.5h19.6V9.833H0V14.5z",clipRule:"evenodd"})})]}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("filter",{id:"filter0_d_374_135180",width:"19.6",height:"4.667",x:"0",y:"5.167",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,r.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,r.jsx)("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),(0,r.jsx)("feOffset",{}),(0,r.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0"}),(0,r.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_374_135180"}),(0,r.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_374_135180",result:"shape"})]}),(0,r.jsxs)("filter",{id:"filter1_d_374_135180",width:"19.6",height:"4.667",x:"0",y:"9.833",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,r.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,r.jsx)("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),(0,r.jsx)("feOffset",{}),(0,r.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0"}),(0,r.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_374_135180"}),(0,r.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_374_135180",result:"shape"})]})]})]}),"Germany (+49)"]})})})]})}),(0,r.jsx)("label",{htmlFor:"Celular",className:"absolute text-sm text-zinc-400 duration-300 transform -translate-y-4 scale-75 top-2 z-10 origin-[0] bg-white px-2 peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:scale-75 peer-focus:-translate-y-4 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto start-1",children:"Celular"}),(0,r.jsx)("div",{className:"relative w-full",children:(0,r.jsx)("input",{type:"text",id:"phone",name:"phone","aria-describedby":"helper-text-explanation",className:"block px-4 py-5 w-full z-20 text-sm text-gray-900 rounded-e-lg border-ss-none border-s-0 border border-gray-300 focus:ring-blue-500 focus:border-blue-500",pattern:"[0-9]{2}-[0-9]{5}-[0-9]{4}",placeholder:"(12) 34567-8910",required:!0})})]})}),(0,r.jsx)("button",{className:"w-full text-xs bg-green-500 text-white p-3 rounded-md disabled:text-muted disabled:bg-gray-200",type:"button",onClick:w,disabled:c,children:"Continuar"})]})]}),(0,r.jsx)("div",{className:"w-1/4"})]})]})]})})};function T(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}var O=function(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";return((function(e){if(Array.isArray(e))return T(e)})(n=Array(e))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,n){if(e){if("string"==typeof e)return T(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return T(e,n)}}(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map(function(){return t.charAt(Math.floor(Math.random()*t.length))}).join("")},A=function(e){var n=e.productId,t=e.isProductIdRepeated,a=u(),l=a.products,o=a.updateCheckoutData,i=a.getProduct,c=a.openCheckoutModal,s=function(e){var n,t;null===(t=e.chargeDetailRef)||void 0===t||null===(n=t.current)||void 0===n||n.classList.remove("hidden")};return(0,r.jsxs)("button",{onClick:t?function(){}:function(){console.log({products:l});var e,t,r=l.get(n);if(console.log(l.has(n),null==r?void 0:r.status),l.has(n)&&(null==r?void 0:r.status)==="CHARGE_EMITTED"){s(r);return}o(n,(e=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.forEach(function(n){var r,a,l;r=e,a=n,l=t[n],a in r?Object.defineProperty(r,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):r[a]=l})}return e}({},i(n)),t=(t={correlationID:O(30)},t),Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e)),c(n)},className:"w-fit border-0 outline-none px-4 py-2 bg-teal-400 w-auto rounded-full text-xs flex items-center justify-center gap-1 cursor-pointer",children:[(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",viewBox:"0 0 21 21",children:(0,r.jsx)("path",{fill:"#000",d:"M9.478 20.453a2.321 2.321 0 0 1-2.134-1.402L6.72 17.6l-1.075 1.076a2.323 2.323 0 1 1-3.286-3.287l1.075-1.075-1.45-.626A2.323 2.323 0 0 1 2.34 9.3l8.763-2.191a2.336 2.336 0 0 1 2.208.611c.574.574.808 1.42.611 2.209l-2.19 8.765a2.322 2.322 0 0 1-2.254 1.759Zm-2.5-4.98a.77.77 0 0 1 .71.467l1.078 2.496a.775.775 0 0 0 1.463-.118l2.19-8.765a.77.77 0 0 0-.203-.737.77.77 0 0 0-.737-.204l-8.763 2.191a.775.775 0 0 0-.118 1.463l2.496 1.079a.775.775 0 0 1 .24 1.259l-1.88 1.881a.774.774 0 1 0 1.095 1.096l1.88-1.882a.775.775 0 0 1 .548-.227ZM19.64 9.51h-3.097a.775.775 0 0 1 0-1.55h3.098a.775.775 0 0 1 0 1.55ZM16.825 14.761l-2.191-2.191a.775.775 0 0 1 1.095-1.096l2.191 2.192a.775.775 0 0 1-1.095 1.095ZM8.417 6.403 6.227 4.21a.775.775 0 0 1 1.095-1.095l2.19 2.191a.775.775 0 0 1-1.095 1.096ZM12.25 5.268a.775.775 0 0 1-.774-.775V1.394a.775.775 0 1 1 1.55 0v3.1a.775.775 0 0 1-.775.774ZM14.99 6.403a.775.775 0 0 1 0-1.096l2.19-2.191a.774.774 0 1 1 1.095 1.095l-2.19 2.192a.774.774 0 0 1-1.096 0Z"})}),(0,r.jsxs)("div",{className:"flex",children:["Pagar com",(0,r.jsx)("strong",{className:"ml-1",children:"click"}),"pix"]})]})};function F(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}function R(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t,r,a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var l=[],o=!0,i=!1;try{for(a=a.call(e);!(o=(t=a.next()).done)&&(l.push(t.value),!n||l.length!==n);o=!0);}catch(e){i=!0,r=e}finally{try{!o&&null!=a.return&&a.return()}finally{if(i)throw r}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return F(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return F(e,n)}}(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function V(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}function U(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t,r,a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var l=[],o=!0,i=!1;try{for(a=a.call(e);!(o=(t=a.next()).done)&&(l.push(t.value),!n||l.length!==n);o=!0);}catch(e){i=!0,r=e}finally{try{!o&&null!=a.return&&a.return()}finally{if(i)throw r}}return l}}(e,n)||H(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function B(e){return function(e){if(Array.isArray(e))return V(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||H(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(e,n){if(e){if("string"==typeof e)return V(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return V(e,n)}}var W=(0,a.memo)(function(e){return Array.from(e.allClickPix,function(e){var n=e.htmlClickPix,t=e.productId,a=e.isProductIdRepeated;return(0,l.createPortal)((0,r.jsx)(A,{productId:t,isProductIdRepeated:a}),n)})});W.displayName="CustomizeClickPixButtons";var q=document.getElementById("root");q&&(0,o.createRoot)(q).render((0,r.jsx)(function(e){var n=e.children,t=R(b(),3),l=t[0],o=t[1],u=t[2],c=R((0,a.useState)(!1),2),s=c[0],d=c[1],f=R((0,a.useState)(null),2),p=f[0],h=f[1],y=R((0,a.useState)(null),2),v=y[0],C=y[1],x=R((0,a.useState)(""),2),k=x[0],w=x[1],P=function(e,n){if(!e)return console.error("cannot update currentOrder if productId is empty string or null"),!1;var t,r=l(e);return(null==r?void 0:r.value)!==void 0&&n.value!==(null==r?void 0:r.value)?(console.error("The value from charge cannot be changed"),!1):(w(e),o(e,n),h(null!==(t=l(e))&&void 0!==t?t:{}),!0)};g.subscribe(m.UPDATE_CHECKOUT_DATA,P),(0,a.useEffect)(function(){},[k,l]);var _=(0,a.useRef)(null),S=function(){if(!_.current)return console.log("checkout cannot be null");_.current.classList.add("hidden"),w(""),h({})};g.subscribe("closeCheckoutModal",S);var M=function(e){var n;if(!_.current)return console.log("checkout cannot be null");_.current.classList.remove("hidden"),w(e),h(null!==(n=l(e))&&void 0!==n?n:{})};return g.subscribe("openCheckoutModal",M),(0,r.jsx)(i.Provider,{value:{currentOrder:p,updateCheckoutData:P,productId:k,setProductId:w,checkoutRef:_,closeCheckoutModal:S,openCheckoutModal:M,products:u,getProduct:l,currentChargeDetailRef:v,setCurrentChargeDetailRef:C,requesting:s,setRequesting:d},children:n})},{children:(0,r.jsx)(function(){var e=u(),n=e.products,t=e.updateCheckoutData,l=U((0,a.useState)([]),2),o=l[0],i=l[1];return(0,a.useEffect)(function(){var e=document.querySelectorAll(".clickpix"),r=!0,a=!1,l=void 0;try{for(var o,u=e[Symbol.iterator]();!(r=(o=u.next()).done);r=!0){var c,s=function(){var e=o.value;e.classList.add("w-fit");var r=e.dataset.productId;if(!r)return console.error("[data-product-id] need a unique value",r),{v:void 0};n.has(r)?(i(function(n){return B(n).concat([{productId:r,htmlClickPix:e,isProductIdRepeated:!0}])}),e.classList.add("ring-2","ring-red-500","ring-offset-0.5","rounded-full"),console.log(e),console.error("[data-product-id] cannot have a duplicate value")):(t(r,{value:Number(e.dataset.value),additionalInfo:e.dataset.additionalInfo,status:"CHARGE_NOT_EMITTED",productId:r}),i(function(n){return B(n).concat([{productId:r,htmlClickPix:e,isProductIdRepeated:!1}])}))}();if("object"==((c=s)&&"undefined"!=typeof Symbol&&c.constructor===Symbol?"symbol":typeof c))return s.v}}catch(e){a=!0,l=e}finally{try{!r&&null!=u.return&&u.return()}finally{if(a)throw l}}},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(W,{allClickPix:o}),Array.from(n).map(function(e){var n=U(e,2),t=n[0],a=n[1];return a.paymentLinkUrl&&(0,r.jsx)(k,{paymentLinkUrl:a.paymentLinkUrl,productId:t},t)}),(0,r.jsx)(N,{})]})},{})})),!function(){window.$openpix=window.$openpix||[],window.$openpix.push(["config",{appID:C.appID}]);var e=["products"];window.$openpixSDK={updateIn:function(n,t,r){console.log("> updateIn",n,t,r);if(!e.includes(t))return console.error("State not available"),!1;var a={products:v}[t];if(!a.has(n))return console.error("MemoryId not found in ".concat(t)),!1;var l=a.get(n);return r.value!==l.value?(console.error('Cannot update property "value"'),!1):(g.emit(m.UPDATE_CHECKOUT_DATA,[n,r]),!0)},get:function(e,n){return({products:v})[n].get(e)},addEvent:function(e,n){console.log("> addEvent");var t={beforeCreateCharge:function(t){if("AsyncFunction"!==n[Symbol.toStringTag])return console.error("Only supported asynchronous function");var r=n.bind(null,(function(e){var n;return null!==(n=s.get(e))&&void 0!==n?n:""}).bind(null,e),v);d.set(e,r)}};return t[e]?"AsyncFunction"!==n[Symbol.toStringTag]?(console.error("Only asynchronous functions are supported"),!1):(t[e](n),!0):(console.error("Hook not available"),!1)}}}()})(); | |
//# sourceMappingURL=main.js.map |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment