Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.129.23.110
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/tacafoundation.org/wp-content/plugins/give/build/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/tacafoundation.org/wp-content/plugins/give/build/donationFormBlockApp.js
(()=>{var e={2703:(e,t,n)=>{"use strict";var r=n(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3250:(e,t,n)=>{"use strict";var r=n(9196),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}"undefined"==typeof window||void 0===window.document||window.document.createElement;void 0!==r.useSyncExternalStore&&r.useSyncExternalStore},1688:(e,t,n)=>{"use strict";n(3250)},9196:e=>{"use strict";e.exports=window.React}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(9196),t=n.n(e);const r=window.wp.element;var o=n(5697),i=n.n(o);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var l,u,c=(l=function(e){!function(t){if("undefined"!=typeof window){var n,r=0,o=!1,i=!1,a=7,s="[iFrameSizer]",l=s.length,u=null,c=window.requestAnimationFrame,d={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},f={},p=null,m={autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){T("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}},g={};window.jQuery&&((n=window.jQuery).fn?n.fn.iFrameResize||(n.fn.iFrameResize=function(e){return this.filter("iframe").each((function(t,n){A(n,e)})).end()}):E("","Unable to bind to jQuery, it is not fully loaded.")),"function"==typeof t&&t.amd?t([],B):e.exports=B(),window.iFrameResize=window.iFrameResize||B()}function v(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function h(e,t,n){e.addEventListener(t,n,!1)}function b(e,t,n){e.removeEventListener(t,n,!1)}function y(e){return f[e]?f[e].log:o}function w(e,t){P("log",e,t,y(e))}function E(e,t){P("info",e,t,y(e))}function T(e,t){P("warn",e,t,!0)}function P(e,t,n,r){!0===r&&"object"==typeof window.console&&console[e](function(e){return s+"["+function(e){var t="Host page: "+e;return window.top!==window.self&&(t=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e),t}(e)+"]"}(t),n)}function S(e){function t(){n("Height"),n("Width"),N((function(){O(W),L(H),m("onResized",W)}),W,"init")}function n(e){var t=Number(f[H]["max"+e]),n=Number(f[H]["min"+e]),r=e.toLowerCase(),o=Number(W[r]);w(H,"Checking "+r+" is in range "+n+"-"+t),o<n&&(o=n,w(H,"Set "+r+" to min value")),o>t&&(o=t,w(H,"Set "+r+" to max value")),W[r]=""+o}function r(e){return z.substr(z.indexOf(":")+a+e)}function o(e,t){var n,r;n=function(){var n,r;I("Send Page Info","pageInfo:"+(n=document.body.getBoundingClientRect(),r=W.iframe.getBoundingClientRect(),JSON.stringify({iframeHeight:r.height,iframeWidth:r.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(r.top-n.top,10),offsetLeft:parseInt(r.left-n.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})),e,t)},g[r=t]||(g[r]=setTimeout((function(){g[r]=null,n()}),32))}function i(e){var t=e.getBoundingClientRect();return x(H),{x:Math.floor(Number(t.left)+Number(u.x)),y:Math.floor(Number(t.top)+Number(u.y))}}function c(e){var t=e?i(W.iframe):{x:0,y:0},n={x:Number(W.width)+t.x,y:Number(W.height)+t.y};w(H,"Reposition requested from iFrame (offset x:"+t.x+" y:"+t.y+")"),window.top!==window.self?window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](n.x,n.y):T(H,"Unable to scroll to requested position, window.parentIFrame not found"):(u=n,d(),w(H,"--"))}function d(){!1!==m("onScroll",u)?L(H):k()}function p(e){m(e,{iframe:W.iframe,screenX:W.width,screenY:W.height,type:W.type})}function m(e,t){return C(H,e,t)}var v,y,P,S,R,A,z=e.data,W={},H=null;"[iFrameResizerChild]Ready"===z?function(){for(var e in f)I("iFrame requested init",D(e),f[e].iframe,e)}():s===(""+z).substr(0,l)&&z.substr(l).split(":")[0]in f?(S=(P=z.substr(l).split(":"))[1]?parseInt(P[1],10):0,R=f[P[0]]&&f[P[0]].iframe,A=getComputedStyle(R),W={iframe:R,id:P[0],height:S+function(e){return"border-box"!==e.boxSizing?0:(e.paddingTop?parseInt(e.paddingTop,10):0)+(e.paddingBottom?parseInt(e.paddingBottom,10):0)}(A)+function(e){return"border-box"!==e.boxSizing?0:(e.borderTopWidth?parseInt(e.borderTopWidth,10):0)+(e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0)}(A),width:P[2],type:P[3]},H=W.id,f[H]&&(f[H].loaded=!0),(y=W.type in{true:1,false:1,undefined:1})&&w(H,"Ignoring init message from meta parent page"),!y&&function(e){var t=!0;return f[e]||(t=!1,T(W.type+" No settings for "+e+". Message was: "+z)),t}(H)&&(w(H,"Received: "+z),v=!0,null===W.iframe&&(T(H,"IFrame ("+W.id+") not found"),v=!1),v&&function(){var t,n=e.origin,r=f[H]&&f[H].checkOrigin;if(r&&""+n!="null"&&!(r.constructor===Array?function(){var e=0,t=!1;for(w(H,"Checking connection is from allowed list of origins: "+r);e<r.length;e++)if(r[e]===n){t=!0;break}return t}():(t=f[H]&&f[H].remoteHost,w(H,"Checking connection is from: "+t),n===t)))throw new Error("Unexpected message received from: "+n+" for "+W.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}()&&function(){switch(f[H]&&f[H].firstRun&&f[H]&&(f[H].firstRun=!1),W.type){case"close":M(W.iframe);break;case"message":l=r(6),w(H,"onMessage passed: {iframe: "+W.iframe.id+", message: "+l+"}"),m("onMessage",{iframe:W.iframe,message:JSON.parse(l)}),w(H,"--");break;case"mouseenter":p("onMouseEnter");break;case"mouseleave":p("onMouseLeave");break;case"autoResize":f[H].autoResize=JSON.parse(r(9));break;case"scrollTo":c(!1);break;case"scrollToOffset":c(!0);break;case"pageInfo":o(f[H]&&f[H].iframe,H),function(){function e(e,r){function i(){f[n]?o(f[n].iframe,n):t()}["scroll","resize"].forEach((function(t){w(n,e+t+" listener for sendPageInfo"),r(window,t,i)}))}function t(){e("Remove ",b)}var n=H;e("Add ",h),f[n]&&(f[n].stopPageInfo=t)}();break;case"pageInfoStop":f[H]&&f[H].stopPageInfo&&(f[H].stopPageInfo(),delete f[H].stopPageInfo);break;case"inPageLink":n=r(9).split("#")[1]||"",a=decodeURIComponent(n),(s=document.getElementById(a)||document.getElementsByName(a)[0])?(e=i(s),w(H,"Moving to in page link (#"+n+") at x: "+e.x+" y: "+e.y),u={x:e.x,y:e.y},d(),w(H,"--")):window.top!==window.self?window.parentIFrame?window.parentIFrame.moveToAnchor(n):w(H,"In page link #"+n+" not found and window.parentIFrame not found"):w(H,"In page link #"+n+" not found");break;case"reset":F(W);break;case"init":t(),m("onInit",W.iframe);break;default:t()}var e,n,a,s,l}())):E(H,"Ignored: "+z)}function C(e,t,n){var r=null,o=null;if(f[e]){if("function"!=typeof(r=f[e][t]))throw new TypeError(t+" on iFrame["+e+"] is not a function");o=r(n)}return o}function R(e){var t=e.id;delete f[t]}function M(e){var t=e.id;if(!1!==C(t,"onClose",t)){w(t,"Removing iFrame: "+t);try{e.parentNode&&e.parentNode.removeChild(e)}catch(e){T(e)}C(t,"onClosed",t),w(t,"--"),R(e)}else w(t,"Close iframe cancelled by onClose event")}function x(e){null===u&&w(e,"Get page position: "+(u={x:window.pageXOffset!==t?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==t?window.pageYOffset:document.documentElement.scrollTop}).x+","+u.y)}function L(e){null!==u&&(window.scrollTo(u.x,u.y),w(e,"Set page position: "+u.x+","+u.y),k())}function k(){u=null}function F(e){w(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),x(e.id),N((function(){O(e),I("reset","reset",e.iframe,e.id)}),e,"reset")}function O(e){function t(t){i||"0"!==e[t]||(i=!0,w(r,"Hidden iFrame detected, creating visibility listener"),function(){function e(){Object.keys(f).forEach((function(e){!function(e){function t(t){return"0px"===(f[e]&&f[e].iframe.style[t])}f[e]&&null!==f[e].iframe.offsetParent&&(t("height")||t("width"))&&I("Visibility change","resize",f[e].iframe,e)}(e)}))}function t(t){w("window","Mutation observed: "+t[0].target+" "+t[0].type),z(e,16)}var n,r=v();r&&(n=document.querySelector("body"),new r(t).observe(n,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}))}())}function n(n){!function(t){e.id?(e.iframe.style[t]=e[t]+"px",w(e.id,"IFrame ("+r+") "+t+" set to "+e[t]+"px")):w("undefined","messageData id not set")}(n),t(n)}var r=e.iframe.id;f[r]&&(f[r].sizeHeight&&n("height"),f[r].sizeWidth&&n("width"))}function N(e,t,n){n!==t.type&&c&&!window.jasmine?(w(t.id,"Requesting animation frame"),c(e)):e()}function I(e,t,n,r,o){var i,a=!1;r=r||n.id,f[r]&&(n&&"contentWindow"in n&&null!==n.contentWindow?(i=f[r]&&f[r].targetOrigin,w(r,"["+e+"] Sending msg to iframe["+r+"] ("+t+") targetOrigin: "+i),n.contentWindow.postMessage(s+t,i)):T(r,"["+e+"] IFrame("+r+") not found"),o&&f[r]&&f[r].warningTimeout&&(f[r].msgTimeout=setTimeout((function(){!f[r]||f[r].loaded||a||(a=!0,T(r,"IFrame has not responded within "+f[r].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}),f[r].warningTimeout)))}function D(e){return e+":"+f[e].bodyMarginV1+":"+f[e].sizeWidth+":"+f[e].log+":"+f[e].interval+":"+f[e].enablePublicMethods+":"+f[e].autoResize+":"+f[e].bodyMargin+":"+f[e].heightCalculationMethod+":"+f[e].bodyBackground+":"+f[e].bodyPadding+":"+f[e].tolerance+":"+f[e].inPageLinks+":"+f[e].resizeFrom+":"+f[e].widthCalculationMethod}function A(e,n){function i(e){var t=e.split("Callback");if(2===t.length){var n="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[n]=this[e],delete this[e],T(a,"Deprecated: '"+e+"' has been renamed '"+n+"'. The old method will be removed in the next major version.")}}var a=function(t){var i;return""===t&&(e.id=(i=n&&n.id||m.id+r++,null!==document.getElementById(i)&&(i+=r++),t=i),o=(n||{}).log,w(t,"Added missing iframe ID: "+t+" ("+e.src+")")),t}(e.id);a in f&&"iFrameResizer"in e?T(a,"Ignored iFrame, already setup."):(function(t){var n;t=t||{},f[a]={firstRun:!0,iframe:e,remoteHost:e.src&&e.src.split("/").slice(0,3).join("/")},function(e){if("object"!=typeof e)throw new TypeError("Options is not an object")}(t),Object.keys(t).forEach(i,t),function(e){for(var t in m)Object.prototype.hasOwnProperty.call(m,t)&&(f[a][t]=Object.prototype.hasOwnProperty.call(e,t)?e[t]:m[t])}(t),f[a]&&(f[a].targetOrigin=!0===f[a].checkOrigin?""===(n=f[a].remoteHost)||null!==n.match(/^(about:blank|javascript:|file:\/\/)/)?"*":n:"*")}(n),function(){switch(w(a,"IFrame scrolling "+(f[a]&&f[a].scrolling?"enabled":"disabled")+" for "+a),e.style.overflow=!1===(f[a]&&f[a].scrolling)?"hidden":"auto",f[a]&&f[a].scrolling){case"omit":break;case!0:e.scrolling="yes";break;case!1:e.scrolling="no";break;default:e.scrolling=f[a]?f[a].scrolling:"no"}}(),function(){function t(t){1/0!==f[a][t]&&0!==f[a][t]&&(e.style[t]=f[a][t]+"px",w(a,"Set "+t+" = "+f[a][t]+"px"))}function n(e){if(f[a]["min"+e]>f[a]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}n("Height"),n("Width"),t("maxHeight"),t("minHeight"),t("maxWidth"),t("minWidth")}(),"number"!=typeof(f[a]&&f[a].bodyMargin)&&"0"!==(f[a]&&f[a].bodyMargin)||(f[a].bodyMarginV1=f[a].bodyMargin,f[a].bodyMargin=f[a].bodyMargin+"px"),function(n){var r=v();r&&function(t){e.parentNode&&new t((function(t){t.forEach((function(t){Array.prototype.slice.call(t.removedNodes).forEach((function(t){t===e&&M(e)}))}))})).observe(e.parentNode,{childList:!0})}(r),h(e,"load",(function(){var r,o;I("iFrame.onload",n,e,t,!0),r=f[a]&&f[a].firstRun,o=f[a]&&f[a].heightCalculationMethod in d,!r&&o&&F({iframe:e,height:0,width:0,type:"init"})})),I("init",n,e,t,!0)}(D(a)),f[a]&&(f[a].iframe.iFrameResizer={close:M.bind(null,f[a].iframe),removeListeners:R.bind(null,f[a].iframe),resize:I.bind(null,"Window resize","resize",f[a].iframe),moveToAnchor:function(e){I("Move to anchor","moveToAnchor:"+e,f[a].iframe,a)},sendMessage:function(e){I("Send Message","message:"+(e=JSON.stringify(e)),f[a].iframe,a)}}))}function z(e,t){null===p&&(p=setTimeout((function(){p=null,e()}),t))}function W(){"hidden"!==document.visibilityState&&(w("document","Trigger event: Visiblity change"),z((function(){H("Tab Visable","resize")}),16))}function H(e,t){Object.keys(f).forEach((function(n){(function(e){return f[e]&&"parent"===f[e].resizeFrom&&f[e].autoResize&&!f[e].firstRun})(n)&&I(e,t,f[n].iframe,n)}))}function B(){function e(e,t){t&&(function(){if(!t.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==t.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+t.tagName+">")}(),A(t,e),n.push(t))}var n;return function(){var e,t=["moz","webkit","o","ms"];for(e=0;e<t.length&&!c;e+=1)c=window[t[e]+"RequestAnimationFrame"];c?c=c.bind(window):w("setup","RequestAnimationFrame not supported")}(),h(window,"message",S),h(window,"resize",(function(){w("window","Trigger event: resize"),z((function(){H("Window resize","resize")}),16)})),h(document,"visibilitychange",W),h(document,"-webkit-visibilitychange",W),function(r,o){switch(n=[],function(e){e&&e.enablePublicMethods&&T("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}(r),typeof o){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(o||"iframe"),e.bind(t,r));break;case"object":e(r,o);break;default:throw new TypeError("Unexpected data type ("+typeof o+")")}return n}}}()},l(u={exports:{}}),u.exports),d=function(){},f=function(n){var r=n.title,o=n.forwardRef,i=s(n,["title","forwardRef"]),l=function(e){return e.autoResize,e.bodyBackground,e.bodyMargin,e.bodyPadding,e.checkOrigin,e.inPageLinks,e.heightCalculationMethod,e.interval,e.log,e.maxHeight,e.maxWidth,e.minHeight,e.minWidth,e.resizeFrom,e.scrolling,e.sizeHeight,e.sizeWidth,e.warningTimeout,e.tolerance,e.widthCalculationMethod,e.onClosed,e.onInit,e.onMessage,e.onMouseEnter,e.onMouseLeave,e.onResized,s(e,["autoResize","bodyBackground","bodyMargin","bodyPadding","checkOrigin","inPageLinks","heightCalculationMethod","interval","log","maxHeight","maxWidth","minHeight","minWidth","resizeFrom","scrolling","sizeHeight","sizeWidth","warningTimeout","tolerance","widthCalculationMethod","onClosed","onInit","onMessage","onMouseEnter","onMouseLeave","onResized"])}(i),u=(0,e.useRef)(null),f=function(){return d(!u.current,"[iframeSizerReact]["+(u&&u.current&&u.current.id)+"] Close event ignored, to remove the iframe update your React component"),!u.current};return(0,e.useEffect)((function(){var e=u.current;return c(a({},i,{onClose:f}),e),function(){return e.iFrameResizer&&e.iFrameResizer.removeListeners()}}),[]),(0,e.useImperativeHandle)(o,(function(){return{resize:function(){return u.current.iFrameResizer.resize()},moveToAnchor:function(e){return u.current.iFrameResizer.moveToAnchor(e)},sendMessage:function(e,t){u.current.iFrameResizer.sendMessage(e,t)}}})),t().createElement("iframe",a({title:r},l,{ref:u}))};f.defaultProps={title:"iframe"},f.propTypes={title:i().string};const p=f,m={prefix:String(Math.round(1e10*Math.random())),current:0,isSSR:!1},g=e.createContext(m);let v=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),h=new WeakMap;const b="function"==typeof e.useId?function(t){let n=e.useId(),[r]=(0,e.useState)(T());return t||`${r?"react-aria":`react-aria${m.prefix}`}-${n}`}:function(t){let n=(0,e.useContext)(g);n!==m||v||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let r=function(t=!1){let n=(0,e.useContext)(g),r=(0,e.useRef)(null);if(null===r.current&&!t){var o,i;let t=null===(o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===o||null===(i=o.ReactCurrentOwner)||void 0===i?void 0:i.current;if(t){let e=h.get(t);null==e?h.set(t,{id:n.current,state:t.memoizedState}):t.memoizedState!==e.state&&(n.current=e.id,h.delete(t))}r.current=++n.current}return r.current}(!!t),o=`react-aria${n.prefix}`;return t||`${o}-${r}`};function y(){return!1}function w(){return!0}function E(e){return()=>{}}function T(){return"function"==typeof e.useSyncExternalStore?e.useSyncExternalStore(E,y,w):(0,e.useContext)(g).isSSR}function P(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=P(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}const S=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=P(e))&&(r&&(r+=" "),r+=t);return r},C="undefined"!=typeof document?e.useLayoutEffect:()=>{};let R=new Map;function M(t){let[n,r]=(0,e.useState)(t),o=(0,e.useRef)(null),i=b(n),a=(0,e.useCallback)((e=>{o.current=e}),[]);return R.set(i,a),C((()=>{let e=i;return()=>{R.delete(e)}}),[i]),(0,e.useEffect)((()=>{let e=o.current;e&&(o.current=null,r(e))})),i}function x(e,t){if(e===t)return e;let n=R.get(e);if(n)return n(t),t;let r=R.get(t);return r?(r(e),e):t}function L(t=[]){let n=M(),[r,o]=function(t){let[n,r]=(0,e.useState)(t),o=(0,e.useRef)(n),i=(0,e.useRef)(null),a=(0,e.useCallback)((()=>{let e=i.current.next();for(;!e.done&&o.current===e.value;)e=i.current.next();e.done?i.current=null:(r(e.value),o.current=e.value)}),[r,o,i]);C((()=>{i.current&&a()}));let s=(0,e.useCallback)((e=>{i.current=e(o.current),a()}),[a,i,o]);return[n,s]}(n),i=(0,e.useCallback)((()=>{o((function*(){yield n,yield document.getElementById(n)?n:void 0}))}),[n,o]);return C(i,[n,i,...t]),r}function k(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}function F(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],o=r[e];"function"==typeof n&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&e.charCodeAt(2)<=90?t[e]=k(n,o):"className"!==e&&"UNSAFE_className"!==e||"string"!=typeof n||"string"!=typeof o?"id"===e&&n&&o?t.id=x(n,o):t[e]=void 0!==o?o:n:t[e]=S(n,o)}}return t}function O(...e){return 1===e.length?e[0]:t=>{for(let n of e)"function"==typeof n?n(t):null!=n&&(n.current=t)}}const N=new Set(["id"]),I=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),D=/^(data-.*)$/;function A(e,t={}){let{labelable:n,propNames:r}=t,o={};for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(N.has(t)||n&&I.has(t)||(null==r?void 0:r.has(t))||D.test(t))&&(o[t]=e[t]);return o}function z(e){if(function(){if(null==W){W=!1;try{document.createElement("div").focus({get preventScroll(){return W=!0,!0}})}catch(e){}}return W}())e.focus({preventScroll:!0});else{let t=function(e){for(var t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}let W=null,H=new Map,B=new Set;function K(){if("undefined"==typeof window)return;let e=t=>{let n=H.get(t.target);if(n&&(n.delete(t.propertyName),0===n.size&&(t.target.removeEventListener("transitioncancel",e),H.delete(t.target)),0===H.size)){for(let e of B)e();B.clear()}};document.body.addEventListener("transitionrun",(t=>{let n=H.get(t.target);n||(n=new Set,H.set(t.target,n),t.target.addEventListener("transitioncancel",e)),n.add(t.propertyName)})),document.body.addEventListener("transitionend",e)}function _(e){requestAnimationFrame((()=>{0===H.size?e():B.add(e)}))}function U(e,t){let{id:n,"aria-label":r,"aria-labelledby":o}=e;if(n=M(n),o&&r){let e=new Set([n,...o.trim().split(/\s+/)]);o=[...e].join(" ")}else o&&(o=o.trim().split(/\s+/).join(" "));return r||o||!t||(r=t),{id:n,"aria-label":r,"aria-labelledby":o}}function j(t){const n=(0,e.useRef)();return(0,e.useMemo)((()=>({get current(){return n.current},set current(e){n.current=e,"function"==typeof t?t(e):t&&(t.current=e)}})),[t])}function V(e,t){C((()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}}),[e,t])}function q(e){for($(e)&&(e=e.parentElement);e&&!$(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function $(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}"undefined"!=typeof document&&("loading"!==document.readyState?K():document.addEventListener("DOMContentLoaded",K));let Y="undefined"!=typeof document&&window.visualViewport;function G(){return{width:(null==Y?void 0:Y.width)||window.innerWidth,height:(null==Y?void 0:Y.height)||window.innerHeight}}function X(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function J(){return X(/^Mac/i)}function Q(){return X(/^iPhone/i)||X(/^iPad/i)||J()&&navigator.maxTouchPoints>1}function Z(t){const n=(0,e.useRef)(null);return C((()=>{n.current=t}),[t]),(0,e.useCallback)(((...e)=>(0,n.current)(...e)),[])}function ee(e){return!(0!==e.mozInputSource||!e.isTrusted)||(t=/Android/i,"undefined"!=typeof window&&null!=window.navigator&&((null===(n=window.navigator.userAgentData)||void 0===n?void 0:n.brands.some((e=>t.test(e.brand))))||t.test(window.navigator.userAgent))&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType);var t,n}function te(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function ne(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,te(e,t,"set"),n),n}new Map;let re="default",oe="",ie=new WeakMap;function ae(e){Q()?("default"===re&&(oe=document.documentElement.style.webkitUserSelect,document.documentElement.style.webkitUserSelect="none"),re="disabled"):(e instanceof HTMLElement||e instanceof SVGElement)&&(ie.set(e,e.style.userSelect),e.style.userSelect="none")}function se(e){if(Q()){if("disabled"!==re)return;re="restoring",setTimeout((()=>{_((()=>{"restoring"===re&&("none"===document.documentElement.style.webkitUserSelect&&(document.documentElement.style.webkitUserSelect=oe||""),oe="",re="default")}))}),300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&ie.has(e)){let t=ie.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),ie.delete(e)}}const le=e.createContext(null);le.displayName="PressResponderContext";var ue=new WeakMap;class ce{continuePropagation(){ne(this,ue,!1)}get shouldStopPropagation(){return function(e,t){return t.get?t.get.call(e):t.value}(this,te(this,ue,"get"))}constructor(e,t,n){var r,o,i;i={writable:!0,value:void 0},function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(r=this,o=ue),o.set(r,i),ne(this,ue,!0),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey}}function de(t){let{onPress:n,onPressChange:r,onPressStart:o,onPressEnd:i,onPressUp:a,isDisabled:s,isPressed:l,preventFocusOnPress:u,shouldCancelOnPointerExit:c,allowTextSelectionOnPress:d,ref:f,...p}=function(t){let n=(0,e.useContext)(le);if(n){let{register:e,...r}=n;t=F(r,t),e()}return V(n,t.ref),t}(t),[m,g]=(0,e.useState)(!1),v=(0,e.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:h,removeAllGlobalListeners:b}=function(){let t=(0,e.useRef)(new Map),n=(0,e.useCallback)(((e,n,r,o)=>{let i=(null==o?void 0:o.once)?(...e)=>{t.current.delete(r),r(...e)}:r;t.current.set(r,{type:n,eventTarget:e,fn:i,options:o}),e.addEventListener(n,r,o)}),[]),r=(0,e.useCallback)(((e,n,r,o)=>{var i;let a=(null===(i=t.current.get(r))||void 0===i?void 0:i.fn)||r;e.removeEventListener(n,a,o),t.current.delete(r)}),[]),o=(0,e.useCallback)((()=>{t.current.forEach(((e,t)=>{r(e.eventTarget,e.type,t,e.options)}))}),[r]);return(0,e.useEffect)((()=>o),[o]),{addGlobalListener:n,removeGlobalListener:r,removeAllGlobalListeners:o}}(),y=Z(((e,t)=>{let n=v.current;if(s||n.didFirePressStart)return;let i=!0;if(o){let n=new ce("pressstart",t,e);o(n),i=n.shouldStopPropagation}return r&&r(!0),n.didFirePressStart=!0,g(!0),i})),w=Z(((e,t,o=!0)=>{let a=v.current;if(!a.didFirePressStart)return;a.ignoreClickAfterPress=!0,a.didFirePressStart=!1;let l=!0;if(i){let n=new ce("pressend",t,e);i(n),l=n.shouldStopPropagation}if(r&&r(!1),g(!1),n&&o&&!s){let r=new ce("press",t,e);n(r),l&&(l=r.shouldStopPropagation)}return l})),E=Z(((e,t)=>{if(!s){if(a){let n=new ce("pressup",t,e);return a(n),n.shouldStopPropagation}return!0}})),T=Z((e=>{let t=v.current;t.isPressed&&(t.isOverTarget&&w(ge(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,b(),d||se(t.target))})),P=Z((e=>{c&&T(e)})),S=(0,e.useMemo)((()=>{let e=v.current,t={onKeyDown(t){if(pe(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){be(t.target,t.key)&&t.preventDefault();let r=!0;e.isPressed||t.repeat||(e.target=t.currentTarget,e.isPressed=!0,r=y(t,"keyboard"),h(document,"keyup",n,!1)),r&&t.stopPropagation()}else"Enter"===t.key&&fe(t.currentTarget)&&t.stopPropagation()},onKeyUp(t){pe(t.nativeEvent,t.currentTarget)&&!t.repeat&&t.currentTarget.contains(t.target)&&E(ge(e.target,t),"keyboard")},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button){let n=!0;if(s&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&("virtual"===e.pointerType||ee(t.nativeEvent))){s||u||z(t.currentTarget);let e=y(t,"virtual"),r=E(t,"virtual"),o=w(t,"virtual");n=e&&r&&o}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,n&&t.stopPropagation()}}},n=t=>{if(e.isPressed&&pe(t,e.target)){be(t.target,t.key)&&t.preventDefault(),e.isPressed=!1;let n=t.target,r=w(ge(e.target,t),"keyboard",e.target.contains(n));b(),r&&t.stopPropagation(),e.target instanceof HTMLElement&&e.target.contains(n)&&(fe(e.target)||"link"===e.target.getAttribute("role"))&&e.target.click()}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{if(0!==t.button||!t.currentTarget.contains(t.target))return;if(0===(i=t.nativeEvent).width&&0===i.height||1===i.width&&1===i.height&&0===i.pressure&&0===i.detail&&"mouse"===i.pointerType)return void(e.pointerType="virtual");var i;he(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let a=!0;e.isPressed||(e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,s||u||z(t.currentTarget),d||ae(e.target),a=y(t,e.pointerType),h(document,"pointermove",n,!1),h(document,"pointerup",r,!1),h(document,"pointercancel",o,!1)),a&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(he(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&ve(t,t.currentTarget)&&E(t,e.pointerType||t.pointerType)};let n=t=>{t.pointerId===e.activePointerId&&(ve(t,e.target)?e.isOverTarget||(e.isOverTarget=!0,y(ge(e.target,t),e.pointerType)):e.isOverTarget&&(e.isOverTarget=!1,w(ge(e.target,t),e.pointerType,!1),P(t)))},r=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&(ve(t,e.target)?w(ge(e.target,t),e.pointerType):e.isOverTarget&&w(ge(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,b(),d||se(e.target))},o=e=>{T(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&T(e)}}else{t.onMouseDown=t=>{0===t.button&&t.currentTarget.contains(t.target)&&(he(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents?t.stopPropagation():(e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=ee(t.nativeEvent)?"virtual":"mouse",s||u||z(t.currentTarget),y(t,e.pointerType)&&t.stopPropagation(),h(document,"mouseup",n,!1)))},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&(e.isOverTarget=!0,n=y(t,e.pointerType)),n&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&(e.isOverTarget=!1,n=w(t,e.pointerType,!1),P(t)),n&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&(e.ignoreEmulatedMouseEvents||0!==t.button||E(t,e.pointerType))};let n=t=>{0===t.button&&(e.isPressed=!1,b(),e.ignoreEmulatedMouseEvents?e.ignoreEmulatedMouseEvents=!1:(ve(t,e.target)?w(ge(e.target,t),e.pointerType):e.isOverTarget&&w(ge(e.target,t),e.pointerType,!1),e.isOverTarget=!1))};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let n=function(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);n&&(e.activePointerId=n.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",s||u||z(t.currentTarget),d||ae(e.target),y(t,e.pointerType)&&t.stopPropagation(),h(window,"scroll",r,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed)return void t.stopPropagation();let n=me(t.nativeEvent,e.activePointerId),r=!0;n&&ve(n,t.currentTarget)?e.isOverTarget||(e.isOverTarget=!0,r=y(t,e.pointerType)):e.isOverTarget&&(e.isOverTarget=!1,r=w(t,e.pointerType,!1),P(t)),r&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed)return void t.stopPropagation();let n=me(t.nativeEvent,e.activePointerId),r=!0;n&&ve(n,t.currentTarget)?(E(t,e.pointerType),r=w(t,e.pointerType)):e.isOverTarget&&(r=w(t,e.pointerType,!1)),r&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,d||se(e.target),b()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&T(t))};let r=t=>{e.isPressed&&t.target.contains(e.target)&&T({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&T(e)}}return t}),[h,s,u,b,d,T,P,w,y,E]);return(0,e.useEffect)((()=>()=>{d||se(v.current.target)}),[d]),{isPressed:l||m,pressProps:F(p,S)}}function fe(e){return"A"===e.tagName&&e.hasAttribute("href")}function pe(e,t){const{key:n,code:r}=e,o=t,i=o.getAttribute("role");return!("Enter"!==n&&" "!==n&&"Spacebar"!==n&&"Space"!==r||o instanceof HTMLInputElement&&!we(o,n)||o instanceof HTMLTextAreaElement||o.isContentEditable||fe(o)&&("button"!==i||"Enter"===n)||"link"===i&&"Enter"!==n)}function me(e,t){const n=e.changedTouches;for(let e=0;e<n.length;e++){const r=n[e];if(r.identifier===t)return r}return null}function ge(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function ve(e,t){let n=t.getBoundingClientRect(),r=function(e){let t=e.width/2||e.radiusX||0,n=e.height/2||e.radiusY||0;return{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}(e);return i=r,!((o=n).left>i.right||i.left>o.right||o.top>i.bottom||i.top>o.bottom);var o,i}function he(e){return!(e instanceof HTMLElement&&e.draggable)}function be(e,t){return e instanceof HTMLInputElement?!we(e,t):!(e instanceof HTMLButtonElement)||"submit"!==e.type&&"reset"!==e.type}const ye=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function we(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:ye.has(e.type)}class Ee{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function Te(t){let n=(0,e.useRef)({isFocused:!1,observer:null});C((()=>{const e=n.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}}),[]);let r=Z((e=>{null==t||t(e)}));return(0,e.useCallback)((e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){n.current.isFocused=!0;let t=e.target,o=e=>{n.current.isFocused=!1,t.disabled&&r(new Ee("blur",e)),n.current.observer&&(n.current.observer.disconnect(),n.current.observer=null)};t.addEventListener("focusout",o,{once:!0}),n.current.observer=new MutationObserver((()=>{if(n.current.isFocused&&t.disabled){n.current.observer.disconnect();let e=t===document.activeElement?null:document.activeElement;t.dispatchEvent(new FocusEvent("blur",{relatedTarget:e})),t.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:e}))}})),n.current.observer.observe(t,{attributes:!0,attributeFilter:["disabled"]})}}),[r])}function Pe(t){let{isDisabled:n,onFocus:r,onBlur:o,onFocusChange:i}=t;const a=(0,e.useCallback)((e=>{if(e.target===e.currentTarget)return o&&o(e),i&&i(!1),!0}),[o,i]),s=Te(a),l=(0,e.useCallback)((e=>{e.target===e.currentTarget&&document.activeElement===e.target&&(r&&r(e),i&&i(!0),s(e))}),[i,r,s]);return{focusProps:{onFocus:!n&&(r||i||o)?l:void 0,onBlur:n||!o&&!i?void 0:a}}}let Se=null,Ce=new Set,Re=!1,Me=!1,xe=!1;const Le={Tab:!0,Escape:!0};function ke(e,t){for(let n of Ce)n(e,t)}function Fe(e){Me=!0,function(e){return!(e.metaKey||!J()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key)}(e)&&(Se="keyboard",ke("keyboard",e))}function Oe(e){Se="pointer","mousedown"!==e.type&&"pointerdown"!==e.type||(Me=!0,ke("pointer",e))}function Ne(e){ee(e)&&(Me=!0,Se="virtual")}function Ie(e){e.target!==window&&e.target!==document&&(Me||xe||(Se="virtual",ke("virtual",e)),Me=!1,xe=!1)}function De(){Me=!1,xe=!0}function Ae(){if("undefined"==typeof window||Re)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){Me=!0,e.apply(this,arguments)},document.addEventListener("keydown",Fe,!0),document.addEventListener("keyup",Fe,!0),document.addEventListener("click",Ne,!0),window.addEventListener("focus",Ie,!0),window.addEventListener("blur",De,!1),"undefined"!=typeof PointerEvent?(document.addEventListener("pointerdown",Oe,!0),document.addEventListener("pointermove",Oe,!0),document.addEventListener("pointerup",Oe,!0)):(document.addEventListener("mousedown",Oe,!0),document.addEventListener("mousemove",Oe,!0),document.addEventListener("mouseup",Oe,!0)),Re=!0}function ze(){return"pointer"!==Se}function We(t){let{isDisabled:n,onBlurWithin:r,onFocusWithin:o,onFocusWithinChange:i}=t,a=(0,e.useRef)({isFocusWithin:!1}),s=(0,e.useCallback)((e=>{a.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(a.current.isFocusWithin=!1,r&&r(e),i&&i(!1))}),[r,i,a]),l=Te(s),u=(0,e.useCallback)((e=>{a.current.isFocusWithin||document.activeElement!==e.target||(o&&o(e),i&&i(!0),a.current.isFocusWithin=!0,l(e))}),[o,i,l]);return n?{focusWithinProps:{onFocus:null,onBlur:null}}:{focusWithinProps:{onFocus:u,onBlur:s}}}"undefined"!=typeof document&&("loading"!==document.readyState?Ae():document.addEventListener("DOMContentLoaded",Ae));let He=!1,Be=0;function Ke(){He=!0,setTimeout((()=>{He=!1}),50)}function _e(e){"touch"===e.pointerType&&Ke()}function Ue(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",_e):document.addEventListener("touchend",Ke),Be++,()=>{Be--,Be>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",_e):document.removeEventListener("touchend",Ke))}}function je(e,t){if(e.button>0)return!1;if(e.target){const t=e.target.ownerDocument;if(!t||!t.documentElement.contains(e.target))return!1;if(e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}function Ve(e){if(!e)return;let t=!0;return n=>{let r={...n,preventDefault(){n.preventDefault()},isDefaultPrevented:()=>n.isDefaultPrevented(),stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}};e(r),t&&n.stopPropagation()}}function qe(e){if("virtual"===Se){let t=document.activeElement;_((()=>{document.activeElement===t&&document.contains(e)&&z(e)}))}else z(e)}function $e(e,t){return"#comment"!==e.nodeName&&function(e){if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;let{display:t,visibility:n}=e.style,r="none"!==t&&"hidden"!==n&&"collapse"!==n;if(r){const{getComputedStyle:t}=e.ownerDocument.defaultView;let{display:n,visibility:o}=t(e);r="none"!==n&&"hidden"!==o&&"collapse"!==o}return r}(e)&&function(e,t){return!e.hasAttribute("hidden")&&("DETAILS"!==e.nodeName||!t||"SUMMARY"===t.nodeName||e.hasAttribute("open"))}(e,t)&&(!e.parentElement||$e(e.parentElement,e))}const Ye=e.createContext(null);let Ge=null;function Xe(t){let{children:n,contain:r,restoreFocus:o,autoFocus:i}=t,a=(0,e.useRef)(),s=(0,e.useRef)(),l=(0,e.useRef)([]),{parentNode:u}=(0,e.useContext)(Ye)||{},c=(0,e.useMemo)((()=>new ct({scopeRef:l})),[l]);C((()=>{let e=u||dt.root;if(dt.getTreeNode(e.scopeRef)&&Ge&&!it(Ge,e.scopeRef)){let t=dt.getTreeNode(Ge);t&&(e=t)}e.addChild(c),dt.addNode(c)}),[c,u]),C((()=>{dt.getTreeNode(l).contain=r}),[r]),C((()=>{let e=a.current.nextSibling,t=[];for(;e&&e!==s.current;)t.push(e),e=e.nextSibling;l.current=t}),[n]),function(e,t,n){C((()=>{if(t||n)return;let r=e.current,o=t=>{let n=t.target;rt(n,e.current)?Ge=e:nt(n)||(Ge=null)};return document.addEventListener("focusin",o,!1),r.forEach((e=>e.addEventListener("focusin",o,!1))),()=>{document.removeEventListener("focusin",o,!1),r.forEach((e=>e.removeEventListener("focusin",o,!1)))}}),[e,t,n])}(l,o,r),function(t,n){let r=(0,e.useRef)(),o=(0,e.useRef)(null);C((()=>{let e=t.current;if(!n)return void(o.current&&(cancelAnimationFrame(o.current),o.current=null));let i=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!tt(t))return;let n=document.activeElement,r=t.current;if(!rt(n,r))return;let o=lt(et(r),{tabbable:!0},r);o.currentNode=n;let i=e.shiftKey?o.previousNode():o.nextNode();i||(o.currentNode=e.shiftKey?r[r.length-1].nextElementSibling:r[0].previousElementSibling,i=e.shiftKey?o.previousNode():o.nextNode()),e.preventDefault(),i&&at(i,!0)},a=e=>{Ge&&!it(Ge,t)||!rt(e.target,t.current)?tt(t)&&!ot(e.target,t)?r.current?r.current.focus():Ge&&st(Ge.current):tt(t)&&(r.current=e.target):(Ge=t,r.current=e.target)},s=e=>{o.current&&cancelAnimationFrame(o.current),o.current=requestAnimationFrame((()=>{tt(t)&&!ot(document.activeElement,t)&&(Ge=t,document.body.contains(e.target)?(r.current=e.target,r.current.focus()):Ge&&st(Ge.current))}))};return document.addEventListener("keydown",i,!1),document.addEventListener("focusin",a,!1),e.forEach((e=>e.addEventListener("focusin",a,!1))),e.forEach((e=>e.addEventListener("focusout",s,!1))),()=>{document.removeEventListener("keydown",i,!1),document.removeEventListener("focusin",a,!1),e.forEach((e=>e.removeEventListener("focusin",a,!1))),e.forEach((e=>e.removeEventListener("focusout",s,!1)))}}),[t,n]),C((()=>()=>{o.current&&cancelAnimationFrame(o.current)}),[o])}(l,r),function(t,n,r){const o=(0,e.useRef)("undefined"!=typeof document?document.activeElement:null);C((()=>{let e=t.current;if(!n||r)return;let o=()=>{Ge&&!it(Ge,t)||!rt(document.activeElement,t.current)||(Ge=t)};return document.addEventListener("focusin",o,!1),e.forEach((e=>e.addEventListener("focusin",o,!1))),()=>{document.removeEventListener("focusin",o,!1),e.forEach((e=>e.removeEventListener("focusin",o,!1)))}}),[t,r]),C((()=>{if(!n)return;let e=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!tt(t))return;let n=document.activeElement;if(!rt(n,t.current))return;let r=dt.getTreeNode(t).nodeToRestore,o=lt(document.body,{tabbable:!0});o.currentNode=n;let i=e.shiftKey?o.previousNode():o.nextNode();if(document.body.contains(r)&&r!==document.body||(r=null,dt.getTreeNode(t).nodeToRestore=null),(!i||!rt(i,t.current))&&r){o.currentNode=r;do{i=e.shiftKey?o.previousNode():o.nextNode()}while(rt(i,t.current));e.preventDefault(),e.stopPropagation(),i?at(i,!0):nt(r)?at(r,!0):n.blur()}};return r||document.addEventListener("keydown",e,!0),()=>{r||document.removeEventListener("keydown",e,!0)}}),[t,n,r]),C((()=>{if(n)return dt.getTreeNode(t).nodeToRestore=o.current,()=>{let e=dt.getTreeNode(t).nodeToRestore;if(n&&e&&(rt(document.activeElement,t.current)||document.activeElement===document.body&&function(e){let t=dt.getTreeNode(Ge);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}(t))){let e=dt.clone();requestAnimationFrame((()=>{if(document.activeElement===document.body){let n=e.getTreeNode(t);for(;n;){if(n.nodeToRestore&&document.body.contains(n.nodeToRestore))return void at(n.nodeToRestore);n=n.parent}for(n=e.getTreeNode(t);n;){if(n.scopeRef&&dt.getTreeNode(n.scopeRef))return void st(n.scopeRef.current,!0);n=n.parent}}}))}}}),[t,n])}(l,o,r),function(t,n){const r=e.useRef(n);(0,e.useEffect)((()=>{r.current&&(Ge=t,rt(document.activeElement,Ge.current)||st(t.current)),r.current=!1}),[t])}(l,i),(0,e.useEffect)((()=>{if(l){let e=document.activeElement,t=null;if(rt(e,l.current)){for(let n of dt.traverse())rt(e,n.scopeRef.current)&&(t=n);t===dt.getTreeNode(l)&&(Ge=t.scopeRef)}return()=>{let e=dt.getTreeNode(l).parent.scopeRef;l!==Ge&&!it(l,Ge)||e&&!dt.getTreeNode(e)||(Ge=e),dt.removeTreeNode(l)}}}),[l]);let d=(0,e.useMemo)((()=>function(e){return{focusNext(t={}){let n=e.current,{from:r,tabbable:o,wrap:i,accept:a}=t,s=r||document.activeElement,l=n[0].previousElementSibling,u=lt(et(n),{tabbable:o,accept:a},n);u.currentNode=rt(s,n)?s:l;let c=u.nextNode();return!c&&i&&(u.currentNode=l,c=u.nextNode()),c&&at(c,!0),c},focusPrevious(t={}){let n=e.current,{from:r,tabbable:o,wrap:i,accept:a}=t,s=r||document.activeElement,l=n[n.length-1].nextElementSibling,u=lt(et(n),{tabbable:o,accept:a},n);u.currentNode=rt(s,n)?s:l;let c=u.previousNode();return!c&&i&&(u.currentNode=l,c=u.previousNode()),c&&at(c,!0),c},focusFirst(t={}){let n=e.current,{tabbable:r,accept:o}=t,i=lt(et(n),{tabbable:r,accept:o},n);i.currentNode=n[0].previousElementSibling;let a=i.nextNode();return a&&at(a,!0),a},focusLast(t={}){let n=e.current,{tabbable:r,accept:o}=t,i=lt(et(n),{tabbable:r,accept:o},n);i.currentNode=n[n.length-1].nextElementSibling;let a=i.previousNode();return a&&at(a,!0),a}}}(l)),[]),f=(0,e.useMemo)((()=>({focusManager:d,parentNode:c})),[c,d]);return e.createElement(Ye.Provider,{value:f},e.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),n,e.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:s}))}const Je=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],Qe=Je.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Je.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const Ze=Je.join(':not([hidden]):not([tabindex="-1"]),');function et(e){return e[0].parentElement}function tt(e){let t=dt.getTreeNode(Ge);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function nt(e){return ot(e)}function rt(e,t){return t.some((t=>t.contains(e)))}function ot(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of dt.traverse(dt.getTreeNode(t)))if(rt(e,n.current))return!0;return!1}function it(e,t){var n;let r=null===(n=dt.getTreeNode(t))||void 0===n?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function at(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch(e){}}else try{qe(e)}catch(e){}}function st(e,t=!0){let n=e[0].previousElementSibling,r=lt(et(e),{tabbable:t},e);r.currentNode=n;let o=r.nextNode();t&&!o&&(r=lt(et(e),{tabbable:!1},e),r.currentNode=n,o=r.nextNode()),at(o)}function lt(e,t,n){let r=(null==t?void 0:t.tabbable)?Ze:Qe,o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(e){var o;return(null==t||null===(o=t.from)||void 0===o?void 0:o.contains(e))?NodeFilter.FILTER_REJECT:!e.matches(r)||!$e(e)||n&&!rt(e,n)||(null==t?void 0:t.accept)&&!t.accept(e)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT}});return(null==t?void 0:t.from)&&(o.currentNode=t.from),o}class ut{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null),o=new ct({scopeRef:e});r.addChild(o),o.parent=r,this.fastMap.set(e,o),n&&(o.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e),n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef.current&&rt(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n.removeChild(t),r.size>0&&r.forEach((e=>n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){let e=new ut;for(let t of this.traverse())e.addTreeNode(t.scopeRef,t.parent.scopeRef,t.nodeToRestore);return e}constructor(){this.fastMap=new Map,this.root=new ct({scopeRef:null}),this.fastMap.set(null,this.root)}}class ct{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let dt=new ut;function ft(t={}){let{autoFocus:n=!1,isTextInput:r,within:o}=t,i=(0,e.useRef)({isFocused:!1,isFocusVisible:n||ze()}),[a,s]=(0,e.useState)(!1),[l,u]=(0,e.useState)((()=>i.current.isFocused&&i.current.isFocusVisible)),c=(0,e.useCallback)((()=>u(i.current.isFocused&&i.current.isFocusVisible)),[]),d=(0,e.useCallback)((e=>{i.current.isFocused=e,s(e),c()}),[c]);!function(t,n,r){Ae(),(0,e.useEffect)((()=>{let e=(e,n)=>{(function(e,t,n){return!(e&&"keyboard"===t&&n instanceof KeyboardEvent&&!Le[n.key])})(null==r?void 0:r.isTextInput,e,n)&&t(ze())};return Ce.add(e),()=>{Ce.delete(e)}}),n)}((e=>{i.current.isFocusVisible=e,c()}),[],{isTextInput:r});let{focusProps:f}=Pe({isDisabled:o,onFocusChange:d}),{focusWithinProps:p}=We({isDisabled:!o,onFocusWithinChange:d});return{isFocused:a,isFocusVisible:l,focusProps:o?p:f}}let pt=e.createContext(null);function mt(t,n){let{focusProps:r}=Pe(t),{keyboardProps:o}=function(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:Ve(e.onKeyDown),onKeyUp:Ve(e.onKeyUp)}}}(t),i=F(r,o),a=function(t){let n=(0,e.useContext)(pt)||{};V(n,t);let{ref:r,...o}=n;return o}(n),s=t.isDisabled?{}:a,l=(0,e.useRef)(t.autoFocus);return(0,e.useEffect)((()=>{l.current&&n.current&&qe(n.current),l.current=!1}),[n]),{focusableProps:F({...i,tabIndex:t.excludeFromTabOrder&&!t.isDisabled?-1:void 0},s)}}class gt{getStringForLocale(e,t){let n=this.strings[t];n||(n=function(e,t,n="en-US"){if(t[e])return t[e];let r=function(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}(e);if(t[r])return t[r];for(let e in t)if(e.startsWith(r+"-"))return t[e];return t[n]}(t,this.strings,this.defaultLocale),this.strings[t]=n);let r=n[e];if(!r)throw new Error(`Could not find intl message ${e} in ${t} locale`);return r}constructor(e,t="en-US"){this.strings={...e},this.defaultLocale=t}}const vt=new Map,ht=new Map;class bt{format(e,t){let n=this.strings.getStringForLocale(e,this.locale);return"function"==typeof n?n(t,this):n}plural(e,t,n="cardinal"){let r=t["="+e];if(r)return"function"==typeof r?r():r;let o=this.locale+":"+n,i=vt.get(o);return i||(i=new Intl.PluralRules(this.locale,{type:n}),vt.set(o,i)),r=t[i.select(e)]||t.other,"function"==typeof r?r():r}number(e){let t=ht.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),ht.set(this.locale,t)),t.format(e)}select(e,t){let n=e[t]||e.other;return"function"==typeof n?n():n}constructor(e,t){this.locale=e,this.strings=t}}const yt=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),wt=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Et(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize().script;return yt.has(t)}let t=e.split("-")[0];return wt.has(t)}function Tt(){let e="undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch(t){e="en-US"}return{locale:e,direction:Et(e)?"rtl":"ltr"}}let Pt=Tt(),St=new Set;function Ct(){Pt=Tt();for(let e of St)e(Pt)}const Rt=e.createContext(null);function Mt(){let t=function(){let t=T(),[n,r]=(0,e.useState)(Pt);return(0,e.useEffect)((()=>(0===St.size&&window.addEventListener("languagechange",Ct),St.add(r),()=>{St.delete(r),0===St.size&&window.removeEventListener("languagechange",Ct)})),[]),t?{locale:"en-US",direction:"ltr"}:n}();return(0,e.useContext)(Rt)||t}const xt=new WeakMap;new Map;const Lt=window.ReactDOM,kt={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function Ft(t){let{children:n,elementType:r="div",isFocusable:o,style:i,...a}=t,{visuallyHiddenProps:s}=function(t={}){let{style:n,isFocusable:r}=t,[o,i]=(0,e.useState)(!1),{focusWithinProps:a}=We({isDisabled:!r,onFocusWithinChange:e=>i(e)});return{visuallyHiddenProps:{...a,style:(0,e.useMemo)((()=>o?n:n?{...kt,...n}:kt),[o])}}}(t);return e.createElement(r,F(a,s),n)}function Ot(e){return e&&e.__esModule?e.default:e}"undefined"!=typeof document&&window.visualViewport,new WeakMap,"undefined"!=typeof document&&window.visualViewport;const Nt=[];function It(t,n){let{onClose:r,shouldCloseOnBlur:o,isOpen:i,isDismissable:a=!1,isKeyboardDismissDisabled:s=!1,shouldCloseOnInteractOutside:l}=t;(0,e.useEffect)((()=>(i&&Nt.push(n),()=>{let e=Nt.indexOf(n);e>=0&&Nt.splice(e,1)})),[i,n]);let u=()=>{Nt[Nt.length-1]===n&&r&&r()};!function(t){let{ref:n,onInteractOutside:r,isDisabled:o,onInteractOutsideStart:i}=t,a=(0,e.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),s=Z((e=>{r&&je(e,n)&&(i&&i(e),a.current.isPointerDown=!0)})),l=Z((e=>{r&&r(e)}));(0,e.useEffect)((()=>{let e=a.current;if(!o){if("undefined"!=typeof PointerEvent){let t=t=>{e.isPointerDown&&je(t,n)&&l(t),e.isPointerDown=!1};return document.addEventListener("pointerdown",s,!0),document.addEventListener("pointerup",t,!0),()=>{document.removeEventListener("pointerdown",s,!0),document.removeEventListener("pointerup",t,!0)}}{let t=t=>{e.ignoreEmulatedMouseEvents?e.ignoreEmulatedMouseEvents=!1:e.isPointerDown&&je(t,n)&&l(t),e.isPointerDown=!1},r=t=>{e.ignoreEmulatedMouseEvents=!0,e.isPointerDown&&je(t,n)&&l(t),e.isPointerDown=!1};return document.addEventListener("mousedown",s,!0),document.addEventListener("mouseup",t,!0),document.addEventListener("touchstart",s,!0),document.addEventListener("touchend",r,!0),()=>{document.removeEventListener("mousedown",s,!0),document.removeEventListener("mouseup",t,!0),document.removeEventListener("touchstart",s,!0),document.removeEventListener("touchend",r,!0)}}}}),[n,o,s,l])}({ref:n,onInteractOutside:a?e=>{l&&!l(e.target)||(Nt[Nt.length-1]===n&&(e.stopPropagation(),e.preventDefault()),u())}:null,onInteractOutsideStart:e=>{l&&!l(e.target)||Nt[Nt.length-1]===n&&(e.stopPropagation(),e.preventDefault())}});let{focusWithinProps:c}=We({isDisabled:!o,onBlurWithin:e=>{e.relatedTarget&&ot(e.relatedTarget,Ge)||l&&!l(e.relatedTarget)||r()}});return{overlayProps:{onKeyDown:e=>{"Escape"!==e.key||s||(e.stopPropagation(),e.preventDefault(),u())},...c},underlayProps:{onPointerDown:e=>{e.target===e.currentTarget&&e.preventDefault()}}}}const Dt="undefined"!=typeof document&&window.visualViewport,At=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let zt,Wt=0;function Ht(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function Bt(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function Kt(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let t=q(e);if(t!==document.documentElement&&t!==document.body&&t!==e){let n=t.getBoundingClientRect().top,r=e.getBoundingClientRect().top;r>n+e.clientHeight&&(t.scrollTop+=r-n)}e=t.parentElement}}function _t(e){return e instanceof HTMLInputElement&&!At.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}var Ut={};function jt(t){let{onDismiss:n,...r}=t,o=U(r,function(t){let{locale:n}=Mt(),r=(0,e.useMemo)((()=>function(e){let t=xt.get(e);return t||(t=new gt(e),xt.set(e,t)),t}(t)),[t]);return(0,e.useMemo)((()=>new bt(n,r)),[n,r])}(Ot(Ut)).format("dismiss"));return e.createElement(Ft,null,e.createElement("button",{...o,tabIndex:-1,onClick:()=>{n&&n()}}))}Ut={"ar-AE":{dismiss:"تجاهل"},"bg-BG":{dismiss:"Отхвърляне"},"cs-CZ":{dismiss:"Odstranit"},"da-DK":{dismiss:"Luk"},"de-DE":{dismiss:"Schließen"},"el-GR":{dismiss:"Απόρριψη"},"en-US":{dismiss:"Dismiss"},"es-ES":{dismiss:"Descartar"},"et-EE":{dismiss:"Lõpeta"},"fi-FI":{dismiss:"Hylkää"},"fr-FR":{dismiss:"Rejeter"},"he-IL":{dismiss:"התעלם"},"hr-HR":{dismiss:"Odbaci"},"hu-HU":{dismiss:"Elutasítás"},"it-IT":{dismiss:"Ignora"},"ja-JP":{dismiss:"閉じる"},"ko-KR":{dismiss:"무시"},"lt-LT":{dismiss:"Atmesti"},"lv-LV":{dismiss:"Nerādīt"},"nb-NO":{dismiss:"Lukk"},"nl-NL":{dismiss:"Negeren"},"pl-PL":{dismiss:"Zignoruj"},"pt-BR":{dismiss:"Descartar"},"pt-PT":{dismiss:"Dispensar"},"ro-RO":{dismiss:"Revocare"},"ru-RU":{dismiss:"Пропустить"},"sk-SK":{dismiss:"Zrušiť"},"sl-SI":{dismiss:"Opusti"},"sr-SP":{dismiss:"Odbaci"},"sv-SE":{dismiss:"Avvisa"},"tr-TR":{dismiss:"Kapat"},"uk-UA":{dismiss:"Скасувати"},"zh-CN":{dismiss:"取消"},"zh-TW":{dismiss:"關閉"}};let Vt=new WeakMap,qt=[];const $t=e.createContext(null);function Yt(t){let n,r=T(),{portalContainer:o=(r?null:document.body),isExiting:i}=t,[a,s]=(0,e.useState)(!1),l=(0,e.useMemo)((()=>({contain:a,setContain:s})),[a,s]);return o?(n=t.disableFocusManagement?e.createElement($t.Provider,{value:l},t.children):e.createElement($t.Provider,{value:l},e.createElement(Xe,{restoreFocus:!0,contain:a&&!i},t.children)),Lt.createPortal(n,o)):null}function Gt(){let t=(0,e.useContext)($t),n=null==t?void 0:t.setContain;C((()=>{null==n||n(!0)}),[n])}function Xt(t,n,r){let{overlayProps:o,underlayProps:i}=It({...t,isOpen:n.isOpen,onClose:n.close},r);return function(e={}){let{isDisabled:t}=e;C((()=>{if(!t)return Wt++,1===Wt&&(zt=Q()?function(){let e,t=0,n=window.pageXOffset,r=window.pageYOffset,o=k(Ht(document.documentElement,"paddingRight",window.innerWidth-document.documentElement.clientWidth+"px"),Ht(document.documentElement,"overflow","hidden"),Ht(document.body,"marginTop",`-${r}px`));window.scrollTo(0,0);let i=k(Bt(document,"touchstart",(n=>{e=q(n.target),e===document.documentElement&&e===document.body||(t=n.changedTouches[0].pageY)}),{passive:!1,capture:!0}),Bt(document,"touchmove",(n=>{if(!e||e===document.documentElement||e===document.body)return void n.preventDefault();let r=n.changedTouches[0].pageY,o=e.scrollTop,i=e.scrollHeight-e.clientHeight;0!==i&&((o<=0&&r>t||o>=i&&r<t)&&n.preventDefault(),t=r)}),{passive:!1,capture:!0}),Bt(document,"touchend",(e=>{let t=e.target;_t(t)&&t!==document.activeElement&&(e.preventDefault(),t.style.transform="translateY(-2000px)",t.focus(),requestAnimationFrame((()=>{t.style.transform=""})))}),{passive:!1,capture:!0}),Bt(document,"focus",(e=>{let t=e.target;_t(t)&&(t.style.transform="translateY(-2000px)",requestAnimationFrame((()=>{t.style.transform="",Dt&&(Dt.height<window.innerHeight?requestAnimationFrame((()=>{Kt(t)})):Dt.addEventListener("resize",(()=>Kt(t)),{once:!0}))})))}),!0),Bt(window,"scroll",(()=>{window.scrollTo(0,0)})));return()=>{o(),i(),window.scrollTo(n,r)}}():k(Ht(document.documentElement,"paddingRight",window.innerWidth-document.documentElement.clientWidth+"px"),Ht(document.documentElement,"overflow","hidden"))),()=>{Wt--,0===Wt&&zt()}}),[t])}({isDisabled:!n.isOpen}),Gt(),(0,e.useEffect)((()=>{if(n.isOpen)return function(e,t=document.body){let n=new Set(e),r=new Set,o=e=>{for(let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))n.add(t);let t=e=>{if(n.has(e)||r.has(e.parentElement)&&"row"!==e.parentElement.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let t of n)if(e.contains(t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),a=t(e);if(a===NodeFilter.FILTER_ACCEPT&&i(e),a!==NodeFilter.FILTER_REJECT){let e=o.nextNode();for(;null!=e;)i(e),e=o.nextNode()}},i=e=>{var t;let n=null!==(t=Vt.get(e))&&void 0!==t?t:0;"true"===e.getAttribute("aria-hidden")&&0===n||(0===n&&e.setAttribute("aria-hidden","true"),r.add(e),Vt.set(e,n+1))};qt.length&&qt[qt.length-1].disconnect(),o(t);let a=new MutationObserver((e=>{for(let t of e)if("childList"===t.type&&0!==t.addedNodes.length&&![...n,...r].some((e=>e.contains(t.target)))){for(let e of t.removedNodes)e instanceof Element&&(n.delete(e),r.delete(e));for(let e of t.addedNodes)!(e instanceof HTMLElement||e instanceof SVGElement)||"true"!==e.dataset.liveAnnouncer&&"true"!==e.dataset.reactAriaTopLayer?e instanceof Element&&o(e):n.add(e)}}));a.observe(t,{childList:!0,subtree:!0});let s={observe(){a.observe(t,{childList:!0,subtree:!0})},disconnect(){a.disconnect()}};return qt.push(s),()=>{a.disconnect();for(let e of r){let t=Vt.get(e);1===t?(e.removeAttribute("aria-hidden"),Vt.delete(e)):Vt.set(e,t-1)}s===qt[qt.length-1]?(qt.pop(),qt.length&&qt[qt.length-1].observe()):qt.splice(qt.indexOf(s),1)}}([r.current])}),[n.isOpen,r]),{modalProps:F(o),underlayProps:i}}function Jt(e){let{description:t,errorMessage:n,validationState:r}=e,{labelProps:o,fieldProps:i}=function(e){let{id:t,label:n,"aria-labelledby":r,"aria-label":o,labelElementType:i="label"}=e;t=M(t);let a=M(),s={};return n?(r=r?`${a} ${r}`:a,s={id:a,htmlFor:"label"===i?t:void 0}):r||o||console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility"),{labelProps:s,fieldProps:U({id:t,"aria-label":o,"aria-labelledby":r})}}(e),a=L([Boolean(t),Boolean(n),r]),s=L([Boolean(t),Boolean(n),r]);return i=F(i,{"aria-describedby":[a,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:o,fieldProps:i,descriptionProps:{id:a},errorMessageProps:{id:s}}}function Qt(t,n){let{inputElementType:r="input",isDisabled:o=!1,isRequired:i=!1,isReadOnly:a=!1,validationState:s,type:l="text",value:u,defaultValue:c,onChange:d=(()=>{})}=t,{focusableProps:f}=mt(t,n),{labelProps:p,fieldProps:m,descriptionProps:g,errorMessageProps:v}=Jt(t),h=A(t,{labelable:!0});const b={type:l,pattern:t.pattern};var y;return function(t,n,r){let o=(0,e.useRef)(n),i=Z((()=>{r&&r(o.current)}));(0,e.useEffect)((()=>{var e;let n=null==t||null===(e=t.current)||void 0===e?void 0:e.form;return null==n||n.addEventListener("reset",i),()=>{null==n||n.removeEventListener("reset",i)}}),[t,i])}(n,null!==(y=null!=u?u:c)&&void 0!==y?y:"",d),{labelProps:p,inputProps:F(h,"input"===r&&b,{disabled:o,readOnly:a,"aria-required":i||void 0,"aria-invalid":"invalid"===s||void 0,"aria-errormessage":t["aria-errormessage"],"aria-activedescendant":t["aria-activedescendant"],"aria-autocomplete":t["aria-autocomplete"],"aria-haspopup":t["aria-haspopup"],value:t.value,defaultValue:t.value?void 0:t.defaultValue,onChange:e=>d(e.target.value),autoComplete:t.autoComplete,maxLength:t.maxLength,minLength:t.minLength,name:t.name,placeholder:t.placeholder,inputMode:t.inputMode,onCopy:t.onCopy,onCut:t.onCut,onPaste:t.onPaste,onCompositionEnd:t.onCompositionEnd,onCompositionStart:t.onCompositionStart,onCompositionUpdate:t.onCompositionUpdate,onSelect:t.onSelect,onBeforeInput:t.onBeforeInput,onInput:t.onInput,...f,...m}),descriptionProps:g,errorMessageProps:v}}function Zt(t){let[n,r]=function(t,n,r){let[o,i]=(0,e.useState)(t||n),a=(0,e.useRef)(void 0!==t),s=void 0!==t;(0,e.useEffect)((()=>{let e=a.current;e!==s&&console.warn(`WARN: A component changed from ${e?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}.`),a.current=s}),[s]);let l=s?t:o,u=(0,e.useCallback)(((e,...t)=>{let n=(e,...t)=>{r&&(Object.is(l,e)||r(e,...t)),s||(l=e)};"function"==typeof e?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),i(((r,...o)=>{let i=e(s?l:r,...o);return n(i,...t),s?r:i}))):(s||i(e),n(e,...t))}),[s,l,r]);return[l,u]}(t.isOpen,t.defaultOpen||!1,t.onOpenChange);const o=(0,e.useCallback)((()=>{r(!0)}),[r]),i=(0,e.useCallback)((()=>{r(!1)}),[r]),a=(0,e.useCallback)((()=>{r(!n)}),[r,n]);return{isOpen:n,setOpen:r,open:o,close:i,toggle:a}}n(1688),new WeakMap;Symbol.iterator;const en="row-header-column-"+Math.random().toString(36).slice(2);let tn="row-header-column-"+Math.random().toString(36).slice(2);for(;en===tn;)tn="row-header-column-"+Math.random().toString(36).slice(2);function nn(e){return null}Symbol.iterator,nn.getCollectionNode=function*(t,n){let{children:r,textValue:o,UNSTABLE_childItems:i}=t;yield{type:"item",props:t,textValue:o,"aria-label":t["aria-label"],hasChildNodes:!0,*childNodes(){if(n.showDragButtons&&(yield{type:"cell",key:"header-drag",props:{isDragButtonCell:!0}}),n.showSelectionCheckboxes&&"none"!==n.selectionMode&&(yield{type:"cell",key:"header",props:{isSelectionCell:!0}}),"function"==typeof r){for(let e of n.columns)yield{type:"cell",element:r(e.key),key:e.key};if(i)for(let e of i)yield{type:"item",value:e}}else{let t=[],o=[];if(e.Children.forEach(r,(e=>{if(e.type===nn){if(t.length<n.columns.length)throw new Error("All of a Row's child Cells must be positioned before any child Rows.");o.push({type:"item",element:e})}else t.push({type:"cell",element:e})})),t.length!==n.columns.length)throw new Error(`Cell count must match column count. Found ${t.length} cells and ${n.columns.length} columns.`);yield*t,yield*o}},shouldInvalidate:e=>e.columns.length!==n.columns.length||e.columns.some(((e,t)=>e.key!==n.columns[t].key))||e.showSelectionCheckboxes!==n.showSelectionCheckboxes||e.showDragButtons!==n.showDragButtons||e.selectionMode!==n.selectionMode}},Symbol.iterator;Symbol.iterator;const rn=Symbol("callback"),on=Symbol("default");function an({values:t,children:n}){for(let[r,o]of t)n=e.createElement(r.Provider,{value:o},n);return n}function sn(t){let{className:n,style:r,children:o,defaultClassName:i,defaultChildren:a,values:s}=t;return(0,e.useMemo)((()=>{let e,t,l;return e="function"==typeof n?n(s):n,t="function"==typeof r?r(s):r,l="function"==typeof o?o(s):null==o?a:o,{className:null!=e?e:i,style:t,children:l}}),[n,r,o,i,a,s])}function ln(t,n,r){let o=(0,e.useContext)(r)||{};if("slots"in o&&o.slots){if(!t.slot&&!o.slots[on])throw new Error("A slot prop is required");let e=t.slot||on;if(!o.slots[e])throw new Error(`Invalid slot "${t.slot}". Valid slot names are `+(new Intl.ListFormat).format(Object.keys(o.slots).map((e=>`"${e}"`)))+".");o=o.slots[e]}let{ref:i,[rn]:a,...s}=o,l=j((0,e.useMemo)((()=>O(n,i)),[n,i])),u=F(s,t);return(0,e.useEffect)((()=>{a&&a(t)}),[a,t]),[u,l]}function un(t,n=!0){let[r,o]=(0,e.useState)(!0);return dn(t,r&&n,(0,e.useCallback)((()=>o(!1)),[])),r&&n}function cn(t,n){let[r,o]=(0,e.useState)(!1),[i,a]=(0,e.useState)("idle");return!n&&t.current&&"idle"===i&&(r=!0,o(!0),a("exiting")),t.current||"exited"!==i||a("idle"),dn(t,r,(0,e.useCallback)((()=>{a("exited"),o(!1)}),[])),r}function dn(t,n,r){let o=(0,e.useRef)(null);n&&t.current&&(o.current=window.getComputedStyle(t.current).animation),C((()=>{if(n&&t.current){let e=window.getComputedStyle(t.current);if("none"!==e.animationName&&e.animation!==o.current){let e=o=>{o.target===t.current&&(n.removeEventListener("animationend",e),Lt.flushSync((()=>{r()})))},n=t.current;return n.addEventListener("animationend",e),()=>{n.removeEventListener("animationend",e)}}r()}}),[t,n,r])}const fn=(0,e.createContext)({}),pn=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),mn=(0,e.createContext)({});function gn(t,n){[t,n]=ln(t,n,mn);let r=t,{buttonProps:o,isPressed:i}=function(e,t){let n,{elementType:r="button",isDisabled:o,onPress:i,onPressStart:a,onPressEnd:s,onPressChange:l,preventFocusOnPress:u,allowFocusWhenDisabled:c,onClick:d,href:f,target:p,rel:m,type:g="button"}=e;n="button"===r?{type:g,disabled:o}:{role:"button",tabIndex:o?void 0:0,href:"a"===r&&o?void 0:f,target:"a"===r?p:void 0,type:"input"===r?g:void 0,disabled:"input"===r?o:void 0,"aria-disabled":o&&"input"!==r?o:void 0,rel:"a"===r?m:void 0};let{pressProps:v,isPressed:h}=de({onPressStart:a,onPressEnd:s,onPressChange:l,onPress:i,isDisabled:o,preventFocusOnPress:u,ref:t}),{focusableProps:b}=mt(e,t);c&&(b.tabIndex=o?-1:b.tabIndex);let y=F(b,v,A(e,{labelable:!0}));return{isPressed:h,buttonProps:F(n,y,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:e=>{d&&(d(e),console.warn("onClick is deprecated, please use onPress"))}})}}(t,n),{focusProps:a,isFocused:s,isFocusVisible:l}=ft(t),{hoverProps:u,isHovered:c}=function(t){let{onHoverStart:n,onHoverChange:r,onHoverEnd:o,isDisabled:i}=t,[a,s]=(0,e.useState)(!1),l=(0,e.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,e.useEffect)(Ue,[]);let{hoverProps:u,triggerHoverEnd:c}=(0,e.useMemo)((()=>{let e=(e,t)=>{if(l.pointerType=t,i||"touch"===t||l.isHovered||!e.currentTarget.contains(e.target))return;l.isHovered=!0;let o=e.currentTarget;l.target=o,n&&n({type:"hoverstart",target:o,pointerType:t}),r&&r(!0),s(!0)},t=(e,t)=>{if(l.pointerType="",l.target=null,"touch"===t||!l.isHovered)return;l.isHovered=!1;let n=e.currentTarget;o&&o({type:"hoverend",target:n,pointerType:t}),r&&r(!1),s(!1)},a={};return"undefined"!=typeof PointerEvent?(a.onPointerEnter=t=>{He&&"mouse"===t.pointerType||e(t,t.pointerType)},a.onPointerLeave=e=>{!i&&e.currentTarget.contains(e.target)&&t(e,e.pointerType)}):(a.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},a.onMouseEnter=t=>{l.ignoreEmulatedMouseEvents||He||e(t,"mouse"),l.ignoreEmulatedMouseEvents=!1},a.onMouseLeave=e=>{!i&&e.currentTarget.contains(e.target)&&t(e,"mouse")}),{hoverProps:a,triggerHoverEnd:t}}),[n,r,o,i,l]);return(0,e.useEffect)((()=>{i&&c({currentTarget:l.target},l.pointerType)}),[i]),{hoverProps:u,isHovered:a}}(t),d=sn({...t,values:{isHovered:c,isPressed:i,isFocused:s,isFocusVisible:l,isDisabled:t.isDisabled||!1},defaultClassName:"react-aria-Button"});return e.createElement("button",{...A(t,{propNames:pn}),...F(o,a,u),...d,ref:n,slot:t.slot,"data-pressed":r.isPressed||i||void 0,"data-hovered":c||void 0,"data-focused":s||void 0,"data-focus-visible":l||void 0})}const vn=(0,e.forwardRef)(gn),hn=(0,e.createContext)({}),bn=(0,e.createContext)({}),yn=(0,e.createContext)({}),wn=(0,e.createContext)(null),En=(0,e.createContext)(null);function Tn(t,n){if((0,e.useContext)(En))return e.createElement(Mn,{...t,modalRef:n},t.children);let{isDismissable:r,isKeyboardDismissDisabled:o,isOpen:i,defaultOpen:a,onOpenChange:s,children:l,...u}=t;return e.createElement(Cn,{isDismissable:r,isKeyboardDismissDisabled:o,isOpen:i,defaultOpen:a,onOpenChange:s},e.createElement(Mn,{...u,modalRef:n},l))}const Pn=(0,e.forwardRef)(Tn);function Sn(t,n){let r=(0,e.useContext)(wn),o=Zt(t),i=null==t.isOpen&&null==t.defaultOpen&&(null==r?void 0:r.state)?r.state:o,a=j(n),s=(0,e.useRef)(null),l=cn(a,i.isOpen),u=cn(s,i.isOpen),c=l||u;return i.isOpen||c?e.createElement(Rn,{...t,state:i,isExiting:c,overlayRef:a,modalRef:s}):null}const Cn=(0,e.forwardRef)(Sn);function Rn(t){let n=t.modalRef,{state:r}=t,{modalProps:o,underlayProps:i}=Xt(t,r,n),a=un(t.overlayRef),s=sn({...t,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:a,isExiting:t.isExiting,state:r}}),l=function(){let[t,n]=(0,e.useState)((()=>G()));return(0,e.useEffect)((()=>{let e=()=>{n((e=>{let t=G();return t.width===e.width&&t.height===e.height?e:t}))};return Y?Y.addEventListener("resize",e):window.addEventListener("resize",e),()=>{Y?Y.removeEventListener("resize",e):window.removeEventListener("resize",e)}}),[]),t}(),u={...s.style,"--visual-viewport-height":l.height+"px"};return e.createElement(Yt,{isExiting:t.isExiting},e.createElement("div",{...F(A(t),i),...s,style:u,ref:t.overlayRef,"data-entering":a||void 0,"data-exiting":t.isExiting||void 0},e.createElement(En.Provider,{value:{modalProps:o,modalRef:n,state:r,isExiting:t.isExiting,isDismissable:t.isDismissable}},s.children)))}function Mn(t){let{modalProps:n,modalRef:r,isExiting:o,isDismissable:i,state:a}=(0,e.useContext)(En),s=j((0,e.useMemo)((()=>O(t.modalRef,r)),[t.modalRef,r])),l=un(s),u=sn({...t,defaultClassName:"react-aria-Modal",values:{isEntering:l,isExiting:o,state:a}});return e.createElement("div",{...F(A(t),n),...u,ref:s,"data-entering":l||void 0,"data-exiting":o||void 0},i&&e.createElement(jt,{onDismiss:a.close}),u.children)}const xn=(0,e.createContext)(null);function Ln(t,n){[t,n]=ln(t,n,xn);let{dialogProps:r,titleProps:o}=function(t,n){let{role:r="dialog"}=t,o=L();o=t["aria-label"]?void 0:o;let i=(0,e.useRef)(!1);return(0,e.useEffect)((()=>{if(n.current&&!n.current.contains(document.activeElement)){qe(n.current);let e=setTimeout((()=>{document.activeElement===n.current&&(i.current=!0,n.current.blur(),qe(n.current),i.current=!1)}),500);return()=>{clearTimeout(e)}}}),[n]),Gt(),{dialogProps:{...A(t,{labelable:!0}),role:r,tabIndex:-1,"aria-labelledby":t["aria-labelledby"]||o,onBlur:e=>{i.current&&e.stopPropagation()}},titleProps:{id:o}}}(t,n),i=t.children;var a;return"function"==typeof i&&(i=i({close:t.onClose||(()=>{})})),e.createElement("section",{...A(t),...r,ref:n,slot:t.slot,style:t.style,className:null!==(a=t.className)&&void 0!==a?a:"react-aria-Dialog"},e.createElement(an,{values:[[mn,void 0],[fn,{...o,level:2}]]},i))}const kn=(0,e.forwardRef)(Ln);Symbol.iterator;const Fn=(0,e.createContext)({}),On=(0,e.createContext)(null);(0,e.forwardRef)((function(t,n){[t,n]=ln(t,n,On);let r=(0,e.useRef)(null),[o,i]=function(){let[t,n]=(0,e.useState)(!0),r=(0,e.useRef)(!1),o=(0,e.useCallback)((e=>{r.current=!0,n(!!e)}),[]);return C((()=>{r.current||n(!1)}),[]),[o,t]}(),[a,s]=(0,e.useState)("input"),{labelProps:l,inputProps:u,descriptionProps:c,errorMessageProps:d}=Qt({...t,inputElementType:a,label:i},r),f=(0,e.useCallback)((e=>{r.current=e,e&&s(e instanceof HTMLTextAreaElement?"textarea":"input")}),[]),p=sn({...t,values:{isDisabled:t.isDisabled||!1,validationState:t.validationState},defaultClassName:"react-aria-TextField"});return e.createElement("div",{...A(t),...p,ref:n,slot:t.slot,"data-disabled":t.isDisabled||void 0,"data-validation-state":t.validationState||void 0},e.createElement(an,{values:[[bn,{...l,ref:o}],[yn,{...u,ref:f}],[Fn,{...u,ref:f}],[hn,{slots:{description:c,errorMessage:d}}]]},p.children))}));const Nn=window.wp.components;function In(){return(0,e.createElement)(Nn.SVG,{className:"givewp-donation-form-modal__close__icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},(0,e.createElement)(Nn.Path,{stroke:"black",strokeWidth:"2",d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}))}function Dn({openFormButton:t,children:n,onChange:r,isOpen:o}){return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(vn,{className:"givewp-donation-form-modal__open",onPress:r},t),(0,e.createElement)(Pn,{className:"givewp-donation-form-modal__overlay",isOpen:o},(0,e.createElement)(kn,{className:"givewp-donation-form-modal__dialog"},n,(0,e.createElement)(vn,{className:"givewp-donation-form-modal__close",onPress:r},(0,e.createElement)(In,null)))))}function An({dataSrc:t,embedId:n,openFormButton:o,isFormRedirect:i,formViewUrl:a}){const[s,l]=(0,r.useState)(t),[u,c]=(0,r.useState)(i);return(0,e.createElement)(Dn,{isOpen:u,onChange:()=>{c(!u),!u&&i&&l(a)},openFormButton:o},(0,e.createElement)(p,{id:n,src:s,checkOrigin:!1,heightCalculationMethod:"taggedElement",style:{minWidth:"100%",border:"none"}}))}const zn=["donation-confirmation-receipt-view"];function Wn({formFormat:t,dataSrc:n,embedId:r,openFormButton:o,formUrl:i,formViewUrl:a}){const s=(e=>{const t=new URL(e);return n=new URLSearchParams(t.search),r=zn,n.has("givewp-route")&&r.includes(n.get("givewp-route"));var n,r})(n);return"newTab"===t?(0,e.createElement)("a",{className:"givewp-donation-form-link",href:i,target:"_blank",rel:"noopener noreferrer"},o):"modal"===t||"reveal"===t?(0,e.createElement)(An,{openFormButton:o,dataSrc:n,embedId:r,isFormRedirect:s,formViewUrl:a}):(0,e.createElement)(p,{id:r,src:n,checkOrigin:!1,heightCalculationMethod:"taggedElement",style:{width:"1px",minWidth:"100%",border:"0"}})}document.querySelectorAll(".root-data-givewp-embed").forEach((t=>{const n=t.getAttribute("data-src"),o=t.getAttribute("data-givewp-embed-id"),i=t.getAttribute("data-form-format"),a=t.getAttribute("data-open-form-button"),s=t.getAttribute("data-form-url"),l=t.getAttribute("data-form-view-url");(0,r.createRoot)(t).render((0,e.createElement)(Wn,{openFormButton:a,formFormat:i,dataSrc:n,embedId:o,formUrl:s,formViewUrl:l}))}))})()})();

Youez - 2016 - github.com/yon3zu
LinuXploit